How to use I2C LCD with ESP32 on Arduino IDE

LCD-display-featured-image-600

A how-to on using an I2C LCD display with the ESP32 using Arduino IDE from Random Nerd Tutorials:

This tutorial shows how to use the I2C LCD (Liquid Crystal Display) with the ESP32 using Arduino IDE. We’ll show you how to wire the display, install the library and try sample code to write text on the LCD: static text, and scroll long messages. You can also use this guide with the ESP8266.

See the full post at randomnerdtutorials.com.

Dual ultrasonic sensors combine for 2D echolocation

F4UGJR8JIXQHU3D-600

A how-to on making a Dual-sensor ultrasonic echo locator by lingib, project instructables here:

This instructable explains how to pinpoint the location of an object using an Arduino, two ultrasonic sensors, and Heron’s formula for triangles. There are no moving parts.
Heron’s formula allows you to calculate the area of any triangle for which all sides are known. Once you know the area of a triangle, you are then able to calculate the position of a single object (relative to a known baseline) using trigonometry and Pythagoras.
The accuracy is excellent. Large detection areas are possible using commonly available HC-SR04, or HY-SRF05, ultrasonic sensors.
Construction is simple … all you require is a sharp knife, two drills, a soldering iron, and a wood saw.

Via Arduino Blog.

Check out the video after the break.

ESP32 with multiple DS18B20 temperature sensors

multiple-ds18b20-temp-sensor-thumbnail-600

Guide to ESP32 with multiple DS18B20 temperature sensors from Random Nerd Tutorials:

This guide shows how to read temperature from multiple DS18B20 temperature sensors with the ESP32 using Arduino IDE. We’ll show you how to wire the sensors on the same data bus to the ESP32, install the needed libraries, and a sketch example you can use in your own projects. This tutorial is also compatible with the ESP8266 and the Arduino boards.

EEPROM rotation for ESP8266 and ESP32

naked-esp12-624x416

Xose Pérez over at Tinkerman writes:

The Arduino Core for ESP8266 and ESP32 uses one SPI flash memory sector to emulate an EEPROM. When you initialize the EEPROM object (calling begin) it reads the contents of the sector into a memory buffer. Reading a writing is done over that in-memory buffer. Whenever you call commit it write the contents back to the flash sector.
Due to the nature of this flash memory (NOR) a full sector erase must be done prior to write any new data. If a power failure (intended or not) happens during this process the sector data is lost.
Also, writing data to a NOR memory can be done byte by byte but only to change a 1 to a 0. The only way to turn 0s to 1s is to perform a sector erase which turns all memory positions in that sector to 1. But sector erasing must be done in full sectors, thus wearing out the flash memory faster.

How can we overcome these problems?

Full details at tinkerman.cat.

Amiga 500 power supply build

PowerSupplyBuild

A how-to on building an Amiga 500 power supply from Inkoo Vintage Computing:

The power supply of my Amiga 500 is a bit unreliable. I’ve had some issues with the machine where the PSU could be the culprit, so I thought that it would be better to get a new power supply. There are used Amiga 500 power supplies occasionally available on online auctions, and there are also unused (but probably quite old) power supplies available on some online retailers. The issue with these 20-30 year old power supplies is that the capacitors are starting to dry. This can be a fire hazard, as old capacitors may even explode (this has happened to the PSU of my old IBM XT, it was not a pleasant experience). So in order to get safe and reliable operation from an old PSU, the capacitors should be replaced.

More details on Inkoo Vintage Computing homepage.

Video tutorials: Building the Arduino based data loggers

From the comments on our Arduino data logger post:

A visiting researcher dropped by our humble basement workshop with questions about the physical skill level students would need if they added one of our DIY data loggers to their environmental curriculum. I figured the easiest way to cover that was to simply build one, while they recorded the process.
The result of that 3 hour session is now available on YouTube

Thanks Edward Mallon!

Project info at the Cave Pearl Project website.

Tutorial: Setting up a low cost QRP (FT8, JT9, WSPR etc) monitoring station with an RTL-SDR v3 and Raspberry pi 3

qrp_ft8_jt965_wspr_2

A detailed tutorial on how to set up a cheap QRP monitoring station using an RTL-SDR V3 and a Raspberry Pi 3 from rtl-sdr.com

This tutorial is inspired by dg0opk’s videos and blog post on monitoring QRP with single board computers. We’ll show you how to set up a super cheap QRP monitoring station using an RTL-SDR V3 and a Raspberry Pi 3. The total cost should be about US $56 ($21 for the RTL-SDR V3, and $35 for the Pi 3).
With this setup you’ll be able to continuously monitor multiple modes within the same band simultaneously (e.g. monitor 20 meter FT8, JT65+JT9 and WSPR all on one dongle at the same time). The method for creating multiple channels in Linux may also be useful for other applications. If you happen to have an upconverter or a better SDR to dedicate to monitoring such as an SDRplay or an Airspy HF+, then this can substitute for the RTL-SDR V3 as well.

More details at rtl-sdr.com.

5 LDO regulator considerations other than voltage and current

Pryamiduino-R4-with-LDO-Regulator-Disabled-1600px-760x427

James Lewis over at Bald Engineer writes, “For an AddOhms series, I created a DIY Arduino I am calling the “Pyramiduino.” It is an ATmega328p based board in the shape of a triangle. Other than being cute, the shape does not offer any other benefit. The design features a 3.3 volt LDO Regulator, which is also the subject of this post.”

More details on Baldengineer’s tutorial page.

Arduino time attendance system with RFID

circuit-600

A how-to on building a time attendance system with MFRC522 RFID Reader and Arduino from Random Nerd Tutorials:

Before getting started it’s important to layout the project main features:
*It contains an RFID reader that reads RFID tags;
*Our setup has a real time clock module to keep track of time;
*When the RFID reader reads an RFID tag, it saves the current time and the UID of the tag in an SD card;
*The Arduino communicates with the SD card using an SD card module;
*You can set a check in time to compare if you are in time or late;
*If you are on time, a green LED lights up, if you are late, a red LED lights up;
*The system also has a buzzer that beeps when a tag is read.

More details at randomnerdtutorials.com.

Check out the video after the break.

DIY Moteino guide

p-image9-600

Felix writes, “I posted a short illustrated guide for making your own Moteino from SMD components. It also includes details how to burn the bootloader and fuses. Check it out here. Thanks and credit goes to forum user LukaQ for his contribution of the images and test sketches in this guide!

See the full post at LowPowerLab.