However the issue is that bytes later on seem to become corrupt if the values before it are low... I looked at the signal out of the DMX shield and it looks like the signal was jumping around a bit only when the circuit with the diode, capacitor and resistor were connected.
My theory was that perhaps there was some electricity flowing back through the resistor or because it's a general purpose diode it is some how not quick enough. I remember that zener diode is faster or something.. anyways my electrical knowledge is limited here so I found a little zener and tried it and it's working great.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
With this code it kind of works...
However the issue is that bytes later on seem to become corrupt if the values before it are low... I looked at the signal out of the DMX shield and it looks like the signal was jumping around a bit only when the circuit with the diode, capacitor and resistor were connected.
My theory was that perhaps there was some electricity flowing back through the resistor or because it's a general purpose diode it is some how not quick enough. I remember that zener diode is faster or something.. anyways my electrical knowledge is limited here so I found a little zener and tried it and it's working great.
It appears to be a 1n2268.
More experimenting to happen...