Add a Display to Your DIY Project (Beginner Friendly!)

  Рет қаралды 4,254

ResinChem Tech

ResinChem Tech

Күн бұрын

Want to take your DIY project from basic to brilliant? Adding a display can completely transform its functionality and look! I'll walk through a few of the different types of displays available, how to choose the right one for your needs, and the step-by-step process of connecting it to an ESP32. I'll also cover the basics of configuring each device with ESPHome or Arduino so that you can show data from your DIY project or even from Home Assistant or other external sources.
See the written guide for copies of all the wiring diagrams, ESPHome and Arduino code snippets and more: resinchemtech.blogspot.com/20...
Chapter Links:
=============
00:00 Intro
01:17 Test Setup Used
01:50 LCD1602 (I2C)
06:32 SSD1306 (I2C)
11:55 SPI vs. I2C
14:04 MAX7219 7-Segment (SPI)
18:57 MAX7219 Matrix (SPI)
24:39 ST7789 (PCI)
31:23 ILI9341 (PCI)
36:22 Using Sensor Data
40:50 Additional Info
Parts Used or Shown:
===================
ESP32 Mini: amzn.to/3VkG4La
LCD1602 I2C Display: amzn.to/3R5S0y1
SSD1306 I2C Display: amzn.to/3yItfBG
MAX7219 7-Segment SPI Display: amzn.to/4aVIULn
MAX7219 Matrix SPI Display: amzn.to/3x5dpQR
ST7789 SPI Display: amzn.to/3Kn4Hk8
ILI9341 SPI Display: amzn.to/3X0r9XB
DHT22 Temperature and Humidity Sensor: amzn.to/4aE3oIb
Dupont Jumpers: amzn.to/3VlKRw2
5V 10A Power Supply: amzn.to/3WXU4LZ
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but as an affiliate this channel may earn a small commission if you make a purchase.
Additional Information and Links:
================================
DIY ESP Breakout Board: • Bench Testing Made Eas...
ESPHome Official Site: esphome.io/
printF Formatting Reference: cplusplus.com/reference/cstdi...
Creating how-to content can be a time-consuming and occasionally costly process. If you'd like to help support this channel, or just say thanks, you can consider buying me a cup of coffee:
www.buymeacoffee.com/resinche...
#esp32 #arduino #leddisplay

