Posts

Showing posts with the label ESP32

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 <

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

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