High-Low Binary LED Arduino Game

This is a pretty simple game:  The Arduino shows a number in binary on the green LEDs.  You then guess whether your green number is bigger than the computer’s number.  The Arduino shows its number on the red LEDs.  If you were right, you will see a green flashing pattern.  If you are wrong, you’ll see a red flashing pattern.

I designed this project as a workshop for people in a design competition I’ve been organizing.  This instructable is a brief overview of the workshop.

Binary is pretty easy to read.  Google “Count binary on fingers” to see how.

Good luck!

High-Low Binary LED Arduino Game

Step 2: Wiring

I feel the pictures explain this better.  Please click each picture and then hover over the different yellow rectangles.

The wiring is as follows:

Green LEDs – pins 2, 3, 4
Red LEDs – pins 5, 6, 7
“Swiches” – pins 11 and 12

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]

Parts

ou will need:

Microcontroller:
Arduino or clone

Components:
3 green LEDS
3 red LEDs
6 120 ohm resistors
2 10k ohm resistors

Accessories:
usb a to b cable
breadboard
jumpers (or 22ga solid wire)

[/box]

For more detail: High-Low Binary LED Arduino Game


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top