I thought I would jump in and blog on my current progress at the Makerspace with a lamp called OOMA, or The Object Of My Affection. It’s a lamp that is shaped like a GPS Navigation pin that rotates to always points toward the one you love… as long as they allow you access to their Google Latitude account :). I am finalizing hardware designs and now moving into writing the software and how it talks to the Internet.
Initially I would have waived it off as using WiFi, or Ethernet, but work on another project (Marco) has illuminated several obstacles over multiple use cases (configuring Wi-Fi, closed networks, IP addresses); instead I think the approach will be to opt over USB (via Arduino Leonardo). I figure, if people will load up a coffee cup heater or foam missile launcher to USB, than there is no issue with port scarcity.
It’s not a lamp without light, and at some point OOMA will light up in either Android Blue, or iPhone Purple. Lighting the lamp will, however, have to relegated to a v.2 build, due to some complexity in the diffusion of light in such a cramped space. Additionally, I’d like to investigate EL panels to light it up.
Finally, I am coming up on the decision to be a DIY offering, or to design it to be marketable – do I build as a one off and just offer the blueprints to others or build an end-to-end consumer solution complete with potentially an NFC tag to tap and pair a user and their lamp.
The next generation BADASS board was too big to fit through the card laminator, so I figured I’d try my hand at Tom’s laser etching method. By using the trace program included with CorelDraw I was able to make a vectorized path for the board. One pass takes about 5 min at 50% speed.
Tracey, my wife, runs a lot. This year she is already over 2000 miles logged. She runs marathons and ultra-marathons and crazy things like 50 mile runs. We have long joked together that she clocks more miles running in a year than i put on my beloved 1999 Chevy Prism driving it to the train station and back. This made me think that i should make an odometer for her. I decided to do this for real a couple of weeks ago and had a prototype ready for her to open on Christmas morning.
Her immediate reaction? “You got me a box of wires and stuff?!” Once i explained it to her and showed it in action, she thought it was a lot of fun.
I initially wanted to use a real car odometer, but i didn’t have one handy. I went over to the fantastic American Science and Surplus and looked for some counters or an odometer there. While i didn’t find an odometer, they did have some 24v industrial counters from Durant. These are nice little counters that were (are?) made in Watertown, WI, not too far from our space. They are super simple devices. 6 geared dials have the numbers 0-9 on them. A solenoid ticks the rightmost number with each pulse of voltage it receives. When the dial on the right rolls over from 9 to 0, the next gear is ticked up by one and so on. These counters are not resettable or reversible, except by some manual intervention. I took the little guy apart and cranked the wheels over to where i wanted them.
A quick rummage through the hack rack turned up an 18V wall wart that we clipped the plug off of and used for our power source. Royce helped me out with this and with his help and a couple of alligator clips we proved that the 18V was enough to activate the solenoid and tick the counter up by 1. This particular counter moves 1 tick regardless of how long the voltage is applied. To crank up multiple ticks, i need to cycle the power on and off. I had an Adafruit MotorShield lying around that had all of the necessary high-voltage gear on it and we got the device up and running pretty quickly with it. I did not have time to build a circuit board just for this device, so the MotorShield is what is being used for the working device now. That wrapped up a quick night of experimentation at the space and at the end of it i had a working counter and the Arduino code to control it!
My next task was to integrate it with DailyMile, the social networking site that Tracey uses to log her runs and connect with her running friends locally and around the country. Thankfully, DailyMile has a nice little REST+JSON API that made it super easy to snag all of Tracey’s details. I used their ruby client, but will probably switch my app over to Python because i have been doing more Python development lately. The API returns a simple JSON structure for all logged activities and i simply snag that data and store it locally in a pretty-printed JSON file. A sample activity record and URL look like this:
"message":"My legs felt a little bit tired today but my lungs felt GOOD! I tried to stay relaxed and just enjoyed the feeling of breathing in and out. Really, a lovely Sunday morning.",
I save all of the activity events locally, but for this odometer, i am only interested in the “Running” events.
The ruby application runs forever and polls the DailyMile API every minute for new data and stops paging through the results if it finds entries that it has seen before. If any new runs are found, the app figures out how many miles are missing from the odometer and sends that value along as a byte to the arduino over the serial port using the serialport gem and waits for a successful response.
The device and code work right now, but the presentation leaves a lot to be desired, though, so i am working on a version with a more lovely display. I like the analog odometer feel and I think the next step will be to make some larger gears for this project on the CNC router at the space and build a bigger version. I’d also like to work with my father on a nice wooden case for the display and the gear.
The more immediate next steps will be to make a smaller circuit for this that doesn’t need a full arduino and a motor shield. I can control the solenoid with a transistor (like we did for the Beer Project). The bigger challenge will be to make the connectivity to the data from the API more compact. I would love for this device to be wireless, but i need to figure out how much i want it to cost. This would be a fun project to offer as a kit or for sale, but i don’t want it to cost close to 100 dollars, so i’ll be doing some more prototyping to make it a bit more standalone. The other challenge i have is that Tracey typically only uses her laptop, so there is no desktop machine sitting around that she would hook this up to so it will constantly update. I do have some new Xbee gear that might work, but i think the trickiest thing to design will be the standalone version that doesn’t need a computer connected to it.
Here’s a brief synopsis of two projects currently underway.
Ron is leading the construction of a CNC router. A workpiece will rest on two platforms, salvaged from a defunct laser cutter, and stepper motors will drive them in the X and Y-axes. Another stepper motor will move the a router up and down in the Z-axis from a mount above the work. When complete, the device will be able to produce 3-D objects out of wood and some light metals. So far, the two heavy platforms have been installed on a wooden frame and Ron is busy working on a carriage that the router will mount to so it can travel in the Z-axis.
Here we see Adam testing his latest creation. Using an Arduino board, he has built a device that registers a ‘hit’ whenever a magnetic pellet strikes a sensor. The ultimate goal is to build a vest of sensors, lights, and buzzers that airsoft enthusiasts can wear. Whenever a gamer is shot, it will light up and make noise. Other possibilities include real-time score keeping and ways of recording who shot who, where, and how often during games.
More next time!
September 27-28 at Wisconsin State Fair Park, the same weekend as Harvest Fair. Admission is free. Maker Faire Milwaukee's Call for Makers is now open.
Connect with Milwaukee Makerspace
Join our public mailing list to talk with Milwaukee Makers about projects, techniques and more.
Check out some behind the scenes info on our wiki.