Testing DMX output on GPIO and UART line

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Jackson75
Posts: 4
Joined: Fri Jul 15, 2022 11:25 am
Real Name:

Hi all,
New to this forum. Amazing software the QLC+
I am playing around with a Raspberry Pi 4 and trying to output dmx data on GPIO lines and also UART TX line.
It seems I don't get anything out according to my scope.
Should I need to do more than just selecting the output settings in the input/output tab in order to get the data going?
Thanks in advance!
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, not every GPIO on the Pi is the same.
Many pins have different meanings and their configuration is done outside QLC+.

As for UART, it should work out of the box.

See also this for reference: viewtopic.php?f=17&t=8894
Jackson75
Posts: 4
Joined: Fri Jul 15, 2022 11:25 am
Real Name:

Ah thanks, by looking at the ref page it seems I have to edit the config file to change direction of TX.. probably that’s the issue.

BTW - is there a way to edit the Pi config’s inside Pi or do I have to edit the image and write it all back to SD ?
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

You can access the Pi via SSH, as written in the provided PDF
Jackson75
Posts: 4
Joined: Fri Jul 15, 2022 11:25 am
Real Name:

I think SSH will be more advanced than my hardware brain can take :)
It's possible to edit the QLC+ image in Windows and then write it back to SD? (Format and write)

I was not able to get UART TX to output DMX. I tried to find where to paste the below:
echo 18 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio18/direction
echo 1 > /sys/class/gpio/gpio18/value

But I could not find the file you were referring to: /etc/init.d/qlcplus file

Can you please explain where to edit and get the UART TX output enabled ?
Thanks
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Windows doesn't read Linux partitions (ext2/3/4 format)
You need a proper tool for that like
https://sourceforge.net/projects/ext2read/
or
https://www.diskinternals.com/linux-reader/
Jackson75
Posts: 4
Joined: Fri Jul 15, 2022 11:25 am
Real Name:

OK
So when using the suggested linux apps I can open the SD card in a PC and edit the needed files ?
Post Reply