Re:Show HN: Serial communication using the WebAudio API
by ecubed on Sunday June 23, 2013 @04:47PM
(#5929380)
I'd appreciate any feedback, especially from more experienced devs. I built this JS class to send serial commands over the headphone port of an iPhone using Javascript and the HTML5 WebAudio API. This enabled me to use an iPhone application to control my embedded systems design senior project.
[ Parent
| on HN ]
Re:Show HN: Serial communication using the WebAudio API
by revdinosaur on Sunday June 23, 2013 @07:07PM
(#5929953)
This is a great hack, very clever. You mention on the GitHub page that you use a comparator to convert the signal for the ATMega168. I know that the ATmega328 has an embedded comparator so I'm wondering how easy you think it would be to create a library for Arduino projects?
I currently have a few projects which are bound to servers so I can control them with web apps and this seems like a great way to liberate them from the network. Low-level analog signal processing is about where my knowledge comes to a screeching halt (hence using Arduinos in the first place) but I'd love to play around with any AVR code to try and implement this for high-level language hardware people.