What if the scary book you were reading could really shock you?
This piece of biofeedback-based experimental book art detects the rising fear or excitement in a reader and then amplifies it, by causing tingling in the hands through to mild electric shocks. This effect is created by a wrap-around book cover that can sense the physiological changes that occur when a person sustains fear or other arousal, and then responds by injecting a small electric current through the book jacket and into the hands.
Important note: Those who suffer from heart conditions, who wear a pacemaker, are epileptic, pregnant, or undergoing cancer treatments should not use this device. (It works at low enough levels that it should be safe for those people but I am not familiar enough with all makes of cardiac implants and other therapies to guarantee safety.)
The Spine Tingler in use
In essence, the book jacket acts as a lie detector. (Lie detectors don't detect lies, but they do effectively measure increased activity of the sympathetic nervous system—the fight or flight response.) When you read something that excites you, your sympathetic nervous system ramps up leading to the galvanic skin response, in which the electrical resistance of the skin changes. The response kicks in with fear, anger, being startled, or sexual feelings.
When the device measures the increase, it switched mode to send an electrical current proportional to the level of sympathetic nervous system response through the book cover. It starts out feeling as a very slight tingling, increasing to enough of a shock that most people would naturally recoil from it, probably dropping the book.
How it works
The first stage of the Spine Tingler algorithm is to detect the galvanic skin response. This is achieved through use of a home-made combination resistive and capacitive touch panel. It consists of one sheet of conductive polymer and two sheets of striated conductive polymer—conducting plastic—separated by a very thin sheet of non-conductive plastic. (The capacitive touch panel is similar in principle to the iPhone touch screen but not quite the same.)
The stripes of conductive polymer are oriented different directions so that when a finger touches the plastic, the capacitance changes in the region of the finger, and because there are two sets of lines in perpendicular directions, the location of the touch can be indexed. We must know the locations of touches because measuring the galvanic skin response, or GSR, requires a measurement of resistance, which is confused by the potentially varying amount of contact between the reader’s hands and the book cover.
The first few minutes of holding the book are used for calibrating the resistance, which depends on the person and changes on time scales of hours or days. Just hope the literary shocks don't come during calibration in the first few pages or the proper effects won’t be felt!
Once calibrated, the galvanic skin response is measured in detail, looking for small but consistent changes in resistance. The level of GSR is determined based on the resistance measured through the conductive polymer outer layer, scaled by the positions of the hands measured through the capacitive touch panel. As there are many possible hand configurations, this calculation is based on a heuristic algorithm, trained by the measurements of various hand positions during a control period in which there is no changing activity of the sympathetic nervous system.
With the measurement in place, the conductive polymer outer can now be turned to a different purpose: delivering a small current to the hands. When an increased GSR implies increased activity of the sympathetic nervous system, the electric shock can be applied to the reader.
The front and back cover of the book are set to opposite voltages so that touching both covers (as is normal for most book holding positions), will cause a small alternating current to flow through the skin. The applied voltage difference is determined by the measured GSR so that a stronger response to the book corresponds to a stronger current delivered to the reader. A series of tests allowed the device to be calibrated for appropriate levels of current, and is scaled by the baseline knowledge of the GSR measured in the first few minutes of holding the book.
Construction details
I'll keep the construction description just in outline here but could send detailed construction plans on request once I finish writing them up.
In the prototype, the layers of plastic are simply laid on top of each other and smoothed down against the book tightly, folded over the outer edges of the covers and taped in place while both covers are splayed open. That means when the book is anything less than fully open there is sufficient tension in the plastic to hold the layers tightly together. This also means that the device only works well for hardcover books. A future version will include a proper way to combine the layers of plastic so they are more flexible and can work on paperback books.
The electronics and power supply are housed in a block that sits against the spine, which results in an increased effective thickness of the spine, but the size could be minimized by using surface mount components. The biggest challenge is the rechargeable battery supply, which can only hold enough charge for one or two decent shocks before it needs recharging. I used a lithium-ion polymer battery for best capacity to volume ratio. The electronics could be mounted off the book, but it seemed that the device should be portable and not need anything connected externally to the book.
The control system is operated via the ATmega328 chip, which is the basis of some varieties of the Arduino open-source computing platform, which I already had experience with and have found quite powerful for various applications. The programming of the chip, etc. occurred through a modified Arduino board in which I could insert the ATmega328, program it, and then remove it for mounting in my own circuit. It was much easier to upload the code, do the testing and calibration, etc. that way. The electronics could be made smaller using a surface mount version of the ATmega328, but that would make it more difficult to program the chip so I used a DIP package.
The alternating current is provided by using a hacked transcutaneous electrical nerve stimulation (TENS) device—Medical Products Online, Inc. model MPO2800—that is intended for physical therapy application. This control of the alternating current could be all done within the chip, but hacking an existing device made it very easy to produce the appropriate waveforms suitable for inducing the tingling needed.
Send me an email for further details of the electronics and full circuit diagrams, code, etc. I could supply pre-programmed ATmega328 chips at cost for people who don't have the capacity to set it up and program it themselves.
Conclusion
In essence, the device works okay as a prototype, with the ability to deliver a tingle strong enough to make me want to release the book, activated by a sufficiently strong reading stimulus. Future versions will minimize the spine size; find a battery solution that is rechargeable and has a longer life, while still delivering enough current to provide a shock of sufficient size to be surprising; develop an improved version of the homemade conductive/capacitive touch cover; and develop improved algorithms for correlating an appropriate sympathetic nervous system response to an appropriate level of current through the cover. Suggestions for improvements are very welcome and I can supply more details of this project on request.
Saturday, September 12, 2009
Tuesday, September 8, 2009
Week 13: The etolemur
This one is just for fun. I had an electric razor which had died and wasn't really repairable. After having a hard time breaking inside the thing, I managed to dissect it completely and have reformed the parts into what I am calling my etolemur, because of a very vague resemblance to an otolemur.
I didn't reuse all the parts but all the parts of this little guy came from the razor. My favorite parts are the eyebrows and the super-sharp claws. He also has some extra talons out the front but those are primarily due to his need to defend himself against creatures made of bigger and better electronic equipment. His ancestors were picked on a lot so evolution has given him a couple of extra advantages for survival.
He's not great at standing on his hind legs unassisted so he uses his tail for support when showing off like this. His arms are pretty agile and springy, which are of great use both in launching himself from branch to branch and as shock absorption when he takes a rough tumble when playing with his other etolemur pals.
I didn't reuse all the parts but all the parts of this little guy came from the razor. My favorite parts are the eyebrows and the super-sharp claws. He also has some extra talons out the front but those are primarily due to his need to defend himself against creatures made of bigger and better electronic equipment. His ancestors were picked on a lot so evolution has given him a couple of extra advantages for survival.
He's not great at standing on his hind legs unassisted so he uses his tail for support when showing off like this. His arms are pretty agile and springy, which are of great use both in launching himself from branch to branch and as shock absorption when he takes a rough tumble when playing with his other etolemur pals.
Monday, September 7, 2009
Week 12: What is a magazine?
An essay for this entry that starts as follows and continues at Cathemeral Thinking:
As I work toward launching a new magazine, I am contemplating a question that seems to have an obvious answer to many people, but is definitely contentious, and for which there is no real consensus. Although finding a concrete answer might also seem like a philosophical pursuit of no real importance, I think it is pretty important to be aware of what I am about to do. I should probably already know the answer to this as editor-in-chief of one magazine that I built, but the changing publishing landscape prompts me to re-examine it. Knowing what makes a magazine also gives us a chance to emphasize what is characteristic and gives us hints as where we could focus our efforts.
Sunday, April 26, 2009
Week 10/11: The TwitterLamp
"This micro-knowledge of others has been termed ‘ambient awareness’ by sociologists, a new kind of social proprioception or ethereal limb, and I learned to flex it with ease."We are bombarded with information, most of which we have relatively little conscious awareness of as we go about our everyday lives. Signs, advertisements, piped music, and video displays all litter our environment, coming into our conscious minds typically only as we need or want the information presented by those sources. And yet, we still pick up some sense of what is happening through their ambient presence.
Recent Web tools make this idea of ambient information presence a little more explicit (and more useful) through sources like a Facebook news stream, or a twitter stream. By simply scanning these sources, we are able to get a sense of the lives of groups of people. With these tools we get a sense not through partial reception of the information, as for environmental background sources, but through partial information supplied in these streams.
However, these new Web tools also exist primarily through interfaces that require conscious actions to access. How do you know what is happening in your streams without going to a Web site, mobile device, or some other interface? Some desktop twitter clients play a sound or show an alert for updates, but that is a fairly intrusive action, and can be distracting. How can you gain a semi-conscious sense of twitter activity?
I wanted to play with this idea of ambient awareness further and create something that gives a purely ambient sense of stream activity.
The TwitterLamp
The device I decided to create monitors my twitter stream and lights up different colors depending on the levels of status updates, @replies, and direct messages in my stream. The three color channels (blue, green, and red) light up at different intensities depending on how many new updates there have been since the last reset. A press button resets the counts.
The TwitterLamp will sit your desk glowing more intensely blue as more updates arrives, more green as you get more @replies, and with more red in the mix as you get direct messages. To make the simplest version, I decided to run this via a USB cable to the computer, which will supply power and the data needed to light the lamp.
Some features
- The color channels can be reassigned easily.
- The color channels can be modified to trigger from other kinds of levels such as occurrences of words in an RSS feed, number of new emails present in various email accounts, etc.
- The intensity can be scaled depending on your twitter activity. For example, if you only get the occasional direct message but you care about them a lot when they arrive, direct messages can turn the red channel to full intensity, whereas the blue updates might require a few hundred updates to reach full intensity.
- Updates can be scheduled at whatever intervals you choose so as not to use up the regular allotment of 100 API calls per hour.
- The hardware is small so it can be mounted inside various kinds of lamps. The one shown above is a blown glass lamp from IKEA. That particular lamp is larger than I would have chosen but it was there and handy, so I decided to use it for the prototype.
How it works
Building a device like this from scratch would take considerable effort but modern microprocessor hardware is incredibly powerful and easy to use. I decided to use the Arduino platform for the hardware, with the closely integrated Processing programming environment for running the code.
The hardware is shown in the photo to the right. It's really pretty straightforward, with the Arduino board connected via a USB cable to my computer, with the solderless breadboard there for prototyping, with a few LEDs and a pushbutton switch. For best brightness with the components I had on hand, I used pairs of each color of LED. In the image, the blue and red are illuminated to indicate the presence of new friend updates and some direct messages. The green LEDs are turned off because there are no @replies at that time of the photo.
The Processing code uses the twitter4j library to access the Twitter API and read the streams. It determines how many updates are in the streams, changes the appropraite levels and sends those levels out through the USB connection. It also constantly monitors for a button press, ready to reset the counts as needed. The code can compile to a standalone lightweight java application that runs unobtrusively but also gives numerical counts of the updates, with times to the next updates, if you choose to open the app.
The Arduino code does the conversion from the data coming from the computer and illuminates the LEDs in response. It also monitors the button and sends the reset signal back to the Processing code.
Possible updates/improvements
- Make a version of this using the blinkM programmable LED (it's overkill but means that little hardware beyond the Arduino and the blinkM are required). That will require a different programming protocol. Using the blinkM would also make it very easy to intergrate other types of information such as a pulsing or color variation to indicate information beyond the three basic channels.
- The button can be wired so that pressing down on the light causes a reset instead of having a regular button that needs to be pressed.
- The TwitterLamp could communicate wirelessly with either your own laptop, or via a Web server, and operated on batteries or a powerpack so that it isn't tethered to a specific computer.
- The current system counts updates only from when the Processing code is started. A future version will store the most recently accessed information in the Arduino or in a file on the computer so that switching it on will immediately show updates since the TwitterLamp was last operated.
- Add a fourth yellow channel for new followers. (This might be a little odd as it's not really an independent color from RGB, but perhaps specific physical placement within the globe might allow this to be differentiated--a spot at the top of the globe, or a yellow rim of light around the bottom, perhaps.)
- The software currently operates using the twitter4j library, which is most useful for me because it handles the authorizations very easily. However, some of the functions don't seem to be working properly within Processing because, I think, the twitter4j library relies on a version of java more recent than is implemented in Processing. If I figure out how to do the authorization myself, I'll just use the twitter API direct. (I had never programmed in java before this project so I'm not quite up to handling the authorization process yet! Last time I programmed was 15 years ago so the whole world of programming on the Web is new to me.)
Saturday, March 28, 2009
Week 9: A return to electronics--setting up
As a kid, I used to spend a lot of time inventing and building electronic circuits. I could have told you immediately that yellow-violet-orange meant a 47 kilo-ohm resistor. Alas, those details have slipped into the murky depths of time, but I have regained an interest in electronics recently because I've seen how powerful and easy-to-use modern microprocessors are.
In particular, I've been looking into the Arduino microprocessor (shown right) as the core of a few applications I want to build.
But before I leap into more complex projects, I want to re-acquaint myself with building electronic circuits again. All of my electronics gear is back in Australia so I needed to do quite a lot of shopping to get myself all set up again. After a very long time spent wandering the confusing aisles of Fry's (the handiest place for this kind of gear, even if not the best), I came home with quite a haul.
As a starting point, I just wanted to have a reliable 5V power supply available for building circuits. This should be easy (and is in hindsight), but it took a while to figure out precisely how to do it. I opted for an off-shelf power adaptor that has a switch to select voltages in 1.5V increments up to 12V.
I grabbed a prototyping breadboard to build the circuits on, and a handful of components to have a properly regulated power supply. The cheap power adaptor has settings for 4.5V and 6V but nothing for 5V so I definitely needed to do something to give a reliable 5V supply. Of course, those settings are very loose as it is and if you measure the voltage across the supply without any load or a very small load, the actual voltage is much higher than that stated.
The first problem was getting power from the power adaptor to the breadboard. I found a convenient socket for a power adaptor cord that I could attach a couple of wires to the back off and run them to the power terminals on the breadboard. That way I didn't need to hack apart anything in the power adaptor and I can still use it for other purposes.
With power to the breadboard, I just needed to regulate the voltage. The solution was the very convenient LM7805 voltage regulator (which only took me 20 minutes to find at Fry's because they have a supplier that relabels everything in some obscure code that I only deciphered once finding a full catalog). You can essentially apply any voltage from 7-20 volts or so to the chip, and pull off 5V+/-0.25V. Add a few capacitors on the input and output sides of the chip to smooth out the voltage under load, and it's all set.
Just to test there was power working properly, I just drove a single LED (via a resistor to avoid the characteristic pungent smell of frying electronics that I recall from undergraduate laboratory classes). And here is the result. As you can see, the LED is lit and my digital multimeter is showing a voltage of 4.99V. A perfect start to getting back into electronics.
Next was a simple circuit to make sure I have things working. Using the classic 555 timer integrated circuit, I decided to make a small sound generator. It produces a sawtooth pattern with the frequency depending on the values of resistors and capacitors in the circuit. I don't have very many components on hand so I had to steal the capacitors from the voltage regulator for now, and just used the resistors I had to hand, but the frequencies come out in the audible range and different resistors do indeed create different tones.
Yes, this is a pretty boring outcome so far, but it's amazing how much I am re-learning just in the process of getting all the gear together and setting it up! My Arduino board should be arriving soon, and I have the Processing language installed and I am playing with it so that I can make my computer talk to the microprocessor, all on the way to a fun application I'll write about as I get further along.
Thursday, March 12, 2009
Week 8: How twitter might change news
Well, I'm not exactly keeping up a weekly project every week but I thought I might as well number sequentially and in some weird dream land I might catch up to the actual week number... but anyway...
This week, the creation is another essay. It might seem like cheating a little but I think that writing this particular analysis was creative in its own way. I absorbed myself in a process and learned a lot and then created by distilling it.
This week, the creation is another essay. It might seem like cheating a little but I think that writing this particular analysis was creative in its own way. I absorbed myself in a process and learned a lot and then created by distilling it.
Essentially I watched a news story break over twitter, and then inspired by a comment about the fast news cycle, started to think about the implications for how people will react to conventional fast-breaking news stories in the future. I asked a question about it, which provoked some discussion, and that led to me fleshing out my thoughts in this essay.
The essay is over on Cathemeral Thinking but this is how it starts:
The essay is over on Cathemeral Thinking but this is how it starts:
On Thursday morning (US Pacific Time), March 12, 2009, a piece of debris came close enough the International Space Station to require the astronauts to take refuge in the Soyez module, just in case there was a collision. In the end, the debris passed by without incident.
I experienced this event almost entirely through twitter. This essay is to share my experience about how this is an example of ways in which somebody can follow news in a format completely different from conventional news reporting. This experience is, obviously, peculiar to me, in that only I follow my set of twitter users, and this is my personal reaction to it. However, I believe that this kind of process is starting to occur for many more people and it changes the way those people will use conventional news reporting.
Saturday, February 21, 2009
Week 7: Blurt communication
Not much introduction for this one as it the product is an essay. However, it is based on spending a lot of time in the past week or so getting to understand twitter and how it can be useful, and playing the signtific game "Free Space" during the week.
The confluence of various activities I've been involved with and the conversations I had at the AAAS meeting in Chicago brought many ideas into my head all at once. One way this has manifested is the essay: "Blurts: The value of short, rapid, open communication to collective creativity"
Comments encouraged!
Subscribe to:
Posts (Atom)