[SOLVED] Program TTGO Micro 32 by using an ESP32 development board
Posted: Fri Jun 12, 2020 5:32 pm
Update: See how everything worked out at https://www.esp32.com/viewtopic.php?f=2 ... =10#p68843
###############################################
Hi forum!
I'm currently working on a project where space is limited. The only microcontroller small enough is a TTGO Micro 32. They seem to be very similar to an ESP32, so I ordered a bunch of them. I did some research on how to program an TTGO or ESP32 by using an ESP32 development board but only found closely similar setups. I tried to hook it up like someone hooked up an ESP32 develpment board to an ESP32 camera (https://www.youtube.com/watch?v=xvjRlBHmewY), however, it didn't work. Since my knowledge of hardware is very limited, the TTGO Micro 32 is tiny and soldering these is a pita, it just only makes sense to ask for help. So, here is my setup:
ESP32 development board (powered by USB from my computer)
TTGO Micro-32 (powered by an external power supply, 3.3V)
Or see attachment
Uploading a sketch through the Android IDE just times out with following message.
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x65)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x65)
or
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x20)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x20)
or
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xFF)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xFF)
I tried to push and/or hold the TTGO Rst/EN and/or TTGO GPIO0 buttons before uploading the sketch and also before turning on the power supply. Maybe someone can help me here. I'm not even sure if the ESP32 and TTGO are wired up correctly.
###############################################
Hi forum!
I'm currently working on a project where space is limited. The only microcontroller small enough is a TTGO Micro 32. They seem to be very similar to an ESP32, so I ordered a bunch of them. I did some research on how to program an TTGO or ESP32 by using an ESP32 development board but only found closely similar setups. I tried to hook it up like someone hooked up an ESP32 develpment board to an ESP32 camera (https://www.youtube.com/watch?v=xvjRlBHmewY), however, it didn't work. Since my knowledge of hardware is very limited, the TTGO Micro 32 is tiny and soldering these is a pita, it just only makes sense to ask for help. So, here is my setup:
ESP32 development board (powered by USB from my computer)
TTGO Micro-32 (powered by an external power supply, 3.3V)
Code: Select all
ESP32 En <-> Gnd
TTGO Gnd <-> ESP32 Gnd (both controllers/boards need a common ground)
TTGO 3.3V <-> power supply 3.3V
TTGO Gnd <-> power supply Gnd
TTGO TX <-> ESP32 TX
TTGO RX <-> ESP32 RX
TTGO Rst/En <-> Gnd (closed by using a button)
TTGO GPIO0 <-> Gnd (closed by using a button)
Uploading a sketch through the Android IDE just times out with following message.
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x65)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x65)
or
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x20)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x20)
or
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xFF)
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xFF)
I tried to push and/or hold the TTGO Rst/EN and/or TTGO GPIO0 buttons before uploading the sketch and also before turning on the power supply. Maybe someone can help me here. I'm not even sure if the ESP32 and TTGO are wired up correctly.