A Four-Year-Old Event Badge Makes An Environmental Sensor

By now we’re all used to the requirements imposed by the pandemic, of social distancing and wearing masks indoors. But as [polyfloyd] and the rest of the board at Bitlair hackerspace in Amersfoort in the Netherlands were concerned, there are still risk factors to consider when inside a building.  Without fresh air the concentration of virus-bearing droplets can increase, and the best way they could think of to monitor this was to install a set of CO2 sensors. To run them they didn’t need to buy any new hardware, instead they turned to a set of event badges, from 2017s SHA hacker camp.

This badge sported an ESP32 module with an e-ink screen, and of most interest for this project it still has a supported software platform and comes with a handy expansion connector on the rear. The commonly-available MH-Z19 infra-red CO2 sensor and BME280 humidity sensor fit on a PCB that follows the shape of the badge with a protrusion at the top on which they appear as an integrated unit. Processing those readings is a MicroPython badge app that issues warnings via MQTT and plots a CO2 graph on the screen. Everything is available, both the hardware in a GitHub repository and the software as a badge.team app.

We applaud anyone who makes use of an event badge for a project, and especially so for using one years after the event. The SHA badge and its descendants are uniquely suited to this through their well-supported platform, so if you have one in a drawer we’d urge you to pull it out and give it a try.

A Telegraph Interface For The Hacker Hotel 2024 Badge

Hacker Hotel is a small Dutch hacker event that takes place, as its name suggests, in a hotel. It’s a welcome high point in the damp of a north-west-European winter, and attendees come to its setting in the wooded Veluwe region in the centre of the country from far and wide. As is the custom with such events it has an electronic badge, and this year’s one had a rather unusual interface. Instead of a keyboard for text input, it replicates a 19th century Crook and Wheatstone telegraph, replacing the five needles of the original with a diamond-shaped grid of LEDs.

At its heart is an Espressif ESP32-C6 microcontroller which provides both a processor powerhouse and the usual array of wireless connectivity. Paired with that is a much more modest CH32V003 microcontroller to handle I/O tasks, and an e-paper screen using displays salvaged from surplus German supermarket shelf labels. That interface is handled by an array of five-way switches, and in a stroke of genius there’s a small relay on board which does nothing but provide a satisfying tactile “click”. Expansion is seen to by an SAO connector, Qwiic, and a USB-C socket. The software meanwhile is a combination of a non-volatile nametag, a complex set of puzzles used in the on-site competition, and a messaging system using the C6’s 802.15.4 mesh networking. A particularly neat feature of this was a Battleships game that could be played with another badge.

While this isn’t the first Hacker Hotel badge with an e-paper display, we like this one for its novel interface, for the mesh connectivity, and for that clicky relay. We’ll definitely be using ours as a name badge for some time to come.

The Electromagnetic Field 2024 Badge Is A Little Different

It’s a problem that faces every designer of an event badge: how to make something that won’t simply become a piece of e-waste once the last attendee has gone home. Various events have had badges with extra sensors, ones designed to be dev boards, and ones that try to do useful software tasks, but this year’s Electromagnetic Field in the UK has a different take. Its badge is designed to be used across multiple events, with the badge itself being a hub for event-specific add-ons.

To achieve this feat, the Tildagon badge is a hexagonal hub with an expansion port on every side. Each of these sports an edge connector, and the corresponding part of the add-on is simply part of the PCB. The ‘hexpansions’ as the add-ons are called, don’t even have to have electronics, at their simplest they can even be cut from a piece of card. The brain of the outfit is an ESP32-C3 sporting a round LCD. Of course, and it has the usual buttons and LEDs.

We applaud the sentiment behind making a badge live beyond the event, and we expect that this won’t be the only take on a reusable badge we’ll see over the coming events. We’re guessing those edge connectors will add to the BoM cost though, which is why this probably will be the first EMF badge for which there will be a modest charge. We look forward to seeing it for real, meanwhile, they also published some technical info alongside the announcement linked above.

The Superconference Badge Hack Chat

Join us on Wednesday, December 20 at noon Pacific for the Superconference Badge Hack Chat with Elliot Williams and Voja Antonic!

There’s a lot to get excited about when October rolls around and you know Supercon is right around the corner. Catching up with old friends, making new ones, hanging out in the alley, catching the talks, and of course the food. But at the top of everyone’s list has to be The Badge. Finding out what cool bit of technology is going to be built into the badge and figuring out exactly how you’re going to hack it once you get your greedy mitts on it — now that’s excitement!

join-hack-chatThe 2023 Supercon badge was quite a hit, at least judging by all the cool hacks that people came up with. But what exactly went into getting this badge into everyone’s hands? A lot of work, that’s what, along with a lot of blood, sweat, and tears. And while there was plenty of work to go around and a lot of shoulders to the wheel, a lot of the work fell to Elliot and Voja. They’re going to be hopping into the last Hack Chat of the year to talk all about this amazing badge, from concept to conference, and all the hellish steps in between.

