- Tue Jan 11, 2011 10:19 am
#117099
Hi
I've built a homebrew Arduino and all seemed well at first. Blink ran. I can wire it to an LCD and write to it using the SoftwareSerial library. I can plug my homebrew 4 x 4 button pad/RGB LED matrix board into it and it works. I can plug my homebrew MIDI board into it and it can send MIDI messages using the Arduino MIDI library and ... error! It won't receive MIDI in. Or rather after much investigation it won't reliably detect any serial data incoming on the RX pin. It's not my homebrew MIDI board as that works fine plugged into my Duemilanove. It's not the sketch I'm running either, for the same reason. So continuity/short circuit on my homebrew Arduino surely? Well I can't find one. To be sure I built a breadboard Arduino. That has the same problem!
I'm very confused because as far as I can tell on any Arduino schematic (original or clone) the RX pin just goes directly to the relevant leg on the ATMEL368P (PD0/PD1, whichever it is, I'm not near my notes, don't worry I've double checked this!)
What could possibly be causing RX to misbehave on a homebrew Arduino compared to a Duemilanove?
Here is my board layout (ignore the MIDI stuff top right it's isolated from the Arduino bit)
And a link to the schematic
http://web.mac.com/hardcoded/schematic.png
I've built a homebrew Arduino and all seemed well at first. Blink ran. I can wire it to an LCD and write to it using the SoftwareSerial library. I can plug my homebrew 4 x 4 button pad/RGB LED matrix board into it and it works. I can plug my homebrew MIDI board into it and it can send MIDI messages using the Arduino MIDI library and ... error! It won't receive MIDI in. Or rather after much investigation it won't reliably detect any serial data incoming on the RX pin. It's not my homebrew MIDI board as that works fine plugged into my Duemilanove. It's not the sketch I'm running either, for the same reason. So continuity/short circuit on my homebrew Arduino surely? Well I can't find one. To be sure I built a breadboard Arduino. That has the same problem!
I'm very confused because as far as I can tell on any Arduino schematic (original or clone) the RX pin just goes directly to the relevant leg on the ATMEL368P (PD0/PD1, whichever it is, I'm not near my notes, don't worry I've double checked this!)
What could possibly be causing RX to misbehave on a homebrew Arduino compared to a Duemilanove?
Here is my board layout (ignore the MIDI stuff top right it's isolated from the Arduino bit)
And a link to the schematic
http://web.mac.com/hardcoded/schematic.png