I will explain to you my system and maybe you can tell me if there is a 
better way to do it with the IOIO.  For now, I am powering the IOIO with a 
9V wall adapter.  I'm relying on it's own onboard voltage regulator to 
manage the voltage.  For my potentiometers, I built a voltage regulator 
using a LM317.  I chose resistors such that the regulated voltage is 3V. 
 I'm using this 3V as the reference for the linear potentiometers.  I just 
wanted to make sure the ADC channels never saw more than 3V.  Right now, 
everything is connected on a breadboard.  That is basically it...a fairly 
simple setup.  I will be reading as many as the max 16 channels for ADC.  I 
did realize why the board was freezing when I connected to pin 30...pin 30 
is not an analog input channel.  I thought the corner pin was 30, but 
instead it is 31.  So, the analog channels are 31-46.  As for why the board 
quit working (or it's onboard voltage regulator quit working), I don't 
know.  

On Wednesday, December 18, 2013 9:36:18 PM UTC-6, Ytai wrote:
>
> Red light not on = either a power supply problem or a damage to the board.
> How are you powering the board?
> Which firmware version is it running?
> What's connected to the board exactly?
> How are these potentiometers wired?
>
>
> On Wed, Dec 18, 2013 at 3:27 PM, Mark Thrasher 
> <[email protected]<javascript:>
> > wrote:
>
>> It seems I've been chasing problems all day.  The first problem was the 
>> IOIO working fine for my Nexus 7 tablet with Android 4.4, but not working 
>> for my Note 3 device with Android 4.3.  I made sure debugging was turned 
>> off and ran the exact same apk on each device.  I still don't know what is 
>> up with that.
>> The next problem seemed to be hardware related.  If I tried to do an ADC 
>> on pin 30, my program would freeze.  I was converting 3 different signals, 
>> and tried using pins 30, 31, and 32.  It never worked.  When I tried using 
>> pins 40, 41, and 42, everything worked fine.  When I tried using pins 
>> 31,32, and 33, I could move one potentiometer and it would affect one of 
>> the other channels that had a constant voltage on it.  None of it made any 
>> sense to me.  After experimenting around with the different pins, the red 
>> light on the board went out and I could no longer connect to it.  I know 
>> the LED still works because I attempted reloading the firmware and the red 
>> and yellow lights behaved as expected.  Anybody have any ideas what was 
>> going on with all of this?  Anything I can test or do I accept this is a 
>> bad board now?
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ioio-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to