0% found this document useful (0 votes)
145 views107 pages

Practicas de Laboratorio Esp32

The document outlines steps for connecting a DC motor and programming an ESP32, including using various libraries such as Adafruit GFX and SSD1306. It also details sensor readings and communication protocols for data transmission. Key components include DHT sensors, WiFi connectivity, and MQTT topics for data handling.

Uploaded by

ton711633
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views107 pages

Practicas de Laboratorio Esp32

The document outlines steps for connecting a DC motor and programming an ESP32, including using various libraries such as Adafruit GFX and SSD1306. It also details sensor readings and communication protocols for data transmission. Key components include DHT sensors, WiFi connectivity, and MQTT topics for data handling.

Uploaded by

ton711633
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 107














𝑇𝑖𝑒𝑚𝑝𝑜 𝑑𝑒 𝑣𝑖𝑎𝑗𝑒 × 𝑉𝑒𝑙𝑜𝑐𝑖𝑑𝑎𝑑 𝑑𝑒𝑙 𝑠𝑜𝑛𝑖𝑑𝑜


𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑖𝑎 =
2

• Adafruit GFX

• Adafruit SSD1306
𝑇𝑖𝑒𝑚𝑝𝑜 𝑑𝑒 𝑣𝑖𝑎𝑗𝑒×𝑉𝑒𝑙𝑜𝑐𝑖𝑑𝑎𝑑 𝑑𝑒𝑙 𝑠𝑜𝑛𝑖𝑑𝑜
𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑖𝑎 = 2













• Adafruit GFX

• Adafruit SSD1306



analogWrite()
delay()
tone()

noTone()









• Adafruit GFX

• Adafruit SSD1306

• DHT




Paso 1: Conexión del Motor DC y el Módulo de Control


Paso 2: Programación del ESP32


Paso 3: Prueba del Sistema
















• Adafruit GFX

• Adafruit SSD1306

• Adafruit Unified Sensor


dht.readHumidity() dht.readTemperature()












TU_SSID TU_CONTRASEÑA

test/topic

test/topic
test/topic





• DHT

• PubSubClient

• WiFi





"TU_SSID" "TU_PASSWORD"






• ESPAsyncWebServer

• SMTPClient
YOUR_SSID YOUR_PASSWORD [email protected]

YOUR_PASSWORD [email protected]





o
o

o
o




𝑇𝑖𝑒𝑚𝑝𝑜 𝑑𝑒 𝑣𝑖𝑎𝑗𝑒 × 𝑉𝑒𝑙𝑜𝑐𝑖𝑑𝑎𝑑 𝑑𝑒𝑙 𝑠𝑜𝑛𝑖𝑑𝑜
𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑖𝑎 =
2































• MFRC522










• Adafruit GFX

• Adafruit SSD1306
𝑆𝑒𝑛𝑠𝑜𝑟𝑉𝑎𝑙𝑢𝑒×5.0
𝑝𝑝𝑚 = 1024.0















• Adafruit GFX

• Adafruit SSD1306

• DHT

• ThingSpeak

You might also like