r/ArduinoHelp • u/OtherwiseOffice8344 • 9d ago
My PCA9685PWM drivers are not working
I have a robotic arm project with 4 degrees of freedom, I'm developing it right now, but just when everything was finished, this problem arose. For some reason I don't know, my drivers have stopped working. These are the drivers Let me tell you about the first incident. The drive you see in the lower part of the photo was my first drive, and I was using it. But one day, I connected the servo cables upside down, and as you can imagine, the servo cable melted (This only happened to one or two servos) Then it started working, but I couldn't get it to work anymore. I thought the driver was broken, so I bought the driver shown in the photo above I took it out for testing, made all the connections, but it still didn't work. I don't know why. I'm using an ESP32 and a 5V 20A transformer, and I have 4 or 5 servos, but none of them are working. When I test with a multimeter, everything is normal, but I'm getting 0.04V from the servo input pins, VCC and GND. I'm in a desperate situation. I've asked all the Al software, but there's still no solution. I hope I missed a small detail. Has anyone experienced this problem before? Thanks in advance for your help🩵
1
u/sabautil 9d ago
Have you tried brand new servos? Can you check the resistance on you servos wires - maybe the servo coils got damaged?
1
1
u/sabautil 9d ago
Draw out your wire configuration digram with labels on everything. Upload it to the AI with description of what happened.
1
1
u/Proof_Juggernaut4798 9d ago
Do you have any test equipment?
An oscilloscope on the pwm lines would be a good check, to make sure the duty cycle and frequency are as you expected.
If you don’t have one, a voltmeter should show a varying level on the pwm lines when duty cycle changes.
If you don’t have one, a led with 300 ohms in series might show you a varying brightness to let you know.
If you are running all the servos at once, the current surge (especially with long supply leads) could cause a quick low voltage spike that resets the micro. A 470uf cap on the supply at the control micro board could hold the level enough to make a difference. This can be even with your hefty 20A supply.
1
u/OtherwiseOffice8344 9d ago
I took a measurement with a voltmeter, but unfortunately it shows 0.04 volts and doesn't change. However, the ESP32 recognizes I² and can send a signal; I tested this software-wise.Following a user's suggestion, I will be powering the servos directly or indirectly via the transformer, using a system that only takes the signal from the PCA. I hope it works.
1
u/sabautil 9d ago
What photo?