View source for Openmoko:Usb light

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Template used on this page:

Return to Openmoko:Usb light.

Personal tools

USB-Light

One thing that i like on my older phone, a Sony Ericsson W800i, is the light (camera light, but you can use it without the camera). So i thought about a solution for my Freerunner and the result is the following article. At least ⇒ At own's risk ;) Idea

   *
     Two leds
   *
     Two resitors
   *
     a miniusb B male connector
   *
     a bit solder
   *
     and a bit hot glue

and you have a light for your Freerunner :D Instructions Components

   *
     2 x white LED ultra bright ⇒ LED 3-2000 WS on Reichelt (german distributor for electrical components)
   *
     2 x 75 Ohm resistors 1/4 W ⇒ 1/4W 75 Ohm resistor on Reichelt
   *
     1 x USB mini B cable ⇒ AK 673-A USB mini B to normal usb connector on Reichelt

Schematic

German Wikipedia-article about the universal serial bus ⇒ http://de.wikipedia.org/wiki/Universal_Serial_Bus#Farbkodierung_und_Pinouts Preparation

Cut the usb cable and seperate the rubber of the usbmini connector and remove the pins 2,3,4 (a lower risk of a short circuit). Now solder the components according to the schematic. WARNING ⇒ risk of a short circuit on the metal parts of the connector. Check the circuit without the metal part, if it works.

without the metal part of the connector

with the metal part of the connector

with hot glue (i know its not very beautiful, but it works, it's robust and i have no short circuit ;)

Software

When i searched for a good solution to activate the host-mode of the freerunner i found this blog entry

   *
     http://blogs.thehumanjourney.net/finds/entry/usb_host_mode_the_button

Joseph Reeves modified his usbmode-button package after a few suggestions by me and here is his new blog-article with Version 0.2

   *
     http://blogs.thehumanjourney.net/finds/entry/usb_mode_button_0_2

Thanks Joseph Reeves :D

You can toggle the host-mode on and off with a click on the icon. It works! Images

Videos

   *
     Freerunner in broad daylight ⇒ http://www.youtube.com/watch?v=iK5w-OHSm9g
   *
     Freerunner at night ⇒ http://www.youtube.com/watch?v=f2H4QZq2xxE

Improvements? Ideas!

It works but it's not very beautiful, perhaps you have any ideas. Mail me :D