DhrBaksteen / ArduinoOPL2

Arduino library for use with the OPL2 board (YM3812) and OPL3Duo (YMF262)
MIT License
195 stars 39 forks source link

ArduinoOPL2 and Teensy #57

Closed KasperSimonsen87 closed 4 years ago

KasperSimonsen87 commented 4 years ago

Hi there

On https://github.com/DhrBaksteen/ArduinoOPL2/wiki/Connecting you specify that you can use Teensy LC, 3.0 and later.

I was wondering however how that is possible since according to https://www.pjrc.com/teensy/techspecs.html the 3.0 and later only output 3.3V, and not the 5V required by the board?

Best regards, Kasper

DhrBaksteen commented 4 years ago

Hi.

When you connect the Teensy by USB the VIN pin will pass the 5v from the USB. You can use this to feed the OPL2 board. You could also power both the Teensy and the OPL2 board from an external 5v supply through this pin.

The 3.3v logic not an issue, the ICs of the OPL2 board support this and you don't have to worry about frying the Teensy because the OPL2 board does not output any signal.

Cheers, Maarten