Loading the figure…
Stopped · Your code isn't running yet. Until you press Run, the board runs the program already on it.
Nothing printed yet. Press Run.
Not checked yet
Run your code to check it. The checks replay a fixed script on a virtual clock, so the same code always gets the same result.
Each fault really happens in the simulation. Trigger one, watch the figure, then read why.
Play the world: press, slide and turn the parts while the code runs.
Change a value here or click a chip in the code.
Join a Wi-Fi network, start a web server on port 80 and switch the LEDs from a phone with /on and /off.
| Pin | Connects to | What it does |
|---|---|---|
D1 | 220 Ω resistor and the yellow LED | output, HIGH = on |
D4 | blue LED on the ESP-12E | output, LOW = on |
GND | LED cathode | ground |
Sensors and actuators this board drives, with the real connections.
A 220 Ω resistor gives a red LED about 6 mA from a 3.3 V pin: (3.3 V - 2.0 V) / 220 Ω.
| Part pin | Board pin |
|---|---|
| anode (long leg), through 220 Ω | D1Wire colour orange |
| cathode | GNDWire colour black |
Never connect an LED without a resistor: the pin is rated 12 mA. Blue and white LEDs need about 3 V and stay dim on 3.3 V.