Turtle Feeding Reminder
This project is called Turtle Feeding Reminder.
The purpose of this project is to remind me to feed my turtles when I get home every day.
- Why did I make this:
There are two turtles at my house, which I'm supposed to feed them every day. However, I always forget since I usually feel tired when I get home. Therefore this device can remind me to remember it every day.
- The video above demonstrates the way to use this device. If it is not clear enough, go down to the final part to watch it again with explanations
In the steps below, there will be step by step explanations of how to make it and how it works, as well as all the materials needed for this project.
Now let's start!
Intro
- A Photoresistance (sense the lights)
- Yellow LEDs x3 (reminder)
- White LED x1 (decoration )
- Green LED x1 (an indicator of the bottle)
- Red LED x1 (an indicator of the bottle)
How it works:
When I turn on the lights as I get home at night, the photo resistance would sense the light and light up 3 yellow LEDs as the reminder. As I come close, the indicator of the bottle is originally red since the bottle hasn't been taken up and the coin is conducting electricity. The red LED would turn to green when I take up the bottle since it is not conductive anymore, meaning that I've fed the turtles. After that, I can turn off the yellow lights by covering the photo resistance with the paper, showing that I've done feeding my turtles for that day.
Materials
Here are the materials needed for this project:
- Arduino & Breadboard
-
7x LEDs of any kind and colors (I used 3x yellow, 1x white, 1x green, 1x red)
-
A Photoresistance
-
6x brown resistor
-
2x blue resistor
-
Some wires
-
Some paper for making the box
-
Something that could conduct electricity (for example a coin)
Part 1 - Photoresistance + Yellow LEDs
Now let's get started!
Part 1: Photoresistance + 3 yellow LEDs
1. Connect the Photoresistance to A0 (as shown in the picture)
2. Connect 3 yellow LEDs to D10, D9, and D5 (as shown in the picture)
3. Connect them to the resistors and positive electrode(+), negative electrode(-) correctly
4. Check out the pictures of the breadboard to make sure it will work
5. With the code in the part below, the lights should turn off when you cover the light (last 2 pictures)
Then you're finished with the first part!
Part 2 - Button & LEDs + Turtle Decoration
Part 2.1 - Button + Green & Red LEDs
1. Connect the button (or the wires) to D2 (as shown in the first picture)
2. Connect red LED to D12, green LED to D13 (as shown in the first picture)
3. Connect them to the resistors and positive electrode(+), negative electrode(-) correctly
4. Check out the pictures make sure it will work
5. With the code in the part below, it should turn to red LED when you connect them with the coin since it is conductive
Part 2.2 - Turtle Decoration
Just for decoration, therefore it is optional, you can choose whether you want to do it or not
The steps are easy, just connect a LED with any color you like to D pin (D4), and to a resistor and negative electrode. Check the pictures above
Part 3 - Final + Outer Box
The first picture is the final diagram of the electric circuit (combining part 1&2)
The second picture is how my final breadboard looks like (it's a little messy because I extended the wires)
Now, the last step is to create an outer case that covers the wires and makes your project look better!
The lengths of the box are shown in the pictures:
- 11 x 19.5 x 6 (cm)
Dig the holes on the upper part for the wires to pass through, also remember to dig another hole on the side for the breadboard to connect to your computer
Then you're done!
Coding
Here is the code for this project:
https://create.arduino.cc/editor/rachelhsiao0821/791efe8a-55d4-4693-99f8-3bc401ca3fda/preview
Test It!
- Here is the video with explanations
Enter the code and try if your project works!
There are some more pictures of my project above