Posts

Showing posts with the label uno

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

Control 16 relays via Arduino with Ethernet

Image
Hello, I'm going to share again with another project that helps many of you to solve the issue of how to switch the relay remotely. I have done a bit of a specific project for 2 chats that are remotely controlled when each user has their own sites where they manage their outputs. Arduino Due and Ethernet shield W5100 have enough microcontrollers and have enough GPIO pins for 16 relay channels . As Due does not have everyone, the codes for this project will be customized for 2 Arduino Uno boards with W5100 Ethernet shields. The web part is written in PHP procedural style. There are 2 user accounts where you can control 8 outputs for each user. One user does not see the other outputs and can not change them. At the same time, both users can both be in the web application, and each one can manage their outputs. 1st user Name: user1 Password: user1 2nd user Name: admin Password: admin The login data can be changed to the site you choose whenever it is possible to change it