This is an introductory IoT ESP32 Microcontroller workshop to get acquainted with microcontroller programming and simple electronics.
An ESP32-based microcontroller breakout was chosen as it is Arduino-compatible and has both Wifi and BLE capabilities.
Download and install Silabs CP2102 drivers for Mac. Windows 10 will automatically install the drivers when you plug in the board.
Download and install the latest Arduino IDE which is 1.8.9 at time of writing.
Configure Arduino Preferences. Click the Arduino
menu and select Preferences
. Select the options:
compilation
and upload
All
Display line numbers
Verify code after upload
https://dl.espressif.com/dl/package_esp32_index.json
Tools -> Board -> Boards Manager
. Search for ESP32
and install.Item | Price SG$ | Purchase Source |
---|---|---|
GOOUUU ESP32 Dev kit | 28 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=2550 |
50cm Micro-USB cable | 3 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=2338 |
Half-size breadboard | 6 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=2556 |
5mm Red LED | 1 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=1622 |
330ohm resistor | 0.70 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=791 |
Push Button | 0.50 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=78 |
10K ohm resistor | 0.70 | https://www.sgbotic.com/index.php?dispatch=products.view&product_id=793 |
Total | $39.9 |
The connection diagrams were created using Kicad and Fritzing.
DoIT ES32 dev kit Fritzing design was obtained from http://forum.fritzing.org/t/doit-esp32-devkit-v1/6158