Posts

Showing posts with the label Arduino

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

Hardware for IoT - Microcontrollers and Microcomputers

Image
Internet of Things (IoT) is a topic that involves automating or controlling (not only) households from intelligent devices. Under the term IoT, it is possible to imagine everything around us that communicates in some way, and it is possible to acquire information, manage and know about these devices, such as whether they are turned off or turned on. This is your television, your computer, washing machine, mp3 player, appliances, sockets, lights. Their data must be sent to the network by hardware if they do not have a certain connectivity or if they do not support the IoT standard. As a hardware we can use a chip or a minicomputer that performs this function. Consequently, these devices can be managed with the hardware that they can communicate with the device and then send these device values / statuses to the IoT network gateway. In this article you can read about the most famous IoT hardware platforms, but most of the hardware is only used for local projects without having to conne

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

Arduino irrigation control via time based on weather

Image
I would like to introduce you to the project that I realized during this year during the holidays. I created a web-based system for horticulture that specializes in the sale and cultivation of various kinds of plants, trees, flowers ... Web-based system has been designed to meet the following requirements: Temperature record, rain level, output activity record Heating / cooling control based on temperature Irrigation management at set times or on demand with weather condition counting statistics Remote restart boards Logs Login system Arduino Mega 2560 (1280 was enough too) was used as the control microcontroller, as Uno was on the edge with memory and was severely jammed. Arduino Mega was a great choice thanks to a sufficient number of pins and especially great memory for a program with a larger RAM memory. Arduino sends temperature and rain data to the Web via the Wiznet W5100 Ethernet Shield. The temperature is read out digitally from the DS18B20 sensor and the rain re

DOMINATOR via Arduino for Airsoft / Paintball / Nerf Wars

Image
Today, I'd like to introduce you to a nearly dusty project I once created for an Airsoft team. The requirement was to program the DOMINATOR via Arduino, which would be universal and meet the requirements that the correct DOMINATOR should have and slightly changed in terms of control. What is DOMINATOR actually? This is a device used to play the King of the Hill gaming mode, the King of the Hill (Point). The device should have a two-time display for both game teams. The one who gets the DOMINATOR gets pressed and the time starts to add to his team. (Both times are initially set to 00 hours, 00 minutes and 00 seconds). The time is added to the moment until the point is occupied by another team and the button does not change the amount of time added to your side. As far as I wanted to distinguish the project, I used an RFID reader that can read the cards and keyboards at 13.56MHz (there is an equivalent to 125kHz) and in this way we can replace the mechanical buttons. How does th

Firesport stopwatch via Arduino with LCD display

Image
Today I will introduce you briefly the fire stubs, or the timekeepers I created it as huge firesport fan. The competition firefighters team is guessing every village or part of the city. Every week, especially in the summer season, competitions take place in the villages, and the teams attribute valuable points, successes and failures decided by hundreds or thousands of seconds. For this purpose, I have created simple stopwatches, which to a certain extent allowed me to measure time, for example, in the training of domestic firefighters. For the whole logic of the system, I used the millis, which is the function of the internal Arduin timer, which returns milliseconds from the start of the processor. So we can measure time to 3 decimal places (1000 ms = 1 second). We can therefore determine the accuracy of one thousandth (not real....). This means that we can measure time. We need some initial impulse - something we take down the start time and run the whole logic of the system.

Web scraper via Arduino & NodeMCU & ESP32

Image
Today, we will devote our microcontroller and its general use to a rather unusual purpose. Specifically, I will be talking about how I made a microcontroller from a webscraper. (If this can be called when processing your own backend information). As many of you know, a web scraper is a device that performs the task of retrieving information from that web site. The most wanted information from websites is e-mail addresses, phone numbers. Recently, however, this phenomenon is also used for a variety of statistical tasks where the scraper receives data on products, their prices, and evaluates them. Even similar devices are used as robots for trading with cryptomas or common names. At the most appropriate time (statistically) the robot pedal and bought another - a suitable menu with a rising tendency. In my case, I was interested in getting information from websites, specifically phone numbers and email addresses. We will therefore go directly to the realization. I have used 3 kinds

Email notifier - Arduino & ESP8266

Hello everyone, today we look at how to easily send e-mails through Arduino using a webserver on internet. We will use Arduino with W5100 Ethernet shield and ESP8266 dev board - NodeMCU in the client mode to send emails through the PHP script that the microcontroller will attach to the client. We will send text that will be pre-defined in the php file to be sent to the specified mail. Most web hosting sites also support extensions as a mail feature, allowing for communication with the SMTP server on localhost (at webhosting service). So we will use the external website on internet that have local SMTP server. With PHP mail function, we can send emails to different email addresses directly from the web site, sending them to the email address of the domain's registrar (your e-mail address) from which these emails will be sent a.k.a. pre-defined e-mail. Tested hostings: php5.sk, sweb.cz PHP file on which we will make request: <?php $msg= "Hello Word!" ; $msg= wor