iPod Serial play/pause on UNO
i posted on in programming well, i'm starting wonder if it's hardware problem ( in case i'm sol because know no hardware ever ).
the problem this:
i'm trying ipod play/pause , restart tracks based on input parallax ping))) sensor. sensor (as far know) works great, no response ipod. i'm not getting compiling errors, , i'm using lot of borrowed (it works think) code. i'm starting think physical structure causing ipod not respond. here bit of code , images.
please meeeeeee.

the problem this:
i'm trying ipod play/pause , restart tracks based on input parallax ping))) sensor. sensor (as far know) works great, no response ipod. i'm not getting compiling errors, , i'm using lot of borrowed (it works think) code. i'm starting think physical structure causing ipod not respond. here bit of code , images.
code: [select]
#include <ipodserial.h>
#include <simpleremote.h>
simpleremote simpleremote;
// initialize
int pingpin = 7 ; // serial ping)))
int podpin = 0 ; // ipod tx, board rx
int podpout = 1 ; // ipod rx, board tx
int pingbaud = 9600 ; // ping))) baud rate
int podbaud = 19200 ; // ipod baud rate
int threshon = 20;
int threshoff = 40;
// set up
void setup() {
//ipodserial();
//todo: why did put here?
simpleremote.setup();
}
void loop() {
simpleremote.loop();
simpleremote.sendipodon();
delay(50);
simpleremote.sendplay();
simpleremote.sendbuttonreleased();
delay(5000);
}
please meeeeeee.
i should add in well.
the red thing this: http://www.sparkfun.com/products/8745
to step 5v(uno serial) down 3.3v(ipod serial)
and breakout kit ipod dock connector: http://www.sparkfun.com/products/8295
and ping sensor: http://www.parallax.com/tabid/768/productid/92/default.aspx
thanks!
the red thing this: http://www.sparkfun.com/products/8745
to step 5v(uno serial) down 3.3v(ipod serial)
and breakout kit ipod dock connector: http://www.sparkfun.com/products/8295
and ping sensor: http://www.parallax.com/tabid/768/productid/92/default.aspx
thanks!
Arduino Forum > Using Arduino > Sensors > iPod Serial play/pause on UNO
arduino
Comments
Post a Comment