Network Time Protocol (NTP), Timezone and Daylight saving time (DST) with esp8266, esp32 or Arduino
When you create a device you probably need to know the correct time, on wifi device the resonably choiche is to use Internet to get time via NTP.
When you create a device you probably need to know the correct time, on wifi device the resonably choiche is to use Internet to get time via NTP.
I would like to monitor the status of my ABB Aurora inverter (formerly Power One now Fimer). So with a WeMos D1 mini I create a monitoring station with web interface, notifications and more.
Here we will explore the infrastructure of the project.
Today for Arduino ethernet.
Here I’d like to explain the version 2 of the EMailSender library, a big evolution respect to version 1, with support for Arduino with w5100, w5200 and w5500 ethernet shield and enc28J60 clone devices, and support for esp32 and esp8266.
Now you can add attachments also, loaded from storage device like SD or SPIFFS.
RS-485 work as a broadcast; when you send a message, all devices connected to the wire receive that, so peoples use It is better to implement a lot of protocol to send a message to a specified device or a broadcast address. This article uses regular communication from two devices in a very simple way.
Library to use i2c pcf8574 IC with arduino, esp8266 and esp32.
This IC can control (until 8) digital devices like button or led with 2 only pins.
Here I explain the manage of multiple rotary encoder.
For static information (Web pages for examples), that not change frequently, esp8266 or esp32 have internal SPIFFS (SPI Flash File System) and you can upload data via Arduino IDE as explained in the article “WeMos D1 mini (esp8266), integrated SPIFFS Filesystem” but for fast operation and future support It’s usefully use FTP.
When you create a datalogging It’s important to structure your data, sometime a good solution can be JSON format.
Here a tutorial on E32 LoRa (Long Range) device very cheap and very long range (from 3Km to 8Km).
In this chapter we are going to wake on radio the LoRa E32 and microcontroller and we show the shield created for this device.
When you use a microcontroller an important features is store data, for logging or setting, for a web server or to show image. The better solution is an SD card, because It’s simple, small and low power device.
Now we are going to look how to connect and use with standard SD library with Arduino and esp8266.
Here a tutorial on E32 LoRa (Long Range) device very cheap and very long range (from 3Km to 8Km).
In the last chapter we are going to send complex structure.