Need help wiring NPN proximity sensor → Optocoupler → ESP32 → L298N Motor driver (avoid frying ESP32)

sghioto

Joined Dec 31, 2017
8,737
The output from the PC817 module is High when activated by a sensor.
The input on the micro requires a pull down not a pull up command.
 
Last edited:

Thread Starter

crescendo93

Joined Nov 21, 2025
27
The output from the PC817 module is High when activated by a sensor.
The input on the micro requires a pull down not a pull up command.
So I decided to work on part two of the project where I connect a 3.5" TFT ILI9488 screen to the ESP32 to read the states of the pins (from the sensors) and display them onto the TFT.. But I have come to a dead end on why I cannot get past the white screen. Is that a question I can ask here on this forum if I provide what I have so far as far as the wiring, code, and what I am trying to do?
 

MrChips

Joined Oct 2, 2009
35,023
So I decided to work on part two of the project where I connect a 3.5" TFT ILI9488 screen to the ESP32 to read the states of the pins (from the sensors) and display them onto the TFT.. But I have come to a dead end on why I cannot get past the white screen. Is that a question I can ask here on this forum if I provide what I have so far as far as the wiring, code, and what I am trying to do?
Since this is a different problem, you should start a new thread.
 
Top