Friday, October 13, 2006

Phone USB Cable from Car Charger

So you dont want to cut up your phone....( if you do... )

well if your phone came with a car charger or even a desktop charger you could be in luck.

this method is fairly straightforward so ill keep it simple

first take apart the part that connects to the phone

  • NOTE: look at the pins! if there are less then three pins get another charger.
  • the charging circuit requires minimum 2 wires connected, dont count the wires, count the pins that the wires are attached to (see picture)
  • in this picture you can see the original red and black wires plus the wires i attached
next find the pinout for your charger and solder the wires from the usb cable to the connector

smash everything inside the connector and screw it back together



there. you now have a way to connect the phone to your computer via usb without cutting up the phone.


what you can do now is only limited by the phone you use

the bitpim software is very versatile
  • create your own ring tones
  • copy photos/wallpaper to and from your computer
  • backup your address book
  • use you phone as a modem
  • backup your calendar
  • etc
have fun exploring the possibilities of your phone

Add a USB port to your Cell Phone




First i want to say, i am not responsible for any damage to your phone, expressed or implied, simply because this is a diy tutorial. USE THIS TUTORIAL AT YOUR OWN RISK!

That being said, let's get on with it.

I want to thank pinouts.ru for having a vast amount of information regarding pinouts for many items. hopefully you will be able to find the information you need.
I also want to thank bitpim.org for having the software needed to access my phone. With it you can transfer your phone book, pictures, and even custom made ring tones, along with other stuff.

I did this hack for two reasons, first, i didnt want to buy a usb cable for my phone. call me "cheap" but i did not see a reason to spend $30-$50 on a cable that i wouldnt use that often. second, theres no reason for me to spend $15/month for internet access on my phone, when i am only spending $10/mo for service. but still i wanted the freedom to take pictures with the phone and still be able to get the pictures off of it.



What you will need:
  • a camera phone ( I used a Samsung A620/VGA1000)
  • a mini usb connector (pulled from a dummy Blackberry)
  • 80-pin ide cable(or other small wires)
  • solder, soldering iron
  • a little tape for insulation
  • dremel or something to cut the phone shell
  • magnifying glass or some way to make your soldering easier
  • a lot of patience, massive amounts
i had an old "dummy" Blackberry, you know, the "for display only" kind. so i took it apart and found many useful electronic items in it.

de-soldered the usb jack to use in my phone

then take a 80-pin ide cable, or whatever small wire you use for such projects, and strip the ends
carefully solder the wires to the jack. on mine i wanted to use the red wire as my the #1 pin for easier wiring, but when i double checked it, i wired it backwards, so now my red wire is the #4 wire.
once you get your usb cable ready we move to the fun part

you need to disassemble your phone and find a location to put the usb port. i think if you have an older phone it should be simple to find a spot. mine was in place of the carrying strap, which i really didnt need.


slowly cut out the space you need to install the usb port. take your time, especially if its the only phone you have. i was lucky that i had a second, non-working A620 i could try it on. just in case it didnt work i would still have a working phone.

heres a picture showing before and after the modification of the shell.

this is the fitting stage. keep trying to get the usb jack to fit. trim a little here and there, bend the tabs on the usb jack, just do what you have to to get it to fit. but keep in mind you want this phone functional when your finished. dont just get the usb jack to fit, you need to do a mock assemble, a "dry run", and put the phone back together to make sure everything still goes back together.


now as far a the phone goes, realize that everything is tiny, and to work on it you need tiny things. i had to modify my soldering tip (just used a wheel grinder on it) to work on this project.

this is why i ground it down. (those three connectors in the foreground connect to the battery pack), pretty tiny, eh


sorry about the pictures, its difficult to snap a clear shot while holding a magnifying lens.


it took me about an hour and a half to solder 4 wires. 1 1/2 hours! the reason is that i took my time. and this is what i found out that will help you out on yours:

put enough solder on the wire just to change its color. copper to silver. if you have a "blob", no matter what size, its too much. do this to all the wires before you start, because its a real pain trying to do it when some of the wires are already soldered


when you are finished connecting the wires, apply a little tape to help hold it in place and it help with insulation also. as you go to assemble everything take your time, you got this far, dont break something because youre rushing to get it back together.



i took this picture to show that it still functions. hope yours comes out just as nice or better


do more research:

  • find out all the information you can on your phone to see if its possible to do this
  • gather pinout information, schematic, diagrams or look for someone else that done it on your style phone
  • i found out that i needed a certain winXP driver for my phone to be recognized, do the same for yours
  • its always nice to have a backup, ask friends, family, coworkers if they have any non-working or unused phones that you can practice on before attempting modification on yours
  • as always -have fun!-


Click here to see how to get the same benefits without cutting up your phone

Friday, July 21, 2006

DIY Infrared Security Camera


i guess this is where i tell you that you can make your own IR security camera cheaper then you can buy one, that might be true if you can create your own wireless camera, but not me. but if you do it this way it is a lot more fun and time consuming.

initially i just wanted to take a webcam and make it infrared, but in the process of disassembly i destroyed the lens. in my search for a replacement lens, the idea grew to use a camcorder so that i could use the zoom feature. i played around with the idea and this is what it turned out to be.

