Introduction: Angry Candy Bar Dispenser With Ardruino

Are you hungry? And because of that angry?
This is then the perfect solution for you.
When you are angry, you just want to punch something.
Now you can punch the pressure sensor and recieve candy!

Step 1: Step 1: Gather the Ingredients

What you will need:

-A (pvc) half round tube where the candy goes into.

-Some wood or other material for the doors

-pressure sensor

-lots of jumper wires

-Ardruino (9v battery,7805 5V regulator, 0.33 uF Electrolytic Capacitor
and an 0.1 uF ceramic Capacitor with an Ardruino yun because it can't handle two servo's, but that is optional)


Step 2: Step 2: Ready Everything

Saw gaps in the tube. So the doors can fit.
Make the doors

They just need to be a little bit smaller than the tube.

glue the doors to the servo motors and attach those to the tube.

Step 3: Step 3: Connect Everything

Make a longer wire for your sensor. Because it needs to be at a height for you so you can hit it.

Connect everything to the ardruino in this way.

Step 4: Step 4: Put the Code In

Step 5: Step 5: Fill It Up With Candy!

Letting out steam when you're angry now rewards!