7 ms·
Would it be feasible to implement this on a microcontroller, lets say medium sized Cortex-M or ESP8266? Would be useful in IoT, especially for initial setup pha
by zokier 10y ago
Would it be feasible to implement this on a microcontroller, lets say medium sized Cortex-M or ESP8266? Would be useful in IoT, especially for initial setup phase.
- brian-armstrong 10y agoI haven't tested it on that particular hardware but I think it might be feasible. Some modem profiles are more computationally expensive than others, and receiving is more expensive than transmitting. At some point I'd like to try it on an RPi across a piezo and a cheap mic
- mschuster91 10y agoYou could try making a "real" C library (with proper Makefile etc) out of it and compile it on a Pi, with a pulseaudio (or ALSA) configured to do loopback (i.e. route the audio output to the line-in input).
- brian-armstrong 10y agoWay ahead of you ;) https://github.com/quiet/quiet-lwip https://github.com/quiet/quiet-lwip In fact, the Android library is just a wrapper on this, although a fairly non-trivial one. libquiet's tests actually run exactly as you describe on a loopback alsa device
- revelation 10y agoWhy would you add a reasonably expensive ADC+microphone if you can just use BLE that's likely to have some other useful purpose for your IoT device? Or, well, WLAN or 6LoWPAN, it is IoT after all.
- brian-armstrong 10y agoIn general, I think you are definitely right about this. Sound does have some potentially interesting applications. For example, if you had an exhibit that you wanted guests to interact with, that would probably eliminate many wireless choices. NFC would be a valid option, but not all phones support it, and you might need to make the user install an app. Quiet's sound transmission can work from the browser by using quiet.js. In general I think it's ever so slightly more versatile, or at least until browsers make it easier to access wireless options.
- zokier 10y agoThe use case I had in mind specifically was initial configuration, mainly transferring wlan configuration data to the device. So this would not replace radio interfaces, but instead complement them.
- madeofpalk 10y agoI believe the Amazon Dash buttons do this.
- eveningcoffee 10y agoWire a microphone to ESP8266 and mass deploy them. What could possibly go wrong?