Giter Site home page Giter Site logo

claudeheintz / lxsamd21dmx Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 12.0 84 KB

LXSAMD21DMX is a driver for sending or receiving DMX using an AVR SAMD21 microcontroller.

Home Page: https://www.claudeheintzdesign.com/lx

License: BSD 3-Clause "New" or "Revised" License

HTML 58.91% C++ 19.18% Objective-C 18.78% C 3.13%

lxsamd21dmx's People

Contributors

claudeheintz avatar tommag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lxsamd21dmx's Issues

multiple definition of `SERCOM4_Handler'

I just installed this library and tried to get one of the examples to work. Unfortunately I get this error when trying to compile for the MKR WiFi 1010. Is there any way to resolve this?

core\variant.cpp.o: In function `SERCOM4_Handler':
C:\Users\johan\Documents\ArduinoData\packages\arduino\hardware\samd\1.8.11\variants\mkrwifi1010/variant.cpp:256: multiple definition of `SERCOM4_Handler'
libraries\LXSAMD21DMX-master\LXSAMD21DMX.cpp.o:C:\Users\johan\Documents\Arduino\libraries\LXSAMD21DMX-master\src/LXSAMD21DMX.cpp:38: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino MKR WiFi 1010.

RDM system lockup

When plugging my Arduino into a PathPort RDM DMX node I have been experiencing intermittent full system lockups when reading DMX.

I have never experienced problems on any non RDM devises.

Is there a way to fully disable RDM?

flashing

I tried to read the DMX data following the scheme inserted in the LXSAMD21DMX.h file on an Arduino M0 Pro and also on a MKR1000 but the incoming DMX value, also displayed on the Serial Monitor, continues to "dance" between the real one, sent by the DMX controller and the value 0 creating a flickering of the LED that I connected to PWM pin 8.
Is there something more to insert between the MAX485 and the Arduino, since there is 5V at the output and the Arduino runs at 3.3V?
My name is Giuseppe and I write from Italy. Thank you if you will help me.

What pin on the MKR1000

I'm trying to get this library to work with an MKR1000 and a MAX485 module, without any form of success. By default, without modifying the library and by using the DMXFadeTest.ino sketch, what pins should I hook up the DI pin of the MAX485 module to? D4?

got_DMX is not zeroed after DMX signal disconnection

Hello Claude,
thank you so much for sharing this DMX driver/library! I have been doing some tests the past few days-specially as an input- and works quite nice on a sparkfun SAMD21 breakout board.

The only thing I noticed is, while got_DMX works after a DMX signal is applied on the input pin (D5), it is not being zeroed upon disconnecting the DMX signal.
Although I am completely new to the ARM/SAM/sercom architecture I will try to see inside your library if I can add a flag with a timeout.

Thank you again for your nice work!
George

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.