ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

First Project ESP32 development using the TTGO T-DISPLAY

ttgo

#ttgo

ttgo t1

ttgo lora

ttgo test

ttgo t-beam

ttgo esp32

ttgo tcall

arduino

ttgo 32 oled

ttgo review

#ttgo t-call

ttgo lora test

gsm ttgo t call

ttgo t-beam test

ttgo t call india

ttgo-t display

ttgo esp32 camera

ttgo t-beam review

lora

ttgo t-call project

sim800l ttgo t call

ttgo lora32 review

ttgo tm music albums

ttgo t display board

ttgo t call projects

ttgo t call blynk app

esp32

bangood

howto

project

st7789

st7789v

lcd

dht22

Автор: Retro Tech & Electronics

Загружено: 2020-05-30

Просмотров: 38932

Описание: Code posted at:
https://technocoma.blogspot.com/p/dht...


Continuing from our last video on this topic on getting started with the ESP32 with the TTGO-T-Display, the first project will use a DHT22 sensor along with the existing screen and buttons on the unit. Firstly, I soldered the header pins onto the board before anything so it could be affixed to a breadboard. This allowed everything to be setup on the board.



We add one new library for ADAfruit Unified Sensor which I feel isn't necessarily needed, but may cause issues for some folks, and you may need it down the road. also, DHT sensor library, also from Adafruit.


Using the library documentation, we start with a simple program to get the sensor up and running to provide some sort of serial output. As we see the output working fine, we build upon this, adding the display functionality.


Simple output of hello world shows the color and font that is desired for what we want to do. This leads to some paper and pen design. Once established, its worked into code through trial and error in some cases until the desired result is achieved. Once dynamic values are added, we need a refresh, so screen blanking is employed. Its not the best method, but it keeps the project simple.



Building on this, new parameters are added to allow for the output to be Fahrenheit or Celsius. This is Boolean. Once incorporated we will need one of the buttons to change this value. The GPIO for the built in buttons are 35 and 0. For simplicity's sake we use interrupts for the buttons, since the work required in the interrupt is minuscule, its no big deal.


And while the interrupts are working, we see a bounce issue as expected and we will have to write in debounce filters into the code to stop this problem. 200millisecond filters seem to do the trick on this device. Once debounce is solved for, the boolean value change is tied to one of the buttons allowing for a change from F to C.


Now well create functionality for the next button for a heat index display. As the device will default to the screen we created we will design another screen and show a second screen based on a second boolean value controlled by button 2.


#esp32 #iot #arduino #maker

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
First Project ESP32 development using the TTGO T-DISPLAY

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Начало разработки ESP32 с использованием TTGO T-DISPLAY

Начало разработки ESP32 с использованием TTGO T-DISPLAY

CAN Gateway: беспроводной мониторинг автомобилей!

CAN Gateway: беспроводной мониторинг автомобилей!

HELTEC HT-CT62, ESP32C3+SX1262 на одной плате

HELTEC HT-CT62, ESP32C3+SX1262 на одной плате

Я создал нечто лучше, чем Flipper | ESP32-DIV v2

Я создал нечто лучше, чем Flipper | ESP32-DIV v2

Плата интернет-радио ESP32 TTGO T-Display

Плата интернет-радио ESP32 TTGO T-Display

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

ESP32

ESP32

Прекратите покупать платы Arduino! Собирайте их сами за 3 доллара!

Прекратите покупать платы Arduino! Собирайте их сами за 3 доллара!

Конкурент стику? Waveshare ESP32-S3-Touch-LCD-3.49 на обзоре!

Конкурент стику? Waveshare ESP32-S3-Touch-LCD-3.49 на обзоре!

Лучшая ли это плата ESP32? Новая плата T-Display S3 ESP32S3

Лучшая ли это плата ESP32? Новая плата T-Display S3 ESP32S3

⚙️Мощная бормашинка из китайских запчастей

⚙️Мощная бормашинка из китайских запчастей

Winter Is Coming!  T-display and BMP180 sensor

Winter Is Coming! T-display and BMP180 sensor

Сравнение датчиков температуры BME280 и DHT22, протестированных на TTGO T-Display ESP32

Сравнение датчиков температуры BME280 и DHT22, протестированных на TTGO T-Display ESP32

Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!

Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!

Boeing Insitu MQ-27 ScanEagle thermal imaging module, part 1

Boeing Insitu MQ-27 ScanEagle thermal imaging module, part 1

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

Как я с нуля сделал ноутбук на базе C64 — Portable 64 (эмуляция)

How to Display Custom Images , picture in LILYGO® TTGO T Display ESP32 || TTGO Own Custom Display

How to Display Custom Images , picture in LILYGO® TTGO T Display ESP32 || TTGO Own Custom Display

T-Display-S3 development board meets Breadboard

T-Display-S3 development board meets Breadboard

ESP32TTGO - Battery Indicator 🔋⚡

ESP32TTGO - Battery Indicator 🔋⚡

Największy atak Rosji kończy się upadkiem. Zmasowany kontratak zmusza Rosję do FATALNEGO odwrotu

Największy atak Rosji kończy się upadkiem. Zmasowany kontratak zmusza Rosję do FATALNEGO odwrotu

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]