9/5/2023 0 Comments Dip switch in logicworks 5![]() changed to channels 1.3 (RGB) for compatibility with the DmxSerialSend sample. include file and extension changed to work with the Arduino 1.0 environment without using the Arduino Serial (HardwareSerial) class to avoid ISR implementation conflicts. fully control the serial hardware register Documentation and samples are available at This work is licensed under a BSD style license. Copyright (c) 2011-2015 by Matthias Hertel, DmxSerialRecv.ino: Sample DMX application for retrieving 3 DMX values: DmxSerial - A hardware supported interface to DMX. Posting my code below, hopefully you can sort things out for me. Added a LED-diode on pin 13 just to use as indicator. ![]() Been trying some of your ideas but im getting stuck at how to test if its working. In my solution, you need 4 pins, but 2 of them can be shared with other SPI-like stuff, and another one as some sharing potential (because you can load your register as often as you want, the dip switches are pretty static).Ĭan't get it working. In his suggestion, you need 3 pins, but they are exclusive. In the end, you have a module that has 6 pins you can plug into your projects.Īctually, I am surprised that does not exist.ĮDIT: this is very similar to 6v6gt suggestion. You could tile small PCBs and literally get a hundred modules for that price. I would consider investing 15$ and 3 weeks of waiting and have a PCB made for this for SMD components. SInce you want a settable address, you probably want to do this on multiple modules. On the contra side, I guess you can only put in the required pull-down/up resistors with a double layered PCB or jumper wires. Also, you directly read the address as serial input. On the pro side, this saves pins if you use more then 4 bits, and two of those are reusable for SPI. You could also do this with a shift register like the 74HC165.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |