Hacking Hackaday.io From CircuitPython

If you’ve ever engaged in social media, you’re familiar with the little thrill you receive when your post, tweet, or project gets a like. But, if logging in feels like too much overhead to obtain your dopamine reward, [pt’s] CircuitPython Hackaday portal may be just what you’re looking for. This project creates a stand-alone counter to display the number of “skulls” (aka likes) received by a project on hackaday.io, and of course, it’s currently counting its own.

The code is running on a SAMD51 (Cortex M4) microcontroller and serving up the skulls on 240×320 TFT display. For WiFi connectivity, the project uses an ESP-32 controlled through the usual AT command set. All the gory details of this interaction are abstracted away by a CircuitPython library, which is great because that code really isn’t something you want to write for every project. The program accesses the hackaday.io API to retrieve the number of skulls for the project, but could be easily modified to interface with any service that returned a JSON result.

We’ve been seeing a lot of CircuitPython code lately. Just in case you’re not familiar with it, CircuitPython is Adafruit’s version of Micropython, a python language targeted at embedded processors. While it sounds like something concocted purely to make old-school embedded-C programmers grumble, it’s actually powerful and convenient for embedded prototyping and development. Fueled by the speed of the latest inexpensive microcontrollers and a rapidly growing set of libraries that take the sting out of using integrated peripherals and common hacker-friendly parts, it offers a solid alternative to older embedded frameworks. There are lots of examples around if you want to get started, and we’re maintaining our own list of CircuitPython projects over on hackaday.io that you can check out.

You can see a video of the display after the break. It’s not a live stream, so you won’t see your like appear on the display, but rest assured, [pt] will!

Continue reading “Hacking Hackaday.io From CircuitPython”

Long-Range RFID With Feedback

Not long ago, we published an article about researchers adding sensor data to passive RFID tags, and a comment from a reader turned our heads to a consumer/maker version which anyone can start using right away (PDF). If you’re catching up, passive RFID technology is behind the key fobs and stickers which don’t need power, just proximity to the reader’s antenna. This is a much “hackier” version that works with discrete signals instead of analog ones. It will not however require writing a new library and programming new tags from the ground up just for the user to get started, so there is that trade-off. Sparkfun offers a UHF reader which can simultaneously monitor 25 of the UHF tags shown in this paper.

To construct one of these enhanced tags, the antenna trace is broken and then routed through a switching device such as a glass-break sensor, temperature limit switch, doorbell, or light sensor. Whenever continuity is restored the tag will happily send back its pre-programmed data, and the reader will acknowledge that somewhere one of the tags is seeing some activity. Nothing says this could not be applied to inexpensive RFID readers should you just want a temperature warning for your gecko terrarium or light sensor to your greenhouse‘s sealed controller.

Thank you, [Mike Massen], for your tip on RFID Doing More Than ID.

Continue reading “Long-Range RFID With Feedback”

Designing A Toilet Roll Holder

Everything needs to be designed, at one point or another. There are jobs for those who design kitchens, and stadiums, and interplanetary spacecraft. However, there are also jobs for those who design cutlery, hose fittings, and even toilet roll holders. [Eric Strebel] is here to share just such a story.

[Eric] covers the whole process from start to finish. In the beginning, a wide variety of concepts are drawn up and explored on paper. Various ideas are evaluated against each other and whittled down to a small handful. Then, cardboard models are created and the concepts further refined. This continues through several further phases until it gets down to the fun part of choosing colours and materials for the final product.

Watching the effects of cost and manufacturing process shape the finished item is instructive as to how the design process works in the real world. The toilet paper holder itself is an interesting unit, too – using adjustable magnetic detents to enable one-handed use, as well as including a cell phone holder.

We’ve seen [Eric]’s work before – such as his primer on the value of cardboard in design. Video after the break.

Continue reading “Designing A Toilet Roll Holder”

This Computer Mouse Houses A Mouse Computer

Everyone has heard of a computer mouse before, but what about a mouse computer?

Granted, [Electronic Grenade]’s all-in-one computer in an oversized mouse-shaped case is almost without practical value. But that’s hardly the point, which was just to do something cool. Inspiration came from keyboards stuffed with a Raspberry Pi to make a mostly-all-in-one machine; this Rodent of Unusual Size is the next logical step. With a Pi Zero W and a LiPo battery alongside a mouse mechanism inside the 3D-printed case – alas, no real mouse currently on the market would house everything – the computer sports not only a tiny and nearly-usable LCD display, but also a slide-out Bluetooth keyboard. The ergonomics of a keyboard at right angles to the display gives us pause, but again, usability is not the point. And don’t expect much in the performance department – the rig barfs after a few seconds of playing Minecraft.

Still, for all its limitations, this mouse computer has a certain charm. We always enjoy “just because I can” projects, whether they be a Gameboy ukelele or a fire-breathing animatronic duck. Such projects are often valuable not for what they produce, but for pushing into areas where no one has gone before.

Continue reading “This Computer Mouse Houses A Mouse Computer”

