#arduino #c #python #raspberry pi #wifi #DIY #smarthome #esp8266 #pi #IoT

How to make home IoT easier

On the last post I covered basic Arduino IDE setup/use with electrodragon’s relay board to get started for easy home automation. That was sometime ago, during this time it is true I have been busy with life’s needs but also the fact that to setup a home automation that works end to end needs many steps and variety of technologies made me think about the problem a bit deeper. So before I continue more, let me share the conclusion. ...

#arduino #electrodragon #relay #relayboard #AC #IoT #esp8266 #smarthome

Experimenting with a new gadget: Electrodragon's relay board

My first wifi connected board was the now discontinued Wemos D1. It offered Arduino UNO compatible shape/size and also hosted the mysterious ESP8266 on it. It also made it easy to experiment with the ESP8266 by allowing Arduino IDE to flash programs to it the usual/easy way without any extra hardware/buttons etc being necessary. I used that board to build a simple light on/off control for a hard to reach area at my home. ...

#arduino #gy-521 #mpu6050 #gyroscope #hourglass #C #C++ #ledcontrol #tilt sensor #maz7219 #8x8 #Matrix Display

Hourglass Project - Final Status - Part 6

Read earlier parts The Hourglass Project came to a finalization point. Project goals have been achieved. The LEDs light up and turn off giving the illusion of balls/sand particles falling down with the pull of gravity in all compass directions now. The hourglass also does automatic dimming/power saving if unused and on touch wakes up after power save. The combination of these make it a simple, but fully functional object satisfying the original targets. ...

#arduino #gy-521 #mpu6050 #gyroscope #hourglass

MPU6050 on GY-521 - Hourglass Prj Part 5

Read Part 4 After bringing hourglass to a satisfactory working level with the simple ball tilt sensor (see pic below) I wanted to go back to the original idea and make it work not only in the Upright-Upside-down directions, but also have the balls fall and roll in all compass directions as the object’s tilt angle changes. Of course the simple ball in a tube sensor cannot do that. It happens that a GY-521 breakout board with a MPU6050 on it was waiting for this opportunity. ...

#arduino #C #C++ #Cpp #ledcontrol #max7219

A working prototype - Hourglass Project - Part 4

Read Part 3 first The summary update is that I have a working hourglass prototype that delivers the basic requirements. Since the last update, the code changed considerably. Certain nice object-oriented concepts went away, bit packing and elimination of anything that can be replaced or reused from existing objects resulted in the code footprint to shrink to less than half the original size that was working on the PC. This allowed for a successful compile and upload to Arduino. ...