After a few years I started working with an ESP-01 again. But after so many years I forgot the exact parameters of module I have and was using default settings. For hours I couldn’t flash anything to it. Everytime flashing failed with one error or other. The most occurring errors are : Invalid (unsupported) command… Continue reading ESP-01 Flashing Errors
Category: ESP 8266
ESP-8266 and NTP = onboard timekeeping
We can sync the time of a ESP-8266 with a NTP server and then keep time count on the device. It will not need any other additional devices like a DS1307 clock. And once synced with the NTP server it can keep the time even if there is no internet – very handy. The time… Continue reading ESP-8266 and NTP = onboard timekeeping
Sync Ds1302 with NTP
This code first syncs the DS1302 chip with a NTP server and then reads time from the DS1302 chip. Every time the system is booted the clock is synced with a NTP server. #include <ESP8266WiFi.h> #include “TinyDHT.h” // Adafruit library https://github.com/adafruit/TinyDHT #include <ThreeWire.h> // needed by rtc #include <RtcDS1302.h> // Makuna library https://github.com/Makuna/Rtc const char… Continue reading Sync Ds1302 with NTP
3.3v Low Dropout Regulator (LDO) – MCP1826 / MCP1826
MCP1826 or MCP1826S is a very simple and easy to use LDO or Low Dropout Regulator from Microchip Technology. There are both fixed voltage and variable voltage versions available. The company also makes custom chips. It’s features are: 1000 mA Output Current Capability Input Operating Voltage Range: 2.3V to 6.0V Adjustable Output Voltage Range: 0.8V… Continue reading 3.3v Low Dropout Regulator (LDO) – MCP1826 / MCP1826