Travel Globe Spins You Around Memory Lane

We all have our own preferences when it comes to travel souvenirs — that little something that brings back the memories and feelings of a past holiday every time we look at it, whether it’s the cliché fridge magnet, some local speciality, or just the collection of photos we took. But then there are those journeys that can’t be summarized into a single item and may require a bit more creativity. For [Jonathan], it was last year’s trip around the world that took him and [Maria] to locations all over Europe, Asia, and Oceania, and he found a great way to remember it: an interactive, laser-cut travel globe displaying all the places they went to.

Building a sphere is of course a bit tricky with a laser cutter, so [Jonathan] went for the icosahedron shaped Dymaxion map projection (think of a large d20 dice) and burnt the world onto it. Inside the globe is an ESP8266, an MPU-6050 IMU, and a bunch of LEDs to light up the travel locations using the WLED library. Taking the data from the IMU, he customized the WLED library to determine which way the globe is positioned, and highlights the top-facing location in a different color.

While that would already make a nice souvenir on its own, [Jonathan] didn’t stop here. Using Google’s My Maps service, which lets you create custom maps with own points of interest and have for example photos attached to them, the ESP8266 hosts the travel map also as a web page. Feeding the IMU data to the JavaScript code that’s handling the map API, the globe itself now doubles as an input device to control the virtual map. So whenever the globe is physically rotated to highlight a certain location, the web page’s map is focused to that same location and shows randomly the pictures they have taken there. Check out the video below to see it all in action.

This is a great way to reminisce about a memorable journey even years down the road, and while it may not be flexible to extend, it seems like the kind of trip that deserves a standalone device anyway. Plus, the Dymaxion map is definitely an interesting projection — so here’a a foldable one, just because. And If you like tracking things on a globe, here’s one that shows the location of the ISS.

Continue reading “Travel Globe Spins You Around Memory Lane”

Easy, Secure HTTPS With An ESP8266

Security has always been an issue with IoT devices. Off the shelf devices often have terrible security while DIY solutions can be complicated, needing recompilation every time a website’s fingerprint changes. [Johannes] wrote in to let us know he’s been working on a way to make HTTPS requests easier to do on ESP devices.

The normal ways to do HTTPS with an ESP8266 is to either use Fingerprints, or to use client.setInsecure(). Fingerprints require the user to know exactly which pages the ESP will connect to and extract the Fingerprints from each of those websites. Since the fingerprints change yearly, this means the fingerprint will have to be re-extracted and the code recompiled each time a fingerprint changes. The use of client.setInsecure() is, obviously, insecure. This may not be an issue for your project, but it might be for others.

[Johannes’] solution is to extract the trusted root certificates and store them in PROGMEM. This allows access to any web page, but the root certificates do expire as well. As opposed to the fingerprints, though, they expire after 20 years, rather than every year, so the program can run for a long time before needing recompilation. This solution also doesn’t require any manual steps – the build process runs a script that grabs the certificates and stores them in files so that they can be uploaded to the SPIFFS written to PROGMEM to be used during HTTPS requests.

He’s come up with a fairly straightforward way to have your IoT device connect to whichever web page you want, without having to recompile every once in a while. Hopefully, this will lead to better security for your IoT devices. Take a look at some previous work in this area.

WiFi Networks Turned Targets In This Pocket Game

Looking for a way to make his warwalking sessions a bit more interactive, [Roni Bandini] has come up with an interesting way to gamify the discovery of new WiFi networks. Using a Heltec WiFi Kit 8, which integrates an OLED screen and ESP8266, this pocket-sized device picks up wireless networks and uses their signal strength and encryption type as elements of the game.

After selecting which network they want to play against, a target is placed on the screen. The distance between the target and the player is determined by signal strength, and how much damage the target can take correlates to how strong its encryption is. As you can see in the video after the break, gameplay is a bit reminiscent of Scorched Earth, where the player needs to adjust the angle of their artillery to hit distant targets.

The Heltec board is attached to a 3D printed front panel, which fits neatly into an Altoids tin. The controls consist of a button and a potentiometer, and with the addition of a battery pack salvaged from an old cell phone, this little device is ready to do battle wherever you roam.

While this is just a fun diversion for the time being, [Roni] says it wouldn’t take much to actual log networks to a file and generate some statistics about their strength and encryption type. If the idea of a portable WiFi scanning companion seems interesting, you should definitely check out the Pwnagotchi project.

Continue reading “WiFi Networks Turned Targets In This Pocket Game”

Smart Home Meets Dumb Terminal

Most smart home products are designed to be controlled from a mobile device, which makes sense since that’s what the average consumer spends most of their day poking around on these days. But you aren’t the average consumer, are you? If you’re looking for a somewhat more tactile experience, then why not put your smart home dashboard on a vintage serial terminal as [Daniel Karpantschof] did?

