Hmm I think writing a serial modem over the audio jack would be educational but there are better ways if your looking to acually communicate with your phone.
There is an article on gadget gangster about using a propeller with an e-bay bluetooth terminal to send and recive serial over BT from phone to prop. I got one of the modules on a breakout board and loaded up a serial based snake game on the prop like in the article and then connected my android phone with a BT serial terminal and played a game of ASCII snake from 40 ft away . I think the serial BT modules are alot faster too iirc these audio modems usually max at 9600 baud?
Yeah, I am also using BT and WiFi for control purposes. However, they do claim 24K-baud. I came across that thread only a short time after I'd read about this product using the audio port for data transfer. Looks like it's asking to be snapped-off, if you ask me.
haha i own like 10 of those square readers, i picked the first one up thinking it had to be serial so it would be easy to make a cheap magstripe reader for a micro.
o then found out tis not serial at all! the thing has a cassete tape head that sends and audio to ur mic, there software then converts it from analog audio to a digital signal. i talked to a guy who wrote an adroid program that used the thing to read data off track 1 and 2 off any mag stripe, i wanted to port his source to the prop using its audio port. Well i could never get the damn program to work on my phone....
i then busted the square reader open to find a little coin cell battery an ti msp430 uController and eeprom. turns out they got alot of flack for sending the magstripe signal to the phone unencrypted so they started building new reader with these micros to encrypt to audio... if only i had a scope. damn analog electronics
Comments
There is an article on gadget gangster about using a propeller with an e-bay bluetooth terminal to send and recive serial over BT from phone to prop. I got one of the modules on a breakout board and loaded up a serial based snake game on the prop like in the article and then connected my android phone with a BT serial terminal and played a game of ASCII snake from 40 ft away . I think the serial BT modules are alot faster too iirc these audio modems usually max at 9600 baud?
http://www.gadgetgangster.com/news/56-jeffs-shop/534-bluetooth-howto.html this is totally applicable to any micro that has a serial interface, they make these hc05 slaves in 5 and 3.3v logic
Mickster
o then found out tis not serial at all! the thing has a cassete tape head that sends and audio to ur mic, there software then converts it from analog audio to a digital signal. i talked to a guy who wrote an adroid program that used the thing to read data off track 1 and 2 off any mag stripe, i wanted to port his source to the prop using its audio port. Well i could never get the damn program to work on my phone....
i then busted the square reader open to find a little coin cell battery an ti msp430 uController and eeprom. turns out they got alot of flack for sending the magstripe signal to the phone unencrypted so they started building new reader with these micros to encrypt to audio... if only i had a scope. damn analog electronics