This is a physics lesson project that was assigned to me by my school. It's an egg roll ramp that has Arduino UNO mounted on it with sensors that measure how long the egg has rolled from top to bottom and a screen that shows the results. The goal of this project is not only to practice the skills gained from the physics class but to also entertain the students of my school.
You can find a demonstration of this project on YouTube
- π οΈ How it works
- βοΈ Hardware & Components
- π Schematics
- π Features
- πΏ Installing & Running
- ποΈ Engineering shenanagins
- π€ Credits
- π License
- There are two sensors. One at the top of the ramp and the other at the bottom.
- The top sensor is the start sensor that is waiting for an egg to move past it and once it does, the timer starts. Before activated, green LED is lit to indicate that the user can roll the egg.
- The bottom sensor can only be activated if the top sensor was activated first and the timer is started.
- Once the bottom sensor is activated, the timer is stopped and the rolling time is shown on the 4 digit screen.
- Arduino UNO
- 2x UltraSound sensors
- 2x LEDs
- Red LED
- Green LED
- 4 digits screen
- 2x 220ohm resistor
- 2x BreadBoard
- Wires
- Sponge
- Egg roller ramp
- Measure time it takes the egg to roll from one sensor to the other
- Measure the speed of the egg(cm/s)
- LEDs to indicare the state of the egg roller ramp
- Green - you can roll the egg
- Red - you cant roll the egg, wait for the green light
- 4 digits screen that will show how much time it took the egg to roll to the bottom
- The sponge guarantees a smooth landing without breaking the egg
- Git clone this repo
git clone https://github.com/Edveika/Arduino-Easter.git
-
Open
main.ino
in your Arduino IDE -
Make sure you have Arduino UNO libraries installed
-
Click verify and upload
OPTIONAL: download the serial reader made by SteponasK to save egg roll data on your machine
- The sponge - imagine you've dyed a beautiful Easter egg, investing a lot effort to achieve just the right look. You probably don't want it to break. The sponge offers a perfect solution by effectively preventing the eggs from cracking upon impact with the ramp's bottom.
- Long cables - the wires that come with the Arduino UNO are simply too short for a project like this. To solve this problem I decided to take a random wire, cut off the ends, expose the copper and connect the components with it.
- Loose wires - connecting components with loose wires can cause short circuit. To solve this problem I took the original wires that came with Arduino UNO, cut them in half and connected them with the wires that are inside the cable mentioned above using duct tape. This solved two problems: too short wires, short circuit.
- Single 5V pin - since there is only one 5V pin I had to connect the long cable's wire to it to get 5V to the 2nd BreadBoard.
π« School for the hardware and the project idea
π¨βπ» SteponasK for Serial reader
π·π»ββοΈ ThePcCreator for 4 digit display library and schematics
This project is licensed under the GPL v2 LICENSE.