OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
641 stars 204 forks source link

Feature Request - Serial Device Output #251

Open ola-importer opened 10 years ago

ola-importer commented 10 years ago

From nighty2...@googlemail.com on August 22, 2013 09:18:32

Hey Folks,

i ve got an idea for an new Device Plugin, maybe somebody feels free to implement it. I am looking for a plugin for serial devices. For emaple a /dev/ttyUSBx or any other serial device. The serial device should do nothing else then sending the 512 bytes and an array of start and stop bytes. Start and stop byte arrys, device, frames and speed should be configurable by the config file.

For example:

Config: enable = true device = /dev/ttyUSB0 baud = 500000 start = 0x5a,0x00 stop = 0xa5 fps = 20

Output: 0x5a,0x00, 512 Bytes, 0xa5 20 times a secound with 500kBaud on /dev/ttyUSB0

Would be great if smbdy could do this.

Original issue: http://code.google.com/p/open-lighting/issues/detail?id=250

ola-importer commented 10 years ago

From si...@nomis52.net on August 22, 2013 09:20:38

Do you have a specific device in mind?

ola-importer commented 10 years ago

From nighty2...@googlemail.com on August 22, 2013 09:35:24

1 , 2 years ago i build some atmega based hardware by my self.

The initiator of the protocol is http://www.dzionsko.de/index.php?n=MiniDMX.Startseite (german)

He builds some hardware based on the proto. too http://www.ulrichradig.de/home/index.php/avr/rs232-dmx Here is also something to read (german) http://www.ledstyles.de/ftopic17673.html Boblight is also able to send serial data https://code.google.com/p/boblight/issues/detail?id=50&can=1&sort=-id Sedu Board is using "miniDMX" http://www.sedu-board.de/sedu-faq/

ola-importer commented 10 years ago

From peterjne...@gmail.com on September 01, 2013 14:52:31

Apart from the rate limiting (which I've not done so far, but I understand OLA has support for already), it should be easy enough to either create a device specific plugin, or a generic one like you've suggested; I've just added the Milford Instruments one, which is reasonably similar. To make this fully universal, you'd also need to expose data bits, parity, stop bits and flow control etc.

ola-importer commented 10 years ago

From peterjne...@gmail.com on September 13, 2013 11:01:40

Labels: -Type-Defect Type-DeviceSupport