GPIO Question

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Dingezz
Posts: 23
Joined: Tue May 12, 2015 5:09 pm
Real Name: Johan

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"
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
Dingezz
Posts: 23
Joined: Tue May 12, 2015 5:09 pm
Real Name: Johan

alright, think i am gone use a arduino to handle the IO
Post Reply