Posts Tagged ‘arduino’

(Signal to) Noise meter + Mail

Friday, January 16th, 2009

emaildayoff_snippet(ITP 4-in-4 day 4+1, or how i learned to stop worrying and love blowing deadlines)

to complete the signal to noise meter previously posted i wrote up an apple script which calculates a ratio of messages in my mail inbox to the junk messages which have been caught. the apple script then sends that ratio via serial to the signal to noise meter. i’ve set up a rule in mail.app to trigger the script every time a message comes in. the serial output (ascii only, it seems) is thanks to SerialPort X.

it’s certainly not perfect…having a lot of read messages stagnating in the inbox brings the ratio down…but i’m posting the code below so maybe someone can figure a better way.

also, the script wasn’t triggering when called directly from mail’s rules…my workaround was to have a launcher script run ‘do shell script “osascript ” signalToNoise.scpt’. for some reason this worked when the launcher script was triggered by mail – YMMV.

oh! it just when off as i was writing this entry…the light came on, and the needle swung high….i need to clean out the junk mail!

code after the break (i always wanted to write “after the break”)

(more…)

(Signal to) Noise meter, ITP 4in4, day 4

Thursday, January 15th, 2009

For today’s project I wanted to do something with the analog decibel meter that Tymm gave me on day one. My idea is to calculate some kind of signal to noise ratio in my email inbox and to display the value on this physical meter. Since I already get a lot of noise in there, maybe the value won’t change very dynamically, but be a steady din. Perhaps I could tie into the junk mail filter to show just how much work it’s doing, like a tachometer. Who am I kidding, really, I’m likely going to jump into what all the cool kids are doing and just come up with some type of Twitter visualization… (more…)

Meggy pixel video display. 4-in-4, day one.

Tuesday, January 13th, 2009

Spent most of the day at Tymm’s house, pretending to participate in 4-in-4, but mostly drinking coffee and watching videos. I did eventually get around to tinkering with my new Meggy Jr RGB from Evil Mad Scientist Laboratories. The Meggy is a pixel game platform built around a vivid 8×8 LED matrix running an Arduino compatible ATMega168. EMSL has also released a simple to use library for managing the display, buttons and speaker. It’s really a great kit.

I decided to ignore all the nice easy stuff (more…)

meggy! MEGGY! (and nyc resistor)

Friday, January 9th, 2009

meggy boardnyc resistor had one of their craft nights last evening, where they invite folks to come in to work on just about anything “so you don’t have to make stuff by yourself.” i had been missing my community fix now that ITP is on winter break, so heading over there to assemble my new meggy jr rgb kit from evil mad scientist seemed like the things to do. (more…)

elmo hacking

Sunday, December 14th, 2008

this saturday i participated in the elmo hacking workshop at eyebeam. adrianne wortzel , a resident at eyebeam, has a project which involves synchronizing the movements of 50 tickle-me elmos. mike gazes and soyoung park realized adrianne’s idea by reverse engineering the elmo’s and creating a new control unit based around an atmel atmega168, using the arduino development environment. wireless communication is through xbee radios (so many (more…)

next step…the world!

Thursday, November 13th, 2008

i got around to working directly with the Arduino’s microchip, the ATmega168, and built my first Arduino on a breadboard. part of the reason is cost…an Arduino Diecimila is $30, even the Barebones Arduino and similar clones are about $15. A raw ATmega168 chip is about $4, and the remaining parts (sans breadboard) are about $3 – so for $7 i can build a circuit around the Arduino’s chip and use the same programming environment.

the main reason to do this is flexibility. i can build ad hoc prototype circuits for individual projects relatively cheaply. also, if i fry a microcontroller it’s just a simple matter to swap it for a new one (which is also true of the packaged Arduino variants. (more…)

data logging…mobile

Tuesday, November 11th, 2008

(this is an initial report for a longer post)

in conducting field research for the CycleSense bicycle proximity sensor i’m looking to gather data about actual proximity events while riding and to correlate these events with video documentation and personal annotation from the test subject…probably just me.

to that end, i’ve worked on rigging up a data logging solution for the sensor package. there was some information on using bluetooth enabled mobile phones as a storage device, communicating to a bluetooth module such the blueSMiRF attached to a microcontroller. in this case, an ultrasonic rangefinder is read by an Arduino which sends the range values through the blueSMiRF to a nokia phone. (more…)

Proximity and Attitude!

Thursday, October 9th, 2008

Adam, Karla and I are working together on our physical computing midterm. We’re looking to generate sound from the wearer’s environment and create some type of “musical” device that they can play. Some of the stimuli that we’ve figured could be measured are proximity of external objects to the wearer, their movement / motion (speed, direction, orientation, heading), ambient light, temperature, etc. Additionally we’re thinking of explicit interactions for the wearer including gesture, moving hands / fingers, walking, etc.

I’m primarily interested in sensing the environment. (more…)

skull control (via serial)

Wednesday, October 1st, 2008

Started up working with basic motor control, ended up hacking into an existing Halloween candy bowl talking skull.

(more…)