mtongnz / mtduedmx Goto Github PK
View Code? Open in Web Editor NEWDmx Library for Arduino Due with support for 5 DMX ports
License: GNU General Public License v3.0
Dmx Library for Arduino Due with support for 5 DMX ports
License: GNU General Public License v3.0
It would be very nice to use the due for receiving DMX Signals.
Aspetto le modifiche
If you're interested in the Arduino Due shield I'm designing, leave a comment here. It should be available towards the end of this year.
Hello,
Thank you for your answer.
Here is my code and explanations:
//Mycode with Due and your library
#include <mtDueDMX.h>
uint8_t dmxData[512];
uint8_t dmxDirPin = 7; // Pin 7 on DUE
void setup()
{
mtDueDMX[0]->begin(DMX_TX, dmxData, dmxDirPin);
mtDueDMX[0]->startOutput();
dmxData[4] = 255; // set PAR master brightness to max
dmxData[5] = 255; // set PAR RED to max
}
-The Grove – DMX512 is a adapter from Grove interface to DMX512 interface (industry standard EIA-485 interface. The module is based on SN75176 chip which can balance transmission lines and meet ANSI Standard EIA-485 interface
-Test is done on a small PAR LED RGBW (… 4=Power,5=Red,6=Green,7=Blue…)
With this very small DUE sample of code, we can see that a message is read by the PAR LED (very small led in the back is blinking) but not any light is showing up. I tested many other examples, in loops with many color, on other output pins, but nothing is coming.
-For comparison, here is a code working perfectly well with Arduino Uno and same hardware:
#include <DmxSimple.h>
void setup() {
DmxSimple.maxChannel(100);
DmxSimple.usePin(3); // Pin 3 on UNO
DmxSimple.write(4, 255); // set PAR master brightness to max
DmxSimple.write(5, 255); // set PAR RED to max
}
RED is showing up on PAR
Do you have any idea of what I can check more?
Best regards.
Philippe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.