Arduino Game

by Genius_Nik in Living > Toys & Games

13286 Views, 25 Favorites, 0 Comments

Arduino Game

Белый фон c охотником и надписью.png
Игра на Arduino охотник

Hello.

I made simple, but cool game on the Arduino.

It is necessary to hit the target, the goal - the red LED

Hunting for red light by pressing the button makes a shot, if you blink all the LEDs, then caught, but if you overshot, then blink blue. it is really cool project.

Okey Let`s Start.

Схема.PNG

If you want play in this game, you need

  1. Arduino nano (Uno)
  2. Bread board
  3. 7 blue Leds
  4. 1 Red Leds
  5. 8 resistors 500om
  6. 1 button
  7. Wires

Okey, if you all have, make this simple circuit.

Connect the anode of the red LED pin to digital pin 6 and the blue light-emitting diodes D2-D9. And catode connect to ground through a 500 Ohm resistor as in my circuit.

Programm Your Arduino

IMG_5436.JPG
Код.PNG

Well, next you need to write an algorithm for the game and upload it to the Arduino. But if you lazy, you can use my sketch :P

I wrote a detailed commentary that you could understand the program :)

Please support me, subscribe to my chanel https://www.youtube.com/channel/UCW-bUcww-c6yWQgt1... ))

My project:
https://www.instructables.com/id/Vibro-BUG/

https://www.instructables.com/id/Vibro-Snail/

https://www.instructables.com/id/KeyChain-Lighter/

Good luck!

Downloads