Friday Hack Chat: Hacking For Mental Health

Quite often we see applications of hacking and DIY in the medical field. From 3D printed prosthetics to hacked insulin pumps, there’s a wide variety of stuff you can do, but what about psychology? That’s what our Hack Chat this Friday is all about.

Our guest for this week’s Hack Chat is Curt White. He’s been building medical devices for years, and when he’s not doing that he’s creating interactive installation art and costumes. At work he’s a device and sensor developer at the Child mind Institute MATTER Lab where he designs and researches wearable medical devices for children with mental health issues. He’s currently working on gesture detection using wearables, machine learning optimized for microcontrollers, and building and fixing prototypes.

For this hack chat, we’ll talk about how mental health can be addressed by building things with a focus on wearable devices and sensor data. How are wearables challenging the outdated and arbitrary classification of psychiatric disorders, and what is the potential for audio, EEG, and fMRI to help us progress beyond checklist diagnosis? We’ll also talk about:

  • Hacking for mental health
  • Addressing the intangible with the tangible
  • Working with medical researchers
  • The fact that you don’t need an IRB if you don’t accept federal funding, or are working in Belize.

You are, of course, encouraged to add your own questions to the discussion. You can do that by leaving a comment on the Hacking For Mental Health Event Page and we’ll put that in the queue for the Hack Chat discussion.join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This week is just like any other, and we’ll be gathering ’round our video terminals at noon, Pacific, on Friday, August 24th. Need a countdown timer? Go go go

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

Ask Hackaday Answered: The Tale Of The Top-Octave Generator

We got a question from [DC Darsen], who apparently has a broken electronic organ from the mid-70s that needs a new top-octave generator. A top-octave generator is essentially an IC with twelve or thirteen logic counters or dividers on-board that produces an octave’s worth of notes for the cheesy organ in question, and then a string of divide-by-two logic counters divide these down to cover the rest of the keyboard. With the sound board making every pitch all the time, the keyboard is just a simple set of switches that let the sound through or not. Easy-peasy, as long as you have a working TOG.

I bravely, and/or naïvely, said that I could whip one up on an AVR-based Arduino, tried, and failed. The timing requirements were just too tight for the obvious approach, so I turned it over to the Hackaday community because I had this nagging feeling that surely someone could rise to the challenge.

The community delivered! Or, particularly, [Ag Primatic]. With a clever approach to the problem, some assembly language programming, and an optional Arduino crystalectomy, [AP]’s solution is rock-solid and glitch-free, and you could build one right now if you wanted to. We expect a proliferation of cheesy synth sounds will result. This is some tight code. Hat tip!

Squeezing Cycles Out of a Microcontroller

Let’s take a look at [AP]’s code. The approach that [AP] used is tremendously useful whenever you have a microcontroller that has to do many things at once, on a rigid schedule, and there’s not enough CPU time between the smallest time increments to do much. Maybe you’d like to control twelve servo motors with no glitching? Or drive many LEDs with binary code modulation instead of primitive pulse-width modulation? Then you’re going to want to read on.

There are two additional tricks that [AP] uses: one to fake cycles with a non-integer number of counts, and one to make the AVR’s ISR timing absolutely jitter-free. Finally, [Ag] ended up writing everything in AVR assembly language to make the timing work out, but was nice enough to also include a C listing. So if you’d like to get your feet wet with assembly, this is a good start.

In short, if you’re doing anything with hard timing requirements on limited microcontroller resources, especially an AVR, read on!

Continue reading “Ask Hackaday Answered: The Tale Of The Top-Octave Generator”

All The Badges Of DEF CON 26 (vol 2)

There were so many amazing unofficial badges at DEF CON this year that I can’t possibly cover them all in one shot. I tried to see every badge and speak with every badge maker — like a hardware safari. Join me after the jump for about fourteen more badges that I saw at DEF CON 26!

If you missed the first batch, check those badges out too — there’s even a Badgelife Documentary that you need to add to your watch list. Okay, let’s dig in.

Continue reading “All The Badges Of DEF CON 26 (vol 2)”

The Forgotten Art Of Riveted Structures

If you are in the habit of seeking out abandoned railways, you may have stood in the shadow of more than one Victorian iron bridge. Massive in construction, these structures have proved to be extremely robust, with many of them still in excellent condition even after years of neglect.

A handsome riveted railway bridge, over the River Avon near Stratford-upon-Avon, UK.
A handsome riveted railway bridge, over the River Avon near Stratford-upon-Avon, UK.

When you examine them closely, an immediate difference emerges between them and any modern counterparts, unlike almost all similar metalwork created today they contain no welded joints. Arc welders like reliable electrical supplies were many decades away when they were constructed, so instead they are held together with hundreds of massive rivets. They would have been prefabricated in sections and transported to the site, where they would have been assembled by a riveting gang with a portable forge.

 

So for an audience in 2018, what is a rivet? If you’ve immediately thought of a pop rivet then it shares the function of joining two sheets of material by pulling them tightly together, but differs completely in its construction. These rivets start life as pieces of steel bar formed into pins with one end formed into a mushroom-style dome, probably in a hot drop-forging process.

A rivet is heated to red-hot, then placed through pre-aligned holes in the sheets to be joined, and its straight end is hammered to a mushroom shape to match the domed end. The rivet then cools down and contracts, putting it under tension and drawing the two sheets together very tightly. Tightly enough in fact that it can form a seal against water or high-pressure steam, as shown by iron rivets being used in the construction of ships, or high-pressure boilers. How is this possible? Let’s take a look!

