Posts

Showing posts with the label temperature

Wifi thermometer - NodeMCU in AP mode

Image
Wifi Thermometer is a project where NodeMCU is used in AP mode, it's actually a hotspot to which you connect, and then you can view the temperatures or the magnitudes of other sensors that you connect to the NodeMCU. Values are viewed through a web browser on the page that NodeMCU generates. It is located on the same IP / DNS flag as the gateway (NodeMCU). This solution demonstrates two DS18B20 sensors using OneWire protocol. parameters: NodeMCU in Access Point (AP) Custom SSID and WPA2 PSK encryption Custom IP (static) / DNS flag Secure web site accessible from home network Always when loading the page, the current info (informative character) Graphic depiction The data is updated whenever the client refresh the page. This means that it always has the current temperature. Support me and find interesting solutions at: https://arduino.php5.sk Source code: # include <OneWire.h> //KNIZNICA ONEWIRE PRE VYUZITIE ONEWIRE ZBERNICE # include <

OneWire temperature measurement and connection methods

Image
Hello, I'm giving you a guide that many people are looking for, especially for beginners. All beginners try to create, for example, a weather station where they want to measure temperatures, pressure and other quantities. Temperature sensors are most often used by the Dallas Maxim Temperature Sensors (DS18B20) These sensors support the OneWire bus. After one wire it is possible to send data + "electrique". Each DS18B20 sensor has a different address. This means that it is possible to read from each sensor separately, according to its index (the order of the cable). The power supply is just 3.3V, while at 5V the sensors are soft and the measurement is inaccurate. For each connection, it is necessary to use a 4.7KΩ resistor. Wiring for Parasite Power Mode: Wiring for Normal Power Mode: Wiring for one DS18B20 sensor connected to a digital Arduino Uno pin: WARNING at WIRING! Depending on the sensor type, it is possible that Vcc and GND have it opposite. Sample Ard