|
Post by sandovr on Sept 20, 2019 16:27:16 GMT
Hello, first of all sorry for my bad english. When i use laptop power usb connected to ftdi232 everything works fine but if i use usb charger or 5v from L298 controller it doesn't work properly. What did I do wrong?
|
|
|
Post by LC-DCC Designer on Sept 21, 2019 6:52:08 GMT
I understand this is an STM32F103 question. The STM32F103 can be used via a USB charger and powered via +5V from the L298N (I would suggest not at the same time however). When using the FTDI232 are you using 5V or 3.3V output ? What does the LED on the STM32F103 display ? When you say "does not work properly" what do you mean ? Also there is no need to use an FTDI232 unless you want multiple user connections as the STM32F103 USB is configured as a serial device and a PC can connect directly to the STM32F103 USB and use the USB for control of the DCC system.
|
|
|
Post by sandovr on Sept 21, 2019 9:18:57 GMT
When using a USB charger or L298 power supply, the functions FL, F1, F2 ... and accessories decoder do not work correctly and the buttons do not respond. When I use laptop USB power everything works fine. Can you show a schematic for correctly connecting to L298?
|
|
|
Post by LC-DCC Designer on Sept 23, 2019 7:12:58 GMT
I will investigate your issues and get back when I have checked the problems.
|
|
|
Post by LC-DCC Designer on Sept 28, 2019 7:07:08 GMT
|
|