Papilio.ClassicComputingShield History

Hide minor edits - Show changes to output

April 01, 2015, at 04:04 PM by Dhia Khaladi -
Changed line 167 from:
%rframe width=300% http://papilio.cc/uploads/Papilio/computingShieldPs2.png
to:
%rframe width=300% http://papilio.cc/uploads/Papilio/computingShieldLedSch.png
April 01, 2015, at 03:57 PM by Dhia Khaladi -
Added line 17:
[[#ps2|Computing Shield Keyboard and Mouse]][[<<]]
Changed line 167 from:
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Leds%20sch.png
to:
%rframe width=300% http://papilio.cc/uploads/Papilio/computingShieldPs2.png
Added lines 176-188:
[[<<]]
[[#ps2]]
!!!Computing Shield Keyboard and Mouse
%lfloat% http://papilio.cc/uploads/Papilio/computingShieldPs2.png
%rframe width=300% http://papilio.cc/uploads/Papilio/computingShieldPs2Sch.png
The Computing Shield has two PS/2 ports that can be used to connect a keyboard and mouse.
[[<<]]
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||PS/2 A CLK||Output|| Clock ||D5||AL5|| D6 ||P121||
||PS/2 A Data|| Input || Data ||D4||AL4|| D7 ||P120||
||PS/2 B CLK||Output|| Clock ||D39||DL7|| ||P74||
||PS/2 B Data|| Input || Data ||D41||DL6|| ||P66||
Changed line 193 from:
%lframe width=500 newwin% [[http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%20Shield.pdf|http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinouts%20image%20for%20cc.png]]
to:
%lframe width=500 newwin% [[http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf|http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinouts%20image%20for%20cc.png]]
Added line 16:
[[#leds|Computing Shield Led's]][[<<]]
Added lines 161-174:
[[<<]]

[[#leds]]
!!!Computing Shield LEDís
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/LEDs.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Leds%20sch.png
The Computing Shield provides 4 LEDís.
[[<<]]
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Led1||Output||Led 1||D47||DL3|| ||P56||
||Led2||Output||Led 2||D49||DL2|| ||P51||
||Led3||Output||Led 3||D51||DL1|| ||P48||
||Led4||Output||Led 4||D53||DL0|| ||P39||
Changed line 178 from:
%lframe width=500 newwin% [[http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%20Shield.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%20Shield.pdf|http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinouts%20image%20for%20cc.png]]
Changed line 178 from:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%Shield.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%20Shield.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Changed line 178 from:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC%Shield.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Added line 15:
[[#buttons|Computing Shield Directional Butons]][[<<]]
Added lines 146-159:
[[<<]]
[[<<]]
[[#buttons]]
!!!Computing Shield Directional Buttons
%lfloat% http://papilio.cc/uploads/Papilio/CC-buttons.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/ButtonsSch.png
The Computing Shield has 4 momentary switches arranged in a plus configuration that can be used for user input or video games!
[[<<]]
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Up||Input||Directional Button Up||D20|| || ||P101||
||Down||Input||Directional Button Down||D18|| || ||P105||
||Left||Input||Directional Button Left||D17|| || ||P111||
||Right||Input||Directional Button Right||D21|| || ||P100||
Added line 42:
*[[http://www.papilio.cc/uploads/Papilio/BPS6001-Papilio-DUO-Computing-Shield-general.ucf.zip|Computing Shield Generic User Constraint File (UCF)]]
Changed line 155 from:
%lframe width=500% [[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.pdf.zip|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCshieldSchematics.png]]
to:
%lframe width=500 newwin% [[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.pdf|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCshieldSchematics.png]]
Changed line 162 from:
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf.zip|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Changed line 162 from:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf.zip|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf.zip|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Changed line 162 from:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf.zip|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Changed line 155 from:
%lframe width=500% [[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.pdf?raw=true|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCshieldSchematics.png]]
to:
%lframe width=500% [[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.pdf.zip|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCshieldSchematics.png]]
Changed line 26 from:
%rframe width=400 newwin% http://store.gadgetfactory.net/products.php?product=Classic-Computing-Shield|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCS-buy-now.jpg]]
to:
%rframe width=400 newwin% [[http://store.gadgetfactory.net/products.php?product=Classic-Computing-Shield|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCS-buy-now.jpg]]
Changed line 26 from:
%rframe width=400 newwin% [[http://store.gadgetfactory.net/|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCS-buy-now.jpg]]
to:
%rframe width=400 newwin% http://store.gadgetfactory.net/products.php?product=Classic-Computing-Shield|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCS-buy-now.jpg]]
Changed line 162 from:
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
to:
%lframe width=500 newwin% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
Changed lines 162-168 from:
[[<<]]
to:
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/Papilio%20DUO%20pinout%20for%20CC.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/ComputingShieldPinouts.png]]
>>postit<<
%notetitle% Papilio DUO Pinouts%%

Click the image to load a PDF version of Papilio DUO pinouts diagram
>><<

[[<<]]
Changed lines 141-142 from:
|| || || || || || || ||
to:
||RX||Input||RS232 Receive||D0||AL0||D2||P116||
||TX||Output||RS232 Send||D1||AL1||D3||P117
||
Changed lines 95-100 from:
||Audio1-Left||Output||Audio Output1 Left||D28|| || ||P88||
||Audio1-Right||Output||Audio Output1 Right||D30|| || ||P85||
||Audio2-Left||Output||Audio Output2 Left||D45|| || ||P58||
||Audio2-Right||Output||Audio Output2 Right||D43|| || ||P61||
to:
||Audio1-Left||Output||Audio Output1 Left||D28||CL3|| ||P88||
||Audio1-Right||Output||Audio Output1 Right||D30||CL4|| ||P85||
||Audio2-Left||Output||Audio Output2 Left||D45||DL4|| ||P58||
||Audio2-Right||Output||Audio Output2 Right||D43||DL5|| ||P61||
Changed line 115 from:
||JS1 5||Input||Fire 2||D6|| ||D4||P123||
to:
||JS1 5||Input||Fire 2||D6||AL6||D4||P123||
Changed line 118 from:
||JS1 9||Input||Select||D7|| ||B2||P124||
to:
||JS1 9||Input||Select||D7||AL7||B2||P124||
Changed lines 123-130 from:
||JS2 1||Input||Up||D31|| || ||P84||
||JS2 2||Input||Down||D29|| || ||P87||
||JS2 3||Input||Left||D27|| || ||P92||
||JS2 4||Input||Right||D25|| || ||P95||
||JS2 5||Input||Fire 2||D23|| || ||P98||
||JS2 6||Input||Fire 1||D33|| || ||P82||
||JS2 7||Input||5v||D35|| || ||P80||
||JS2 9||Input||Select||37|| || ||P78||
to:
||JS2 1||Input||Up||D31||DH3|| ||P84||
||JS2 2||Input||Down||D29||DH4|| ||P87||
||JS2 3||Input||Left||D27||DH5|| ||P92||
||JS2 4||Input||Right||D25||DH6|| ||P95||
||JS2 5||Input||Fire 2||D23||DH7|| ||P98||
||JS2 6||Input||Fire 1||D33||DH2|| ||P82||
||JS2 7||Input||5v||D35||DH1|| ||P80||
||JS2 9||Input||Select||D37||DH0|| ||P78||
Changed lines 69-82 from:
||Red1||Output||Red Bit 1||D52|| || ||P47||
||Red2||Output||Red Bit 2||D50|| || ||P50||
||Red3||Output||Red Bit 3||D48|| || ||P55||
||Red4||Output||Red Bit 4||D46|| || ||P57||
||Green1||Output||Green Bit 1||D38|| || ||P75||
||Green2||Output||Green Bit 2||D40|| || ||P67||
||Green3||Output||Green Bit 3||D42|| || ||P62||
||Green4||Output||Green Bit 4||D44|| || ||P59||
||Blue1||Output||Blue Bit 1||D26|| || ||P93||
||Blue2||Output||Blue Bit 2||D32|| || ||P83||
||Blue3||Output||Blue Bit 3||D34|| || ||P81||
||Blue4||Output||Blue Bit 4||D36|| || ||P79||
||VSync||Output||Vertical Sync||D24|| || ||P97||
||HSync||Output||Horizontal Sync||D22|| || ||P99||
to:
||Red1||Output||Red Bit 1||D52||CH7|| ||P47||
||Red2||Output||Red Bit 2||D50||CH6|| ||P50||
||Red3||Output||Red Bit 3||D48||CH5|| ||P55||
||Red4||Output||Red Bit 4||D46||CH4|| ||P57||
||Green1||Output||Green Bit 1||D38||CH0|| ||P75||
||Green2||Output||Green Bit 2||D40||CH1|| ||P67||
||Green3||Output||Green Bit 3||D42||CH2|| ||P62||
||Green4||Output||Green Bit 4||D44||CH3|| ||P59||
||Blue1||Output||Blue Bit 1||D26||CL2|| ||P93||
||Blue2||Output||Blue Bit 2||D32||CL5|| ||P83||
||Blue3||Output||Blue Bit 3||D34||CL6|| ||P81||
||Blue4||Output||Blue Bit 4||D36||CL7|| ||P79||
||VSync||Output||Vertical Sync||D24||CL1|| ||P97||
||HSync||Output||Horizontal Sync||D22||CL0|| ||P99||
Changed lines 52-56 from:
||SD CD||Input||Card Detect||D3|| ||B4||P119||
||SD MISO||Input||Master In Slave Out||D2|| ||B5||P118||
||SD MOSI||Output||Master Out Slave In||D14|| ||B6||P115||
||SD SCK||Input|| ||D15|| ||C6||P114||
||SD CS||Input||Chip Select ||D16|| ||C7||P112||
to:
||SD CD||Input||Card Detect||D3||AL3||B4||P119||
||SD MISO||Input||Master In Slave Out||D2||AL2||B5||P118||
||SD MOSI||Output||Master Out Slave In||D14||BL7||B6||P115||
||SD SCK||Input|| ||D15||BL6||C6||P114||
||SD CS||Input||Chip Select ||D16||BL7||C7||P112||
Changed lines 10-14 from:
[[#SDcard|Classic Computing Shield SD-Card]][[<<]]
[[#vga|Classic Computing Shield VGA]][[<<]]
[[#sound|Classic Computing Shield Sound]][[<<]]
[[#joystick|Classic Computing Shield Joystick]][[<<]]
[[#rs232|Classic Computing Shield RS232 UART]][[<<]]
to:
[[#SDcard|Computing Shield SD-Card]][[<<]]
[[#vga|Computing Shield VGA]][[<<]]
[[#sound|Computing Shield Sound]][[<<]]
[[#joystick|Computing Shield Joystick]][[<<]]
[[#rs232|Computing Shield RS232 UART]][[<<]]
Changed lines 19-24 from:
!!Classic Computing Shield
<<<<<<<
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio
DUO.
%lfloat height=216% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg
=======
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio DUO. Here are some existing retro computing projects that can be easily converted.
to:
!!Computing Shield
The Computing Shield provides all of the hardware needed to recreate computing systems on the Papilio DUO.
Changed lines 22-24 from:
>>>>>>>
to:
Changed line 41 from:
*%newwin%[[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.sch.zip|Classic Computing Shield Schematics]]
to:
*%newwin%[[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.sch.zip|Computing Shield Schematics]]
Added lines 20-23:
<<<<<<<
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio DUO.
%lfloat height=216% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg
=======
Changed lines 26-27 from:
to:
>>>>>>>
Changed lines 34-41 from:
* socz80: Z80 Retro MicroComputer
* ZX Spectrum
* Commodore VIC20
* LadyBug Hardware
* Jet Set Willy on ZPUino
* Bomb Jack
* Sega Master System
* All Classic Arcade Games at Papilio Arcade
to:
* VGA Port - 4r,4g,4b, 4096 Color, 12-bit VGA Output
* 2 Stereo Audio Jacks - 1/8" Stereo jack with low pass filter is ready for CD quality Delta-Sigma audio output.
* PS/2 Ports - Two PS/2 ports accept a keyboard and mouse.
* 2 Joystick Ports - Two DB9 Male joystick ports accept Atari, Commodore, and classic arcade joysticks.
* MicroSD Socket - For file systems and saving and loading ROMs
* 4 Way Buttons - 4 buttons in a plus configuration for user input.
* RS232 Serial Port - For connecting peripherals that require RS232 communications.
* Detachable Wing that allows you to sacrifice the second Joystick, Audio Jack, and PS/2 Jack to free up a 16-bit Wing Slot.
Deleted lines 46-52:
*%newwin%[[http://store.gadgetfactory.net/logicstart-megawing/|Buy the LogicStart MegaWing Now!]]
*[[http://papilio.cc/uploads/Papilio/IntroToSpartanFPGABook.pdf|Download a PDF version of Mike Fields book]]
*%newwin%[[https://github.com/hamsternz/IntroToSpartanFPGABook|Source code for Mike Fields book]]
*%newwin%[[http://forum.gadgetfactory.net/index.php?/files/file/27-logicstart-megawing-generic-ucf/|LogicStart MegaWing Generic UCF]]
*%newwin%[[http://forum.gadgetfactory.net/index.php?/page/articles.html/_/papilio/logicstart-megawing/|LogicStart MegaWing Project Showcase]]
*%newwin%[[http://www.freerangefactory.org/site/pmwiki.php/Main/Books|Collection of open-source books on VHDL]]
*%newwin%[[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102 SPI ADC Datasheet]]
Changed line 54 from:
The sound section implements a 1/8th inch mono jack with a low pass filter. Projects simply implement a Delta-Sigma DAC as outlined in Xilinx App Note 154. A Delta-Sigma DAC allows high quality audio to be implemented with a minimum amount of physical hardware required. The high speed of the FPGA clock allows the FPGA to do the heavy lifting of the Digital to Analog conversion.
to:
A microSD socket that provides several Gigabytes worth of file system space for classic computing systems.
Changed lines 68-69 from:
The VGA section of the LogicStart MegaWing uses 8 resistors to implement 256 color depth. VGA video is analog in nature so there needs to be some way to vary the RGB (Red, Green, and Blue) signals between 0V and .7V. For each RGB signal the shade, or intensity, of the color is controlled by varying the voltage of the pin between 0 and .7V. The finer control you have over the voltage the more colors you can create. For the LogicStart MegaWing we are able to control 3 Red, 3 Green, and 2 Blue bits which allows us to generate 8 different voltage levels between 0 and .7V for Red and Green and 4 voltage levels for Blue. If we add all three colors together we have 8 bit video which gives us (2^8=256) the possibility of 256 colors.
to:
The VGA section of the Computing Shield uses 12 resistors to implement 4K color depth. VGA video is analog in nature so there needs to be some way to vary the RGB (Red, Green, and Blue) signals between 0V and .7V. For each RGB signal the shade, or intensity, of the color is controlled by varying the voltage of the pin between 0 and .7V. The finer control you have over the voltage the more colors you can create. For the Computing Shield we are able to control 4 different bits per color which allows us to generate 16 different voltage levels between 0 and .7V. This means we can generate 16 shades for each color. If we add all three colors together we have 12 bit video which gives us (2^12=4096) the possibility of 4096 colors.
Changed line 71 from:
The usual options for controlling voltage on a pin are to use a DAC, PWM, Delta-Sigma, or a resistor ladder. For the LogicStart MegaWing we wanted to use the lowest cost and easiest method for a hobbyist. PWM and Delta-Sigma were ruled out because we did not think we would be able to vary the voltage with these methods fast enough to keep up with the VGA timing requirements. A DAC would be a good solution but was more than we needed for our modest requirements. A resistor ladder fit the bill perfectly because it is very low cost and easy to implement. The resistor ladder is made up of 3r, 3g, 2b resistors that all connect, in common, to the VGA connector on one side and individually to a digital I/O pin on the other side. Each digital I/O pin is controlled by the VGA controller inside the FPGA. Each pin can be set to either 0 or 1 with a 1 causing the resistor to contribute its voltage to the final voltage level. The voltage can be stepped up from 0 to the desired output voltage which in this case is .7V.
to:
The usual options for controlling voltage on a pin are to use a DAC, PWM, Delta-Sigma, or a resistor ladder. For the Arcade Wing we wanted to use the lowest cost and easiest method for a hobbyist. PWM and Delta-Sigma were ruled out because we did not think we would be able to vary the voltage with these methods fast enough to keep up with the VGA timing requirements. A DAC would be a good solution but was more than we needed for our modest requirements. A resistor ladder fit the bill perfectly because it is very low cost and easy to implement. The resistor ladder is made up of 4 resistors per RGB color that all connect, in common, to the VGA connector on one side and individually to a digital I/O pin on the other side. The lowest resistor starts at ~500 ohms and each successive resistor doubles in size with the final resistor ending with ~4K ohms. Each digital I/O pin is controlled by the VGA controller inside the FPGA. Each pin can be set to either 0 or 1 with a 1 causing the resistor to contribute its voltage to the final voltage level. The voltage can be stepped up from 0 to the desired output voltage which in this case is .7V.
Added lines 88-90:
\\

The way the desired output voltage is accomplished is by carefully managing the parallel voltage that the 4 resistors add up to. Using a Parallel Resistance Calculator we see that 500 ohm, 1000 ohm, 2000 ohm, and 4000 ohm give a total resistance of 266 ohm. The final key bit of information is that there is a 75 ohm resistance built into VGA cables, so that means that the point where our 4 resistors come together on our VGA connector forms a Voltage divider circuit. Using a Voltage Divider calculator with 3.3V as the Input Voltage, 266 ohm as R1, and 75 ohm as R2 we end up with an Output Voltage of .73V. The end result is that if all 4 resistors are set to Ď1í then we will see .73V at the VGA connector. If all 4 resistors are set to Ď0í then we will see 0V at the VGA connector, any combinations in between will give us evenly stepped voltages between 0 and .73V. The voltages will be evenly stepped because we picked resistors that double in size.
Changed line 111 from:
The Classic Computing Shield has a 5 direction micro-joystick that can be used for user input or video games!
to:
The Computing Shield supports Atari 2600, Commodore 64, classic Arcade joystick, and any joystick that uses digital inputs. The board comes with a Male DB9 connector that allows an Atari 2600 joystick to be plugged in and used without any custom wiring. For a custom Arcade style joystick it is necessary to wire the joystick to a female DB9 connector using the diagram below.
Changed lines 142-144 from:
The SPI ADC allows pots, [[http://www.seeedstudio.com/depot/grove-slide-potentiometer-p-1196.html?cPath=156_160|pot slides]], [[http://www.seeedstudio.com/depot/grove-temperature-sensor-p-774.html?cPath=144_147|temp sensors]], and many more analog devices to be connected, up to 8 devices at once.

The SPI ADC uses the [[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102]] chip from National.
to:
The RS232 serial port allows peripherals that need RS232 voltage levels to be connected to the Computing Shield.
Changed line 166 from:
[[<<]]
to:
[[<<]]
Changed lines 21-23 from:
%lfloat height=216% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg
to:
%lfloat height=216% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shield.jpg
Changed line 152 from:
%lframe width=500% [[ftp://dhia@gadgetfactory.net@www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shieldfull.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shield.jpg]]
to:
%lframe width=500% [[http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shieldfull.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shield.jpg]]
Changed line 152 from:
%lframe width=500% [[http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield-full.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg]]
to:
%lframe width=500% [[ftp://dhia@gadgetfactory.net@www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shieldfull.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC-Shield.jpg]]
Changed line 158 from:
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/BPM7003%20LogiStart%20MegaWing.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/lsSchematic.jpg]]
to:
%lframe width=500% [[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.pdf?raw=true|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCshieldSchematics.png]]
Changed line 40 from:
*%newwin%[[http://http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.sch.zip|Classic Computing Shield Schematics]]
to:
*%newwin%[[http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.sch.zip|Classic Computing Shield Schematics]]
Added line 40:
*%newwin%[[http://http://www.gadgetfactory.net/papilio.cc/uploads/Playground/BPS6001%20Classic%20Computing%20Shield.sch.zip|Classic Computing Shield Schematics]]
Changed lines 153-155 from:
%notetitle% LogicStart MegaWing High Resolution Image%%

Click the image to load a High Resolution image of the LogicStart MegaWing
to:
%notetitle% Classic Computing Shield High Resolution Image%%

Click the image to load a High Resolution image of the Classic Computing Shield
Changed lines 159-161 from:
%notetitle% LogicStart MegaWing Schematic%%

Click the image to load a PDF version of the LogicStart MegaWing Schematic
to:
%notetitle% Classic Computing Shield Schematic%%

Click the image to load a PDF version of the Classic Computing Shield Schematic
Changed line 60 from:
||SD SCK||Input||||D15|| ||C6||P114||
to:
||SD SCK||Input|| ||D15|| ||C6||P114||
Changed line 110 from:
!!Joystick A
to:
!!!!Joystick A
Changed line 122 from:
!Joystick B
to:
!!!!Joystick B
Added line 110:
!!Joystick A
Changed lines 113-120 from:
||JS1 1||Input||JS1 1||D13|| ||B1||P134||
||JS1 2||Input||JS1 2||D11|| ||B2||P132||
||JS1 3||Input||JS1 3||D9|| ||B7||P127||
||JS1 4||Input||JS1 4||D8|| ||D0||P126||
||JS1 5||Input||JS1 5||D6|| ||D4||P123||
||JS1 6||Input||JS1 6||D12|| ||B3||P133||
||JS1 7||Input||JS1 7||D10|| ||B0||P131||
||JS1 9||Input||JS1 9||D7|| ||B2||P124||
to:
||JS1 1||Input||Up||D13|| ||B1||P134||
||JS1 2||Input||Down||D11|| ||B2||P132||
||JS1 3||Input||Left||D9|| ||B7||P127||
||JS1 4||Input||Right||D8|| ||D0||P126||
||JS1 5||Input||Fire 2||D6|| ||D4||P123||
||JS1 6||Input||Fire 1||D12|| ||B3||P133||
||JS1 7||Input||5v||D10|| ||B0||P131||
||JS1 9||Input||Select||D7|| ||B2||P124||
Changed lines 122-129 from:
[[#rs232]]

!!!Classic Computing Shield RS232 UART
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/RS232.png
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/RS232.png
The SPI ADC allows pots, [[http://www.seeedstudio.com/depot/grove-slide-potentiometer-p-1196.html?cPath=156_160|pot slides]], [[http://www.seeedstudio.com/depot/grove-temperature-sensor-p-774.html?cPath=144_147|temp sensors]], and many more analog devices to be connected, up to 8 devices at once.

The SPI ADC uses the [[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102]] chip from National.
to:
!Joystick B
Changed lines 125-130 from:
||A0||Input||Analog Bit 0||A0|| ||F0|| ||
||A1||Input||Analog Bit 1||A1|| ||F1|| ||
||A2||Input||Analog Bit 2||A2|| ||F4||P81||
||A3||Input||Analog Bit 3||A3|| ||F5||P83||
||A4||Input||Analog Bit 4||A4|| ||F6||P85||
||A5||Input||Analog Bit 5||A5|| ||F7||P88||
to:
||JS2 1||Input||Up||D31|| || ||P84||
||JS2 2||Input||Down||D29|| || ||P87||
||JS2 3||Input||Left||D27|| || ||P92||
||JS2 4||Input||Right||D25|| || ||P95||
||JS2 5||Input||Fire 2||D23|| || ||P98||
||JS2 6||Input||Fire 1||D33|| || ||P82||
||JS2 7||Input||5v||D35|| || ||P80||
||JS2 9||Input||Select||37|| || ||P78||
[[<<]]
[[#rs232]]

!!!Classic Computing Shield RS232 UART
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/RS232.png
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/RS232.png
The SPI ADC allows pots, [[http://www.seeedstudio.com/depot/grove-slide-potentiometer-p-1196.html?cPath=156_160|pot slides]], [[http://www.seeedstudio.com/depot/grove-temperature-sensor-p-774.html?cPath=144_147|temp sensors]], and many more analog devices to be connected, up to 8 devices at once.

The SPI ADC uses the [[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102]] chip from National.
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
|| || || || || || || ||
Changed lines 58-61 from:
||SD MISO||Output||Data Output||D2|| ||B5||P118||
||SD MOST||Input||Data In||D14|| ||B6||P115||
||SD SCK||Input||SCLK||D15|| ||C6||P114||
||SD CS||Input||CS||D16|| ||C7||P112||
to:
||SD MISO||Input||Master In Slave Out||D2|| ||B5||P118||
||SD MOSI||Output||Master Out Slave In||D14|| ||B6||P115||
||SD SCK||Input||||D15|| ||C6||P114||
||SD CS||Input||Chip Select ||D16|| ||C7||P112||
Changed lines 97-102 from:
||Audio1-Left||Output||Audio Output Left||D28|| || ||P88||
||Audio1-Right||Output||Audio Output Right||D30|| || ||P85||
||Audio2-Left||Output||Audio Output Left||D45|| || ||P58||
||Audio2-Right||Output||Audio Output Right||D43|| || ||P61||
to:
||Audio1-Left||Output||Audio Output1 Left||D28|| || ||P88||
||Audio1-Right||Output||Audio Output1 Right||D30|| || ||P85||
||Audio2-Left||Output||Audio Output2 Left||D45|| || ||P58||
||Audio2-Right||Output||Audio Output2 Right||D43|| || ||P61||
Changed line 105 from:
!!!Classic Computing Shield VGA
to:
!!!Classic Computing Shield Joystick
Changed lines 112-115 from:
||Up||Input||Directional Button Up||D11|| ||B2||P132||
||Down||Input||Directional Button Down||D12|| ||B3||P133||
||Left||Input||Directional Button Left||D13|| ||B1||P134||
||Right||Input||Directional Button Right||D10|| ||B0||P131||
to:
||JS1 1||Input||JS1 1||D13|| ||B1||P134||
||JS1 2||Input||JS1 2||D11|| ||B2||P132||
||JS1 3||Input||JS1 3||D9|| ||B7||P127||
||JS1 4||Input||JS1 4||D8|| ||D0||P126||
||JS1 5||Input||JS1 5||D6|| ||D4||P123||
||JS1 6||Input||JS1 6||D12|| ||B3||P133||
||JS1 7||Input||JS1 7||D10|| ||B0||P131||
||JS1 9||Input||JS1 9||D7|| ||B2||P124
||
Changed lines 97-98 from:
||Audio-Left||Output||Audio Output Left||D21|| || ||P100||
||Audio-Right||Output||Audio Output Right||D20|| || ||P101||
to:
||Audio1-Left||Output||Audio Output Left||D28|| || ||P88||
||Audio1-Right||Output||Audio Output Right||D30|| || ||P85||
||Audio2-Left||Output||Audio Output Left||D45|| || ||P58||
||Audio2-Right||Output||Audio Output Right||D43|| || ||P61
||
Changed lines 74-87 from:
||Red1||Output||Red Bit 1||D23|| || ||P98||
||Red2||Output||Red Bit 2||D25|| || ||P95||
||Red3||Output||Red Bit 3||D27|| || ||P92||
||Red4||Output||Red Bit 4||D29|| || ||P87||
||Green1||Output||Green Bit 1||D37|| || ||P78||
||Green2||Output||Green Bit 2||D35|| || ||P80||
||Green3||Output||Green Bit 3||D33|| || ||P82||
||Green4||Output||Green Bit 4||D31|| || ||P84||
||Blue1||Output||Blue Bit 1||D49|| || ||P51||
||Blue2||Output||Blue Bit 2||D43|| || ||P61||
||Blue3||Output||Blue Bit 3||D41|| || ||P66||
||Blue4||Output||Blue Bit 4||D39|| || ||P74||
||VSync||Output||Vertical Sync||D51|| || ||P48||
||HSync||Output||Horizontal Sync||D53|| || ||P39||
to:
||Red1||Output||Red Bit 1||D52|| || ||P47||
||Red2||Output||Red Bit 2||D50|| || ||P50||
||Red3||Output||Red Bit 3||D48|| || ||P55||
||Red4||Output||Red Bit 4||D46|| || ||P57||
||Green1||Output||Green Bit 1||D38|| || ||P75||
||Green2||Output||Green Bit 2||D40|| || ||P67||
||Green3||Output||Green Bit 3||D42|| || ||P62||
||Green4||Output||Green Bit 4||D44|| || ||P59||
||Blue1||Output||Blue Bit 1||D26|| || ||P93||
||Blue2||Output||Blue Bit 2||D32|| || ||P83||
||Blue3||Output||Blue Bit 3||D34|| || ||P81||
||Blue4||Output||Blue Bit 4||D36|| || ||P79||
||VSync||Output||Vertical Sync||D24|| || ||P97||
||HSync||Output||Horizontal Sync||D22|| || ||P99||
Changed lines 57-58 from:
||Audio-Left||Output||Audio Output Left||D21|| || ||P100||
||Audio-Right||Output||Audio Output Right||D20|| || ||P101||
to:
||SD CD||Input||Card Detect||D3|| ||B4||P119||
||SD MISO||Output||Data Output||D2|| ||B5||P118||
||SD MOST||Input||Data In||D14|| ||B6||P115||
||SD SCK||Input||SCLK||D15|| ||C6||P114||
||SD CS||Input||CS||D16|| ||C7||P112
||
Changed line 133 from:
%lframe width=500% [[http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/LSS-full.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LSS.jpg]]
to:
%lframe width=500% [[http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield-full.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg]]
Changed lines 51-60 from:
to:
!!!Classic Computing Shield SD-Card
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/SD-Card.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/SD%20Card.png
The sound section implements a 1/8th inch mono jack with a low pass filter. Projects simply implement a Delta-Sigma DAC as outlined in Xilinx App Note 154. A Delta-Sigma DAC allows high quality audio to be implemented with a minimum amount of physical hardware required. The high speed of the FPGA clock allows the FPGA to do the heavy lifting of the Digital to Analog conversion.
|| class=prettytable2 width='60%'
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Audio-Left||Output||Audio Output Left||D21|| || ||P100||
||Audio-Right||Output||Audio Output Right||D20|| || ||P101||

[[<<]]
Changed line 67 from:
%rframe width=400% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/VGA.png
to:
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/VGA.png
Changed lines 10-15 from:
[[#segment|LogicStart 7 Segment Display]][[<<]]
[[#vga|LogicStart VGA]][[<<]]
[[#sound|LogicStart Sound]][[<<]]
[[#joystick|LogicStart Micro-Joystick]][[<<]]
[[#spi|LogicStart SPI ADC]][[<<]]
[[#led|LogicStart LEDís and Switches
]][[<<]]
to:
[[#SDcard|Classic Computing Shield SD-Card]][[<<]]
[[#vga|Classic Computing Shield VGA]][[<<]]
[[#sound|Classic Computing Shield Sound]][[<<]]
[[#joystick|Classic Computing Shield Joystick]][[<<]]
[[#rs232|Classic Computing Shield RS232 UART]][[<<]]
Changed lines 50-55 from:
[[#segment]]
!!!LogicStart 7 Segment Display
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/7segment.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/7segmentsch.png
The 7 Segment Display provides 4 character displays with a dot between each character
. It is great for displaying anything from high speed debugging data to a low speed alarm clock.
to:
[[#SDcard]]

[[#vga]]

!!!Classic Computing Shield VGA
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/VGA.jpg
The VGA section of the LogicStart MegaWing uses 8 resistors to implement 256 color depth. VGA video is analog in nature so there needs to be some way to vary the RGB (Red, Green, and Blue) signals between 0V and .7V. For each RGB signal the shade, or intensity, of the color is controlled by varying the voltage of the pin between 0 and .7V. The finer control you have over the voltage the more colors you can create. For the LogicStart MegaWing we are able to control 3 Red, 3 Green, and 2 Blue bits which allows us to generate 8 different voltage levels between 0 and .7V for Red and Green and 4 voltage levels for Blue. If we add all three colors together we have 8 bit video which gives us (2^8=256) the possibility of 256 colors.

%rframe width=400% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/VGA.png
The usual options for controlling voltage on a pin are to use a DAC, PWM, Delta-Sigma, or a resistor ladder. For the LogicStart MegaWing we wanted to use the lowest cost and easiest method for a hobbyist. PWM and Delta-Sigma were ruled out because we did not think we would be able to vary the voltage with these methods fast enough to keep up with the VGA timing requirements. A DAC would be a good solution but was more than we needed for our modest requirements. A resistor ladder fit the bill perfectly because it is very low cost and easy to implement. The resistor ladder is made up of 3r, 3g, 2b resistors that all connect, in common, to the VGA connector on one side and individually to a digital I/O pin on the other side. Each digital I/O pin is controlled by the VGA controller inside the FPGA. Each pin can be set to either 0 or 1 with a 1 causing the resistor to contribute its voltage to the final voltage level. The voltage can be stepped up from 0 to the desired output voltage which in this case is .7V.
Deleted lines 61-84:
||A||Output||A Segment||D18|| || ||P105||
||B||Output||B Segment||D14|| ||B6||P115||
||C||Output||C Segment||D16|| ||C7||P112||
||D||Output||D Segment||D24|| || ||P97||
||E||Output||E Segment||D19|| || ||P102||
||F||Output||F Segment||D17|| || ||P111||
||G||Output||G Segment||D15|| ||C6||P114||
||DP||Output||Data Point Segment||D22|| || ||P99||
||AN0||Output||AN0||D40|| || ||P67||
||AN1||Output||AN1||D38|| || ||P75||
||AN2||Output||AN2||D34|| || ||P81||
||AN3||Output||AN3||D32|| || ||P83||
||AN4||Output||AN3||D36|| || ||P79||
[[<<]]
[[#vga]]

!!!LogicStart VGA
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/VGA.jpg
The VGA section of the LogicStart MegaWing uses 8 resistors to implement 256 color depth. VGA video is analog in nature so there needs to be some way to vary the RGB (Red, Green, and Blue) signals between 0V and .7V. For each RGB signal the shade, or intensity, of the color is controlled by varying the voltage of the pin between 0 and .7V. The finer control you have over the voltage the more colors you can create. For the LogicStart MegaWing we are able to control 3 Red, 3 Green, and 2 Blue bits which allows us to generate 8 different voltage levels between 0 and .7V for Red and Green and 4 voltage levels for Blue. If we add all three colors together we have 8 bit video which gives us (2^8=256) the possibility of 256 colors.

%rframe width=400% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/VGA.png
The usual options for controlling voltage on a pin are to use a DAC, PWM, Delta-Sigma, or a resistor ladder. For the LogicStart MegaWing we wanted to use the lowest cost and easiest method for a hobbyist. PWM and Delta-Sigma were ruled out because we did not think we would be able to vary the voltage with these methods fast enough to keep up with the VGA timing requirements. A DAC would be a good solution but was more than we needed for our modest requirements. A resistor ladder fit the bill perfectly because it is very low cost and easy to implement. The resistor ladder is made up of 3r, 3g, 2b resistors that all connect, in common, to the VGA connector on one side and individually to a digital I/O pin on the other side. Each digital I/O pin is controlled by the VGA controller inside the FPGA. Each pin can be set to either 0 or 1 with a 1 causing the resistor to contribute its voltage to the final voltage level. The voltage can be stepped up from 0 to the desired output voltage which in this case is .7V.
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
Changed lines 79-80 from:
!!!LogicStart Sound
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Audio.jpg
to:
!!!Classic Computing Shield Sound
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Audio.jpg
Changed lines 91-94 from:
!!!LogicStart Directional Buttons
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Buttons.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/ButtonsSch.png
The LogicStart MegaWing has a 5 direction micro-joystick that can be used for user input or video games!
to:
!!!Classic Computing Shield VGA
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Joystick.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/Joystick.png
The Classic Computing Shield has a 5 direction micro-joystick that can be used for user input or video games!
Changed lines 103-107 from:
[[#spi]]

!!!LogicStart Analog
%lfloat%
http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Analog.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Analogsch.png
to:
[[#rs232]]

!!!Classic Computing Shield RS232 UART
%lfloat%
http://www.gadgetfactory.net/images/shieldsWikiPics/CC/RS232.png
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CC%20Shield%20Schematics/RS232.png
Deleted lines 118-144:
[[<<]]
[[#led]]

!!!LogicStart LEDís and Switches
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LED.jpg
The LogicStart MegaWing provides 8 LEDís and 8 Slide Switches.
%lframe width=800% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Switchessch.png
[[<<]]
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Led.png
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Led0||Output||Led 0||D48|| || ||P55||
||Led1||Output||Led 1||D50|| || ||P50||
||Led2||Output||Led 2||D52|| || ||47||
||Led3||Output||Led 3||D5|| ||D6||P121||
||Led4||Output||Led 4||D6|| ||D4||P123||
||Led5||Output||Led 5||D7|| ||D1||P124||
||Led6||Output||Led 6||D8|| ||D0||P126||
||Led7||Output||Led 7||D9|| ||B7||P127||
||SW0||Input||Switch 0||RX|| || || ||
||SW1||Input||Switch 1||TX|| || || ||
||SW2||Input||Switch 2||D2|| ||B5||P118||
||SW3||Input||Switch 3||D3|| ||B4||P119||
||SW4||Input||Switch 4||D4|| ||D7||P120||
||SW5||Input||Switch 5||D42|| || ||P62||
||SW6||Input||Switch 6||D44|| || ||P59||
||SW7||Input||Switch 7||D46|| || ||P57||
January 14, 2015, at 12:57 PM by Dhia Khaladi - A new page for the classic computing shield
Added line 21:
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio DUO. Here are some existing retro computing projects that can be easily converted.
Changed lines 23-24 from:
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio DUO. Here are some existing retro computing projects that can be easily converted.
to:
Changed line 27 from:
%rframe width=400 newwin% [[http://store.gadgetfactory.net/logicstart-megawing/|http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS-Buy.jpg]]
to:
%rframe width=400 newwin% [[http://store.gadgetfactory.net/|http://www.gadgetfactory.net/images/shieldsWikiPics/CC/CCS-buy-now.jpg]]
January 14, 2015, at 11:56 AM by Dhia Khaladi - A new page for the classic computing shield
Added lines 1-184:
(:notabledit:)
(:include HardwareHeader:)
[[<<]]
>>lrindent round frame float:right width:270px<<
'''Contents'''
[[<<]]
[[#overview|Overview]][[<<]]
[[#specifications|Specifications]][[<<]]
[[##quicklinks|Quicklinks]][[<<]]
[[#segment|LogicStart 7 Segment Display]][[<<]]
[[#vga|LogicStart VGA]][[<<]]
[[#sound|LogicStart Sound]][[<<]]
[[#joystick|LogicStart Micro-Joystick]][[<<]]
[[#spi|LogicStart SPI ADC]][[<<]]
[[#led|LogicStart LEDís and Switches]][[<<]]
[[#images|Images]][[<<]]
>><<
[[#overview]]

!!Classic Computing Shield
%lfloat height=216% http://www.gadgetfactory.net/images/shieldsWikiPics/CC/Classic-Computing-Shield.jpg
The Classic Computing Shield provides all of the hardware needed to recreate classic computing systems on the Papilio DUO. Here are some existing retro computing projects that can be easily converted.

[[<<]]

%rframe width=400 newwin% [[http://store.gadgetfactory.net/logicstart-megawing/|http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS-Buy.jpg]]
[[#specifications]]
!!!Specifications
* socz80: Z80 Retro MicroComputer
* ZX Spectrum
* Commodore VIC20
* LadyBug Hardware
* Jet Set Willy on ZPUino
* Bomb Jack
* Sega Master System
* All Classic Arcade Games at Papilio Arcade
[[#quicklinks]]

!!!Quicklinks
*%newwin%[[http://store.gadgetfactory.net/logicstart-megawing/|Buy the LogicStart MegaWing Now!]]
*[[http://papilio.cc/uploads/Papilio/IntroToSpartanFPGABook.pdf|Download a PDF version of Mike Fields book]]
*%newwin%[[https://github.com/hamsternz/IntroToSpartanFPGABook|Source code for Mike Fields book]]
*%newwin%[[http://forum.gadgetfactory.net/index.php?/files/file/27-logicstart-megawing-generic-ucf/|LogicStart MegaWing Generic UCF]]
*%newwin%[[http://forum.gadgetfactory.net/index.php?/page/articles.html/_/papilio/logicstart-megawing/|LogicStart MegaWing Project Showcase]]
*%newwin%[[http://www.freerangefactory.org/site/pmwiki.php/Main/Books|Collection of open-source books on VHDL]]
*%newwin%[[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102 SPI ADC Datasheet]]
[[<<]]

!!Peripherals
[[#segment]]
!!!LogicStart 7 Segment Display
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/7segment.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/7segmentsch.png
The 7 Segment Display provides 4 character displays with a dot between each character. It is great for displaying anything from high speed debugging data to a low speed alarm clock.

|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||A||Output||A Segment||D18|| || ||P105||
||B||Output||B Segment||D14|| ||B6||P115||
||C||Output||C Segment||D16|| ||C7||P112||
||D||Output||D Segment||D24|| || ||P97||
||E||Output||E Segment||D19|| || ||P102||
||F||Output||F Segment||D17|| || ||P111||
||G||Output||G Segment||D15|| ||C6||P114||
||DP||Output||Data Point Segment||D22|| || ||P99||
||AN0||Output||AN0||D40|| || ||P67||
||AN1||Output||AN1||D38|| || ||P75||
||AN2||Output||AN2||D34|| || ||P81||
||AN3||Output||AN3||D32|| || ||P83||
||AN4||Output||AN3||D36|| || ||P79||
[[<<]]
[[#vga]]

!!!LogicStart VGA
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/VGA.jpg
The VGA section of the LogicStart MegaWing uses 8 resistors to implement 256 color depth. VGA video is analog in nature so there needs to be some way to vary the RGB (Red, Green, and Blue) signals between 0V and .7V. For each RGB signal the shade, or intensity, of the color is controlled by varying the voltage of the pin between 0 and .7V. The finer control you have over the voltage the more colors you can create. For the LogicStart MegaWing we are able to control 3 Red, 3 Green, and 2 Blue bits which allows us to generate 8 different voltage levels between 0 and .7V for Red and Green and 4 voltage levels for Blue. If we add all three colors together we have 8 bit video which gives us (2^8=256) the possibility of 256 colors.

%rframe width=400% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/VGA.png
The usual options for controlling voltage on a pin are to use a DAC, PWM, Delta-Sigma, or a resistor ladder. For the LogicStart MegaWing we wanted to use the lowest cost and easiest method for a hobbyist. PWM and Delta-Sigma were ruled out because we did not think we would be able to vary the voltage with these methods fast enough to keep up with the VGA timing requirements. A DAC would be a good solution but was more than we needed for our modest requirements. A resistor ladder fit the bill perfectly because it is very low cost and easy to implement. The resistor ladder is made up of 3r, 3g, 2b resistors that all connect, in common, to the VGA connector on one side and individually to a digital I/O pin on the other side. Each digital I/O pin is controlled by the VGA controller inside the FPGA. Each pin can be set to either 0 or 1 with a 1 causing the resistor to contribute its voltage to the final voltage level. The voltage can be stepped up from 0 to the desired output voltage which in this case is .7V.
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Red1||Output||Red Bit 1||D23|| || ||P98||
||Red2||Output||Red Bit 2||D25|| || ||P95||
||Red3||Output||Red Bit 3||D27|| || ||P92||
||Red4||Output||Red Bit 4||D29|| || ||P87||
||Green1||Output||Green Bit 1||D37|| || ||P78||
||Green2||Output||Green Bit 2||D35|| || ||P80||
||Green3||Output||Green Bit 3||D33|| || ||P82||
||Green4||Output||Green Bit 4||D31|| || ||P84||
||Blue1||Output||Blue Bit 1||D49|| || ||P51||
||Blue2||Output||Blue Bit 2||D43|| || ||P61||
||Blue3||Output||Blue Bit 3||D41|| || ||P66||
||Blue4||Output||Blue Bit 4||D39|| || ||P74||
||VSync||Output||Vertical Sync||D51|| || ||P48||
||HSync||Output||Horizontal Sync||D53|| || ||P39||
[[<<]]

[[#sound]]
!!!LogicStart Sound
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Audio.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Audio.png
The sound section implements a 1/8th inch mono jack with a low pass filter. Projects simply implement a Delta-Sigma DAC as outlined in Xilinx App Note 154. A Delta-Sigma DAC allows high quality audio to be implemented with a minimum amount of physical hardware required. The high speed of the FPGA clock allows the FPGA to do the heavy lifting of the Digital to Analog conversion.
|| class=prettytable2 width='60%'
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Audio-Left||Output||Audio Output Left||D21|| || ||P100||
||Audio-Right||Output||Audio Output Right||D20|| || ||P101||


[[<<]]
[[#joystick]]
!!!LogicStart Directional Buttons
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Buttons.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/ButtonsSch.png
The LogicStart MegaWing has a 5 direction micro-joystick that can be used for user input or video games!
[[<<]]
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Up||Input||Directional Button Up||D11|| ||B2||P132||
||Down||Input||Directional Button Down||D12|| ||B3||P133||
||Left||Input||Directional Button Left||D13|| ||B1||P134||
||Right||Input||Directional Button Right||D10|| ||B0||P131||
[[<<]]
[[#spi]]

!!!LogicStart Analog
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/Analog.jpg
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Analogsch.png
The SPI ADC allows pots, [[http://www.seeedstudio.com/depot/grove-slide-potentiometer-p-1196.html?cPath=156_160|pot slides]], [[http://www.seeedstudio.com/depot/grove-temperature-sensor-p-774.html?cPath=144_147|temp sensors]], and many more analog devices to be connected, up to 8 devices at once.

The SPI ADC uses the [[http://www.national.com/pf/AD/ADC128S102.html|ADC128S102]] chip from National.
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||A0||Input||Analog Bit 0||A0|| ||F0|| ||
||A1||Input||Analog Bit 1||A1|| ||F1|| ||
||A2||Input||Analog Bit 2||A2|| ||F4||P81||
||A3||Input||Analog Bit 3||A3|| ||F5||P83||
||A4||Input||Analog Bit 4||A4|| ||F6||P85||
||A5||Input||Analog Bit 5||A5|| ||F7||P88||
[[<<]]
[[#led]]

!!!LogicStart LEDís and Switches
%lfloat% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LED.jpg
The LogicStart MegaWing provides 8 LEDís and 8 Slide Switches.
%lframe width=800% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Switchessch.png
[[<<]]
%rframe width=300% http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/Led.png
|| class=prettytable2
||Name||Direction||Function||Arduino Pin||Papilio Wing Pin||ATmega32U4 Pin||Spartan 6 FPGA Pin||
||Led0||Output||Led 0||D48|| || ||P55||
||Led1||Output||Led 1||D50|| || ||P50||
||Led2||Output||Led 2||D52|| || ||47||
||Led3||Output||Led 3||D5|| ||D6||P121||
||Led4||Output||Led 4||D6|| ||D4||P123||
||Led5||Output||Led 5||D7|| ||D1||P124||
||Led6||Output||Led 6||D8|| ||D0||P126||
||Led7||Output||Led 7||D9|| ||B7||P127||
||SW0||Input||Switch 0||RX|| || || ||
||SW1||Input||Switch 1||TX|| || || ||
||SW2||Input||Switch 2||D2|| ||B5||P118||
||SW3||Input||Switch 3||D3|| ||B4||P119||
||SW4||Input||Switch 4||D4|| ||D7||P120||
||SW5||Input||Switch 5||D42|| || ||P62||
||SW6||Input||Switch 6||D44|| || ||P59||
||SW7||Input||Switch 7||D46|| || ||P57||
[[<<]]

[[#images]]

!!!Images
%lframe width=500% [[http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LS%20Shield%20Schematics/LSS-full.jpg|http://www.gadgetfactory.net/images/shieldsWikiPics/LS/LSS.jpg]]
>>postit<<
%notetitle% LogicStart MegaWing High Resolution Image%%

Click the image to load a High Resolution image of the LogicStart MegaWing
>><<
%lframe width=500% [[http://www.papilio.cc/uploads/Papilio/BPM7003%20LogiStart%20MegaWing.pdf?raw=true|http://www.papilio.cc/uploads/Papilio/lsSchematic.jpg]]
>>postit<<
%notetitle% LogicStart MegaWing Schematic%%

Click the image to load a PDF version of the LogicStart MegaWing Schematic
>><<

[[<<]]
  

Share |