I've got it all built, ready to put into the DMX controller.
But I've got a concern about doing this. The DMX chip runs off a 5V supply, my Teensy 3.2 only gives 3.3V signals.
I have got those 3.3V to 5V Logic Level Shifters, and I can relatively easily use one of those, the 3V3 side being fed from 3V3 off the Teensy, and the 5V being fed off the 5V from the DMX board.
But is this necessary ? My output signal is a high-low-high pulse, which I have set at 5mS (The one from the analog circuit was variable length, and not "clean" by any stretch of the imagination. I suspect the DMX chip has a PULLUP resistor on it's trigger pin, probably internal to the chip, which the analog signal pulsed to GND. If I were to feed that input pin with my 3V3 level signal through a 1K resistor I'm certain that would be ok, and no need for the level shifting device. I have seen this done before, and done it myself with a DFRobot Mini MP3 Player "Ready" signal (3V3) feeding an Arduino 5V input with internal PULLUP enabled, and it hasn't blown up yet.
Perhaps I should be asking this question in one of the other forums, but if anyone has any advice I'd be glad to get it.
Here's a dropbox video of it working with real music - I'm really pleased with the results......
But I've got a concern about doing this. The DMX chip runs off a 5V supply, my Teensy 3.2 only gives 3.3V signals.
I have got those 3.3V to 5V Logic Level Shifters, and I can relatively easily use one of those, the 3V3 side being fed from 3V3 off the Teensy, and the 5V being fed off the 5V from the DMX board.
But is this necessary ? My output signal is a high-low-high pulse, which I have set at 5mS (The one from the analog circuit was variable length, and not "clean" by any stretch of the imagination. I suspect the DMX chip has a PULLUP resistor on it's trigger pin, probably internal to the chip, which the analog signal pulsed to GND. If I were to feed that input pin with my 3V3 level signal through a 1K resistor I'm certain that would be ok, and no need for the level shifting device. I have seen this done before, and done it myself with a DFRobot Mini MP3 Player "Ready" signal (3V3) feeding an Arduino 5V input with internal PULLUP enabled, and it hasn't blown up yet.
Perhaps I should be asking this question in one of the other forums, but if anyone has any advice I'd be glad to get it.
Here's a dropbox video of it working with real music - I'm really pleased with the results......