So how do you get the latest and greatest in home automation talking to a serial terminal built before the Internet as we know it? With Python, of course. [Daniel] has some code running on a Linux server that’s actually taking to his various smart home gadgets, which then spits out a simple ASCII user interface that his circa 1976 ADM-3A terminal can handle; complete with a floor plan view of the house that shows the temperature in different rooms.

Naturally, that’s only half the battle. You still need to get that interface onto the terminal. For that, [Daniel] is using the “Simulant Retro WiFi Modem” that we’ve covered in the past. An ESP8266 connects to the network and shuffles data over to the target device over serial. It’s all transparent to the terminal itself, so this project could be reproduced with whatever vintage machine holds a special place in your heart.

Did Grandma Remember Her Pills? This Dispenser Tells You!

Everything has to be smart these days, and while smartening things up is a good incentive to tip your own toes into the whole IoT field, many of these undertakings are oftentimes just solutions looking for a problem. Best case, however, you actually make someone’s life easier with it, or help a person in need. For [Guli Morad] and [Dekel Binyamin], it was a bit of both when they built their automated pill dispenser: help people dependent on taking medication, and ease the mind of those worrying whether they actually remembered to.

Using an ESP8266 and a rather simple construct comprised of a set of servos with plastic sheets attached, and a plastic tube with strategically placed cuts for each pill type, a predefined amount of each of the pills can be automatically dispensed into a box — either at a given time, or on demand — using a Node-RED web interface. A reed switch mounted on the box then monitors if it was actually opened within a set time, and if not, informs emergency contacts about it through the Telegram app. Sure, a tenacious medication recipient might easily fool the system, but not even adding a precision scale to make sure the pills are actually taken out could counter a pill-reluctant patient of such kind, so it’s safe to assume that this is primarily about preventing simple forgetfulness.

Their proof of concept is currently limited to only two different types of pills, but with enough PWM outputs to control the servos, this should be easily scalable to any amount. And while the built may not be as sophisticated as some pill dispensers we’ve seen entering the Hackaday Prize a few years back, it still gets its main task done. Plus, when it comes to people’s health, a good-enough solution is always better than a perfect idea that remains unimplemented.

Continue reading “Did Grandma Remember Her Pills? This Dispenser Tells You!”

Clear Some Space And Build A Cosmo Clock

Like many of us, [Artistikk] is inspired by astronauts and space travel in general. To keep the inspiration coming, he made the Cosmo Clock — a sleek little clock that changes color whenever an astronaut is launched into space.

As awesome as space is, we’re inspired by the amount of Earth-saving reuse going on in this project. The actual time-telling is coming from a recycled wristwatch movement. [Artistikk] cut a bigger set of hands for it out of a plastic container, and used the lid from another container for the clock’s body.

The launch inquiries are handled by an ESP8266, which uses a Blynk app and some IFTTT magic to get notified whenever NASA yeets an astronaut into space. Then the ESP generates random RGB values and sends them to a single RGB LED. The clock body is small enough that a single LED is bright enough to light up all the parts that aren’t blacked out with thick paper. In case you’re wondering, the pattern around the edge isn’t random, it’s Morse code for ‘sky’, but you probably already knew that, right? Make a dash past the break to take the tour.

Clocks that wind up in space are much more complicated. Check out this tear-down of the clock from a late-90s Soyuz spacecraft.

Continue reading “Clear Some Space And Build A Cosmo Clock”

21st Century Cheating: WiFi In A Calculator

Obviously, we would never endorse cheating on an exam, but sometimes a device is just too tempting to be left untouched. For [Neutrino], it was an old Casio calculator that happened to have a perfectly sized solar panel to fit a 128×32 OLED as replacement. But since the display won’t do much on its own, he decided to connect it to an ESP8266 and mount it all inside the calculator’s housing, turning it into a spy-worthy, internet-connected cheating device, including a stealthy user interface controlled by magnets instead of physical buttons. (Video, embedded below.)

Editor’s Update: Please read our follow-up coverage to the copyright claims made against this project. The video linked above and embedded below are unavailable due to these claims, despite widespread belief that this project does not violate copyright. For now, the original video is available via the Internet Archive.

To achieve the latter, [Neutrino] added two Hall effect sensors and a reed switch inside each end of the calculator. Placing a magnet — possibly hidden in a pen cap — near the reed switch will turn the display on, and placing another magnet near the Hall-effect sensors will navigate through the display’s interface, supporting two inputs with long, short, and multi-tap gestures each. To obtain information through WiFi, the ESP8266 connects to Firebase as backend, allowing to set up predefined content to fetch, as well as a possibility to communicate with your partner(s) in crime through a simple chat program.

As the main idea was to keep visible modifications to a minimum, one shortcoming is that charging the additional battery that powers the whole system would require an additional, external charging circuit. But [Neutrino] had a solution for that as well, and simply exposed two wires to the back, which could easily be mistaken for random solder splatters. And well, of course, requiring WiFi might also be tricky in some situations, so maybe you might want to consider a mobile network upgrade for yourself.

Continue reading “21st Century Cheating: WiFi In A Calculator”