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.
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
For more detail: High-Low Binary LED Arduino Game
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
This Post / Project can also be found using search terms:
- high low binary led arduino game arduino project