Skip to content

Connections autovelox

elRaulito edited this page Nov 18, 2020 · 3 revisions

Programming

Press the reset button on the board before flashing the program.

Set the output voltage of FTDI232 to 3V3

ESP32-CAM GPIO FTDI232
3V3 VCC
GND GND
V0R TX
V0T RX
IO0 with GND --

Connecting IO0 to GND will set the boot mode in programming. V0R is the UART RX pin of esp32, it is connected to UART TX pin of FTDI232 V0T is the UART TX pin of esp32, it is connected to UART RX pin of FTDI232

programming

Running

To use the autovelox connect the ultrasonic sensor and the camera, to the power supply. We will use some resistances to protect the esp32-cam, the ultrasonic sensor has a 5V voltage range while esp32 has 3.3V, we need to protect esp32 from the echo signal. Before connecting the FTDI232 change the output voltage to 5V.

ESP32-CAM GPIO FTDI232
5V VCC
GND GND
ESP32-CAM GPIO HCSR-04
5V VCC
GND GND
IO2 ECHO
IO12 TRIG

Connect ftdi232 to an USB port and the autovelox will turn on.

Clone this wiki locally