Play Solitaire
... packed in an AT90S micro

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.
This is a MEMBER ONLY article. You need a subscription to read this article.
- Access to Elektor archive and 5,000+ Gerber files
- Receive up to 8 magazines per year (digital and/or paper)
- 10% discount in the Elektor store
Available from €4.95 per month.
What is Members Only
Elektor is committed to providing high-quality content on electronics, catering to tens of thousands of paying members. As part of this commitment, Elektor has launched Premium, an initiative that offers exclusive online articles to members sometimes even before they appear in the magazine.
Every day, members can access in-depth articles that showcase the best of Elektor's premium content.
This initiative aims to reward members with early access. Once logged in, members can easily enjoy this exclusive content and engage in discussions about featured projects. While Premium adds to the existing resources available, Elektor will continue to provide a wealth of free information.
Join the Elektor community today to take advantage of Premium and other benefits!
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
Component list
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
Discussion (0 comments)