With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Yes, using the HTML headers from the GET request will give you the same UTC time. I did try going that route too, but it wasn't quite as simple as using the NTP library. I did also notice the ntp servers being a bit laggy but oh well..
Very nice! I like the idea of using a rechargeable Li-ion battery and making the whole thing portable!
Cheap Solar Panel for Under $30
Right! I've been playing with it and yes, I will be changing the sync interval to a lot longer so the connection doesn't get used so much
That said, you would have to change the code somewhat since currently it checks whether the connection is open every 10 seconds and only displays time if it is
So correction: it keeps the UDP port open for syncing but you can set sync interval to be way more than 10 seconds - the time client object keeps track of time between syncs
Yes, the 'improved' version would have a proper clock object to count seconds/minutes/hours using the internal microcontroller and then only sync the time with the server every few hours (or less?) But while the current code is not as efficient as it's constantly connected, it is simpler. But yes, in the future I want to add the 'offline' functionality somehow. I'll have to look into OLED burn-in effects as I haven't had much experience on that front
Yes. You could change it and only connect it as you like but currently it pulls the time through the UDP connection every 10 seconds.
Simplest ESP8266 Local Time...View Instructable »
Adding an RTC and OLED to ESP8266-01
Great instructable! Got me through the initial exposure to ESPs! (except I missed turning off GPIO 0 from GND when using AT commands...that took me quite some time to figure out :D Thanks for posting all this!!
ESP8266 ESP-01 Programming JigView Instructable »
Getting Started With the ESP8266 ESP-01
Minitaure Weather Station - ESP8266
3D Printed Stained Glass Light Decoration
Stained Glass Recreation in Paper
How To: Stained Glass
ESP8266 WiFi Module for Dummies
Beginner's Guide to ESP8266 and Tweeting Using ESP8266
ESP8266 Weather Widget
ESP8266 GMail Sender
Emergency Button for 7$, Arduino, WIFI and ESP8266
Cheap Arduino WiFi Shield With ESP8266
An Arduino RSS Feed Display
Perpetual Clock With Arduino
Fusion 360 Orientation
Password Manager, Typer, Macro, Payload ... All in ONE!
Tools + Materials for 3D Printing
Remove Silver Backing From a Mirror (To Clear Glass, Not an Antique Mirror Instructable)
3D Printing Class
Arduino Esp8266 Post Data to Website
Yet Another Simple Pot-controlled 555 PWM Generator
PWM Dimmer Using NE555 and MOSFET With DIY Aluminium Case.
Giant Knob Lamp
Adding Daylight Savings Tim...View Instructable »
Arduino Wake LightView Instructable »
Turn Your 4K TV Into an Obj...View Instructable »
RPI Interchangeable Lens Camera From Old SLR Camera Lens
How to Leather Bind a Paperback
Leather Binding a Paperback: A New and Improved Guide
Laptop Control Box
How to build an insanely bright LED flashlight!
DIY Heng Lamp
Make Your Own Li-Ion Battery Pack
Analog Output - Convert PWM to Voltage
Make an inexpensive Lithium-Ion Battery Pack
Easy variable voltage power supply
Developing Black & White Photo's at Home
How to Print B&W Photographs in a Darkroom
Plotting Data From Arduino
Real time clock using DS3231 (EASY)
DIY Wooden Stick Lights
Wake-up ceiling light
Digispark DIY: The smallest USB Arduino
Make arduino uno work like leonardo
Mini USB Keyboard with a $7 Microcontroller
Keyboard shortcuts using Arduino
Waterproof a LM35 Temperature Sensor
Thanks! I have actually since revamped this and now use Adafruit's 3.3V Trinket (https://www.adafruit.com/products/1500), glued directly to the back of the Sleep Sheep with a cutout for the micro-USB port, where it gets powered by a cell phone charger. It's way less clutter and much neater than the previous solution, though the basic wiring and code remain pretty much the same. One of these days I'll get around to posting it up here. I have a few ATtinys at home, just waiting to get used, so I might just take a look at your setup :)
Multi-Fuel Generator - Gas Propane NG
Converting a generator to run on propane
Off grid LPG (propane) powered Battery Charger
How to Build a Bicycle Generator
Lawnmower Power Generator With A Twist
DIY All in One Solar Power Pack
1 Watt Guitar Practice Amp Cheap!
Make a Sweet Portable Guitar Amp
Portable Guitar Amp with distortion / Bass Amplifier - 9v / LM386 IC
DIY OFF GRID SOLAR SYSTEM
Giant USB Volume Knob
How to purify your water
Electric Cigar-Box guitar w/ Built in amplifier
What Does it Take to Build a Simple Circuit?
Inexpensive garage lights from LED strips
Easy IoT weather station with multiple sensors
Use Arduino with TIP120 transistor to control motors and high power devices
Home Made Air Cooler Upgraded version
Wrist Cooling System
5 Gallon Bucket Air Conditioner
Mini Peltier Air Conditioner (Plans)
Shirt Folding Board from Cardboard and Duct Tape
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.