Less soldering, more “out-of-the-box”
- ESP8266 NodeMCU dev board (a lot less soldering needed)
- already includes:
- ESP8266 chip
- USB/Serial communication unit
- Power regulaor/converter
- other helpful stuff (like buttons for reset/flash, etc)
- already includes:
More soldering than option 1, but more DIY
- ESP8266 (plain) AliExpress
- USB to Serial Cable e.g. PL2303HX AliExpress or in the electronics dispenser at shackspace (2€)
- 3.3V Converter e.g. LM1117 AliExpress
- 4.7 µF capacitors to buffer variations in power usage AliExpress (set of a few different sizes including 4.7µF)
- ESP-12 breakout board AliExpress
- alternative to LM1117 that can be put on the back of the ESP breakout board: XC6206P332PR (50pcs is smallest available package size) AliExpress
Suitable for both options
- DHT22 temperature and humidity sensor AliExpress
- Dust sensor AliExpress
- Door/Window reed contacts AliExpress
Additional stuff to make it work
Stuff around to make it work, like resistors, cables, etc. Choose what you think suits your needs.
- breadboard starter set AliExpress
- Male Header Pins AliExpress
- Female Headers AliExpress
- Prototype board AliExpress
- WS2812B RGB LED with integrated PWM controller AliExpress
- Connectors (2 pin) AliExpress
- Connectors (4 pin) AliExpress
- Resistor Set AliExpress
- As you like: more/other LEDs, buttons, cables, …
You will need
python. Please install them if you don’t already have them.
Check out the following repos (git):
With the NodeMCU dev board
If you have the devboard just connect a micro usb cable and your ready to go.
With the white breakout board
Solder the ESP on your board.
Without XC6206P332PR (small voltage regulator on the back of the board)
Measure the resitor in the middle below the ESP between VCC and GND, it should be a zero resitor/bridge => 0 Ohm. There are
some boards that have a wrong part there: a 10k Ohm. If you have that you need to remove that resistor and bridge it
with something else (small cable, solder, …).
You will need to connect VCC of the board to 3.3V now.
Remove the resistor in the middle below the ESP between VCC and GND. Then solder the XC6206P332PR onto the back of the white board. You can now connect up to 6V to VCC and it will be regulated to 3.3V. (Minimum voltage needed has to be more than 3.3V)
Connecting with the white board
With the white breakout board you have to connect GND, VCC (voltage depends on if you have XC6206P332PR), RX and TX of your serial cable to flash the ESP. Also to enter flash mode you have to pull down GPIO0 to GND during startup (just connect it).