Hi all,
This message is for anyone who has experience interfacing with the Rogue Robotics uMP3 (rMP3 probably applies as well)...
So, I've got an Arduino Duemilanove, and I've been trying to two days to get it to talk to one of these devices, and no matter what I try, it just fails entirely to communicate.
Without going through all of what I've tried to do, I'll stick with the bare basics: trying to get it to work with the "passthrough" sketch on Rogue's site (see below).
I've got this sketch pretty much unchanged, I have the latest version of the IDE and NewSoftSerial library, etc (for mac osx). I have my Macbook Pro connected to the board, and the uMP3 is connected to the correct pins on the Arduino board, plus power and etc.
When I upload the software and open the serial monitor to type commends, I get absolutely nothing. No prompt, no nothing.
I've tried all kinds of other sketches, pins, libraries, etc - and nothing seems to help. I know that the uMP3 is on - as it's busy indicator lights up briefly when powered up. If I insert a card, the busy indicator stays on for a LONG time when I boot it up and eventually goes off.
Other than that, silence - deadly silence.
Anybody have a clue here? I would especially appreciate any Rogue Robotics folks who might be lurking, as I can't find any real information on their support site to help me troubleshoot this...
/**************************************************
- Simple pass-through serial application for
- Arduino and Arduino-clones.
- You can use this for testing and
- updating the Rogue Robotics
- uMMC Serial Data Module or
- uMP3 Playback Module.
- You will need the "NewSoftSerial" library
- available at the Arduino website.
- http://arduino.cc/
-
http://arduino.cc/en/Reference/Libraries
***************************************************/
#include <NewSoftSerial.h>
// You can set this to whatever pins you have the uMMC or uMP3 connected.
// e.g. 4 is connected to uMMC "T", 5 is connected to uMMC "R"
NewSoftSerial out(4, 5);
// If you are using this to update the firmware on the uMMC or uMP3,
// you will have to make sure that both the Serial connection and the
// out connection are set to 9600 bps.
void setup()
{
out.begin(9600);
Serial.begin(9600);
pinMode(13, OUTPUT);
digitalWrite(13, 0);
}
void loop()
{
digitalWrite(13, 0);
if(out.available())
{
digitalWrite(13, 1);
Serial.print((uint8_t)out.read());
}
if(Serial.available())
{
digitalWrite(13, 1);
out.print((uint8_t)Serial.read());
}
}