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
Read status of power supply on Motorshield v2
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Sat Aug 02, 2014 5:15 am
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Read status of power supply on Motorshield v2
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?
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?
-
- Posts: 2
- Joined: Sat Aug 02, 2014 5:15 am
Re: Read status of power supply on Motorshield v2
I'm using AA batteries at the moment. So yes, maybe a volt divider would be good. I will look into that!
Thanks
Thanks
Please be positive and constructive with your questions and comments.