Continue reading “The Forgotten Art Of Riveted Structures”

Hackaday Links Column Banner

Hackaday Links: August 19, 2018

If you want to creep everyone out, [Hunter Irving] has your back. He found a weird, creepy knock-off Thomas the Tank Engine toy and mounted a servo to it. This animatronic face is really, really creepy and has the aesthetic of a pastel plastic hell of the forgotten toys destroyed in a day care in 1991. It probably smells like a thrift shop. This rosy-cheeked locomotive shall derail your soul. It sings karaoke.

Like badges? Sure you do. Ph0xx is the badge for the upcoming Fri3d Camp, a family hacker, maker, and DIY camp in Belgium with 600 attendees. The badge features an ESP-32, two 5×7 LED arrays, accelerometer, an 18650 battery with protection and a charger, expansion headers, and this badge is compatible with Lego Technic. Oh yes, they went there.

We’re filing this under ‘but why’. It’s a custom Mercedes-Benz motorcycle, with a sidecar, that looks like an early 80s Benz convertible. [Maarten] stumbled upon a few pics of this, but the google-fu is weak in trying to get some information about this build. Who built it? Why? Does it run?

Here’s something near and dear to my heart: my greatest contribution to humanity so far. The Shitty Add-On spec for this year’s batch of Def Con badges is the reason badges now have their own badges. Now it’s time for a slight upgrade to the standard, and I need your help. The SAO standard 1.1bis will retain the VCC/GND/SDA/SCL layout of the first revision, but to increase mechanical stability and decrease the complexity of populating the headers, we’re adding two pins. Here’s the question: what should these two extra pins do? The current options are adding TX and RX to the standard, or two GPIOs that are undefined, but able to be utilized by each badge team for their own purposes. Those are the two options, but I’m looking for your input in the comments. Hurry up, because we have Superconference badges to build.

You should know the Primitive Technology channel on YouTube. This week he made another step towards the iron age. The basic idea behind this channel is a guy in Australia playing Minecraft in real life, building everything he can, starting with the technology of punching trees. The latest video shows his process for smelting iron. The iron comes from iron-bearing bacterial sludge found in a creek. The geologic disadvantages of northeastern Australia notwithstanding, he’s doing everything else right. He’s making charcoal, and turning that sludge into something that could be a bloom of iron.

Getting Kitted To Teach Your First Hardware Workshop

I was always a sucker for art classes in my early days. There was something special about getting personal instruction while having those raw materials in your hands at the same time. Maybe it was the patient voice of the teacher or the taste of the crayons that finally got to my head. Either way, I started thinking: “I want to do this; I want to teach this stuff.”

Last year at Hackaday Superconference I got my chance. Hardware workshops with real hardware were so rare; I just had to bring one to the table! What follows is my tale of joys and woes bringing together a crew to take their first few steps into the world of cable-driven animatronics. If you’re thinking about getting your feet wet with teaching your own hardware workshop, read on. I’ve packed this story with as much of my own learnings as I could to set you on a path to success.

The good news is that Supercon returns every year. I you want to take part in some epic workshops like this one, grab a ticket for this year’s conference now. If you want to host a hardware workshop, the Call for Proposals is still open! Okay, let’s dive in.

Continue reading “Getting Kitted To Teach Your First Hardware Workshop”

Breakfast At DEF CON — The Greatest Illicit Meetup Of All

Every year we host Breakfast at DEF CON on the Sunday morning of the largest hacker conference in the United States. I think it’s a brilliant time to have a meetup — almost nobody is out partying on Sunday morning, and coffee and donuts is a perfect way to get your system running again after too much excess from Saturday evening.

This year marks our fourth Breakfast and we thought this time it would be completely legit. Before we’ve just picked a random coffee shop and showed up unannounced. But this year we synced up with some of our friends running the Hardware Hacking Village and they were cool with us using the space. Where we ran afoul was trying to wheel in coffee and pastries for 100+ people. The casino was having none it.

But to their credit, we were forbidden from bringing the food into the conference center, not into the greater casino. We ended up squatting in a restaurant seating area that wasn’t open until 5pm. The awesome Hackaday Community rolled with the venue change, and a fantastic time was had by all! For what it’s worth, this ended up being the best space for a Breakfast yet! There was plenty of room with many tables, and we had no problem filling all of the space.

Tindie and Hackaday were sponsors of the SMD Challenge this year (a timed soldering challenge going all the way down to 0201 packages that was also judged for quality). Jasmine announced the winner live at the meetup, that’s the image at the top of this article. I thought the award the Solder Skills Village made for the Most Dropped Parts was pretty epic. It’s a round pendant with a piece of carpet and a bunch of components that was on display during the meetup.

The number one piece of hardware people brought with them was badges. Since we’re doing in-depth badge coverage I won’t go into that here. But I’d like to mention that for the second year in a row, Brian McEvoy brought some epic hardware. Last year it was an OpenSCAD controller demo, this year it’s a custom mechanical keyboard design system.

Taking wide shots of crowds is frowned upon at DEF CON so what follows are posed shots. I made sure to ask all involved before snapping the image. DC27 is a long way away, I’m hoping to see many of these awesome folks much sooner than that when Supercon gets going this November.