How to input data to the device using the camera or the microphone?

anungatri

New Member
Licensed User
Longtime User
I would like to input data (temperature, light, raw data) to an android device from simple electronic circuits (arduino, 555 oscillators etc).

I found that there is no easy way to analyse the sound input "on the fly", and I find the option of recording and analysing it later slower and resource consuming.

I thought of using the device's camera (I plan to use different colored LEDs on different positions), but the camera library creates the preview on a panel, and I could't find a way of getting pixel values from that. I don't like the idea taking a picture and analysing it later for the same reasons as for the sound recording.

Any Ideas for quick and dirty data input?
Thank you.
 
Thank you Erel.
I made crude tests with the preview event and it looks very promising, but I still have quite a few things to figure out.
 
Upvote 0
Back
Top