Blog

Writing

Guides and notes on Arduino, embedded, electronics, smart home, and code - migrated from the original 2BIT site.

DIY HomeKit System

So I wanted to connect my Smart-Home DIY system to Apple HomeKit and so it turns out it is not so hard to do. My system has an open source nodejs server and an easy to use API to control lights , TV, AC and more. The only thing I was missing is an easy to use UI with automation…

Performance of JVM vs native vs the world

, Performance tests in several basic scenarios to estimate languages runtime performance Lately I was trying to understand how virtual memory works and how JVM work and perform . My intuition was ' if a JVM is written in C, it is probably less performant than C ' So after a lot…

Debugging with colors and filters.

When writing code and delivering to customers you usually will find your self (or someone else ...) debugging your code throw log files and probably a lot of them. I know I do :) So I wrote my self a small helper tool based on Electron and vue.js + vuetifyjs . which makes it…

Monitoring Azure DC/OS microservices on terminal

If you like your realtime logs monitoring on terminal from anywhere while using your favourite searching and colouring tools like me, then you must read this. Azure DC/OS is a great tool, but getting the logs from each microservice instance using the dashboard is slow and…

Starting embedded programming

Subscribe to my YouTube channel During my search to start and learn embedded system programming, I was not able to find a good reference to start with. I was searching a reference that will easy me in into this topic. Because this topic not only hard to learn it is also consists…

Oscilloscope

To trail and error with Arduino sketchs you will need some tools, one of them is an oscilloscope, lets learn the basics of this important tool. AliExpress.com Product - Hantek 6022BE PC USB Digital portable Oscilloscope Storage 2Channels 20MHz 48M Portable PC USB Oscilloscopes…

Working with arvdude

If your are learning to code to Arduino and you write your own sketchs sooner to later you will need to learn about avrdude, so let's do that. avrdude is a command line utility developed by Atmel . It is used to burn sketches to your Arduino, configure your Arduino register and…

How to use multiple SPI devices with Arduino

While building my SmartHomeDIY project I encountered a problem trying to use multiple SPI devices connected to the same Arduino. Although the SPI bus should support multiple devices at the same time (toggling the Chip-Select line), this does not always work (mostly due to part…