Beginner

Tutorials adapted for novices and beginners in programming, home automation, systems. Some Topics: Arduino, ESP8266, Raspberry Pi

0
Get Started with HC-SR04, measure distance by ultrasound. Arduino code example

The HC-SR04 sensor allows you to make fairly precise distance measurements using an Arduino or a Raspberry Pi. In this tutorial we will learn how to use the ...

0
ESP32, GPIO pins and associated functions. I/O, PWM, RTC, I2C, SPI, ADC, DAC

The ESP32 is a micro-controller which has WiFi and Bluetooth connectivity (BLE, BT4.0 and Bluetooth Smart) as well as a GPIO. The pins are multi-function, ie ...

0
T-Watch. Simplified code for shutdown and wake-up with BMA423 or AXP202 of the ESP32

In the previous article taken from the example developed by Lewis Le, we saw how to wake up the screen and functions of the ESP32 TTGO T-Watch connected watch ...

1
T-Watch. Menu, pages, navigation between screens with TFT_eSPI

In this tutorial we will learn how to create menus (and scrolling menus) and navigate between the pages of an application using the TFT_eSPI library. This ...

0
T-Watch. Draw Mandelbrot or Julia fractals with an ESP32 and LVGL + TFT_eSPI

Google has just reminded us of the birth of Benoît Mandelbrot, the mathematician known as the father of fractals. This is the opportunity to make a small ...

0
T-Watch. Display XBM (TFT_eSPI) and C++ (LVGL) images. ESP32, Arduino compatible

The TFT_eSPI and LVGL libraries allow you to display images very simply. The TFT_eSPI library easily displays images in XBM format, which is in fact only an ...

0
Drive a Nema 17 stepper motor with the RpiMotorLib Python library for A4988

The RpiMotorLib library for Python 3 allows you to easily control stepper motors (ULN2003, L298N, A4988, DRV8825, A3967 or TB6612FNG driver) and direct current ...

0
Open an HTML page when starting Raspberry Pi OS with Chromium Browser in full screen (kiosk mode)

The Chromium browser installed by default on Raspberry Pi OS allows like all internet browsers to open a web page in full screen. Kiosk mode is used to display ...

0
How to store data on a micro SD card. Arduino code compatible ESP32, ESP8266

For connected object projects that require the storage of a large amount of data, it may be necessary to use micro SD card storage. Indeed, most Arduino ...

0
Getting started Arduino. Receive commands from the serial port (ESP32 ESP8266 compatible)

It is possible to use the serial port to receive commands directly in the Arduino code. We can for example control the GPIO from the serial monitor of a code ...

0
C++ functions print•println•printf•sprintf for Arduino ESP32 ESP8266. Combine•format → serial port

We use the serial monitor to debug the Arduino code, but there are many other things you can do. We will discover in this article the main methods to ...

0
C++ String functions. concat•c_srt•indexOf•replace•subString… for Arduino, ESP32, ESP8266

The C++ library for Arduino offers 24 functions to easily handle character strings. charAt • compareTo • concat • c_str • endsWith • equals • getBytes • ...

0
ESP32. How to connect to local WiFi network with Arduino code

The ESP-IDF Development Kit for ESP32 contains the WiFi class which provides all the tools needed to connect to the WiFi network. Unlike the ESP8266, the ...

0
I2C addresses of the most common sensors and actuators

To facilitate the development of your connected objects based on Arduino, ESP32, ESP8266, STM32 or Raspberry Pi micro-controllers, here is a list of the most ...

0
Get started with the I2C bus on Arduino ESP8266 ESP32. Wire.h library

The I2C bus is widely used to retrieve measurements or control equipment on Arduino, ESP32, ESP8266 and Raspberry Pi projects using the standard Wire.h ...

0
ESP32. How to use GPIO digital IO with Arduino code

The ESP32 has many pins that can be used as a digital input or output. The ESP32 also has pull-up and pull-down resistors which simplify the circuits. ...

DIY Projects
DIY Projects