This shows you the differences between two versions of the page.
iothings:proiecte:2022sric:airqualitysystem [2023/06/02 03:14] ioan_marian.dan [Conclusion] |
iothings:proiecte:2022sric:airqualitysystem [2023/06/02 03:19] (current) ioan_marian.dan [Hardware Description] |
||
---|---|---|---|
Line 63: | Line 63: | ||
* I/O pin of the buzzer to GPIO 14 pin of ESP32 | * I/O pin of the buzzer to GPIO 14 pin of ESP32 | ||
- | At first, the board was a little bit tricky because when I wanted to upload the code on it, there was an error "Wrong boot mode". I searched for it on google and I found the original documentation which says: | + | At first, the board was a little bit tricky because when I wanted to upload the code on it, there was an error **"Wrong boot mode detected"**. I searched for this error on google and I found a documentation which says: |
- | "Depending on the kind of hardware you have, it may also be possible to manually put your ESP32 board into Firmware Download mode (reset). | + | |
- | For development boards produced by Espressif, this information can be found in the respective getting started guides or user guides. For example, to manually reset a development board, hold down the Boot button (GPIO0) and press the EN button (EN (CHIP_PU)). | + | //"Depending on the kind of hardware you have, it may also be possible to **manually put your ESP32 board into Firmware Download mode** (reset). |
- | For other types of hardware, try pulling GPIO0 down." | + | For development boards produced by Espressif, this information can be found in the respective getting started guides or user guides. |
+ | For example, to manually reset a development board, hold down the Boot button (**GPIO0**) and press the EN button (EN (CHIP_PU)). | ||
+ | For other types of hardware, try pulling **GPIO0** down."// | ||
- | As WEMOS LOLIN32 has just one Reset button and not 2 buttons (Boot and EN), I had to pull the GPIO0 pin down (connect it to GND on the board) and then, after I pressed the Upload button in the Arduino IDE, I had to hold the Reset button until it appeared Connecting... in Arduino's console. After that, when I wanted to test the code uploaded on the board, I had to disconnect the GPIO0 pin from GND. This had to be done every time I uploaded a new version of code. | + | As the board I used, WEMOS LOLIN32, has just one **Reset** button and not 2 buttons (Boot and EN), I had to pull the **GPIO0** pin down (connect it to **GND** on the board) and then, after I pressed the **Upload** button in the Arduino IDE, I had to hold the **Reset** button until it appeared **Connecting...** in Arduino's console. After that, when I wanted to test the code uploaded on the board, I had to disconnect the **GPIO0** pin from **GND**. This had to be done every time I uploaded a new version of code. |