Electronics, circles, people, contexts and vibrating hats

A few months ago fizzPOP – the hackspace I’ve been very involved with over the previous year or two – fizzled out. This left me not only with a slew of new skills and awarenesses of what might be possible, but also a fine collection of amassed bits and bobs.

What it hasn’t left me with is a clear idea of how all this new stuff relates to my art practice.

I’ve done a lot of learning, a lot of tinkering and a lot of making stuff just because I can. Now it’s time to start applying some of that rigour and circularity to the things I do involving electronics, sensors and microprocessors. (I still reserve the right to make flashing superhero cuffs if I want to, but, y’know, I want to make art too…)

I’m on limited resources at the moment and mostly having to make use of what I’ve got to hand, so thoughts returned to a wii nunchuck I’d managed to get an Arduino to read the data from back in August.

Arduino and nunchuck innards. The microprocessor reads the data from the wii nunchuk's accelerometer and then makes things happen accordingly...

I spent a long time barking up the wrong tree with an idea about modernising the old finishing school thing of balancing a heavy book on your head to improve your posture, however, after a few hours at the internet (and a few more at Central Library), I began to suspect this might be more urban myth than anything else. I couldn’t track down any nice references for it. Also, although in my mind’s eye I could easily see the book with accelerometer in it registering when it was no longer horizontal, I couldn’t figure out what it would do next. What would the output be? Why?

Anyway, at some point this thinking got bumped onto some different tracks and I’ve embarked on a series of concept pieces that I’m hoping will help bridge the gap between learning and Proper Work. This is where the vibrating hat comes in…

Starting point: what if well-known behaviour patterns were actually caused by devices?

Example (involving a vibrating hat): So, you know the pattern when someone’s falling asleep in public: their head nods forward three times and then they wake up with a snort and a small quantity of embarrassment. What if, what if, this is not actually the default behaviour? What if, when left to our own devices, we just keep on nodding? What if aforementioned falling-asleep-in-public person has had the foresight to don a special hat that recognises when nodding has commences and then discreetly wakes that person up rather than leaving them nodding indefinitely?

I’m making that hat.

A hat with working circuitry to enable it to detect 3 nods and then buzz the motor to wake you up...

After that I’d like to make a device that reads galvanic skin response and then taps your foot up and down when you’re nervous.

After that I’d like to make a device that… what do you suggest I make? What quirks of human behaviour might it be interesting to consider from another angle? Your thoughts in the comments please!

I’m still pondering what to do with this work once it’s made: I tend to like to see things being put into use. Documentation-wise, I’m thinking something like the way Sputniko! tells stories might work. Anyone up for a train-ride with video camera and vibrating hat?


A quick test of one of the soft switches that go inside the hat's ear flaps. This one is used to toggle the alarm on and off - my next task is to refine the feedback for actions like this.

Third party nunchuk plus Arduino

I’ve just got an Arduino to read data from a cheap third party wii nunchuk controller.

Because it wasn’t a genuine controller, it had 5 wires instead of 4 and the colours didn’t match with the tutorials [windmeadow] [TodBot Bionic Arduino class 4, pdf] I could find online.

I had to do a bit of experimentation to find out what went where. Recorded here in case it helps someone and for when, inevitably, I try and do it again in a few months’ time…

Bad photo of something I'm very pleased to have got working :)

Bad photo of something I'm very pleased to have got working :)

Wires

So, not only are there 5 wires instead of 4, but the colour coding is very different too. Opening up the case to the nunchuk and looking at the PCB shows some convenient labels:

GND – brown
SDA – red
SCC – yellow
VDD – blue
also
J1 (seems to be connected to VDD) – white

I managed to break off the white wire at the PCB whilst I was prising off the hot melt glue to look at the labels, and the following worked without re-connecting it…

Code

This post on the Arduino forum shows edits to make to Todbot NunchuckPrint sketch in order to get it to work for third party controllers.

Build

After testing on a breadboard, I soldered the wires to some headers for ease of use later.
With the above code red goes to Analogue 4 and yellow goes to Analogue 5. (Either connect the other two wires to GND and 5V pins, or the code allows for blue to Analogue 3 and brown to Analogue 2.)

And then…

Haven’t quite figured out what I’m going to do with this yet!



Copyright and permissions:

General blog contents released under a Creative Commons by-nc-sa license. Artworks and other projects copyright Nicola Pugh 2003-2024, all rights reserved.
If in doubt, ask.
The theme used on this WordPress-powered site started off life as Modern Clix, by Rodrigo Galindez.

RSS Feed.