Arduino Game Project - How to make Arduino LCD Game (Endless Runner!)
ฝัง
- เผยแพร่เมื่อ 1 พ.ค. 2020
- Learn, Arduino Game Project - How to make Arduino LCD Game (Endless Runner Game) Step by step by using Arduino UNO and 16x2 Character LCD. This an endless runner game in which a character is continuously moving forward and controlled by a single button, the function of button is to convey a signal to the arduino, once the arduino received a signal it jumps the character according to the programmed script below. This is best arduino project for beginners and kids! I hope this DIY arduino tutorial will be useful for you!
Complete Arduino Starter Kit: s.click.aliexpress.com/e/_AgqSwr
All Sensors & Module Kit: s.click.aliexpress.com/e/_AU6ss7
Arduino Code: drive.google.com/file/d/1DQ4C...
Circuit Diagram: drive.google.com/file/d/1pk8z...
List Of Materials:-
1. Arduino UNO: s.click.aliexpress.com/e/_dUg...
2. 16 x 2 Character LCD: s.click.aliexpress.com/e/_dT9...
3. Breadboard: s.click.aliexpress.com/e/_dY1...
4. Jumper Wires: s.click.aliexpress.com/e/_d8o...
5. Push Button: s.click.aliexpress.com/e/_Atx887
6. Battery Connector: s.click.aliexpress.com/e/_dYJ...
7. 9V Battery (Rechargeable): s.click.aliexpress.com/e/_dT8...
8. Variable Resistors 103: s.click.aliexpress.com/e/_d7w...
and some basic tools are:
Soldering Iron: s.click.aliexpress.com/e/_9uEL6b
Soldering Paste: s.click.aliexpress.com/e/_Albw5H
Hot Glue Gun: s.click.aliexpress.com/e/_AnpTCB
Third Hand Tool: s.click.aliexpress.com/e/_9fwoSR
Variable Power Supply(minleaf): s.click.aliexpress.com/e/_AMuWNl
Electric Screwdriver: s.click.aliexpress.com/e/_AYK5nV
Cordless Drill: s.click.aliexpress.com/e/_AtC0wP
DIY Tool Kit: s.click.aliexpress.com/e/_A3TQrZ
Multimeter: s.click.aliexpress.com/e/_dZu...
For more useful DIY videos please subscribe our channel "IdeasTV".
Please give us your precious feedback below in comments also like this video and share with your friends :)
Thanks! have a nice day :)
Share This Video With Friends:-
Video Link: • Arduino Game Project -...
FOLLOW US:-
Facebook: goo.gl/UAw6D3
Twitter: / ideastvofficial
Instagram: / ideastvofficial
DISCLAIMER: This video description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission on a purchase without additional cost to you. This help support the channel and allows us to continue to make videos like this. I only suggest those products that I personally love and use in the videos. Thank you so much for the support!
#ArduinoLCDGame #ArduinoProject #IdeasTV - แนวปฏิบัติและการใช้ชีวิต
Tell me how was this video? & also share your ideas for the next video?
Video related Useful Links:- (Affiliate Links)
Arduino Code:
drive.google.com/file/d/1DQ4C6ow-NVFm0Cvwb5l0vNNxYSyiHsFF/view
Circuit Diagram:
drive.google.com/file/d/1pk8z0ZyPES7wLRqAwAwFqh2IrAXivl_D/view
Complete Arduino Starter Kit: www.banggood.com/custlink/GvGmq4yGcC
Cheap Arduino Starter Kit: www.banggood.com/custlink/vKDGkeRGp5
All Sensors & Module Kit: www.banggood.com/custlink/KvKmz6hDWO
The code wasn’t working for me, it kept saying : no such file or directory. Do you know what’s wrong?
@@pesto_pasta_god_6025 you need to download the library for the LCD display (liquidcrystal)
@@pesto_pasta_god_6025 not
@@49_lequangvinh49 can you share working code
Working nathi aanu
wow this is the most interactive project I have seen base on Arduino
Thank you so much it helped me....!!!
Glad to hear that!
Thanks a lot!!! it worked!!!👍👍👍
You're welcome!
I have checked the connections properly, but when I plug the arduino uno into my computer it won't run, whereas for other circuits it has. Something labeled as "S09Y" next to the plug in cable is over heating.Can you please help me with my circuit so I can play this game on arduino...
Bhai video dil ko chugai
Thanks :)
Thanks a lot for the video!It worked well! But we would really appreciate it if you made a video explaining the code!
Noted!
can you share your worked code
@@IdeasTv 2 years gone still noted but not reacted.
thank you it is a really helpful video
You are welcome!
That's cool I just got an arduino uno and am trying it
best of luck
help full thank you bro working
Glad to hear that
Hi exist an lcd colour biggest? It spossible make videogame 80s as kung fu master for exemple? Thanks
I have 4 pin push button. Is it possible to use it instead of 2 pin?
Super video bro
Thanks for this game. It was the first project i did with my son.
great to hear that, best wishes
hi
I have a project which is similar to your game I finished it all I just want to do its obstacle but im stuck can you please help me?
If you don’t have a variable resistor is there a different resistor you could use
103 is used to control led brightness, you can try different values of constant resistor according to your desired brightness.
What could i use if i dont have a push button?
is it okay if i have a 16x2 lcd that has DB4 instead of D4 and
LED+ and LED- instead of A and K?
absolutely safe
I love it
Thanks :)
my display is just printing random patterns, whats the issue sir?
Please tell how can i use ut with i2c module
can i get a tinkercad modle for the same mine isn't working
the lcd bursts while game over written on lcd and saying too much amps of power and if i put a resistor of 100 ohms the lcd just light ups still not showing any game
The resjstors he used are 10k ohms i think
brother i have a prob it says a stray '#' in program
Sir can it be used Potentiometer high kit instead Var resistor?
you can use potentiometer
Thanks bro it works!
I power it with 9v battery and my highest score is 571
Btw im not very good at eglish because i'm from Poland xD
Wow nice
is the variable resistor important? can it be a regular 10k resistor?
A normal 10k variable resistor is fine?
Yes, it is use to control the brightness (Backlight) of the LCD. You can use any 10K variable resistor.
You can also use a potentiometer
Hi sir, Can we do it without a variable resistor or is there any alternative for it
Something like 10k ohms would do
Can I use a normal resistor instead of a variable resistor?
yes
Hi sir can we use a potentiometer to substitute the var resistor?
Yes you can
just now i tried.its not working.
character is not jumping when button is pressed
can i use variable resistor instead of variable resistor 103
yes (10K variable resistor)
Do i need to install the variable 103 and switch for it to work?
Yes
How to use it with I2C module?
The outside performance 😮😮😮😮😅😊🎉🎉🎉❤❤❤❤❤
Can u also explain how did u give the power source
you can use 9V battery, connect it to DC jack of arduino or you can connect the arduino directly with pc (but it not recommended for continuous use)
How to do that without solder
I just made (Endless Runner) and i am getting a problems as my lcd is not showing the game but it is showing this screen of Game over =0 and nothing else
re-check your code
Hi, can I use an Arduino mega board for this?
Yes, you can
Can I use joystick in place of push button
yes, you can try
the code is not working . its saying Sketch uses 3842 bytes (11%) of program storage space. Maximum is 32256 bytes.
Global variables use 161 bytes (7%) of dynamic memory, leaving 1887 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified. what should i do . can anyone help me please
close the serial monitor
Whats the bame of the board did you use sie?
Arduino uno
what plugin do i need or library it doestn work
check description
That work with a B5k potentiometer ?
yes
Whats the variable resistor for
for controlling the LCD brightness
Yer i found that out after i made it
It works really well
@@IdeasTv *contrast
can i use 3.7V two battery instead of 9V rechargeable battery ?
u said we need battery to do this project but in video i dont see battery
Yes
Nice
Thanks :)
can i use a push button instead of the button u showed?? it is not working as of now. the man is continuesly jumping
you can use any PUSN ON and RELEASE OFF button
@@IdeasTv thanks
My video game is always showing 'Game over' instead of 'Press to start' please tell me what to do?
check your code and button connection
Sir what library do you use
available in description
Can you please create a video tutorial for the code?
sure! stay tuned
@@IdeasTv thank you
hi, anyone can help me explaining me what the operator "?" means?
I'm not sure if it is same with the javascript, its like asking if something is true then use this ( the var before ":" ) else (the var after ":" )
can we just use a normal button?
you can use any press to ON and release to OFF switch/button i.e push switch
What is this potentiometer for?
for adjusting the screen brightness
@@IdeasTv thanks
The potentiometer is there for optional adjustment of LCD backlight.
Nice video.
Why is the category
Howto & Style😑
I Made the project😆.
But it is a little glitchy.
And we have to jump when it is very close to the block.
Did you write the code by your self?🤔
I am getting an error "FILENAME" or
simple solution note it for future: just copy paste the arduino error on google you will find the solution
When I Lower The Variable Resistor The Arduino Boards Builtin Leds are Also Getting Dim ... Is That Natural??
No! there's no direct relation between the variable and arduino builtin LED in this circuit, we're using variable for LCD's background LED
@@IdeasTv Thanks 😊
@@ryanjayaweera.23 try turning on backLight(), ohh n connect the potentiometer tu an analog pin so you can control more/other components if you want to do some innovations on the project
It is not working just the LCD display was on and showing some rectangle boxes in the 2nd line of the LCD display I even have uploaded the code bro
not properly or loosely connected, re-connect LCD.
Thanks for your comment now it is working
@@RPI_Arduinotronicswhat was the problem cuz my lcd also just shows blocks nothing else
pls help the code doesn't work for me (i'm on arduino create on browser)
tell me the error
@@IdeasTv the error sits in the line which marks the position of the runner it is this line: RUN_UPPER_2
the display does not turn on. What should I do?
Check your LCD connection on VCC and GND
Why my "MAN" always run , and button do not work?? Can you Help me please :(((
are they connected to gnd and 9? and they have to be on both sides of the board so the middle is splitting them the 2 sides.
code compile nhi ho pa raha hai.
worng ho ja raha hai
Bro push button on and off push button na and only on push button na bro
it's works as; push ON and release OFF
will it work on arduino nano?
yes
@@IdeasTv i made it
My score is 90 :D
Link me your fb if you can
why dose my lcd not turns on any help?
check your connections
will it really going to work
yes
Sir my score is 1146 : ) i have beat you
Good :D
Bean
Hey man my score is 1257 , I have beat you
Nice!
Thanks!
code not working
It needs codes of all?
yes, it needs code
beacuse when i try and compile it it says #include <LiquidCrystal.h>
^
exit status 1
#include expects "FILENAME" or
Replace ⁢ with < and replace > with >
Sir i want source code in python
the code keeps saying error
tell me the error
Yes
Code please sir
the code didnt work idk why
it's working. send me the error on fb
thx so much for the help
not working
the code dindt work
what's the error ?
screen just showed blue
Recheck your connection
kati yaa
the code doesent work
i made it work😃
Glad it helped you
@@_IcePlays how
334
wow
Anna my is siddu my score is 182
Wow great
Lol 😂 awesome
Thanks!
my score is 29
keep it up
@@IdeasTv thanks i got 56 now
9997
good
My score is 777
Wow
Resistor ohm
10k
856
My score is 9999
Wow great
@@IdeasTvThanks man!
It has so many errors
This code is super faulty
didnt work for me i did everything u did in video @ideas TV how do i fix it
Double check your connection, try to replace jumper wires. Verify code should be uploaded properly