Openmoko:Usb light

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Preparation)
(Improvements? Ideas!)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==USB-Light==
+
{{Languages|Openmoko:Usb_light}}
 +
 
 +
=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 ;)
 
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===
+
==Idea==
  
 
* Two leds
 
* Two leds
Line 12: Line 14:
 
and you have a light for your Freerunner :D
 
and you have a light for your Freerunner :D
  
==Instructions==
+
=Instructions=
===Components===
+
==Components==
  
* 2 x white LED ultra bright ⇒ LED 3-2000 WS on Reichelt (german distributor for electrical components)
+
* 2 x white LED ultra bright ⇒ [http://www.reichelt.de/?;ACTION=3;LA=4;GROUP=A5332;GROUPID=3019;ARTICLE=26496;START=0;SORT=artnr;OFFSET=16;SID=28SA7h56wQARwAACk@Bmsa794de820d10a89112a12211e64ae497 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
+
* 2 x 75 Ohm resistors 1/4 W ⇒ [http://www.reichelt.de/?;ACTION=3;LA=4;GROUP=B1112;GROUPID=3063;ARTICLE=1466;START=0;SORT=artnr;OFFSET=16;SID=28SA7h56wQARwAACk@Bmsa794de820d10a89112a12211e64ae497 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
+
* 1 x USB mini B cable ⇒ [http://www.reichelt.de/?;ACTION=3;LA=4;GROUP=C6992;GROUPID=3348;ARTICLE=45361;START=0;SORT=artnr;OFFSET=16;SID=28SA7h56wQARwAACk@Bmsa794de820d10a89112a12211e64ae497 AK 673-A USB mini B to normal usb connector on Reichelt]
  
 
==Schematic==
 
==Schematic==
Line 26: Line 28:
 
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.
 
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.
  
 
+
{|
 
+
|-
[[Image:Fetch1.png|align|left|200px|thumb'''* without the metal part of the connector''']]
+
[[Image:Fetch1.png|align|center|400px|thumb|'''* without the metal part of the connector''']]
 
+
|-
'''* with the metal part of the connector'''
+
[[Image:Fetch2.png|align|center|400px|thumb|'''* with the metal part of the connector''']]
 
+
|-
[[Image:Fetch2.png|align|left|200px]]
+
[[Image:Fetch3.png|align|center|400px|thumb|'''* with hot glue (i know its not very beautiful, but it works, it's robust and i have no short circuit''' ;)]]
 
+
|-
'''* with hot glue (i know its not very beautiful, but it works, it's robust and i have no short circuit''' ;)
+
 
+
[[Image:Fetch3.png|align|left|200px]]
+
  
 
==Software==
 
==Software==
When i searched for a good solution to activate the host-mode of the freerunner i found this blog entry
+
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
 
* 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
+
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
 
* http://blogs.thehumanjourney.net/finds/entry/usb_mode_button_0_2
Line 52: Line 51:
 
It works!
 
It works!
  
Images
+
=Examples=
 +
==Images==
  
[[Image:Fetch4.jpeg|250px|align|left]]
+
[[Image:Fetch4.jpeg|200px|align|center]]
 +
[[Image:Fetch6.jpeg|200px|align|center]]
 +
 
 +
==Videos==
  
Videos
 
 
* Freerunner in broad daylight ⇒ http://www.youtube.com/watch?v=iK5w-OHSm9g
 
* Freerunner in broad daylight ⇒ http://www.youtube.com/watch?v=iK5w-OHSm9g
 
* Freerunner at night ⇒ http://www.youtube.com/watch?v=f2H4QZq2xxE
 
* Freerunner at night ⇒ http://www.youtube.com/watch?v=f2H4QZq2xxE
  
Improvements? Ideas!
+
* My version ⇒ http://www.youtube.com/watch?v=-qMmwOoLiZ8 :)
 +
 
 +
=Improvements? Ideas!=
  
 
It works but it's not very beautiful, perhaps you have any ideas. Mail me :D
 
It works but it's not very beautiful, perhaps you have any ideas. Mail me :D
 +
 +
:I have three Ideas:
 +
:# You could use heat shrink tube. I often fix plugs this way: Put a piece of heat shrink tube around the plug and the resistors and the contacts of the LEDs, but don't shrink it. Instead, fill it with hot glue. It's a bit tricky, but gives better results.
 +
:# Use SMD resistors and perhaps even SMD leds
 +
:# Adopted from [http://www.eeepc.de/thread.php?threadid=4109 this thread (german)], you could use a [http://www.micrel.com/_PDF/mic2026.pdf MIC2026] together with a [http://www.nxp.com/acrobat_download/datasheets/PCF8574_4.pdf PCF8574] connected to the I²C-Bus and have it all placed somewhere inside the case with two holes for the LEDs to have the USB-port still available. (The stuff with the holes etc. could be ''theoretically'' realized somehow with the [http://downloads.openmoko.org/CAD/ CAD files] ;-P )
 +
:--[[User:Jomat|Jomat]] 19:42, 8 December 2008 (UTC)
 +
 +
The idea with the heat shrink tube sounds great. I will test it :) Yes with smd components it will be smaller :) The third idea is a bit risky. I like extensions :D Thanks for your ideas. --[[User:PBeck|PatrickBeck]] 18:57, 11 December 2008 (UTC)
 +
 
[[Category:Hardware ideas]]
 
[[Category:Hardware ideas]]

Latest revision as of 19:57, 11 December 2008


Contents

[edit] 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 ;)

[edit] 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

[edit] Instructions

[edit] Components

[edit] Schematic

align

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

[edit] 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 ;)


[edit] Software

When I searched for a good solution to activate the host-mode of the Freerunner I found this blog entry:

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

Thanks Joseph Reeves :D

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

[edit] Examples

[edit] Images

align
align

[edit] Videos

[edit] Improvements? Ideas!

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

I have three Ideas:
  1. You could use heat shrink tube. I often fix plugs this way: Put a piece of heat shrink tube around the plug and the resistors and the contacts of the LEDs, but don't shrink it. Instead, fill it with hot glue. It's a bit tricky, but gives better results.
  2. Use SMD resistors and perhaps even SMD leds
  3. Adopted from this thread (german), you could use a MIC2026 together with a PCF8574 connected to the I²C-Bus and have it all placed somewhere inside the case with two holes for the LEDs to have the USB-port still available. (The stuff with the holes etc. could be theoretically realized somehow with the CAD files ;-P )
--Jomat 19:42, 8 December 2008 (UTC)

The idea with the heat shrink tube sounds great. I will test it :) Yes with smd components it will be smaller :) The third idea is a bit risky. I like extensions :D Thanks for your ideas. --PatrickBeck 18:57, 11 December 2008 (UTC)

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

align

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.


thumb* without the metal part of the connector

* with the metal part of the connector

align

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

align

Software

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

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

Thanks Joseph Reeves :D

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

Images

align

Videos

Improvements? Ideas!

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