Pages: [1]   Go Down
Author Topic: Program not startin on external power input?  (Read 4213 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys.

Basically, I'm running the Arduino board off of a 12V power supply, receiving MIDI and turning lights on and off.  The midi adapter is connected to RX.  The circuit works perfectly when the Arduino is powered off USB, but nothing happens when it's powered by the 12V adapter.

I thought I read that this was due to RX have a floating value, so I put a 10K resistor between RX and ground - this made no difference.

Thanks,
Drew
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why does it have to be Serial? Just plug the midi adapter into a digital pin and pull it to ground. Activate the lights when the pin is pulled high. Unless the midi adapter is outputting true serial data at your baud rate, you may have some problems.
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

did you connect the ground from the midi adapter to the ground of the arduino? the signal may be using the ground from usb as a common ground, and when you take away the computer you disconnect the ground.
Logged

Pages: [1]   Go Up
Jump to: