Aussie_CrocHunter
Well-known member
So I’ve decided to try using 9v DC to power my foot controller so that it can be used on guitar pedal boards.
Using Teensy 2.0:
I’ve added a 5-pin DIN for MIDI out (220ohm resistors on pins 4 and 5 as per the PJRC site) with Wires about 5cm long to the teensy inside an aluminium enclosure.
I’ve also added a 9v DC barrel jack which goes into this linear regulator I built as per this schematic:
- I then used the recommendations for diodes and cutting the 5v pad on the teensy 2.0 as per PJRC website for external power supply/USB power switching.
I have no worries at all with the power side of things - it’s working beautifully. USB MIDI is fine. But with the serial TX MIDI, it outputs the messages I asked it to, but then occasionally is starts an infinite stream of random messages (note on, pitch bend, after touch - all ones I am not using) or perhaps just adds the odd one in sometimes. If I press the buttons really slowly it just occasionally puts a random “note on” message in there, but other times it starts a big stream of data!
I can’t seem to find any help on this particular topic. I’m quite sure it’s something to do with the power. My friend suggested I needed to use linear regulator rather than the switching one I was using before but the problem is still exactly the Same.
Could it be the small unshielded section of wire from the teensy to the 5-pin connector on the enclosure?
Using Teensy 2.0:
I’ve added a 5-pin DIN for MIDI out (220ohm resistors on pins 4 and 5 as per the PJRC site) with Wires about 5cm long to the teensy inside an aluminium enclosure.
I’ve also added a 9v DC barrel jack which goes into this linear regulator I built as per this schematic:
- I then used the recommendations for diodes and cutting the 5v pad on the teensy 2.0 as per PJRC website for external power supply/USB power switching.
I have no worries at all with the power side of things - it’s working beautifully. USB MIDI is fine. But with the serial TX MIDI, it outputs the messages I asked it to, but then occasionally is starts an infinite stream of random messages (note on, pitch bend, after touch - all ones I am not using) or perhaps just adds the odd one in sometimes. If I press the buttons really slowly it just occasionally puts a random “note on” message in there, but other times it starts a big stream of data!
I can’t seem to find any help on this particular topic. I’m quite sure it’s something to do with the power. My friend suggested I needed to use linear regulator rather than the switching one I was using before but the problem is still exactly the Same.
Could it be the small unshielded section of wire from the teensy to the 5-pin connector on the enclosure?