This should be asked on the electrical site . But the best way is to use a Bluetooth serial port converter ($ 5 with ebay) and a PIC microcontroller with USART and an analog-to-digital converter ($ 1), you can easily program the PIC in C using "MPLAB", IDE and the HI-TECH compiler . The tools you need are a PIC programmer ($ 20) and something with a serial port if you want to configure a Bluetooth serial converter, such as a desktop PC or a USB serial converter. You may need an op-amp circuit to amplify the signal so that it is read by the PIC. Then you used the code from the Google BluetoothChat example to connect your phone to your bluetooth system and receive data from it.
Using a microphone for input would be difficult, for one reason, because it would be filtered to accept only alternating current. One way around this is to modulate the oscillator output so that its amplitude is proportional to the measured DC signal, then you could measure the value by analyzing the data from the microphone.
Interacting with USB is harder than it sounds, it would be harder to create something that interacts with it and measure millivolts than using bluetooth, because the PIC processor that you use for analog digital sampling and a USB client is actually They must either act as a USB host or USB-OTG on the phone, which is much more complicated than USB peripherals.
Jodes source share