-
1Introduction
Introducing Pet Pot - Not Your Ordinary Planter!
Have you ever wanted a plant that communicates with you? Well, that's exactly what Pet Pot is all about! Pet Pot is not just an ordinary planter; it's a smart planter with a unique personality.
Pet Pot uses high-tech sensors to understand what's happening in its environment. It pays attention to things like temperature, humidity, soil moisture, air quality, UV index, and light intensity. And guess what? It expresses its feelings through emojis!
Imagine this: If you forget to water the plant and the soil is dry, Pet Pot might display an angry or sad emoji animation. If the room gets too hot, it'll show a hot emoji. And when the lights go off, it'll put on a sleepy emoji. There are plenty of other emojis to discover, each telling you something different about your plant's well-being.
But that's not all! Pet Pot doesn't just show emojis; it also gives you real-time information about the temperature, humidity, soil moisture, air quality, UV index, and light intensity in its surroundings. It's like having a personal weather station right in your plant pot.
And here's the exciting part: We've gone a step further. We've created a system that stores all this real-time data in a MySQL database on the same device as Pet Pot. We've even set up a NodeRed server to create a user-friendly dashboard. This means you can access and analyze all the data using your everyday devices, like your phone or laptop.
With Pet Pot, you'll not only have a healthy and happy plant but also a fun and interactive addition to your home. It's the future of plant care, and it's here to make your life greener and more exciting. Get ready to experience the magic of Pet Pot!
-
2Supplies
-
3CAD Designing & 3D Printing
- First, I used a program called Fusion 360 to create the design for Pet Pot. I made sure to carefully look at all the official data sheets and documents for the electronic components I was going to use. After that, I 3D printed all the parts needed for Pet Pot.
- You can take a look at the design in your web browser or on your mobile app, and if you want to make any changes to it, you can do that using the Fusion 360 software. You can also find the STL files, which are the 3D printing files, right here for easy access : Pet Pot STL, Codes, and Other Files
-
4Mounting Bracket
Now that we have our 3D printed parts ready , the next step is to join them together.
- Take the 3D printed mounting bracket and align it with the Unihiker board in the desired position.
- Use the three screws to attach the bracket securely to the board. Insert each screw through the bracket's holes and into the corresponding holes on the board.
- Tighten the screws carefully to ensure a firm connection, but be cautious not to overtighten and damage the components.
-
5Adding a Transparent Display Cover
In this step, we'll give Pet Pot a sleek look by adding a black see-through glass as a protective visor for the display on the main body. We'll use glue to secure it in place.
Take the black see-through glass and ensure it's clean and free from any smudges or debris.
Apply a thin, even layer of adhesive glue to the edges of the display area on the main body of Pet Pot. Be careful not to use too much glue to avoid excess spillage.
Gently place the black see-through glass over the glued area, ensuring it aligns perfectly with the display.
- Press down lightly on the glass to secure it in place. Make sure it sticks evenly to the main body.
- Allow the glue to dry as per the manufacturer's instructions. This may take some time, so be patient.Once the glue has completely dried, you'll have a stylish and protective visor for the display on your Pet Pot. It not only adds a sleek appearance but also safeguards the display from dirt and damage.
-
6Waterproofing the Soil Moisture Sensor
In this step, we'll make sure the soil moisture sensor is protected from water by attaching a 3D printed cover using hot glue.
- Take the 3D printed cover designed for the soil moisture sensor.
- Heat up your hot glue gun and allow it to reach the appropriate temperature for gluing.
- Apply a generous amount of hot glue into the sensor cover bottom body .
- Carefully place the soil moisture sensor into cover body, apply some more glue on the exposed components of the sensor.
- Press the top cover gently but firmly to ensure a secure bond with the bottom body.
-
7Connecting the Sensors to the Board
Now, let's connect the sensors to the unihiker board. The air quality and environment sensors can be easily connected using the provided connectors, thanks to the manufacturer's user-friendly design. Follow the diagram for proper connections.
Air Quality and Environment Sensors (I2C Connection):
- Use the provided connectors for these sensors.
- Follow the diagram to connect them as indicated.
Soil Moisture Sensor (Custom Connection):
- If you're using the soil moisture sensor provided in the supply, it's straightforward with the provided connectors.
- I made adjustments because I didn't have the particular sensors model, follow the circuit diagram for the modified connections.
- Ensure the connections are secure and properly aligned.
Additionally, keep in mind that due to design constraints, a 90-degree Type-C cable is being used instead of the standard Type-C cable for power and data transfer.
Make sure to double-check the connections to ensure they are accurate and secure.
-
8Mounting Electronics to the Main Body
In this step, we'll secure all the electronic components to the main body of Pet Pot using screws.
- Place all the electronic components (Unihiker board with the 3D printed mounting bracket, and other sensors or modules) onto the main body in their designated locations.
- Using the appropriate screws, attach each electronic component to the main body. Ensure that you align the mounting holes on the components with those on the main body.
- Tighten the screws carefully, making sure not to over-tighten and damage the components. Use small screwdrivers to reach the inner locations.
- After securing all the components, check to ensure that they are firmly attached and stable. Gently shake the assembly to confirm that nothing is loose.By completing this step, you'll have successfully mounted all the electronics securely to the main body of Pet Pot. This ensures that the components are in the correct positions and will function properly as part of your smart planter project.
-
9Plant Your Green Friend
Now, let's bring your Pet Pot to life by planting a real plant and assembling everything together.
- Select a suitable plant for your Pet Pot and carefully transplant it into the 3D printed pot body. Ensure the plant is potted with soil.
- Gently insert the soil moisture sensor into the soil near the plant's root system. This sensor will help monitor the moisture level to ensure your plant gets just the right amount of water.
- Place the 3D printed pot body, now containing the plant and soil moisture sensor, into the main body of Pet Pot. Make sure it fits snugly and aligns correctly.Now, with your plant nestled within Pet Pot's now lets make it smart using some codes and logics.
-
10Choose Your Pet Pot Program
You have the option to choose between two Python programs for your Pet Pot: "SimplePetPot" and "AdvancePetPot," depending on your level of programming and data needs.
SimplePetPot (For Beginners):
- This program is designed for users who are not deeply into programming.
- It displays emojis on the Pet Pot's display based on sensor readings, making it easy to understand your plant's needs.
- Additionally, it shows real-time sensor data directly on the display.
AdvancePetPot (For Advanced Users):
- This program includes all the features of SimplePetPot.
- In addition, it provides MySQL data storage capability, allowing you to record and analyze sensor data over time.
- You can also set up a NodeRed dashboard for a user-friendly interface to visualize and manage your data using your phone or laptop.
Choose the program that best suits your needs and level of expertise. With either option, you'll be able to interact with and care for your Pet Pot in a way that fits your preferences.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.