-
Two NodeMCU and a small router as Access Point
3V3 and GND of the NodeMCUs are connected so you only have to connect one USB to power both. One board has a button on a GPIO, the other one a big, red LED.
Turning an LED on and off in a Web Browser via Wifi.
I ordered two different boards from China in September 2018, both referred to as "NodeMcu V3" by the seller. This article has more infos on different NodeMCU boards.
-
Price: € 2,19
-
USB-Serial converter: CH340
-
Arduino IDE Settings: Same as the Amica but you may have to install a driver for the C340 and adjust the COM-Port
-
This board is two units wider than the other ones. It fits on a common breadboard but there is no space to connect something to the pins comfortably.
- Price: $ 16,95 at Adafruit; 20-30€ at amazon.de or ebay.de
- USB-Serial converter: CP2104
- More info at the Adafruit site. I could work with this one at school. Size and layout look similar to the Amica. It seems to have a LiPo Battery connector and they also sell a bunch of cool shields and accessoirs for it and other boards with the same form factor. The price is way higher than the others though.
The Arduino IDE works fine but I'm using Visual Studio Code with Arduino plugin among others. It works real nice so far. I just had to add "AppData\Local\Arduino15\packages\" to includePath in c_cpp_properties.json so the headers are found.
Once you've connected to a network the SSID and passphrase are written to flash and will automatically be used in the future. In this case it seems to be enough to call WiFi.begin()
instead of WiFi.begin(ssid, password)
to connect to network. This saves you from having your password in the Code. (This behaviour can be changed with persistent).