Win Back Some Privacy With A Cone Of Silence For Your Smart Speaker

To quote the greatest philosopher of the 20th century: “The future ain’t what it used to be.” Take personal assistants such as Amazon Echo and Google Home. When first predicted by sci-fi writers, the idea of instant access to the sum total of human knowledge with a few utterances seemed like a no-brainer; who wouldn’t want that? But now that such things are a reality, having something listening to you all the time and potentially reporting everything it hears back to some faceless corporate monolith is unnerving, to say the least.

There’s a fix for that, though, with this cone of silence for your smart speaker. Dubbed “Project Alias” by [BjørnKarmann], the device consists of a Raspberry Pi with a couple of microphones and speakers inside a 3D-printed case. The Pi is programmed to emit white noise from its speakers directly into the microphones of the Echo or Home over which it sits, masking out the sounds in the room while simultaneously listening for a hot-word. It then mutes the white noise, plays a clip of either “Hey Google” or “Alexa” to wake the device up, and then business proceeds as usual. The bonus here is that the hot-word is customizable, so that in addition to winning back a measure of privacy, all the [Alexas] in your life can get their names back too. The video below shows people interacting with devices named [Doris], [Marvin], [Petey], and for some reason, [Milkshake].

We really like this idea, and the fact that no modifications are needed to the smart speaker is pretty slick, as is the fact that with a few simple changes to the code and the print files it can be used with any smart speaker. And some degree of privacy from the AI that we know is always listening through these things is no small comfort either.

Continue reading “Win Back Some Privacy With A Cone Of Silence For Your Smart Speaker”

Hackaday Superconference: Estefannie’s Daft Punk Helmet

There’s no single formula for success, but if we’ve learned anything over the years of covering cons, contests, and hackathons, it’s that, just like in geology, pressure can create diamonds. Give yourself an impossible deadline with high stakes, and chances are good that something interesting will result. That’s what Estefannie from the YouTube channel “Estefannie Explains It All” did when Bay Area Maker Faire was rolling around last year, and she stopped by the 2018 Hackaday Superconference to talk about the interactive Daft Punk helmet that came out of it.

It’s a rapid-fire tour of Estefannie’s remarkably polished replica of the helmet worn by Guy-Manuel de Homem-Christo, one half of the French electronic music duo Daft Punk. Her quick talk, video of which is below, gives an overview of its features, but we miss the interesting backstory. For that, the second video serves as a kickoff to a whirlwind month of hacking that literally started from nothing.

You’ll Learn it Along the Way

Before deciding to make the helmet, Estefannie had zero experience in the usual tools of the trade. With only 28 days to complete everything, she had to: convert her living room into a workshop; learn how to 3D print; print 58 separate helmet parts, including a mold for thermoforming the visor; teach herself how to thermoform after building the tools to do so; assemble and finish all the parts; and finally, install the electronics that are the hallmark of Daft Punk’s headgear.

The three videos in her series are worth watching to see what she put herself through. Estefannie’s learning curve was considerable, and there were times when nothing seemed to work. The thermoforming was particularly troublesome — first too much heat, then not enough, then not enough vacuum (pretty common hurdles from other thermoforming projects we’ve seen). But the finished visor was nearly perfect, even if it took two attempts to tint.

We have to say that at first, some of her wounds seemed self-inflicted, especially seeing the amount of work she put into the helmet’s finish. But she wanted it to be perfect, and the extra care in filling, sanding, priming, and painting the printed parts really paid off in the end. It was down to the wire when BAMF rolled around, with last minute assembly left to the morning of the Faire in the hotel room, but that always seems to be the way with these kinds of projects.

In the end, the helmet came out great, and we’re glad the run-up to the Superconference wasn’t nearly as stressful for Estefannie — or so we assume. And now that she has all these great new skills and tools, we’re looking forward to her next build.

Continue reading “Hackaday Superconference: Estefannie’s Daft Punk Helmet”

Hack Your Gmail: A Quick Start For Google App Scripting

For many people, Gmail is synonymous with e-mail. Some people like having cloud access to everything and some people hate having any personal data in the cloud. However you feel about it, one thing that was nice about having desktop software is that you could hack it relatively easily. If you didn’t like how your desktop mail client worked, you had a lot of options: use a different program, write your own, hack the executable of your current program, or in the case of open source just fork it and make any changes you are smart enough to make.

Google provides a lot of features with all of its products, but however you slice it, all the code runs on their servers out of your reach. Sort of. If you know JavaScript, you can use Google Apps Script to add features to many Google products including Gmail. If you’ve used Office scripting, the idea is the same, although obviously the implementation is very different.

With scripting you can make sophisticated filters that would be very hard to do otherwise. For example,  monitor for suspicious messages like those with more than 4 attachments, or that appear to come from a contact between the hours of 2AM and 5AM.

For our example today, I’m going to show you something that is easy but also highly useful.

Continue reading “Hack Your Gmail: A Quick Start For Google App Scripting”