lcd_api.pyĬopy the following code and save it as lcd_api.py in Raspberry Pi Pico. The LCD & DHT11 Sensor doesn’t work directly as it requires few libraries. The 1st one is i2c_lcd.py, the 2nd one is lcd_api.py, 3rd one is dht.py & 4th one is main.py. The red LED is connected to GP4 & green LED is connected to GP5 of Raspberry Pi Pico. The VCC, GND & output pin of the DHT11 Sensor is connected to the VSYS, GND & GP2 of Raspberry Pi Pico. Connect the SDA & SCL pins of the LCD to Raspberry Pi Pico GP0 & GP1 pins respectively. This is a raspberry-pi based temperature and humidity logger that uses DHT11 sensor for measurement and it is unique as it not only reads temperature from. The schematic for the Mini Weather Station with DHT11 Sensor, Raspberry Pi Pico & LCD Display is given below.Ĭonnect the LCD VCC & GND Pin to Raspberry Pi Pico 5V & GND Pin respectively. Mini Weather Station with DHT11 & Raspberry Pi Pico There is a dedicated post about DHT11 Raspberry Pi Pico interfacing in one of our previous article. Its application-specific digital module acquisition technology and temperature and humidity sensing technology ensure that the product has extremely high reliability and excellent long-term stability. From this kit, you can use the following components.ĭHT11 Temperature & Humidity sensor is a temperature and humidity composite sensor with calibrated digital signal output, it includes a resistive humidity sensing element and an NTC temperature measuring element, and is connected to a high-performance 8-bit microcontroller. You can buy the kit and perform some other operations as well. In this guide, I used Elecrow Raspberry Pi Pico Starter Kit to test different Modules. When the temperature is too high or the humidity is too low, it will trigger the LED light to turn on and off to remind. In this project, the ambient temperature value and humidity value are monitored in real-time through the DHT11 Temperature & Humidity sensor and displayed on the 16×2 I2C LCD module synchronously. A weather station is a system of integrated components that automatically measure, record, and sometimes transmit weather data. In this guide, we will make Mini Weather Station using DHT11 Humidity Temperature Sensor & Raspberry Pi Pico. Mini Weather Station with DHT11 & Raspberry Pi Pico.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |