Skip to main content

Posts

Showing posts with the label robotics

Soil moisture sensor (hygrometer) and KISS

I always tell everyone about KISS (keep it simple stupid). Do everything as simply as you can. If it can be simpler, make it simpler. Today, I realized I went overboard. I lied. Because today I connected flowers to an Arduino to see when they need watering.  Red means it's dry and needs watering.  Blue is okay.  Green is all good.  It's very easy to add a voice so the flower would speak from a speaker saying "water me."  Or to add automatic watering so the water from a bottle would pour itself through a tube. Example here .  But isn't that over-engineering? And yet, I preach KISS... 😄 Elements: https://arduino.ua/prod521-datchik-vlajnosti-pochvi-gigrometr  https://arduino.ua/prod2966-modyl-rgb-svetodioda-ky-016-dlya-arduino (The total cost is slightly over 1 euro) Demo (testing on Production Env 🙀): Please share your thoughts.  Would you want this in your home, or is it too much? 💦😂😍

Arduino UNO and Python

When we talk about microcontrollers, like Arduino, the first thing that comes to mind is "C/C++". C/C++...  To write something complex, one needs to know C/C++. But is that really the case? I just want to share how I do everything I want with Arduino using Python. Why Python?  Why choose Python, you might ask? One of the reasons is the availability of numerous libraries that are already developed, making integration with controllers super fast. For instance, I've integrated MediaPipe with my Arduino. The result? The LCD displays hand positions, and using 5 LEDs, I can indicate the number of fingers I'm showing with my hand. When I show 0 fingers, all lights are off.  For 1 finger, 1 LED lights up.  For 2 fingers, 2 LEDs light up.  For 3 fingers, 3 LEDs light up.  For 4 fingers, 4 LEDs light up.  And for 5 fingers, all 5 LEDs light up. So, there you have it: a simple demonstration of integrating MediaPipe with Arduino using just one script. Could you ac...