Archive for March, 2012

Eggbot LED Lamp

I’ve had it in the back of my head for a long time to make some type of lamp with LED’s.  And with the arrival of the Ostrich Egg-Bot and its diamond etcher, I had the concept of spray-painting some egg-like object, and etching away a pattern to let light through.  Below is my first attempt at such a thing. Did it work out just like I had envisioned?  Not quite.  But it was a great learning experience, and I’m in a much better place if I decide to do it again.

The finished product

I started out by purchasing a simple glass vase at the dollar-store, drilling a hole through its base for the power-cord (which was surprisingly hard even with the special ‘glass drillable bits’ I purchased).  I spray-painted it matte-black on the bottom, and sort of faded the paint up the side so it’d be more transparent at the top.  I designed a simple pattern in Inkscape, which the Ostrich Eggo-bot then etched onto the now-painted glass vase:

Etching in progress...

Upon completion of that, I selected four LED’s for the inside of of the light:  A high-power blue for the middle, and four high-power red’s that would shine out the sides.  My hope was the red LED’s would show off the etching.  As a mounting platform for the LED’s I cut a round piece of wood from a piece of scrap plywood, then drilled holes in it for the LED leads, and the power-cable.  I grabbed an old wall-wart, cut off the end, and threaded it through the hole in the vase and my wood disk. I wired that into a breadboard with appropriate resistors:

Breadboard!

Finding success there, I hot-glued the led’s into the wood disk:

From there I started the process of soldering the resistors to the positive leads, twisting all the positive leads together and soldering to the power-cord.  I used black electrical tape as a simple barrier between the positive and negative leads when I soldered second:

Plugged it in to make sure it worked….

Pulled the power-cord back into the vase (it was a tight fit, so friction is enough to hold it in place) and had the finished product:

Things learned:

  • If I do this again, I’ll put the etching lower on the lamp:  It will be easier to see and show-off.
  • Need to get LED’s that have a wider angle:  These are fairly focused, so don’t diffuse as much in the lamp as I’d like.
  • The lines of the etching itself are very thin:  I’d find a way to make the etched-away areas larger.

 

BAT Hat

You always need a good  acronym when developing a new project.  BAT = “Blind Assistance Technology”.

I came up with an idea… sometime last year while working on my “Ponar” tech, to make a device that would help one navigate blindly, by sonar.  It’s been a really slow process to get this prototype off the ground:  Work\life\learning all take their time.  But I finally got something functional.  During development, other similar items have appeared on the web (a Ping\servo glove-based solution, for example).  And they’re great!  But I’ll just start out by saying this idea came to me on its own, not that others haven’t already envisioned it\implemented it (better) elsewhere.

Conceptually, it’s a device you wear on your head that can sense the world around you via ultrasonic sensors.  Based on a certain distance, motors attached to the device will vibrate, tactually telling you you’re getting close to something.  There are a total of three sensors\motors mounted on the front, and each side.

The brains are an Arduino (Uno).  Parallax Ping))) sensors are used for the ultrasonic distance readings, and vibrating DC motors from Xbox 360 controllers are used to convey the distances to the user.  The framework I used to hook everything up was an old hat, using shapelock to form brackets for the motors, Ping))) sensors, & battery pack, and zipties to hold everything else.  Originally I had a single 9v battery powering it,… but…. it made the device was unreliable.  I switched to 6xAA batteries (still 9v total), and it’s much happier now.

Parts List:

Video of my boy wearing the hat, walking around his room:
More info below the pics:

Here is a Fritzing image of how the whole thing was wired together:

And here’s a link to the Arduino code.

Project Notes:

  • After some research online, I figured out that the rumble motors I received from a friends Xbox 360 controllers only need 2v:  Originally I had a system setup with transistors driving them from the battery directly, but this realization simplified the process.  Furthermore, my multimeter claims they draw less than 20 mA, which makes them safe to be driven off the Arduino’s pins.
  • The motors are driven off PMW Arduino pins so I can vary the voltage as distance changes.  In the current configuration, they’ll start to spin as they approach items 1.5m away, and are at full velocity at 1m.
  • If I can, I’m going to pick up some pager-motors:  They shouldn’t vibrate one’s head as much as those rumble-motors 😉
  • I also have three servos:  It would be interesting to see how well one’s head could ‘detect’ their pressure.
  • I had originally powered the system with a single 9v battery.  But the Ping))) sensors and motors wouldn’t behave properly.  When connecting the Arduino over USB for debugging purposes everything worked fine… which didn’t make sense to my limited electrical knowledge:  USB is only 5v, while the battery pack was 9v.  However, my guess is that the 9v battery wasn’t providing enough current for the whole system, while the USB was.  So I switched out for a 6xAA battery pack (equaling 9v total) and everything started working properly.  Presumably however, since the Arduino/Ping only needs 5v, and the motors only 2v, a 4xAA battery system (6v) should work fine.
Final Thought:
  • Honestly, it doesn’t work as well as I envisioned when starting.  But that was a pretty high bar I set myself.  Don’t get me wrong, it works fine.  But in my head I’d have this robust system of navigating blindly.  However, with only three motors, that detect obstacles at eye level front, left, and right, you’ll still run into problems with items at knee height.  And with ultrasonic sensors, ‘fuzzy’ items like pillows don’t reflect well, and the less perpendicular you are to a surface the less likely it is to reflect the sound back.  Doubling the number of sensors\motors would be a good start.  Or additional systems hooked up to one’s waist, and knees, or even feet.
  • I’d be very interested to have someone who is actually blind give this a try.  If you know anyone in the San Francisco peninsula who is blind and would be up for it, let me know.