This shows you the differences between two versions of the page.
|
iothings:laboratoare:2025:lab1 [2025/10/24 21:12] dan.tudose [Lab 1. WiFi Server] |
iothings:laboratoare:2025:lab1 [2026/03/05 16:32] (current) mihnea.dinica Ordering |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Necessary gear ===== | ===== Necessary gear ===== | ||
| - | We will be using the [[https://github.com/FarhadGUL06/esp32-c6-sparrow/tree/main| ESP32-C6 Sparrow]] board as the main development board for the lab assignments. | + | We will be using the [[https://github.com/dantudose/ESP32-Sparrow-rev3/| ESP32-C6 Sparrow]] board as the main development board for the lab assignments. |
| - | {{:iothings:laboratoare:2025:20250925_131952.png?750| }} | ||
| + | {{ :iothings:laboratoare:2025:sparrow_rev3.png?750|}} | ||
| Also, for the most of the labs, we will be using the Visual Studio Code and Platformio environment, which you can download from [[https://platformio.org/|here]] | Also, for the most of the labs, we will be using the Visual Studio Code and Platformio environment, which you can download from [[https://platformio.org/|here]] | ||
| Line 15: | Line 15: | ||
| This is the pinout diagram of the development board: | This is the pinout diagram of the development board: | ||
| - | {{:iothings:laboratoare:2025:esp32-c6-sparrow-pinout.png?800|}} | + | {{ :iothings:laboratoare:2025:esp32-c6-sparrow-pinout_v3-1.png?800|}} |
| ===== First Steps ===== | ===== First Steps ===== | ||
| Line 23: | Line 22: | ||
| - | After downloading and installing the PlatformIO extension, create a new project using any ESP32-C6 board. After project creation, you will need to edit the platformio.ini file and replace it with the following: | + | After downloading and installing the PlatformIO extension, create a new project using any ESP32-C6 board (be sure to have the Framework set to Arduino and not Espidf). After project creation, you will need to edit the platformio.ini file and replace it with the following: |
| <code bash platformio.ini> | <code bash platformio.ini> | ||
| Line 270: | Line 269: | ||
| - | === 6. Web Server === | + | === 5. Web Server === |
| Now let's bring everything together and configure the board to connect to our local WiFi, act as a web server and display a dynamic html page in which it can plot the sensor readings. | Now let's bring everything together and configure the board to connect to our local WiFi, act as a web server and display a dynamic html page in which it can plot the sensor readings. | ||