一、用到的材料及软件 1.TTGO T-Display ESP32WiFi蓝牙模块1.14英寸LCD开发板 2.AHT10 温湿度传感器模块 可替代SHT20 高精度湿度传感器 3.Arduino IDE 二、成品演示 地标,湖南怀化夜郎国2021/1/10晚上10点,上面是湿度,下面是温度,有点小冷,主要是没有暖气。 三、驱动代码 /* An example digital cloc.....
The ESP32-CAM module is an amazing value. At less than 10 dollars you get a full-featured microcontroller that includes both a video camera and a microSD card socket. The supplied example sketch may be all that you need in order to create a useful product with this device. Of course yo...
Default example not working. I confirmed that the sensor works on esp8266 and esp32 with older version. enjoyneering/AHT10 [ 16][E][Wire.cpp:283] setClock(): Bus is in Slave Mode [ 116][E][Wire.cpp:308] beginTransmission(): Bus is in Slave Mode [ 116][E][Wire.cpp:331] endTra...
参考example/get-start/CMakeLists.txt 使用到的ESP32硬件外设 LEDC-> LEDC_TIMER_3,LEDC_LOW_SPEED_MODE,LEDC_CHANNEL_5,LEDC_TIMER_10_BIT I2C0-> 触摸使用,FREQ:400KHZ,需要触摸功能时,且需要使用触摸的I2C引脚时,驱动请使用i2c_bus, 具体使用参照aw9523的读写示例 快捷命令 载入开发板配置 在工程下运行...
ESP32 C3开发板(MicroPython v1.19.1 on 2022-06-18)+ AHT20温湿度模块 + BMP280压力传感器模块 + TFT ST7735屏幕 + 几根杜邦线 + Win10商业版 ESP32 C3和各模块接线方法: 三、示例代码 example.py AI检测代码解析 from machine import Pin,I2C,SPI from ahtx0 import AHT20 from bmp280 import BMP28...
if(!aht.begin()){ Serial.println("Could not find AHT20 Check wiring"); while(1)delay(10); } Serial.println("AHT20 found"); } voidloop(){ ArduinoCloud.update(); // Your code here // Create objects for sensor data sensors_event_thumidity,temp; ...
017_I2C_aht20 ESP32_Oh 2个月前 018_ADC_Light ESP32_Oh 2个月前 019_WIFI_Sta ESP32_Oh 2个月前 020_ADC_jj ESP32_Oh 2个月前 022_ADC_Soil ESP32_Oh 2个月前 023_I2C_MAX30102 ESP32_Oh 28天前 024_UART_NBIOT ESP32_Oh 28天前 025_UART_gps ESP...
目录一、题目要求二、关于SPI三、关于OLED 四、OLED显示姓名学号1、显示汉字取模2、程序代码分析如下3、实验效果展示五、总结六、参考链接一、题目要求理解OLED屏显和汉字点阵编码原理,使用STM32F103的SPI或IIC接口实现以下功能:1) 显示自己的学号和姓名; 2) 显示AHT20的温度和湿度;3) 上下或左右的滑动显示长字符,...
It allows you to use BME280, BME680, BMP085, BMP280, AHT10, AHT20 and AHT21 based sensors. Here we add the I²C Bus component because AHT20 communicates using I2C protocol. Visualize on Dashboard Step 1. On the Overview page of Home Assistant, click the 3 dots and click Edit...
then to start scanning you need to enter any name in the Name field in the settings, and then replace it with the one found during scanning and select the closest device type in the settings (field TYPE , for example, for teapots from RK-G(M)200S to RK-G(M)240S the protocol is ...