Olimex Support Forum

Others => UEXT => Topic started by: felipegn on March 27, 2014, 11:40:02 PM

Title: MOD-IO
Post by: felipegn on March 27, 2014, 11:40:02 PM
Hello.

I'm trying to connect the MOD-IO to Olinuxino, but I'm not doing it right.
First, I would like to know if it's necessary to connect the Power Jack to MOD-IO, because when I connect only the UEXT from Olinuxino the power LED turns on.

Second, I'm trying to use the i2c functions and I get this error:
           I write : ./mod-io -an1 0x58
           I get   : Communication error on send
When I connect 3 V into input 1.

Do you know how to answer/solve my problems?

Thank you!

Felipe
Title: Re: MOD-IO
Post by: dave-at-axon on March 28, 2014, 04:52:56 AM
Hi Felipe,

I too have this board and the power LED will glow very dimly if you only have the UEXT connected because of the pullups on the SDA and SCL lines. You'll be drawing a small amount of power from the SDA and SCL lines because they are also pulled up on the external processor (assuming you have A20, A10, A13 etc)

R14 and R16 are not fitted so the 3.3V from the UEXT is not connected to the board.

You need the external DC power for the board to work.
Title: Re: MOD-IO
Post by: BIG-L on March 29, 2014, 04:16:14 AM
Struggling with some of the same issues.

trying to access the AN and Digital inputs with the modio.py utility.

I can cycle the relays, but no luck reading the analog inputs or the digital contact closures.

I found you do need power to the card other than from the bus.

:(
Title: Re: MOD-IO
Post by: felipegn on April 02, 2014, 11:50:04 PM
Thank you guys, i really needed the power. Now it's working fine.

For some reason it doesn't work when linked to UEXT2. But it works in UEXT1. Is it normal?

Thank you again.
Title: Re: MOD-IO
Post by: dave-at-axon on April 03, 2014, 05:10:24 AM
Did you change the I2C in your code?

I have both UEXT 1 and 2 working in my design but they have separate I2C drivers.
Title: Re: MOD-IO
Post by: felipegn on April 07, 2014, 08:35:03 PM
The problema was the code! I had to choose i2c-0, i2c-1 or i2c-2.

Thank you all. All the I2C interfaces works fine.