as you look over my project, i'm sure you say things like "Why did he do this.." and "He could have done that instead..." or even "What was he thinking??" well, i just used what i had and did it in the time frame set aside for it. i am always open for comments and suggestions. at the end i will list ideas that i would have like to have done or things i would have changed so that you could have the opportunity to make yours better.

the reason i call it a security camera is because it really cant be used for much else.

so here we go

materials:
  • webcam
  • camcorder - working or not, you'll just use the lens assembly
  • infrared LEDs, or IR illuminator board kit
  • computer power supply case, or any other type project box
  • power supply, i used a 12v (from printer) and a 6v (from cell phone charger)
  • misc switches
  • wire, solder, rubberband
  • nuts, bolts, scrap metal (for making/mounting brackets)
  • hot glue, blank cds (the clear plastic ones)
  • IR filter- make out of 35mm negatives, find the black part at the beginning of the strip
  • patience

all the pictures can be found here

now we need to disassemble the webcam:



this is fairly straightforward, just find the screws and remove them. remove the lens assembly. (if you want to use just the webcam then you need to disassemble the lens so you can take out the IR filter. sometimes it looks like a tiny red/blue square, but sometimes it is "painted" on the lens, if thats the case just scrape off. )








next you need to take apart the camcorder:



since camcorders vary by model use your own judgment on how to disassemble it. the most basic advice is to take your time. if the camcorder works, i suggest taking a lot of pictures so if in the end you decide to put it back together, it will be much simpler to do. just start removing screws and eventually itll come apart to the point that you need.



remember that all you need out of the camcorder is the lens assembly and the motors. a majority of camcorders have an auto focus feature, and if you are capable, save this feature for your project.




the blue lens is the IR filter that blocks the IR light.


ok, now that the easy part is over you need to figure out how to put the pieces together.











assembly:

first thing to do is get the webcam connected to the lens assembly. this took a lot of trial/error tests on my part. the good news was the fact that my webcam fit excatly in the lens assembly, just like they were made for each other. you might have to create your own "couplings" to get yours to work. the bad news is that the optical sensor (the thing that catches the light on the webcam) will be a set distance from the lens assembly. since i didnt measure anything i had to adjust it by hand until it focused correctly. that took some time. as you can tell by the pictures, once i had the correct distance i just used a rubberband to mount it to the lens.

the IR filter is placed between the lens assembly and the webcam.

i did not plan where anything went to begin with. i just created as i went. i got a lot of metal filings everywhere as i cut the box, so use caution when cutting.

the first thing i mounted was the lens. i placed it so that the lens would "see" through the opening where the power supply fan went. not perfect, but it was mounted.

next i rigged my power supplies. -you can use whatever power you want- i used a 12volt from a printer to power the IR board, and a 6volt from cell phone charger to power the zoom/focus motors and the shutter.




open up the power supplys. the quickest way i found was to use my dremel and the disk cutting attachment. take care not to cut too deep, you might cut something you dont want to. after i managed to get the boards free from their shells, i wired them together.






i got a plastic cd and cut a square out of it so i could use it for a "insulator" between the two power supplies. after everything was lined up, it all got "glued" together with hot glue (also a good insulator).






next mount the "shell" of the power supply in the box to hold your new combo power in place.















next i build my IR illuminator board. which i bought online: bgmicro.com (LED 1007) it took me about 30 min to finish.




i then created a bracket so i could mount the IR to my case.

i used the camcorder switches and some other of the same type switch from an old programmable coffee maker to control the zoom/focus motors.





i essentially created two 2 pole 2 throw switches. it would have been better just to buy them, but its diy. initially i was going to create my own "breadboard" out of a cd, but then i found a real one to use. as you can see the construction of the switches is pretty simple, after wiring just glob more hot glue on it. (note: there is no short-circuit protection on this circuit, so use caution)













the wires connected to the motors were too small for me to use, so i "fixed" the connector. i pulled some right angle jumper pins off a computer cd player (the master/slave/CS pins) and connected those to the existing connector, then, with the very versatile hot glue, put them together. now i could use the computer type connectors to get them to work, (you know, HDD light/Reset sw/speaker etc...)

mount the switches and power connectors to the box and wire everything up. i put a master power switch, a 12v on/off power switch for IR light, and focus near/far and zoom in/out switches. the shutter opens automatically when the power is on.

if everything went well you will have a nice zoomable IR security camera!!




















Now the list of "would-of/should-of/could-of":

  • mount lens for pan/tilt capabilities
  • power supply options: car adaptor, batteries, powered by usb (for portability)
  • everything controlled via usb/software -zoom/pan/tilt/focus/shutter/ir filter, etc
  • make it wireless - covert a router or something to control it over internet
  • make it comparable to the D-LINK 6620G
a lot of possibilities. maybe ive pointed you in the right direction

more pictures are located here

as always, have fun


here are some pictures for your viewing pleasure

note: i already know they are not quality pictures, making comments on the subject would be redundantly redundant :)
--the quality of the picture depends on the quality of the webcam you use.

--first picture is taken using another ir camera (camera lets ALL light in, thats why its in color)




--next, base picture of coffee mug taken with same camera (5ft distance)




--third picture taken with project camera same distance away







--forth picture at max zoom (6x)







--last picture is taken max zoom at 20ft distance












bonus picture: