RevPi DIO output control

Topics about the Hardware of Revolution Pi
Marcelin
Posts: 9
Joined: 16 Jul 2018, 11:03

Re: RevPi DIO output control

Post by Marcelin »

I recently tried to print(bits_in) and I get 255 meaning all the bits are high. But I am triggering only the input pin_4 and expecting all the other pins to be low.
Did I mess something or should the pictory configuration be somehow resset?
For the inputs I connected the ground on the input ground of X2 and the supply only at the input pin_4.

Any help is much appreciated.
Thanks
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi DIO output control

Post by dirk »

Hello Marcelin,
in the picture the LED "IN" is lighting red. This indicates that here is no power supply on the X2 plug.
This is necessary for the DIO to indicate Low and High signal levels.
Have a look at the tutorial connecting the power supply.
Marcelin
Posts: 9
Joined: 16 Jul 2018, 11:03

Re: RevPi DIO output control

Post by Marcelin »

Ah right!

Thanks for the hint!
Post Reply