Our Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, December 20 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Simple Badge Is Simple, But It’s Yours

Making conference badges, official or unofficial, has become an art form. It can get pretty serious. #badgelife.

But DEFCON-goers aren’t the only people making fancy personalized nametags. Hams often had callsign badges going back as far as I can remember. Most were made of engraved plastic, but, at some point, it became common to put something like a flashing LED on the top of the engraved antenna tower or maybe something blinking Morse code.

Going back to that simpler time, I wanted to see if I could make my own badge out of easily accessible modules. How easy can it be? Let’s find out. Along the way, we’ll talk about multicore programming, critical sections, namespaces, and jamming images into C++ code. I’ll also show you how to hijack the C preprocessor to create a little scripting language to make the badge easier to configure.

Bottom Line Up Front

The photo shows the Pico badge. It has an RP2040 CPU but not a proper Raspberry Pi Pico. The Waveshare RP2040-Plus clone has a battery connector and charger. It also has a reset button, and this one has 16 MB of flash, but you don’t need that much. The LCD is also a Waveshare product. (This just happened to work out. I bought all of this stuff, and I don’t even know anyone at Waveshare.) The only other thing you need is a USB C cable and a battery with an MX 1.25 connector on it with the correct polarity. Hardware done! Time for software.

Continue reading “Simple Badge Is Simple, But It’s Yours”

2023 Hackaday Supercon Badge: Welcome To The Vectorscope

This year, the Supercon badge goes analog! (Or at least fakes it pretty convincingly.) Taking inspiration from the phosphor scopes of yesteryear, the 2023 Vectorscope badge is part analog audio playground, part art project, and all about prototyping. Who doesn’t like the warm glow and lovely green fade of an old Tektronix tube scope? That’s what we’re after.

Conceptually, the badge is two separate devices in one. Most obvious is the vectorscope, which takes in voltages in the 0 V – 3 V range and plots them out in X-Y mode in glorious fake-phosphor effect on the lovely round IPS screen. We’ve also tied an audio amplifier to the Y input that plays whatever waveform you’re watching.

But you don’t have to bring your own waveforms with you – the other half of the badge is an arbitrary programmable waveform generator that drives two channels. Off the bat, it’s configurable with the front panel controls, so you’re obviously invited to make Lissajous figures and store them in the program memories.

Combining the two halves lets you draw in voltages and time, but not until you connect them together, naturally. You see, this isn’t an analog simulation – it’s the programmable equivalent of the real deal, courtesy of the AK4619 ADC/DAC. Voltages go out on one set of pins and come back in on the other.

And you get to play around with these voltages in through-hole space too, because we’ve included a very generous prototyping board for your analog explorations. Does this instantly suggest a curve tracer to you? Be our guest! Other forms of analog video-mangling? We want to see what you come up with. Make an audio filter and watch it work on the screen in front of your very eyes.

Of course we’re not leaving you code monkeys out in the cold. MicroPython puts the “programming” in the programmable waveform generator. If you’re not content with the four stock waveforms, you’re invited to write your own. And this is where it gets artsy.

You can upload your own repetitive waveforms to the onboard direct digital synth routine, but why stop there? We’ve left most of the processing power of the underlying RP2040 untouched, for you to use. And four buttons on the front panel let you store and play back your code, so you have space to stash your demos, and a sweet joystick with a custom keycap gives you control.

Continue reading “2023 Hackaday Supercon Badge: Welcome To The Vectorscope”

Keeping Badgers At Bay With Tensorflow

Human-animal conflict is always a contentious issue, and finding ways to prevent damage without causing harm to the animals often requires creative solutions. [James Milward] needed a humane method to stop badgers and foxes from uprooting his garden, leading him to create the Furbinator 3000, a system that combines computer vision with audio deterrents..

[James] initially tried using scent repellents (which were ignored) and blocking access to his garden (resulting in more digging), but found some success with commercial ultrasonic audio repellent devices. However, these had to be manually turned off during the day to avoid annoying activation of the PIR motion sensors by [James] and his family, and the integrated solar panels couldn’t keep up with the load.

This presented a good opportunity to try his hand at practical machine vision. He already had a substantial number of sample images from the Ring cameras in his garden, which he turned into a functional TensorFlow Lite model with about 2.5 hours of training. He linked it with event-activated RTSP streams from his Ring cameras using the ring-mqtt library. To minimize false positives on stationary objects, he incorporated a motion filter into the processing pipeline. When it identifies a fox or badger with reasonable accuracy, it generates an MQTT event.

[James] modified the ultrasonic devices so they would react to these events using an ESP8266-based WeMos D1 Mini Pro development board and added an external 5 V power supply for sustained operation. All development was performed in a Docker container which simplified deployment on a Raspberry Pi 4.

After implementing the system, [James] woke up to the satisfying sight of his garden remaining untouched overnight, a victory that even earned him some coverage by the BBC.

Thanks for the tip [Laurent]!