Skip to main content

Run ESPHome on ESP32-C2

ESPHome and ESP32-C2

The marriage of Espressif ESP32-C2 (also known as ESP8684) and ESPHome has arrived.

With a minor limitation of MDNS not functioning and only 2 MB of flash storage, the device is functional enough for basic input, output and sensors.

Here is an example ESPHome configuration YAML file.  It is for the ESPC2-01 module with a status LED and HTU21D temperature and humidity sensor connected via I2C.

Migrate/Upgrade Ubuntu 18.04 LTS (Bionic Beaver) GNU/Linux from 32 bit to 64 bit HowTo

Linux Tux on a velvet pillow, original Tux model by Fromaigeat Jean-Paul https://grabcad.com/library/tux-3
Sorry, no more upgrades for this system
There will not be any further Ubuntu releases for this system's 'i386' architecture. 
Updates for Ubuntu 18.04 will continue until April 2023.

This guide is for you if you've seen the above message and you want to upgrade your Ubuntu system to 20.04 LTS.

This brief HOWTO shows how to take a working 32 bit 18.04 installation and convert it into a 64 bit system. You will be able to keep all your programs, settings and data. Once converted to 64 bit you can plan the upgrade to 20.04 LTS.

Classifications

Use EEPROM and other memory on Arduino with wear leveling

Printed Circuit Board (PCB)

Here is an Arduino library allowing you to write to all flash or EEPROM space with wear leveling. The library already supports multiple memory types (internal EEPROM, I2C and SPI) and can be extended very easily to support others. The memory space can be used as a space to store configuration data with wear leveling, or to read and write (at the same time) sensor data filling the whole memory space efficiently.

Classifications

Add another hardware serial port to Arduino (MAX3100 library)

Random green binary digits

A complete Arduino library for the MAX3100 serial UART/USART chip can be downloaded below. There have been many requests for an Arduino library for the MAX3100 external serial USART (UART) chip from Maxim Integrated. As an example of the minor changes needed to use the MAX3100's serial port instead of (or in addition to) the built in serial port, here is some sample code (note the lower case 's' is the only change needed to use the new serial port).

Classifications

SN74HC595 shift register simulation directly in Arduino

Random green binary digits

There exists little practical information assisting with the experimentation of '595 shift registers.  This article and below Arduino sketch aim to address this vacuum.  The sketch simulates one or more (chained) 595 shift registers on the serial monitor while simultaneously driving the IC or ICs via the Arduino's pins.  This allows concurrent theoretical and practical experimentation with the 74HC595 first-in-first-out (FIFO) shift register family.

Classifications