Using the UART pins on the Pi?

All the topics related to QLC+ on the Raspberry Pi
Post Reply
bodex
Posts: 2
Joined: Thu Jan 21, 2016 3:01 pm
Real Name:

Hi,

I tried to use the three UART-Pins as an Outpout-Device. But it doesn´t work yet. Must i change some configurations to use them?
What Baud Rate uses the UART Out.

Bodex
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Mihai Andrei
Posts: 77
Joined: Sun Sep 27, 2015 10:58 am
Location: Italy-Arezzo
Real Name: Mihai Andrei
Contact:

I built UART converter :
chip used: SN75176B http://www.ti.com.cn/cn/lit/ds/symlink/sn75176b.pdf

Image
chuddy117
Posts: 3
Joined: Tue Dec 20, 2016 4:28 pm
Real Name:

I just donated and received a link to the QLC+ image for the PI, and I'm looking to use the native UART pins on my PI, but am a little confused as to the components required. I have a MAX485 converter (same as this one: http://www.jonshouse.co.uk/rpidmx512.cgi), but on that website, it doesn't use the UART pins on the Pi. Does any one have a diagram for which pins are required, and if I need anything beyond the MAX485 adapter?
Mihai Andrei
Posts: 77
Joined: Sun Sep 27, 2015 10:58 am
Location: Italy-Arezzo
Real Name: Mihai Andrei
Contact:

I have done so and I works perfectly
is it of RPI QLC for OLA

1)
put before writing that is

Code: Select all

#
with the command:

Code: Select all

sudo nano /boot/cmdline.txt
2)
put the end of everything

Code: Select all

init_uart_clock=16000000
with the command:

Code: Select all

sudo nano /boot/config.txt
3)
simple .. just connect the RI uart TX for the Rpi .. and everything works
(Capacitors are used to overcome small disturbances from the DMX line)
12787079_10204293742103299_312901291_o.jpg
the LED is not mandatory but as confirmation that everything works I put .. you can also put it to the test and remove it very important to be bi-color LED with 2 pins .. or inverted pin inside .. or 2 opposite mounted LED .. (then LED with 3-pin and common ground are not good)
the startup will be red .. while charging the image can change the color (flashing of LED type sd) then they are both turned on ..
as soon as you throw the signal you see flashing very fast (almost imperceptible) to 40hz ...
in this case, everything should work ...
We just have to try a real fixture to have more confirmation that everything is ok
Post Reply