You are browsing as a guest. Sign up (or log in) to start making projects!

37m 18s logged

Added status lights; finishing off full basic functionality for the pet. any additional features would be improvements, hardware additions, and wiring.
full explanation of functions below:

The “pet” is a TFT resistive touchscreen. Its face, as you can see, is a simple white and black pixelated look.

4 functions (for now):
lonely - after 30 seconds of no interaction, after waking up or not being pet, it will become lonely, which is a sad face of course. The backlight glows a gloomy blue, slightly purple.

neutral - base face, the pet is neutral when it isn’t lonely, had just woken up, and had recently been pet. the 3 other moods can occur when it is neutral. the backlight is white.

sleeping - when the ambient light is low enough the pet will sleep. It cannot be disturbed and cannot become lonely until woken up. This is what i personally thought was a nice addition to the pet and would bring more realism and life to the pet. This is done by having a photocell near the face for most light accuracy. the backlight features a light purple blue.

happy - when you pet it (or interact with the screen), it will smile. the blush being blue and not red was both intentional and unintentional feature. The color system is inverted same with the screen rotation. I did not know how to correct it but i felt the blue looked different and I kinda liked it so I didn’t spend extra time troubleshooting. the backlight features a bright hot pink color.

PLEASE add any suggestions and I will likely consider, like adding a thermistor, weather, USB OTG, etc.

When i feel like it, I may add a USB mode where it can do things on my computer when plugged in, like opening an app or powering off my computer.

(the 35 minutes logged was for fixing the code and adding the lights. Not the full code itself.)

0
5

Comments 0

No comments yet. Be the first!