User Tools

Site Tools


sidaster_shield

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
sidaster_shield [2011/09/27 09:41] wadminsidaster_shield [2011/10/24 21:28] wadmin
Line 1: Line 1:
 ===== Main Functions ===== ===== Main Functions =====
-{{ shield1.jpg?300x200|Shield prototype under construction}}+{{ sidaster_right.jpg?300*50|SIDaster First Prototype}}
 ==== Overview ==== ==== Overview ====
-The Shield provides:+The **SIDaster Arduino Shield** provides:
   * Control of the SID over Arduino Hardware SPI interface.   * Control of the SID over Arduino Hardware SPI interface.
   * Midi Receive interface through Optocoupler and Led visualisation of Midi Traffic.   * Midi Receive interface through Optocoupler and Led visualisation of Midi Traffic.
Line 9: Line 9:
  
 Midi serial link can be de-connected from Arduino with an additional jumper, for programming purpose. It has been breadboard-tested and verified using a MOS6581 5182 R4 with success. Midi serial link can be de-connected from Arduino with an additional jumper, for programming purpose. It has been breadboard-tested and verified using a MOS6581 5182 R4 with success.
 +
  
 ==== Schematic and Walkthrough ==== ==== Schematic and Walkthrough ====
Line 15: Line 16:
 {{SIDaster_schematic.png?800}} {{SIDaster_schematic.png?800}}
  
-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.+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.{{ http://fullmaj.rd-h.fr/wordpress/wp-content/uploads/2011/07/Mididelay.png?200*200|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 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. 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. 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.
  
-==== Schematic ====+ 
 +==== Layout ====
 {{http://fullmaj.rd-h.fr/wordpress/wp-content/uploads/2011/07/Synaps.jpg?200*70 }} {{http://fullmaj.rd-h.fr/wordpress/wp-content/uploads/2011/07/Synaps.jpg?200*70 }}
 Made using EAGLE CAD free version, and stands as a two layer, ground filled on bottom standard PCB. Made using EAGLE CAD free version, and stands as a two layer, ground filled on bottom standard PCB.
  
-Board Eagle Files : [[http://fullmaj.rd-h.fr/wordpress/wp-content/uploads/2011/07/SIDASTER_II.pdf|SIDASTER V2.3]]+Board Layout : [[http://fullmaj.rd-h.fr/wordpress/wp-content/uploads/2011/07/SIDASTER_II.pdf|SIDASTER V2.3]]
  
  
  
  
sidaster_shield.txt · Last modified: 2019/12/24 23:01 by wadmin