User Tools

Site Tools


sidaster_shield

Main Functions

SIDaster First Prototype

Overview

The SIDaster Arduino Shield provides:

  • Control of the SID over Arduino Hardware SPI interface (74HC595 based).
  • Midi Receive interface through Optocoupler
  • Led visualisation of Midi Traffic.
  • One Led on port #3
  • One Button on port #A5
  • Transistor based audio output buffer.

Midi serial link can be de-connected from Arduino with an additional jumper, for programming purpose. Reset of the board can be performed by shorting the reset pins. It has been breadboard-tested and verified using a MOS6581 5182 R4 with success.

All of this is provided in a double sided 5*5cm Arduino shield form factor, with generic through hole components.

Schematic and Walkthrough

here is the schematic of the Shield:

Both 74HC595 are cascaded and connected to the Address and Data buses of the MOS6581. By sending two bytes successfully over SPI with MSB first, respectively Address then Data, the corresponding register will be written inside the MOS. MOS CS shall be assessed using the Arduino D7 port. The pin layout is corresponding to the Arduino HW SPI (SCK 13 ; MOSI 11; RCK 10) allowing advanced users to use the Arduino hardware SPI. Using the HW SPI alongside with the higher available clock rate, one byte transfer time to the SID has been lowered to around 600us. Total time to handle a Midi note On from Midi frame to Synth attack is approximately 4ms.Delay between Midi Note On message and Sound appearance

The MOS6581 1Mhz clock is generated by the Arduino Timer1 pin OC1A, corresponding to pin 9 of the Arduino. The clock configuration is automatic inside the library, and shall be called in the setup() function of the Arduino code by using the SPI_setup() method. This means also that Timer1 is not available for operation, of course. Timer 2 shall be used for other interruption purposes if needed. The Arduino board shall be powered by either 9V or 12V DC on the main plug, because this voltage is directly applied on the SID VDD power pin. Depending on your SID version you should either apply 12V (6581) or 9V (6582/8085), this is detailed here, but I guess that if you’ve been that far, you know what this means, MEH.

Midi in interface uses classical and well proven 6N138 optocoupler schematic inspired from an anlog Midi Synth I own. The Led blinks when Midi message happen to reach the interface. The additional Led on Digital pin 2 is added for debug purpose, such as Gating indication of the Midi SID Synth.

Bill Of Materials

Bill of materials can be found here : Shield V4 bom.zip

Layout

Made using EAGLE CAD V5.10

  • Double sided
  • Ground filled on both sides
  • 5*5cm Arduino Shield form factor
  • Through hole components only
  • LEDs are 3mm
  • Resistors are mounted upwards

Since the board is tiny and filled up, assembly process shall first focus on components that require soldering on the Top layer. This means considering soldering first :

  • The two vias below the MOS6581
  • R5, C4, Q1 and C2
  • IC1 and IC2

Board Layout : sidaster_v4.zip

sidaster_shield.txt · Last modified: 2018/08/26 11:36 (external edit)