Idiot's Guide to PWM Shield for Arduino

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Post Reply
User avatar
mrwebber
 
Posts: 3
Joined: Wed May 15, 2024 12:33 pm

Idiot's Guide to PWM Shield for Arduino

Post by mrwebber »

Hi

I have a 12 year old student who wants to use the PWM Shield and an Arduino to power to servos. Unfortunately, I've never used Arduino before and so neither of us know what we're doing.

We have got everything we need, we think. We're powering the Servos with 4x AA alkaline batteries, but we're not getting the green LED. Do we need to think of other power solutions?

Naturally the servo check code given with the library examples doesn't work.

User avatar
mrwebber
 
Posts: 3
Joined: Wed May 15, 2024 12:33 pm

Re: Idiot's Guide to PWM Shield for Arduino

Post by mrwebber »

Also, just uploading code from the IDE should be enough, right? It should just run that code?

User avatar
adafruit_support_carter
 
Posts: 29786
Joined: Tue Nov 29, 2016 2:45 pm

Re: Idiot's Guide to PWM Shield for Arduino

Post by adafruit_support_carter »

Yep, uploading the code should then run the code once uploaded. For reference, here is the associated Arduino example from the guide:
https://learn.adafruit.com/adafruit-16- ... it-library

What Arduino board are you using?

Have you played with uploading the basic Blink example (File -> Examples -> Basic -> Blink)? This has nothing to do with the PWM shield. But it's a good test to verify your basic Arduino setup is OK.

User avatar
mrwebber
 
Posts: 3
Joined: Wed May 15, 2024 12:33 pm

Re: Idiot's Guide to PWM Shield for Arduino

Post by mrwebber »

Thanks for the reply. It's an UNO board and the blink example works fine. I think we have a power issue so I'll get a meter on it and go from there.

User avatar
adafruit_support_carter
 
Posts: 29786
Joined: Tue Nov 29, 2016 2:45 pm

Re: Idiot's Guide to PWM Shield for Arduino

Post by adafruit_support_carter »

If you can post a photo of your setup showing how everything is connected, we can take a look and help with any obvious hardware setup issues.

Post Reply
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”