Page 1 of 1

GPIO Question

Posted: Fri Nov 16, 2018 6:15 pm
by Dingezz
For a interactive light object i am detecting where people are standing and i want to trigger a lightshow if the are standing correctly, i want to do this using hardware tiggers on the RPI GPIO ports

is it possible to trigger a lightshow when multiple GPIO pins are High? something like:

IF GPIO 1 = High and GPIO 2 = High and GPIO 3 = High
Then: Trigger " Giant show"


second question: is it possible to trigger a lightshow when multiple GPIO pin's on multiple RPI's are High?
something like:
IF GPIO 1 RPI 1 = High and GPIO 2 RPI 1 =High and GPIO 1 RPI 2 = High
Then Trigger " Giant show"

Re: GPIO Question

Posted: Fri Nov 16, 2018 10:13 pm
by mcallegari
As far as I know, the answer is no.
Maybe it's easier to multiplex those GPIO externally with some electronic magic.
Otherwise I can only think of complex software solutions that I wouldn't suggest

[EDIT] maybe something like this:
https://www.circuitlab.com/circuit/p989 ... pberry-pi/
Source: https://pi.gate.ac.uk/pages/basics.html
A transistor can somehow do a logical AND between two GPIO

Re: GPIO Question

Posted: Sat Nov 17, 2018 11:10 am
by Dingezz
alright, think i am gone use a arduino to handle the IO