0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« on: April 01, 2008, 08:56:00 am » |
Has anyone here done it? Is it possible? I'm thinking of buying an iPod Touch, not so much as an overpriced music player, but more as a portable computer, for which I will be writing my own software. Now, I've heard that the serial port on the iPod/iPhone is a standard TX/RX serial connection, and so I should be able to connect to an arduino from the iPod with a simple C program (after any necessary hacking), but I wanted to know if someone else has already done it and what kind of trouble was involved.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 21
Arduino rocks
|
 |
« Reply #1 on: April 01, 2008, 11:15:42 am » |
It's possible to connect the ipod to arduino via tx/tr without any ipod remote, only with the serial cable between the ipod and arduino, i don't know if this helps you...
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #2 on: April 23, 2008, 03:42:48 pm » |
I was contemplating the same thing, for use in an alarm clock. has anyone made any progress on this?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 21
Arduino rocks
|
 |
« Reply #3 on: April 23, 2008, 06:20:15 pm » |
it's simple, u can simply connect Tx to your ipod RX pin, see the ipod connector datasheet but i think it's pin 13 in your ipod and then just simple send the commands like this
Play/Pause 0xFF 0x55 0x03 0x02 0x00 0x01 0xFA
(;
|
|
|
|
|
Logged
|
|
|
|
|
Bagshot, UK
Offline
Full Member
Karma: 1
Posts: 114
|
 |
« Reply #4 on: October 09, 2008, 04:20:35 pm » |
Hi guys,
I'm looking into having a go at connecting my iPod and my Arduino but I've read out there that the iPod "high" is only 3.3v.
Is that correct? Will I start destroying things if I run 5v into it from the tx/rx?
Thanks in advance, Easty.
|
|
|
|
|
Logged
|
|
|
|
|
Newcastle NSW Australia
Offline
Jr. Member
Karma: 0
Posts: 69
RalimTek
|
 |
« Reply #5 on: October 12, 2008, 05:06:57 am » |
Hi, Both me and my friend have iPod touch's he managed to break his data pin using 6V so i would look at reducing the power somehow. better idea is to get bluetooth Arduino and using an iPhone to control it. He had his iPod touch repaired for $50 Au
|
|
|
|
« Last Edit: October 12, 2008, 05:09:02 am by Cybot_Rules »
|
Logged
|
Cybot
|
|
|
|
Bagshot, UK
Offline
Full Member
Karma: 1
Posts: 114
|
 |
« Reply #6 on: October 12, 2008, 05:35:07 am » |
Thanks for the advice and warning Cybot.
|
|
|
|
|
Logged
|
|
|
|
|
Grenoble/Lyon - France
Offline
Sr. Member
Karma: 0
Posts: 363
|
 |
« Reply #7 on: October 12, 2008, 10:19:03 am » |
Does the IPhone SDK allows access to the serial port ? If yes, that's the best news of the month ^^
|
|
|
|
|
Logged
|
|
|
|
|
Newcastle NSW Australia
Offline
Jr. Member
Karma: 0
Posts: 69
RalimTek
|
 |
« Reply #8 on: October 13, 2008, 03:30:10 am » |
I know that if you jailbreak you can use Java or Python to interface with the slot, my friend managed to figure this out after wringing a simple python program to capture the data being transfered when he used a remote control with it.  But as far as the SDK i doubt it as apple didn't even allow you to change the brightness of the screen.
|
|
|
|
« Last Edit: October 13, 2008, 03:32:21 am by Cybot_Rules »
|
Logged
|
Cybot
|
|
|
|
Austin, TX
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #9 on: October 13, 2008, 03:38:38 pm » |
I was doing some research on this when I first got my Arduino, and here's a link to the best info I found on the topic: (bah, see next post) It looks like she's essentially taking a third-party remote, cutting it open, and then just using the wires leading to the iPod and connecting them to her Arduino. I think she's lifting the traces off of the circuit board, I assume she could have in fact just cut off the remote board and used the wires leading to it. She mentions that it works fine with her atmega8 version, but has problems with the newer atmega168 versions, so just a heads up. I really want to try to get a project like this up and running on a 168 Arduino, but the lack of an iPod is proving to be a bit of a setback 
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #10 on: October 13, 2008, 03:38:59 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Bagshot, UK
Offline
Full Member
Karma: 1
Posts: 114
|
 |
« Reply #11 on: October 13, 2008, 04:15:26 pm » |
Got a 3G working with an old connector but my 5G iPod isn't playing ball,
Thanks for posting the link to Rosie's code pjamestx, I've used it for my tests!
|
|
|
|
|
Logged
|
|
|
|
|
Newcastle NSW Australia
Offline
Jr. Member
Karma: 0
Posts: 69
RalimTek
|
 |
« Reply #12 on: October 13, 2008, 05:37:11 pm » |
Does anyone know what codes the device actually sends to the ipod from the ipod radio receiver ? im looking at using my ipod with my large antenna and using the Arduino as an amp
|
|
|
|
|
Logged
|
Cybot
|
|
|
|
|
|
Shenzhen, China
Offline
Full Member
Karma: 1
Posts: 116
Seeeduino rocks too
|
 |
« Reply #14 on: October 13, 2008, 10:18:49 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
|