AnsweredAssumed Answered

robot car STM32F3 DISCOVERY AND HC-SR04 PROBLEMS

Question asked by martins.andremsmarti on Dec 16, 2014
Latest reply on Dec 19, 2014 by AvaTar
I try to create a robot car, using a MCU stm32f3 Discovery, an ultrasonic sensor HC-SR04, two motors and H-Bridge L298N  to control the DC motors a , and a conversor RS232 to USB, for to see the distance in my pc.
The problem is:
When i supply the MCU STM32 Discovery by USB, i can see without problems the distance.The HC-SR04 and conversor works fine.But when i supply the MCU (5V) through the L928N H-Bridge, the ultrasonic sensor don´t works correctly and , just can see some characters.To supply the L298N i use a mobile phone charger, and they debit a 12V DC .
In send in annex the hardware Diagram.
Thanks for any help.
Greetins

Attachments

Outcomes