I just picked up a pi3 and a dmx512 board from Bitwizard, this is the board:
http://bitwizard.nl/shop/dmx/DMX-interf ... -(FT245RL)
I have been trying to get it to work correctly with ola for the past few days and am having trouble getting it to show up at all as a usable device in open lighting architecure "ola". I've been following the guide on the bitwizard wiki I think to a tee to no avail. I have gotten a entec usb dmx box to comunicate with ola just fine.
So I'm hoping you guys can at least give me some things to start looking into. Below is a summary of the steps I have taken to get the board working:
Code: Select all
To summarize my efforts - Installed raspbian using noobs method - Removed the console and getty from the serial port - used raspi-config > Interfacing > Serial - Set login shell to be accessible over serial - No - Would you like the serial port hardware to be enabled? - I assumed the correct answer to this one was Yes, but I have tried both - Install OLA with: sudo apt-get install ola - Disable other things on UART with: sudo systemctl disable serial-getty@ttyAMA0.service - Add dtoverlay=pi3-disable-bt to /boot/config.txt - Add init_uart_clock=16000000 to /boot/config.txt - Add the following to /etc/ola/config.txt /dev/ttyAMA0-break = 100 /dev/ttyAMA0-malf = 24000 device = /dev/ttyAMA0 enabled = true - Created a script in /bin named set_dmx_mode with this in it #!/bin/sh # set_dmx_mode if [ $# -lt 1 ] ; then echo 'on or off?' exit 1 fi if [ ! -d /sys/class/gpio/gpio18 ] ; then echo 18 > /sys/class/gpio/export fi echo out > /sys/class/gpio/gpio18/direction echo $1 > /sys/class/gpio/gpio18/value - then called it - Set the gpio modes with gpio -g mode 18 out gpio -g write 18 1 gpio -g mode 14 alt0 gpio -g mode 15 alt0