Snake Game With Pulse Sensor

1.6K61

Intro: Snake Game With Pulse Sensor

This is a snake game which is navigated by a joystick. We have also used a pulse sensor to tweak the game. The pulse sensor makes the screen change color depending on your heartbeat. The moment when your heart beats, is the moment when the snake is visible. When your heart does not beat, you will not be able to see the snake, and the game will be quite hard to control. This means that you will need to get a high pulse to get a good score in this game.

The problem with this game is that the pulse sensor is not reliable since it sometimes register a pulse signal whenever it wants to.

Component list:

Arduino Uno
Pulse sensor
Joystick
Wires

STEP 1:

Comments

It's wonderful! I download the code that you put on the web ,and I compile the arduinojoystick code in arduino,but there are some errors,such as "import does not name a type",how can I solve this problem?