Introduction: Two Player Single LED Strip Games With Score Board
First of all pray the god for all the peoples around the world, God only able to help and give us peace in this time. All of us are lock down and nowhere to go.
I have not more works to do, so start studying python online and cant able to think any new ideas, because cant able to purchase any thing. But after see the LED contests found few materials and new idea. For my kid always watching cartoon and play games in mobile, this one is a small change. So i develop a portable game console with Single LED Strip. Surprisingly she like it very much and play with me, but one problem is she never want to loose the game.
Pray for the souls who rest in peace unexpected in few days. And pray
for those who are hospitalized to get well soon. And Special prayers for the doctors, Police officers, Social workers, Politicians, essential suppliers and all the persons who work for us in this very very critical time. All others please stay at home and help them to reduce their burden, if able help the neighbors with essentials you have.
Step 1: Materials Required
Materials Required sorry Materials available
- RGB Addressable LED Strip removed from my previous project RGB Infinity Clock. - 1No
- Arduino Nano. - 1No
- 16 X 2 serial communication LCD display. - 1No
- LM2596 DC to DC Voltage Regulator-1No
- 3.7V 18650 Battery - 2Nos
- 18650 Battery Holder - 1No
- Push Button - 3Nos
- Plain PCB
- Male and Female Header pins
- Wooden stick.
- Acrylic sheet
- Water line Pipe T joint.
Step 2: Circuit Plan
3 Nos of Push buttons is connected to D8,D9,D10 of the Arduino nano. Addressable LED strip data connected to D12 of the arduino. LCD serial data RX connected to D13 of the arduino. LM2596 DC to DC Voltage Regulator Vin and arduino Vin connected to the battery holder outlet. LED vcc and Gnd connected to the LM2596 Vout pins. LCD display VCC and gnd connected to the arduino +5v and Gnd.
Step 3: Prepare Circuit
As per drawing develop a shield for arduino nano. Create two single button joy stick and extend a long wire to the arduino shield. For game selection use a single button selector. Hot glue the wires after solder then only it with stand for rough use and no chance for grounding.
Step 4: Prepare LED Strip
As i already told i prepare this for my kid i want to safe guard the LED strips from short circuit for any misuse. So i found a ling wooden strip. Due to i remove the LED strip from my old project it cant stick in the wooden piece, so i use cable tie to fix it with the wooden strip. Then to cover the LED i cut acrylic sheet to the size of the wooden strip and place it over the LED strip and cable tie it. Now i have no problem if it is taken by my kid.
Step 5: Connect LED With Circuit
Now connect the LED strip with the Arduino shield we make. Connect LED Data pin to arduino D12 and VCC and GND to LM2596 Output.
Step 6: Make the Score Display
Now all the circuits are scattered. So want to pack it in a container. After a long search found a Water line Tee. Hot glue it to the top of the Battery holder and insert the circuits in the Tee. Place the LCD Display over the Tee and Hot glue it. Hot glue the game selector switch in the front of the Tee. Now the Score display board with selector switch is ready and 2 nos single button joystick is ready.
Step 7: Arduino Program
Use SoftwareSerail Library to communication with LCD display from pin D13. Use pololuledstrip library to connect the led strip with arduino pin12. Select button is configured in D10. Player 1 Button in D8. Player2 Button is D9. LED color for player 1 is red and for player2 is green. Program for 4 Games and 2 Misc are attached in this page. Download and upload the code to the Arduino.
Step 8: Test the Games
After upload test all the programs and found all ok. Now the console is ready to play.
Step 9: Available Games and Misc
Use the Game selector button to select or restart the game. List of games and Misc available is listed below
Game1 - Race
Use the joy stock how fast the player press dot move forward. As per who is lead display on the score board. After reach the end display the result.
Game2 - Pingpong
Its like pingpong ball. Player1 red on left side and Player2 green on right side. Ball is blue you want to correctly click the ball when it reach you , when you left the ball the opp player got a score. After each stock ball speed increase. Which player get 15 first is the winner.
Game3 - Power
Its a game power game. This game long time as per the players. At start players start to press the button and red side light increase and green side light increase one by one in opposite directions and when both dash, now the original game begin. How much pressing is calculated for for specific secs, highest side increase and lowest side decrease one step, if tie no change. At the time which color is filled then he is the winner. This game take a long time.
Game4 - Pick Dot
Its a snake like game, but the timing is very important. A train of 4 dots move from left to right and two dots red and green appear in random points. While the train head point at the red dot, player1 correctly catch the dot by press the button, if he catch he got 1 point if not catch for each waste click -1 points, if dont press then also -1 points. Who got 25 points if the winner, or if any one got -25 then the opposite player is a winner.
Misc - Emergency Light
In emergency light mode use joy stick to switch on and off the light. It produce full bright white light.
Misc - Disco Light
Create rainbow color in the strip. Use joy stick to make the light move.
Step 10: Play Games
Me and my daughter play the game in the steps. She like the race game and power game very much. A little change in her usual routine of watching cartoon and play in mobile. She is 6 and she play it very well and cant allow me to win a single time.
Pray for the souls who rest in peace unexpected in few days. And pray for those who are hospitalized to get well soon. And Special prayers for the doctors, Police officers, Social workers, Politicians, essential suppliers and all the persons who work for us in this very very critical time. All others please stay at home and help them to reduce their burden, if able help the neighbors with essentials you have.
Lot more to enjoy...............Don't forgot to comment and encourage me friends
Participated in the
LED Strip Speed Challenge