liquidje
Published © GPL3+

Mastermind/Codebreaker game on Uno R3

An Uno R3 version of the famous mastermind/Codebreaker game. Can you crack the code in 10 guesses? Uses basic components found in most kits.

IntermediateShowcase (no instructions)2,174
Mastermind/Codebreaker game on Uno R3

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Texas Instruments 74hc595 shift register
×1
7 segment 4 digit display
×1
Tactile Switch, Top Actuated
Tactile Switch, Top Actuated
×5
5 mm LED: Yellow
5 mm LED: Yellow
×4
Resistor 220 ohm
Resistor 220 ohm
×4

Story

Read more

Schematics

Wiring diagram-SVG

Wiring diagram

The generic wiring. NOTE: the 7-segment-4-digit display in Fritzing had some unclear wiring. You should be able to figure it out for your 7-segment display:
the pins for digit-part A through G on the 7-segment-4-digit display connect to the 74hc595
the 4 cathode pins for pins 1/2/3/4 connect to the Arduino, pin 7/6/5/4

Code

Code repository

All code needed to run the project

Credits

liquidje

liquidje

1 project • 1 follower

Comments