Posts

Showing posts with the label OneWire

Weather station v2

Image
Weather Technology: PHP (backend) CSS AJAX - Dynamic entry of recent temperatures into real-time tabs Google Charts for vizualization C (Wiring) for NodeMCU/Arduino with Ethernet Quantities in the project: Temperature inside: DS18B20 Temperature outside: DS18B20 outdoor version Air humidity: DHT22 Atmospheric pressure: BMP280 Version v2 offers: New graphical user interface (responsive) Login system Real-time data in a dynamic table Archiving at 10-minute intervals to MySQL database, Google Graphs (CanvasJS replacement) - chart listing current day + 7 last days Improved weather forecast for all-day temperature development Reset the desktops at a distance Login log / change logins Plate connection status indicator Change names of individual rooms / names of sensors Weather Maps Screenshots:

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