November 23, 2024, 01:15:45 AM

MOD-IO

Started by felipegn, March 27, 2014, 11:40:02 PM

Previous topic - Next topic

felipegn

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

dave-at-axon

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.

BIG-L

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.

:(

felipegn

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.

dave-at-axon

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.

felipegn

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.