More free I/O on ALL Androids ;-)

rayellam

Member
Licensed User
Longtime User
1. Two channel A/O = send a tone out from the L or R or both channels on the headphone jack.....us a freq to voltage converter at the remote end............. UNTESTED.

2. A/I = use the mic input on the headphone jack, send in a tone from the remote end and do some frequency analysis to convert to a linear level.............UNTESTED

3. D/I = Use the plugged function to provide a free digital input (see my previous post)..........TESTED

All this came about because im using Android 2.3.6 and cannot easily design the remote electronics to be a host mode USB...........wish i chosen a platform with Android 3+ because that would have been easy, a days work BUT iv already bitten the bullet and now have 200+ 2.3.6 devices :-/ .........................maybe i should have researched better.

As my old man used to say "there is always more than one way to crack an egg"

Cheers
Ray
 

alexhi

Member
Licensed User
Longtime User
Hi Ray!
I did control the microcontroller atmega48PA via the audio output. Used 8870 chip.
Tablet did tone DTMF.
 

rayellam

Member
Licensed User
Longtime User
Hi Ray!
I did control the microcontroller atmega48PA via the audio output. Used 8870 chip.
Tablet did tone DTMF.

Th A/O and A/I are just a conceptual idea and are NOT tested........but in theory they should work?

If/when i ever test this then i will use a low cost $1-2 PIC micro, start a timer and measure the period of the cycle then deduce a frequency. Amplify the input sine wave to clip and be a square wave then use that as an interrupt to start/stop the timer. Using this method i can count MHz with an accuracy of around better than 0.01% (tested)

Try it and report back?

Ray
 

rayellam

Member
Licensed User
Longtime User
BUT....sounds like you already tried it

is it possible to upgrade Android version from 2.3.6 to 3.1 and then i will have the ability of using the Android as a USB master? mmmmmmmmmmmmm.......many questions
 

alexhi

Member
Licensed User
Longtime User
DTMF signal does not react to the music. How are you going to do signal analysis?
 

rayellam

Member
Licensed User
Longtime User
DTMF signal does not react to the music. How are you going to do signal analysis?

I was talking just frequency analysis to derive a precise voltage at the remote end for say motor control via PWM but an interesting thought on the music input front? bet u could turn a few heads with the concept of that
 

rayellam

Member
Licensed User
Longtime User
F
I was talking just frequency analysis to derive a precise voltage at the remote end for say motor control via PWM but an interesting thought on the music input front? bet u could turn a few heads with the concept of that
Full lighting desk control in ya pocket????????
 

alexhi

Member
Licensed User
Longtime User
I would have done so ..... Tablet->DTMF COMMAND->CHIP MT8870 ->PIC or AVR or STM32F0 controller -> PWM
 

alexhi

Member
Licensed User
Longtime User
Here is my example of voice control microcontroller atmega48 and Tablet (AUDIO OUTPUT)
( Russian )
Sorry my English
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…