Description
Projects with Arduino, ESPHome, Home Assistant, and Raspberry Pi & Co.
We start by learning about electrical engineering by looking at the basics of voltage and current and the types of resistors, diodes and transistors. In the second chapter, we get to know the most famous microcontroller, the Arduino Uno. We will analyze its structure, learn how to code and carry out illustrative examples.
In chapter three, we set up Home Assistant on a Raspberry Pi. We look at scenes, automations and the general handling of HA.
We then look at the MQTT protocol, which is the gold standard in home electronics communication, so to speak, but other interfaces such as I²C, SPI and UART are also explained in detail in this chapter.
In the following chapter we will take a look at the ESP8266, the more modern ESP32 and of course the ESP32-CAM. First some theory, followed by practical examples.
Indoor climate sensors for temperature and humidity, motion sensors, RFID readers and many more sensors are explained in detail in chapter 7, followed by practical examples.
Chapter 8 deals with actuators such as the 7-segment display, servo motors, displays, stepper motors and much more.
You can use ESPHome to integrate sensors and actuators into Home Assistant without any programming effort. In this chapter, you will be guided step by step through how to integrate your own sensors.
Do you want to bring more colorful light into your living space? Then the chapter on LEDs is just right for you. The different types of LED lights are explained here and, of course, the basics of lighting technology are not forgotten.
There are a lot of ICs in electronics that make our lives easier; in this chapter we get to know a few ICs and the basic knowledge is immediately put into practice.
All code examples do not have to be typed out, you can download them for free from GitHub and modify them. The respective link (with QR code) can be found in the code example.