Blinking A Light With Ping

The Flashing Light Prize is on right now, and that means all our favorite geeks and YouTubers are aspiring to what could be done with a 555. The rules are simple: turn a light bulb on and off somehow. [Sprite_tm] is answering the call, and he’s blinking lightbulbs at the speed of light.

[Sprite]’s method of blinking a light is simple: Use an ESP32 development board to turn on a relay. At the same time, send a packet out to the Internet and through four servers spread across the globe. When the packet goes through servers in Shanghai, the Netherlands, to Hong Kong, to Germany, and finally Japan — and back again — the light bulb turns off. It’s a physical demonstration of the speed of light and the quality of undersea optical fibers.

This route is quite long, and a reasonable estimate for the one-way, great circle path from Shanghai to the Netherlands to Hong Kong to Berlin and finally to somewhere near Osaka is about 36,000 km. A round trip for this light bulb packet is 72,000 km, or about 0.2 light-seconds. There are delays, of course, from fiber and cables not going directly over the Himalayas, delays in routers, and the difference between the speed of light in a vacuum and the speed of light in glass fiber. Still, light is quick, and the light blinks at about 1Hz.

You can check out [Sprite]’s entry video for the Flashing Light Prize below.


Filed under: internet hacks

from Hackaday http://ift.tt/2sSyBSX
via IFTTT