Skip to content

Getting started

Michiel Erasmus edited this page Jul 31, 2018 · 4 revisions

Current Release 20180719 0.7.03 OLED

To use the card

  • Download the Arduino IDE.
  • Add Arduino library https://github.com/maxint-rd/FastPwmPin
  • Add Arduino library https://github.com/maxint-rd/mxUnifiedSN76489
  • Connect the I2C to arduino
  • Connect CLK-pin to arduino IO-pins (refer to FastPwmPinfor the pins).. Default is pin 3.
  • Connect WE-pin to arduino IO-pins (refer to mxUnifiedSN76489 for the pins) Default is pin 4.
  • Connect a headfone to the 3.55 output jack
  • Open example SN76489_MmlMusic
  • add line to setup() FastPwmPin::enablePwmPin(3, 4000000L, 50);
  • Set I2C adress to 0x38 like this mxUnifiedPCF8574 unio = mxUnifiedPCF8574(0x38);
  • Upload to arduino.
  • Have fun!

The 4Mhz clock signal is created using FastPWM library.

TODO:

  • Fix hiss on output sound
  • Drop the library FastPwmPin
  • Generate clock signal using 4 Mhz crystal + 2x Pf capacitors.
Clone this wiki locally