I have built a Teensy 3.2 circuit to replace the rather crappy "Sound-To-Light" circuit built into my DMX Stage Lighting Controller. There's a thread all about in the forum Analog & Mixed-Signal Design, called "LM358 circuit help needed"
I am outputting a digital pin (3V3 High) on my Teensy, going low on the beats for 5mS, which better than replicates what the original analog circuit does, and that feeds into pin 31 of the DMX controller chip, which is a MEGAWIN MA805-24AD44 mcu, running off 5V
I suspect that pin will have an internal pullup enabled, but can't get at the code to determine that.
My question is simple, will a 1K resistor in series suffice to drive that input pin, or would I be better off using a 3V3 to 5V logic level shifter which I already have some of.
I have used the simple resistor idea before when interfacing 3V3 to 5V chips, e.g. a DFRobot Mini MP3 Player's "Ready" pin to an Arduino 5V input with Pullup enabled, with no problems.
Open to suggestions please...
I am outputting a digital pin (3V3 High) on my Teensy, going low on the beats for 5mS, which better than replicates what the original analog circuit does, and that feeds into pin 31 of the DMX controller chip, which is a MEGAWIN MA805-24AD44 mcu, running off 5V
I suspect that pin will have an internal pullup enabled, but can't get at the code to determine that.
My question is simple, will a 1K resistor in series suffice to drive that input pin, or would I be better off using a 3V3 to 5V logic level shifter which I already have some of.
I have used the simple resistor idea before when interfacing 3V3 to 5V chips, e.g. a DFRobot Mini MP3 Player's "Ready" pin to an Arduino 5V input with Pullup enabled, with no problems.
Open to suggestions please...