in this tutorial, I am going to show you how to make a google dino game automation
all off you know about the t rex aka dino game of google and it famous as no internet game.
the game is very simple just avoid the obstacles by jumping and its like super Mario run.usually to jump we use space bar manually.that's very old school for me...
so in this tutorial, I am going to show you how to make that in automatic that is an automatic controller.
please watch the making video for more details
all off you know about the t rex aka dino game of google and it famous as no internet game.
the game is very simple just avoid the obstacles by jumping and its like super Mario run.usually to jump we use space bar manually.that's very old school for me...
so in this tutorial, I am going to show you how to make that in automatic that is an automatic controller.
please watch the making video for more details
first, watch this video
the senor
here we want to detect the obstacle and jump to detect the obstacle I am using an LDR
so how an LDR detect that kind of obstacle?
the resistance of LDR changes according to light that is when
the dark time the LDR resistance is very high and vice-versa. so our obstacle is dark in colour so we can get different analog values . with that value with the help of a controller we trigger a servo.
the dark time the LDR resistance is very high and vice-versa. so our obstacle is dark in colour so we can get different analog values . with that value with the help of a controller we trigger a servo.
servo is used to press the space bar. so that's the working principle
circuit diagram
I am using the analog read function of Arduino and I give conditions for servo triggers
kd o code ?????
ReplyDeleteWHAT
DeleteMr. X where is the code? GIT Hub URL is not working.
ReplyDeletehttps://gist.github.com/EDISON-SCIENCE-CORNER/bdf3e2e83373815c1b18326104287394
DeleteCode plz
ReplyDeletehttps://gist.github.com/EDISON-SCIENCE-CORNER/bdf3e2e83373815c1b18326104287394
Deletecode man
ReplyDeletehttps://gist.github.com/EDISON-SCIENCE-CORNER/bdf3e2e83373815c1b18326104287394
Delete