2023-02-08 01:27 AM
As you can see in the above image, I'm trying to design a motor controller. But pin 16 of L293D requires a 5v input as VCC1 but the maximum output a STM gives is 3V. I wanted to know how to convert and map the 3V to 5V using a passive component?
Solved! Go to Solution.
2023-02-08 02:38 AM
Hello @Killstreet30 (Community Member)
The best is to use voltage level translator to interface STM32 with L293D driver.
A 8 I/O's level voltage translator IC:
https://www.st.com/en/interfaces-and-transceivers/st2378e.html
Or here using transistor:
Best regards,
Romain
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-02-08 02:38 AM
Hello @Killstreet30 (Community Member)
The best is to use voltage level translator to interface STM32 with L293D driver.
A 8 I/O's level voltage translator IC:
https://www.st.com/en/interfaces-and-transceivers/st2378e.html
Or here using transistor:
Best regards,
Romain
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-02-08 03:37 AM
That 2nd link, the npn + MOSFET level shifter should have a resistor in series with the npn's gate.