Read status of power supply on Motorshield v2

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
tetsuwan
 
Posts: 2
Joined: Sat Aug 02, 2014 5:15 am

Read status of power supply on Motorshield v2

Post by tetsuwan »

Hello!

I'm putting my Arduino and Motorshield v2 in a closed box and therefore i can't see the green LED indicating a good power supply. Is there any way to get a readout from the motorshield to the Arduino instead?

Thanks!
//Mike

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Read status of power supply on Motorshield v2

Post by adafruit_support_bill »

There are a couple of approaches:

You could wire a photo-sensor to the breadboard area and position it over the LED.
You could wire a voltage divider in the breadboard area to scale your motor power to a level that could be read via an analog pin.

What are you using for motor power?

tetsuwan
 
Posts: 2
Joined: Sat Aug 02, 2014 5:15 am

Re: Read status of power supply on Motorshield v2

Post by tetsuwan »

I'm using AA batteries at the moment. So yes, maybe a volt divider would be good. I will look into that!

Thanks

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”