Skip to content

Edveika/Arduino-Easter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐣 Arduino-Easter

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

πŸ“š Content table

πŸ› οΈ How does it work?

  • 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.

βš™οΈ Hardware & Components

  • Arduino UNO
  • 2x UltraSound sensors
  • 2x LEDs
    • Red LED
    • Green LED
  • 4 digits screen
  • 2x 220ohm resistor
  • 2x BreadBoard
  • Wires
  • Sponge
  • Egg roller ramp

πŸ“ Schematics

πŸš€ Features

  • 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

πŸ’Ώ Installing & Running

  1. Git clone this repo
git clone https://github.com/Edveika/Arduino-Easter.git
  1. Open main.ino in your Arduino IDE

  2. Make sure you have Arduino UNO libraries installed

  3. Click verify and upload

OPTIONAL: download the serial reader made by SteponasK to save egg roll data on your machine

πŸ—οΈ Engineering shenanagins

  • 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.

🀝 Credits

🏫 School for the hardware and the project idea

πŸ‘¨β€πŸ’» SteponasK for Serial reader

πŸ‘·πŸ»β€β™‚οΈ ThePcCreator for 4 digit display library and schematics

πŸ“œ License

This project is licensed under the GPL v2 LICENSE.

About

🐣 Celebrating Easter with Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages