Can PWM pins become bad

My projects with HC74595, stepper motor, DC motor and Servo are weak:

  • LEDs not bright when using HC74595 (LEDs bright when using individual with PWM pin and resistor)
  • motors lag, hum, or weak
  • power supply board LED extinguishes when connected with Arduino Uno PWMs

Can PWM drivers die?
Could it be my ATMEGA328P?
Maybe my Arduino motherboard?

Is there a BIT or loopback harness and sketch I can run to diagnose board or component issues?

Thank you.

Hello xfpd
Post your sketch, well formated, with comments and in so called code tags "</>" and schematic to see how we can help.
Have a nice day and enjoy coding in C++.

Motors require a proper driver and power supply for them to operate.

Show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

No but you can use a digital voltmeter to look at the 5V supply with and without the motor connected. They both should read the same, something above 4.8V. If you read less with the motor connected then your power supply hasn't got enough current capability for your project.

The parts all come from the Arduino Uno R3 kit. The motor and LED shift register projects that have been failing are Arduino Uno Basics. The Arduino motors run off the Arduino power supply, powered by a 9vdc battery. Looking for a way to determine if the PEM drivers or ATMEGA328P or my whole Uno os bad.

Could be supply problems.
9volt batteries belongs in smoke alarms.
They haven't got the power for a motor or the Arduino. At least not for long.

Try to power the Uno from the computer,
or connect a 5volt cellphone charger to the USB socket.

Powering motors (servos) from an Arduino is generally speaking a bad idea.
They really need their own separate external supply.
Leo..

Thank you Leo. The 9vdc battery powers a small DC-to-DC (5vdc/3.3vdc) regulator to drive a small servo, stepper and indicator LEDs with Uno controlling positions, as i develop a mains-driven stepper.

I have many 9vdc "wall warts" to replace the 9v batty. Is that good for small projects, or am i injecting another unknown?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.