Home › Magazines › 2005 › March › Play Solitaire

Play Solitaire

... packed in an AT90S micro

Published in issue 341, March 2005

Play Solitaire

This version of Solitaire is played with an array of LEDs instead of pegs, with a microcontroller behind the scenes to check if you’re any good at playing. As you’ll soon find, the game is challenging and addictive!

This project is a fine instance of a microcontroller and its resident software slashing component count when implementing a logic circuit, as well as providing yet an another answer to the perennial “great-but-what-do-you-do with-it?” question from outsiders and newbies when discussing those multi-legged beasts commonly known as microcontrollers. The design is based on the Atmel AT90S2313 microcontroller which was selected for its low cost, speed, number of I/O lines and ease of programming in assembly code using free tools.

Resistors:

R1 = 1kΩ5
R2-R8 = 220Ω
R9 = 10kΩ
R10,R11 = 1kΩ
Capacitors:
C1 = 1µF 16V, radial
C2,C3 = 22pF
C4 = 100nF
Semiconductors:
D1-D34 = LED, 3mm, low current, red
T1 = BC547
IC1 = ULN2803
IC2 = 4023
IC3 = AT90S2313-10PC, programmed, order code 030410-41
Miscellaneous:
S1 = on/off switch, one contact
S2-S8 = pushbutton, PCB mount, 1 contact, 5mm, e.g., T60 (Conrad Electronics # 700479)
X1 = 4MHz quartz crystal
BZ1 = 5VDC (active) buzzer
BT1 = 2 x penlight (AA) battery with holder
Enclosure, e.g., Hammond type 1591DTRD (150 x 46 x 84mm)
PCB, ref. 030410-1, from The PCBShop

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (U050356.pdf)
10 Elektor Credits
PCB layout (030410-PCB.pdf)
10 Elektor Credits
 

Order from Elektor 

AT90S2313-10PC, programmed
030410-41 (USD 8.90)
PCB
030410-1
 

Order from Eurocircuits 

PCB

 

Free downloads 

030410-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF