I was wondering if it was possible to connect an audio source to an Arduino with a 3.5mm cable (i.e. iPhone) and play different sounds that the Arduino would recognise to carry out different tasks. I have an Arduino Uno.
Thanks
I was wondering if it was possible to connect an audio source to an Arduino with a 3.5mm cable (i.e. iPhone) and play different sounds that the Arduino would recognise to carry out different tasks. I have an Arduino Uno.
Thanks
Yes, it is. I do just that but for Android rather than iPhone in my book 'Arduino + Android Projects for the Evil Genius'. One-way from the Android tablet to the Arduino in my case, but 2-way is possible too.
Its the same idea as the old casette tape interfaces that you used to get on home computers. In fact, if you hunt around you can find circuits for a lot of these old computers. I experimented with the circuit from a ZX81, but found it unreliable and ended up making something more complex with an op amp that was a lot more tollerant of the output volume etc.
My publisher wouldn't like it if I gave the schematic, but the Arduino and Android programs are both open source, you can find them on the downloads page here: http://www.duinodroid.com
Yes, it is. I do just that but for Android rather than iPhone in my book 'Arduino + Android Projects for the Evil Genius'. One-way from the Android tablet to the Arduino in my case, but 2-way is possible too.
Its the same idea as the old casette tape interfaces that you used to get on home computers. In fact, if you hunt around you can find circuits for a lot of these old computers. I experimented with the circuit from a ZX81, but found it unreliable and ended up making something more complex with an op amp that was a lot more tollerant of the output volume etc.
My publisher wouldn't like it if I gave the schematic, but the Arduino and Android programs are both open source, you can find them on the downloads page here: http://www.duinodroid.com