gpio internal pull up

Ask a question about the usage of QLC+ with the Linux operating system
Post Reply
hansommen
Posts: 12
Joined: Sat Jan 09, 2021 11:01 am
Real Name: han sommen

Hello,
Is there a way to activate the internal pull up resistors for gpio on the raspberry (original image) version
if i check /sys/class/gpio/gpio17 the file active_low has 0 in it so the input should be up.....
Thanks
User avatar
GGGss
Posts: 2732
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

Did you define the direction of the GPIO port? in / out?

Code: Select all

echo out > /sys/class/gpio/gpio18/direction
All electric machines work on smoke... when the smoke escapes... they don't work anymore
hansommen
Posts: 12
Joined: Sat Jan 09, 2021 11:01 am
Real Name: han sommen

thanks for your suggestion, it gives No such file or directory but on gpio17 there is nothing responced
in qlc i can configure pin 17 as input so i did that, for this time i placed 10k resistor as pull-up so my show is running. I made this show in a compiled version of qlc + wiring-pi but the startup time was too long and i decided to use the original image file (€15) and there is no access to gpio in terminal
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

https://raspberry-projects.com/pi/comma ... mmand-line

This is what QLC+ does on the Raspberry Pi
hansommen
Posts: 12
Joined: Sat Jan 09, 2021 11:01 am
Real Name: han sommen

Thanks, i'll test it, for now the external pull-up is working fine and with your image file the the start up time is short, perfect!!
User avatar
GGGss
Posts: 2732
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

Just keep in mind that QLC+ reacts on a rising edge signal on the GPIO. So you need 2 edges to switch from a zero to a one and back to zero. (Or you use a Schmidt trigger circuitry.)
All electric machines work on smoke... when the smoke escapes... they don't work anymore
Post Reply