Hi, before posting this question I searched a lot but couldn't find my problem only similar yet different problems.
Anyways I am making a car with Arduino Uno and motor driver shield l239D( a shield wich you stack on top of the Arduino Uno) and I was powering the shield with 11V and the Arduino UNO through the USB port with a power bank , I was doing this because I have 3 infrared sensors connected to the shield and the USB powers them and my batteries power the motors.
I heard that the shield is supposed to beep continually
when the USB is connected which it did and it worked fine for some hours. However suddenly the shield stopped bepping and the car doesn't work anymore...
The sensors and LEDs light up and I can even upload a code to the Arduino uno but it does not beep anymore no matter what code is in the board doesn't beep anymore and therefore the car doesn't work. Wich is strange because everything lights up. It doesn't beep even in my computer.
Can you help me please?
The Arduino does not have a beeper.
Almost all the motor shields do not have a beeper either.
Links to your specific hardware would be nice to have.
Also slightly confused you say you can upload code but then seem to say you cannot upload code ?
Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
Sorry... What I meant to say was:
The shield makes a sound because of the PWM frequency applied to the motors this is normal and when the Arduino Uno is powered through the USB it should make this sound Wich now it doesn't make...
And I can upload sketches to the Arduino board but the shield should beep and doesn't beep anymore.
my shield
And my board is Arduino uno R3
Ok not all motors will make sound when connected at the correct voltage, frequency, amperage, etc.
Note that the shield has a jumper for EXTERNAL power and that is what you should be using as the Arduino on its own is not capable of supplying enough current for the shield in most instances.
So we would need a schematic from you and probably adding the sketch you use would also be a good idea.
See the links given already for help with those topics.
Bob.
I will post my circuit diagram but I have the pwr jumper removed because I am powering the shield with 11V and the Arduino uno through the USB. I have two different power supplies.
Here it goes. As for the code , no matter Wich code I upload it doesn't move... Even with just a code to make the motors move forward.
Like i said before the Arduino uno is under the shield.
So my problem is the Arduino uno receives power but doesn't use it if it used the power the board should beep.
If you don't understand something please tell me.