Category: Home Automation

PLC – ADC Readings

One of my concerns on 600V design is how to make ADC readings in the 600V area. I need 3 x Current sensors, 1 x DC Voltage Sensor and 1(2) x Temperature sensors in addition to support for up to 3 resolver sensors as well as an external motor temperature sensor. That sums up to…

Read the full article

Home Autiomation – LoRa based Bootloader

One of the things I am looking into is to have a bootloader through LoRa. Making one is straight forward, but I actually think I can use the build.in silicon bootloader as is… You probably know that all STM32 MCU’s comes with a build-in bootloader in ROM located at a special address. You invoke this…

Read the full article

Home Automation – Moisture Sensor

It’s spring and summer comping up, and I am spending a bit of money on flowers every year so I would like to know more accurately their condition. Weather can change from very hot to very wet and not all plants get what they need from rain – some plants also get to much water…

Read the full article

Home Automation – Moisture ratnest

This picture shows my current development ratnest of a moisture sensor connected to a LoRa unit. It’s a few extra components that have nothing to do with this project, but it’s a good reminder why I seldom do breadboard ratnests anymore. The wiring failure trate is very high, but in this case it worked out…

Read the full article

BSA – Abstraction Layer

This block diagram only illustrate a few of the modules in the Abstraction Layer – loads of more will be added as needed. I started this library years ago so it has existed in various versions, but are re-designing it to be cleaner now. This is a C++ library designed to make coding of user…

Read the full article

HMI – Display Abstraction Layer

I am working on “alDisplay” that is my embedded abstraction class to LCD/TFT diplays. This is quite a challenging task because I will have to deal with how specialized and proprietary these displays are and on top of that performance. The drawing above illustrate four layers – in my case actual hardware (orange) and three…

Read the full article

Home Automation – Battery lifetime

Ferrite RAM is one of the older RAM techniques used on old mainframes dating back to the 60s, but have in recent years also been popular as a replacement for EEPROM and flash because it is fast and have close to unlimited rewrites. I recently purchased a bunch of FRAM chips with the same interface…

Read the full article

Home Automation – Closed network

A lot of IoT/Cloud solutions focus on access through internet, while I want a closed network of sensors in my house with a switch that enable very secure and restricted access from outside that network. I don’t want it to be fysical possible to break in without fysical access. But, I want to use Wifi…

Read the full article