Inspiration
We all like Tamagotchi and found the idea of building one exciting, so we put it to the test and made one specifically to help you take care of your plants!
What it does
Plantchi measures the moisture of the plant's soil and puts it into three categories based on numerical parameters: just right, too dry, and too wet. The just right soil means a happy pet and corresponds with the happy face. Dry soil means a thirsty pet and corresponds with the sad blue face, indicating the need for more water, and overwatered soil shows another sad face.
How we built it
We used an ESP32 and programmed it in C++ using the Arduino IDE. For the graphics, we used the ST7735 LCD Display, and we measured soil moisture with the Capacitive Soil Moisture Sensor. We assembled everything with wires, then taped it together to fit inside a 3D-printed case.
Challenges we ran into
- Sprites and Animation: During the middle of designing the sprites, the program crashed, and we had to start all over again
- Display not working: We struggled to get the display to initially work due to incorrect wiring.
- Shared power supply: The ESP 32 and LCD display both had to use the same GND and VCC pins, so we originally used a breadboard to connect them. This, however, made it too bulky, so we ended up getting some Y-wire splitters, which compacted it and fixed the issue of the shared pins.
- Threshold values for moisture: We struggled to get the correct threshold values for the moisture levels. It would keep alternating between two values even though nothing changed, and it took us a bit of experimentation to get it correct.
- Putting it all together: We could not solder it together, and the wires were all over the place, making it bulky, so we improvised by taping it with masking tape.
- Case measurement: The taped-up components were bulky, and getting exact measurements for the 3D case was difficult.
Accomplishments that we're proud of
- Getting it to power up and work.
- Getting the sprite to be animated and on the display.
- Half the team had no hardware experience, so we’re proud of making this first step.
What we learned
- How to hook up an ESP32 and program it on Arduino
- How to put all the electronic parts together and use them
- Breadboarding
- Sprite animation
What's next for Plantchi
- We want to add a touch sensor so you can play and pet the plant buddy.
- Adding a photoresistor sensor so it can go to sleep when it gets dark
- Prompting an input for what type of plant, which will correspond to different moisture values and help keep it alive and healthy.
- Adding more animations, such as when currently watering, going to sleep, waking up, more emotions, etc.
- Adding a game aspect to it, such as feeding it and playing with it.
- Reconstructing it to make it stronger via soldering.