Пікірлер: 24
@Tntdruid
@Tntdruid Ай бұрын
Very nice guide, was looking for one for displays 👍
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks. A pretty long video (with a fair amount of repetition), but I figure most folks will be looking for one particular type of display or another and will skip ahead to those sections and not necessarily watch the entire thing from start to finish. Therefore I wanted each display to sort of stand on its own for those only interested in one or two different options. Thanks for watching and thanks for the comment!
@Tntdruid
@Tntdruid Ай бұрын
Long is not a problem for me 👍
@maschinenorganismus
@maschinenorganismus Ай бұрын
Like your style, right to the point. Keep it up!
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks... I appreciate the kind words!
@rachaelb9164
@rachaelb9164 Ай бұрын
OMG I love your shirt. It’s exactly what I said when I was having issues with my LED’s flashing and added a resistor lol.
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks! Sometimes it's amazing what a difference a little resistors can make. Thanks for watching!
@DaveA-sb7ue
@DaveA-sb7ue Ай бұрын
What a great video! Lots of good information on the displays and use. I have a dozen temp and humidity sensors around the house and can see adding a display to the case would be a cool project . Thanks for the information and adding another project to my project list. Keep up the great work! Excellent t-shirt by the way!
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks Dave! While most the stuff we do can always be displayed on a Home Assistant dashboard, have a local display can be nice for many things as well. Oh... and thanks for noticing the t-shirt!
@binarybox.binarybox
@binarybox.binarybox Ай бұрын
Well presented with a lot of info. I've built projects with 7 seg and oled for GPS displays and 8x8 MAX7219 for scrolling text with bluetooth ....all using arduino but hope to try other controllers if I get the time.
@ResinChemTech
@ResinChemTech Ай бұрын
Most of my projects that use a display of some sort are Arduino-based as well, but I have a few that use ESPHome. ESPHome is nice when you need something with native integration into Home Assistant, but Arduino generally give you more advanced features. Thanks for watching!
@dartfrogdk
@dartfrogdk Ай бұрын
Very Very nice tutorial, great job
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks! I appreciate the comment.
@derekluckhurst9406
@derekluckhurst9406 Ай бұрын
Very nice guide. I was doing a project previously and was trying to add static text after a home assistant value and could not figure out the syntax. I could get test before the value, but not after. I even tried using a seperate print statement, but that created layout issues. Is this possible?
@ResinChemTech
@ResinChemTech Ай бұрын
Thanks. You can certainly add static text after the value. In fact, if you go back and watch the section where I am using the temperature from the DHT22 sensor, you'll see that I added a static °C after the value from the sensor. The formatting can be a bit tricky, especially if you aren't familiar with using printf in Arduino. But you can add static text before or after a format string (or both). For example, again using temperature as an example, I could do something like: printf(.... , "The basement temperature is %.1f °C", id(sensor).state); The value (or state) of the sensor would be dropped into the format string that begins with "%" and the output to the display would be: The basement temperature is 21.9 °C Just make sure you leave a space after the format string and before any trailing text. Otherwise, your static text will be seen as part of the format structure... and this will likely cause a syntax or other error. Hope that info helps!
@Ron_Rhodes
@Ron_Rhodes Ай бұрын
Have you checked out the CYD, the Cheap Yellow Display with an ESP32 built in? I got some of the example code to work, but could not get my own code working using display, touch, sound, and SD card working at the same time.
@ResinChemTech
@ResinChemTech Ай бұрын
I did run across those in my research of some of these other displays, but I haven't tried one. I've received a number of "offers" from various sellers that have a display with an ESP32 integrated, but I rarely do product reviews on my channel, so despite the offer of a "free" board or display in exchange for a review, I turn those down. If I had a particular need for one and I felt like it would fit with my channel, I would possibly consider it. But if I ever come up with a use case for my home, I would definitely consider picking one up and giving it a try. Thanks for the comment!
@rrrrrrrr290
@rrrrrrrr290 Ай бұрын
I followed your video to make weather display using ili9341 screen, had to conect led pin to 3.3 v to make work , wount work on pin gpio21.
@ResinChemTech
@ResinChemTech Ай бұрын
If you use a GPIO pin, you must define this pin as an output component and then include that output in a light component in ESPHome. This allows you to set the brightness of the backlight using PWM. Or you can just set the pin to high for always-on full brightness. In effect, this provides the 3.3V that the backlight needs. I didn't show that here as I only include basic snippets of code. But it covered in the full ESPHome documentation. For Arduino, you can just set the GPIO pin to output/high or define PWM as well. Sorry for any confusion. Time simply did not permit me to fully cover either the ESPHome or Arduino code for each display, but the links I provide in the written guide do contain complete examples. But as you found, you can also just use 3.3V for the LED backlight if desired... there just won't be a way to turn the backlight off as opposed to using a GPIO pin.
@rrrrrrrr290
@rrrrrrrr290 Ай бұрын
@@ResinChemTech just got it working this way, thanks for your help thinking of adding motion sensor to turm back lifgt on and off
Level Up Your WLED Projects: A Guide to adding Components (no code!)
43:37
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 517 М.
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 8 МЛН
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 39 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Intercom and Doorbell Smart Modules for Home Assistant | ESPBell
8:23
PricelessToolkit
Рет қаралды 81 М.
A Beginner's Guide to DIY LED Projects
39:37
ResinChem Tech
Рет қаралды 14 М.
I found PERFECT display
51:32
upir
Рет қаралды 555 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 556 М.
A New Parking Assistant using ESP8266 and WS2812b LEDs
21:32
ResinChem Tech
Рет қаралды 64 М.
DIY Portable Monitor made of an old Laptop screen
5:25
DIY Maker - NAMBARON
Рет қаралды 1,7 МЛН
MCP23017 Port Expander and ESPHome: Add More I/O Pins to Your Project
20:39
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Telefonu Parçaladım!😱
0:16
Safak Novruz
Рет қаралды 24 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 2,5 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 3,8 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 189 М.