Beginner Post: ESP32 WROOM Circuit Help

Shaunaaaa
Posts: 1
Joined: Wed Jun 17, 2020 1:01 am

Beginner Post: ESP32 WROOM Circuit Help

Postby Shaunaaaa » Wed Jun 17, 2020 1:22 am

Hoping I can get some help to power and monitor the output of the attached schematic. How can this be connected this to an ESP32 WROOM to monitor pulse output? I'm mainly concerned about overloading issues, the sketch isn't a problem? Power being supplied from the 5V (VIN) p
Attachments
3.png
3.png (27.86 KiB) Viewed 322 times
2.png
2.png (28.45 KiB) Viewed 322 times
1.png
1.png (24.38 KiB) Viewed 322 times
Last edited by Shaunaaaa on Wed Jun 17, 2020 3:41 am, edited 1 time in total.

Beowulff
Posts: 17
Joined: Fri Mar 01, 2019 2:59 am

Re: Beginner Post: ESP32 WROOM Circuit Help

Postby Beowulff » Wed Jun 17, 2020 3:30 am

The LED can be powered from 3.3v, through a dropping resistor (value is not critical, I’d start with 200Ω).
The photodetector needs 5v, so its output needs to be connected to a resistor to act as a voltage divider. Since the pullup resistor is 10KΩ, putting a 10KΩ resistor to ground will limit the “High" voltage to 2.5v, which is safe for the input of the ESP32, and is valid logic “1"

Who is online

Users browsing this forum: Baidu [Spider] and 18 guests