This shows you the differences between two versions of the page.
iothings:laboratoare:2022:lab1 [2023/03/03 15:13] dan.tudose [Lab assignments] |
iothings:laboratoare:2022:lab1 [2023/10/04 18:34] (current) dan.tudose [ESP32 Sparrow specs] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Necessary gear ===== | ===== Necessary gear ===== | ||
- | We will be using the ESP32 Sparrow board as the main development board for the lab assignments. | + | We will be using the [[https://github.com/dantudose/ESP32-Sparrow-rev2/tree/main| ESP32 Sparrow]] board as the main development board for the lab assignments. |
{{ :iothings:laboratoare:2022:20221006_214346.jpg?600 |}} | {{ :iothings:laboratoare:2022:20221006_214346.jpg?600 |}} | ||
Line 15: | Line 15: | ||
This is the pinout diagram of the development board: | This is the pinout diagram of the development board: | ||
- | {{ :iothings:laboratoare:2022:esp32_sparrow.png?810 |}} | + | {{ :iothings:laboratoare:2022:esp32_sparrow_rev2.png?800 |}} |
To get everything set-up, please use the [[https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ | To get everything set-up, please use the [[https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ | ||
- | | this tutorial]] to install ESP32 support in Arduino | + | | this tutorial]] to install ESP32 support in Arduino, the only difference is the board type should be set to ESP32 WROVER. |
- | ===== Lab assignments ===== | + | ===== First Steps ===== |
=== 1. Blink the on-board LEDs === | === 1. Blink the on-board LEDs === | ||
Line 32: | Line 32: | ||
Define LED_BUILTIN to correspond to one of the on-board LEDs. | Define LED_BUILTIN to correspond to one of the on-board LEDs. | ||
- | For the Green boards the LED has the following pinout | + | For the <color green>GREEN boards </color> (rev. 1) the LED has the following pinout |
* Red - GPIO25, Green - GPIO26, Blue - GPIO27 | * Red - GPIO25, Green - GPIO26, Blue - GPIO27 | ||
- | And for the Blue boards, the LED has the following pinout: | + | And for the <color blue>BLUE boards </color> (rev. 2), the LED has the following pinout: |
* Red - GPIO14, Green - GPIO13, Blue - GPIO15 | * Red - GPIO14, Green - GPIO13, Blue - GPIO15 | ||