About the article

Play Solitaire

... packed in an AT90S micro

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.

Downloading of this magazine article is reserved for registered users only.
Login | Register now!
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 its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.

Component list
R1 = 1k?5
R2-R8 = 220?
R9 = 10k?
R10,R11 = 1k?
C1 = 1µF 16V, radial
C2,C3 = 22pF
C4 = 100nF
D1-D34 = LED, 3mm, low current, red
T1 = BC547
IC1 = ULN2803
IC2 = 4023
IC3 = AT90S2313-10PC, programmed, order code 030410-41
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
Loading comments...