Skip to content

greatcattw/dmx512_ft232

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dmx512_ft232

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

Discription

DMX512 protocol includes a status of break.
In order to make status of break, I use DTR to carry out it.

pic

pic

pic

pic

pic

pic

pic

Test sample code

Test par light


Datasheet of channel

pic

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
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 ?

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages