Sunrise, Sunset, Repeat

Sunrises and sunsets hardly ever disappoint. Still, it’s difficult to justify waking up early enough to catch one, or to stop what you’re doing in the evening just to watch the dying light. If there’s one good thing about CCTV cameras, it’s that some of them are positioned to catch a lovely view of one of the two, and a great many of them aren’t locked down at all.

[Dries Depoorter] found a way to use some of the many unsecured CCTV cameras around the world for a beautiful reason: to constantly show the sun rising and setting. Here’s how it works: a pair of Raspberry Pi 3B + boards pull the video feeds and display the sunrise/sunset location and the local time on VFD displays using an Arduino Nano Every. There isn’t a whole lot of detail here, but you can probably get the gist from the high-quality pictures.

If you wanted to recreate this for yourself, we might know where you can find some nice CCTV camera candidates. Just look through this dystopian peephole.

Thanks for the tip, [Luke]!

Facing The Coronavirus

Some of us are oblivious to how often we touch our faces. The current finding is we reach for our eyes, nose, or mouth every three to four minutes. Twenty times per hour is an awful lot of poking, picking, itching, and prodding when we’re supposed to keep our hands away from glands that can transmit and receive disease. To curb this habit and enter the 2020 Hackaday Prize, [Lloyd lobo] built a proof-of-concept device that sounds the alarm when you reach for your face.

We see an Arduino Uno connected to the classic HC-SR04 ultrasonic distance sensor, an LED, and we have to assume a USB battery pack. [Lloyd] recommends the smaller Nano, we might reach for the postage-stamp models and swap the ultrasonic module out for the much smaller laser time of flight sensor. At its soul, this is an intruder alarm. Instead of keeping siblings out of your room, you will be keeping your hands out of the area below the bill of the hat where the sensor is mounted. If you regularly lift a coffee cup to your lips, it might chastise you, and if you chew sunflower seeds, you might establish a tempo. *crunch* *chip* *beep* *crunch* *chip* *beep*

We have reviewed technology to improve our habits like a bracelet that keeps a tally, and maybe there is a book that will help shirk some suboptimal behaviors.

Continue reading “Facing The Coronavirus”

Encouragement Machine Battles Your Inner Bully

We would be preaching to the choir if we told you that fear is the action killer when it comes to the challenge of new projects in uncharted territory. Everyone who reads Hackaday knows that it takes mettle to forge through the self-doubt as we push ourselves to new engineering heights.

[JBV Creative] hears the voice, too: the one that says you can’t build that thing, it’s too difficult/useless. He knows that both creativity and anti-creativity stem from the same source — the powerful human mind that dreams up these projects in the first place.

The Encouragement Machine combines the two in a piece that engineers art from garbage, aka negative thoughts. It works by first acknowledging the most basal of discouraging thoughts — an important step of the process — and then it simply trims away the negativity.

This machine uses a stepper motor to feed receipt paper underneath a custom stamp that says YOU CAN’T DO IT. Then it passes the paper through a pair of servo-driven scissors that snip off the apostrophe-t.

Ironically or not, [JBV Creative] ran into a few issues with this build, but managed to muster up enough moxie to work through the problems without encouraging slips of paper. We have to wonder how much more smoothly the next project will go given all the positivity he now has on-demand.

[JBV] doesn’t delve into the electronics much, but it looks like an Arduino and a motor driver to us. We totally dig the design — it looks like an electrical substation or rocket launch pad that happens to have a Ferris wheel. Step right up and check out the build video after the break.

Generic encouragement is great all-purpose attitude adjuster, but what if you want more specific sentiments? Here’s an affirmation mirror that will help you believe whatever you program into the scrolling display.

Continue reading “Encouragement Machine Battles Your Inner Bully”

DropController Sets The Bar For Documentation

dropController has the kind of documentation we wish would spontaneously generate itself whenever we build something. [Martyn Currey] built a robust rig for water droplet photography, and we don’t want to dismiss the hardware, but the most impressive part might be the website. It might not be very fancy, but it’s thorough and logically organized. You can find parts lists, assembly manuals, tutorials, sketches, and schematics. If only all the projects that came our way were so well detailed.

Water droplet photography is pretty cool, although freehanding it will make your patience fall faster than 9.81 m/s². The concept is that a solenoid valve will flicker open to release a drop of water, wait for a certain number of microseconds, and then trigger your DSLR via a wired remote cable. The tricky part comes from controlling as many as six valves and three flashes. We don’t have enough fingers and toes to press all those buttons.

The bill of materials contains many commonly available parts like an Arduino Nano, an LM2596 voltage regulator, some MOSFETS, an HC-06 Bluetooth module, plus standard audio connectors to hook everything up. Nothing should break the bank, but if money is not an issue, [Martyn] sells kits and complete units.

Waterdrop controllers are not the newest kids on the block, and strobe photography is a time-honored tradition.

Continue reading “DropController Sets The Bar For Documentation”

Vintage Gauges Turned Classy Weather Display

It’s always good to see old hardware saved from the junk pile, especially when the end result is as impressive as this analog gauge weather display put together by [Build Comics]. It ended up being a truly multidisciplinary project, combing not only restoration work and modern microcontroller trickery, but a dash of woodworking for good measure.

Naturally, the gauges themselves are the real stars of the show. They started out with rusted internals and broken glass, but parts from a sacrificial donor and some TLC from [Build Comics] got them back in working order. We especially like the effort that was put into making the scale markings look authentic, with scans of the originals modified in GIMP to indicate temperature and humidity while retaining the period appropriate details.

To drive the 1940s era indicators, [Build Comics] is using an Arduino Nano and a DHT22 sensor that can detect temperature and humidity. A couple of trimmer pots are included for fine tuning the gauges, and everything is mounted to a small scrap of perfboard hidden inside of the custom-made pine enclosure.

This is hardly the first time we’ve seen analog gauges hooked up to modern electronics, but most of the projects are just that: modern. While the end look might be somewhat polarizing, we think maintaining the hardware’s classic style was the right call.

Official Arduboy Upgrade Module Nears Competition

We’ve been big fans of the Arduboy since [Kevin Bates] showed off the first prototype back in 2014. It’s a fantastic platform for making and playing simple games, but there’s certainly room for improvement. One of the most obvious usability issues has always been that the hardware can only hold one game at a time. But thanks to the development of an official add-on, the Arduboy will soon have enough onboard storage to hold hundreds of games

Even the rear silkscreen was a community effort.

The upgrade takes the form of a small flexible PCB that gets soldered to existing test points on the Arduboy. Equipped with a W25Q128 flash chip, the retrofit board provides an additional 16 MB of flash storage to the handheld’s ATmega32u4 microcontroller; enough to hold essentially every game and program ever written for the platform at once.

Of course, wiring an SPI flash chip to the handheld’s MCU is only half the battle. The system also needs to have its bootloader replaced with one that’s aware of this expanded storage. To that end, the upgrade board also contains an ATtiny85 that’s there to handle this process without the need for an external programmer. While this is a luxury the average Hackaday reader could probably do without, it’s a smart move for an upgrade intended for a wider audience.

The upgrade board is currently available for pre-order, but those who know their way around a soldering iron and a USBasp can upgrade their own hardware right now by following along with the technical discussion between [Kevin] and the community in the “Project Falcon” forum. In fact, the particularly astute reader may notice that this official upgrade has its roots in the community-developed Arduboy cartridge we covered last year.

Continue reading “Official Arduboy Upgrade Module Nears Competition”

Optimizing GIF Playback For Microcontrollers

Despite being cooked up by Compuserve back in the late 1980s, GIFs have seen a resurgence on the modern internet, mostly because they’re fun. However, all our small embedded systems are getting color screens these days, and they’d love to join in the party. [Larry Bank] has whipped up a solution for just that reason, letting embedded systems play back short animated GIFs with limited resources.

[Larry] does a great job of explaining how the GIF format works, using LZW compression and variable-length codes. He talks about how the design of the format presents challenges, particularly when working with microcontrollers. Despite this, the final code works well, and is able to work with most animated GIFs of the right dimensions and construction. 24K of RAM is required, and image width is limited to 320 pixels. Images can be loaded from flash, memory, or SD cards, and he notes that best performance is gained with a microcontroller with fast SPI for writing to screens quickly.

It’s a great piece of software that promises to add a lot of charm, or silliness, to microcontroller projects. It also simplifies the use of animations, which can now be designed on computers rather than by using onboard graphics libraries. GIF really is the format that never seems to die; we’ve featured cameras dedicated to the form before. Video after the break.

Continue reading “Optimizing GIF Playback For Microcontrollers”