16 in LV inputs don't go high

ihakkara

New member
Stacked on top of raspberry pi and your 16 relay output card. Power led is on. 16 relay outputs work fine. If I give 24VDC (or 5VDC) to any inputs on the input card, no led's turn on to indicate high input nor any changes in registers 0x00 and 0x01 when reading from I2C. What could be the problem?

Ilpo
 

ihakkara

New member
Yes, the input card is 0x26 and the output 0x27 on I2C bus. I can read and write to those cards setting relays on and change input card polarity and see LEDs turning on when polarity is changed. But nothing changes when input state changes. I found another discussion about "open collector" inputs ... this is simple input 24VDC and ground in COM. So maybe the input signal is wrong and doesn't work with your card.
 

ihakkara

New member
No, the LEDs change only when I change the polarity setting on the card, nothing to do with input levels to any port. But changing input state 0VDC/24VDC on any input port doesn't change any LED nor status register. I have installed also 16inpind-rpi and no input states change.
 

alexburcea

Moderator
Staff member
How did you feed the signal into the card? That polarity I am referring to. Let the driver to set the IOexpander registers, if you did the port output there is no way can read signals. Please repower the card and run only 16inpind nothing else.(just for finding the eventual problem).
 

ihakkara

New member
Alright, after power off and using only your command tool it works. So I had somehow messed the card when writing to it's registers nonsense. Also my own I2C app works.

Thank you for your great support! I didn't expect this fast communication. This was superb!
 
Top