Hacker News new | ask | show | jobs
by ecubed 4747 days ago
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.
2 comments

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.

This is great! Very interesting idea, if I had more time I would incorporate it into my semester project. My solution using putty now looks so cheap.