An open API service indexing awesome lists of open source software.

https://github.com/greatcattw/dmx512_ft232

Using FTDI ft232 as host controller to control DMX512 device in Ubuntu
https://github.com/greatcattw/dmx512_ft232

dmx512 ft232 ftdi linux

Last synced: 2 months ago
JSON representation

Using FTDI ft232 as host controller to control DMX512 device in Ubuntu

Awesome Lists containing this project

README

        

# dmx512_ft232
Using FTDI ft232 as host controller to control DMX512 device in Ubuntu 22

![pic](pic/light.jpg)

## Discription
DMX512 protocol includes a status of break.

In order to make status of break, I use DTR to carry out it.



![pic](pic/protocol.jpg)



![pic](pic/schematic.jpg)



![pic](pic/rs485.jpg)



![pic](pic/1.jpg)



![pic](pic/2.jpg)



![pic](pic/3.jpg)



![pic](pic/box_id.jpg)



# Test sample code
## Test par light


Datasheet of channel

![pic](pic/par_ch_function.jpg)



Make sure /dev/ttyUSB0 is a+rw

Make sure address of par light is 001.

### Test red light.

./a.out 255 255 0 0 0 0 0 0 0 0

### Test green light.

./a.out 255 0 255 0 0 0 0 0 0 0

### Test blue light.

./a.out 255 0 0 255 0 0 0 0 0 0

## Test magic ball light

![pic](pic/ball_ch_function.jpg)

Make sure /dev/ttyUSB0 is a+rw

Make sure address of par light is 001.

### Test red light.

./a.out 39 0 0 0 0 0 0 0 0 0

### Test green light.

./a.out 59 0 0 0 0 0 0 0 0 0

### Test blue light.

./a.out 79 0 0 0 0 0 0 0 0 0

# If the document help you, how about buy street cats a fish can ?