CHDK Forum

Canon DSLR Development (+ other development) => Hotwire! Hardware Mods, Accessories and Insights => Topic started by: n8hawk on 11 / January / 2008, 11:51:24

Title: building usb-remote-cable
Post by: n8hawk on 11 / January / 2008, 11:51:24
hi there!
recently i discovered the new options in the actual chdk-releases.
i would like to build a remote-usb-control.
thats why i am interested in your remotes.
the one shown http://translate.google.com/translate?client=tmpg&hl=de&u=http://ewavr.nm.ru/chdk/remote.htm&langpair=ru|en (http://translate.google.com/translate?client=tmpg&hl=de&u=http://ewavr.nm.ru/chdk/remote.htm&langpair=ru|en) seems to work.
can s.o. tell me what kind of batteries are working?
i would like to use a little keychainlamp and replace the lamp by the usbcable.
would this work?
perhaps s.o. can post a picture of his usb-remote.

greetz,
Tim
Title: Re: building usb-remote-cable
Post by: Microfunguy on 11 / January / 2008, 11:58:30
I know someone has used a camera pistol-grip and fitted a CR123 lithium battery inside it.

The current required is negligible so any battery device that provides no more than 4.8V will be OK.

Just make sure the red wire in the USB cable connects (via a switch) to battery +ve.


David
Title: Re: building usb-remote-cable
Post by: n8hawk on 11 / January / 2008, 15:26:09
i found e.g. this keychain-led-torch:
http://www.pearl.de/product.jsp?pdid=PE7478&catid=5630 (http://www.pearl.de/product.jsp?pdid=PE7478&catid=5630)
it uses 3 AG13 = LR44 = A76 = 357 = L1154 batteries.
http://portal.gs-shop.de/200/cgi-bin/portal.dll?AnbieterID=287&bnr=10359 (http://portal.gs-shop.de/200/cgi-bin/portal.dll?AnbieterID=287&bnr=10359)
i would try to replace the led with the usb-cable.
could this work?
what 3V-coin-cell could work? the cr2032 mentioned in the original description is more powerful than the lower ones used in flat-style led keychain storches?
just found this http://www.genius-versand.de/shop/product_info.php?ad=pr&products_id=19269 (http://www.genius-versand.de/shop/product_info.php?ad=pr&products_id=19269)

greetz,
tim
Title: Re: building usb-remote-cable
Post by: Microfunguy on 12 / January / 2008, 07:51:32
i found e.g. this keychain-led-torch:

could this work?

Yes, that should be OK ... just make sure you identify +ve side of battery-pack.

Quote
just found this http://www.genius-versand.de/shop/product_info.php?ad=pr&products_id=19269 (http://www.genius-versand.de/shop/product_info.php?ad=pr&products_id=19269)


Not sure what the 1.5V battery is for, that will not work.

You will be OK if you can wire it just to switch the 3V to the USB leads.


David
Title: Re: building usb-remote-cable
Post by: astro on 12 / January / 2008, 12:04:02
If you're feeling gutsy, I found making a wireless remote control not too difficult. 

I had seen the instructions Fingalo had posted for his wireless setup.  I couldn't find the hardware.  Instead, I stopped at the toy store and picked up a $20 remote controlled car.  Specifically found one which took AA batteries because I didn't want to deal with recharging issues.  When I took the car apart, I found everything was embedded on one circuit board.  Plus, the voltage going to the motors was just under 5 volts (4.5v and 3v, roughly).  I wired one set of wires that went to the motor to a usb cable and the to the camera.  It works great. 

For something like this, I highly recommend using a multimeter to check the polarity and voltages to make sure everything is in range. 

Title: Re: building usb-remote-cable
Post by: holeepassion on 12 / January / 2008, 17:27:32
If you're feeling gutsy, I found making a wireless remote control not too difficult. 

I had seen the instructions Fingalo had posted for his wireless setup.  I couldn't find the hardware.  Instead, I stopped at the toy store and picked up a $20 remote controlled car.  Specifically found one which took AA batteries because I didn't want to deal with recharging issues.  When I took the car apart, I found everything was embedded on one circuit board.  Plus, the voltage going to the motors was just under 5 volts (4.5v and 3v, roughly).  I wired one set of wires that went to the motor to a usb cable and the to the camera.  It works great. 

For something like this, I highly recommend using a multimeter to check the polarity and voltages to make sure everything is in range. 



what brand of the remote controlled car is it ? show us what you did so that we could follow exactly to be on the safe side !!!

thanks
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 13 / January / 2008, 00:03:16
i bought an "electronic dog leash" the other day @ ebay (like 4 euros) and now i noticed this is perfect for remote triggering my camera. so instead of teaching my dog how to behave i will modify it to use on my cam. *yay*
advantage: longer distance than remote controlled car, cheaper, less "modifying", as the "leash" itself is much smaller than a car and be used as is.we'll see.
Title: Re: building usb-remote-cable
Post by: n8hawk on 13 / January / 2008, 09:39:13
Title: Re: building usb-remote-cable
Post by: Microfunguy on 13 / January / 2008, 11:18:12
Title: Re: building usb-remote-cable
Post by: a710is on 13 / January / 2008, 11:25:28
this is and has been my remote shutter right from the beginning :D
2 batteries so 3V and a button there. :)
doesn't look too great with that tape on but it works great and it's really tiny :) . some old pocket flashlight sure came in handy :)

cost: 0 basically. the top part comes from that flashlight, the bottom from a wrecked USB cable, connecting them electrically are a couple of metal wires, all strapped together by tape :D . the batteries were pretty drained for the flashlight to work but as a shutter there's no problem.
Title: Re: building usb-remote-cable
Post by: jetzt on 13 / January / 2008, 12:44:17
Title: Re: building usb-remote-cable
Post by: n8hawk on 14 / January / 2008, 09:39:39
@a710is: that looks quite strange!  :D
 but as long as it works...
@jetzt: what exact battery did u use? how do you want to build ur 360-degree-photomachine? i dont see the connection between this and the remotecable.

greetz,
tim

Title: Re: building usb-remote-cable
Post by: a710is on 14 / January / 2008, 10:05:50
here it is next to a DVD hole :)
it's not really photogenic  :lol , these dark macro pics exagerate its imperfections.
Title: Re: building usb-remote-cable
Post by: jetzt on 14 / January / 2008, 10:09:56
Title: Re: building usb-remote-cable
Post by: velarpinch on 30 / January / 2008, 07:26:12
Thought I'd share my USB cable-release:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fnightsauce.com%2Fchdk_usbremote_sm.jpg&hash=1ca626377e75524db51e67ebe5821529)

Uses a magnetic switch from a security door, in order to avoid having to touch anything touching the camera.
Title: Re: building usb-remote-cable
Post by: GrAnd on 08 / February / 2008, 13:15:38
Found business offer of IR controlled usb remote for CHDK :)
May be useful for KAP.
http://www.gentles.ltd.uk/gentled/chdk.htm
Title: Re: building usb-remote-cable
Post by: Barney Fife on 08 / February / 2008, 13:40:36
Deleted
Title: Re: building usb-remote-cable
Post by: jetzt on 10 / February / 2008, 06:03:32
Shouldn't be really a problem to do this, I think you need only basic electronic skills to do something like that,
right now I do it with my old unused Lego RCX Microcontroller and a small Voltage regulator.
But I'm sure that can be done with only a small rc5 receiver.

Right now I have other things to do: holydays end tomorrow, school is waiting for me  :(
Title: Re: building usb-remote-cable
Post by: Barney Fife on 10 / February / 2008, 12:24:03
Deleted
Title: Re: building usb-remote-cable
Post by: rhen84 on 13 / February / 2008, 09:57:08
Witch switch should I use in the remote cable?

- Switch what close the curcuit when I push the button or
- Switch what close the curcuit when I push the button and hold closed til I push again or
- Switch what close the curcuit for a moment only?

whitch is the best for the remote cable?
Title: Re: building usb-remote-cable
Post by: jetzt on 13 / February / 2008, 10:04:21
I used one which closes the circut only while pressed, when released, it disables the circut.
Works just fine.
Title: Re: building usb-remote-cable
Post by: barberofcivil on 13 / February / 2008, 14:10:48
Title: Re: building usb-remote-cable
Post by: Barney Fife on 13 / February / 2008, 15:09:02
Deleted
Title: Re: building usb-remote-cable
Post by: barberofcivil on 13 / February / 2008, 15:31:52
Title: Re: building usb-remote-cable
Post by: Barney Fife on 13 / February / 2008, 15:44:57
Deleted
Title: Re: building usb-remote-cable
Post by: rocstar on 22 / February / 2008, 09:44:34
I built a cable using a USB cable, Altoids gum box (mini), 9V battery, and LM7805 5V regular.  On an SD850, the 3V button cell was giving me erratic results, and I needed 3.5-5V to trigger. I actually got really good results with a 7.4V battery (by accident), but I wasn't daring enough to keep using it. 

I do have a problem where sometimes when I press my USB remote, I get a half_shoot shutter condition, instead of a full shoot.  The meter box shows up on my screen, but I can't get it to take the shot.  Sometimes it works fine.  I can't tell if the problem is my USB cable which has extremely small wires.  It is the retractable type which doesn't work well for high speed transfer, which is why I sacrificed it.
Anyone else see this problem?
Title: Re: building usb-remote-cable
Post by: jetzt on 22 / February / 2008, 09:59:08
I don't think that this is a cable problem, that's the big advantage of digital technology: either there is a signal or not,
so if your camera does something there has to be a signal.
What kind of skript do you use? In my opinion this can be the only problem.
Title: Re: building usb-remote-cable
Post by: rocstar on 22 / February / 2008, 17:54:52
I am using the simple USB  script:
@title Remote button
:loop
wait_click 1
is_key k "remote"
if k=1 then shoot
goto "loop"
end

Title: Re: building usb-remote-cable (Atloids trigger)
Post by: rocstar on 23 / February / 2008, 01:02:43
I've done some testing, and my SD850 definitely seems to do better with 3.2V or better on the USB to work right.  With a brand new 2032 at 3.2V it worked for a few shots, and then the 2032 dropped to 3.1V.  Also with a mini-flashlight using 2-LR44 batteries at 3.1V, I could not get it to work.  With 3 LR44s at 4.5V, it worked fine, and with a LIPO at 3.7V it worked fine.
Here are some pictures of my Altoids trigger with a 5V regulator.  The erratic problem I was haven't hasn't resurfaced, but my camera battery was running low, so maybe that was the problem.  It's a little bigger than I wanted, but until I get a mini-flashlight which uses 3 LR44s this will have to do.
Title: Re: building usb-remote-cable
Post by: databoy on 23 / February / 2008, 23:03:43
Regarding usb remote control; the following electronics sites in Australia have some information on infra red devices:

http://www.altronics.com.au/index.asp?area=item&id=Z1611#

Infra-red Detector:
Jaycar Electronics (http://www.jaycar.com.au/productResults.asp?FORM=CAT)

I have not used the devices; therefore I cannot supply any more information. Both companies sell kit sets and components. I have purchased components from both companies; they are both reliable and helpful. An email to their customer service department may give you the circuits and technical details.
Title: Re: building usb-remote-cable
Post by: bondo on 24 / February / 2008, 04:31:42
Regarding usb remote control; the following electronics sites in Australia have some information on infra red devices:

http://www.altronics.com.au/index.asp?area=item&id=Z1611#

Infra-red Detector:
Jaycar Electronics (http://www.jaycar.com.au/productResults.asp?FORM=CAT)

I have not used the devices; therefore I cannot supply any more information. Both companies sell kit sets and components. I have purchased components from both companies; they are both reliable and helpful. An email to their customer service department may give you the circuits and technical details.

I have used this infrared receiver (for LIRC project, do you know?).
It needs a u-controller in order to work and it is very noisy, so is *not* usable with sunny light...
Title: Re: building usb-remote-cable
Post by: databoy on 24 / February / 2008, 08:40:38
Bondo, I agree with your thoughts. I found a number of IR circuits which use correction circuits to overcome the problems. The good quality circuits use a pulse sequence to transmit and receive the signal to correct for IR problems in sunlight. I live in Perth, Australia. In the summer months the cheaper IR motion sensors false trigger where the good commercial designs keep working. My understanding from talking to the manufacturers representatives is that the good detectors are both component matched for high temperature and sunlight IR filtering.

The trouble with IR remotes is that you need a line of sight for the devices to work. The last thing you want is a remote in a photo if you are taking a picture of yourself.

RF radio-controlled devices for switching a camera are hard to find in Australia. The commercial devices used for alarms are expensive and need adapting. Remote door bell controllers are common but the remote device is bulky.

I found a number of novelty devices on the Jaycar Electronics site which use RF control, have a small activator and relatively cheap; under $20 AUS.

Jaycar Electronics (http://www.jaycar.com.au/index.asp)
In the top right hand search box type:
remote burp
remote farter
remote giggle

The devices should be relatively easy to modify. If the voltage drive is sufficient, taking an output from either side of the loudspeaker should be enough, otherwise a transistor driver off the loudspeaker should do. On the plus side anyone in a group photo will hear the audio and know when the photo is taken.

When I have time, I will visit Jaycar, purchase a device and modify it. I will post my results.

     
Title: Re: building usb-remote-cable
Post by: databoy on 28 / February / 2008, 03:00:49
I have looked into a number of remote door bell chimes available in my area. I purchased a door bell chime which operates on 3volts marketed by Kambrook in Australia. The remote is small unit with a large press button ideally for concealing in a pants pocket. I have come to the conclusion that due to the variety of units on the market and depending on where a person lives a universal interface to the camera may be a common approach.

I found a simple microphone audio amplifier may be the answer to all constructors. A simple circuit with common parts is posted at queries
Schematics Depot (tm) - sound detector amp/electret mike amp (http://www.reconnsworld.com/audio_electretamp.html)
The circuit uses a 5volt power supply. The circuit could be adapted to drive a 74ls123 TTL  one shot device, if camera triggering is a problem.

One shot description and circuits can be found at:
   Monostable Flip Flop· Circuit Project Electronic (http://www.elecfree.com/electronic/monostable-flip-flop/)

I have oscilloscope, can any of the software developers tell me what the ideal pulse to trigger the remote software on a Canon S3IS is. I may be able to build up a universal circuit which may benefit everyone.



Title: Re: building usb-remote-cable
Post by: wontolla on 28 / February / 2008, 07:02:06
I am frankly curious: Why do you need a circuit with op amps and stuff in your remote control?

I got a led torch to build mine and it works.

Cheers!
Title: Re: building usb-remote-cable
Post by: databoy on 28 / February / 2008, 08:30:02
I live in Perth, Australia. I originally looked at infra-red devices. Under certain conditions during the summer months, the bright sun can mask the infra-red signal. (38 to 42 degrees C for weeks on end during the summer is common in my region.) While it is relatively easy to build a corrective IR circuit the remote doorbell worked out cheaper.

I want to take photos of myself. I do not want to photograph the cable or be seen holding a large activator. The door bell remote is about double the size of car alarm remote with a large button. The alarm unit is a small device slightly larger than a cigarette packet and designed to clip on a belt. Basically it is designed for people who are working around the house but need to monitor the front door. The unit works on 2 x 1.5 volt batteries. The voltage drive is about 1.5 volts across the transducer. For my purposes I could built the driver unit for the camera inside the case using a transistor to drive the 5volts to the camera.

I have noticed in some of the forums that people wanted to use a cable-less device. My reasoning is if someone wants to photograph themselves without a cable in the picture a universal driver device may benefit everyone.

I paid $15 AUD for the doorbell. Another $10 to $15 to build an external universal driver circuit is negligible costs. In the event the door bell fails, I can buy whatever is available from the local hardware store.

Title: Re: building usb-remote-cable
Post by: Barney Fife on 28 / February / 2008, 09:13:40
Deleted
Title: Re: building usb-remote-cable
Post by: wontolla on 28 / February / 2008, 10:16:44
Thanks databoy, I am glad I asked.
I must be getting old. Of course the use of an IR control is for taking autoportraits. I never take photos if myself so I always saw a remote control only as a tool to avoid shake. Now I understand why you want to hide the control in the pocket. I leant something today!

Quote
what the ideal pulse to trigger the remote software on a Canon S3IS
According to my experience and our (still uncompleted) Camera Features page CameraFeatures - CHDK Wiki (http://chdk.wikia.com/wiki/CameraFeatures)
it is 3V.

Quote
I could built the driver unit for the camera inside the case using a transistor to drive the 5volts to the camera
Triggering the base terminal of the transistor with 1.5V and get 3V from the battery. I think this transistor solution would be simpler/smaller than an op amp circuit.

I hope your wireless control works. Please share your schematics when you are done!


Quote
Then just use a small laser pointer...
Come on Barney!, now I won't be able to sleep tonight if I don't get that laser and find out if the MD can react to the beam and ignore a person's movement at the same time.
Title: Re: building usb-remote-cable
Post by: bondo on 28 / February / 2008, 12:26:29
Hi folks!
I want to suggest another idea without using external batteries...
idea is simple, take a look here:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg184.imageshack.us%2Fimg184%2F4048%2Fideamm4.png&hash=903213d7ea38b3da4fa4d08de7feed3d)

(very very bad hand-drawing......)

a series of diode replace batteries in order to give a voltage - diode can be 1n4007 which has Vd around 0.7 volts, so it's needed from 5 to 8 diodes (5*0.7=3.5V for 3V threshold cameras, 8*0.7=5.4V for 5V threshold cameras)
diodes don't suffer of descharge with the past of time such as batteries.
(the parallel resistor maybe it's needed for descharging coupling capacitor on usb input)
Title: Re: building usb-remote-cable
Post by: databoy on 28 / February / 2008, 20:02:57
I have another idea which will interest the creative photographer. A few years ago I saw some spectacular impact photographs. I did not take any notice at the time how they were triggered but I think the guy used some sort of sound detection to get the photos.

I am useless at software, but I can build hardware. With an audio detection unit the creativity is limitless. You can use a remote doorbell to trigger the device; let us look at other possibilities. Have you ever scared a cat and seen it jump. It would be good to take a series of high speed photos. Lets say that the audio detection circuit can be used to trigger a pulse circuit of up to 10 pulses. Stop motion photography is a possibility. The device can used to photograph avalanches, wilderness, motor sports or in the case of a water-drop shot, from the time it leaves the tap to the time it makes impact.

My idea is to make the device flexible and universal so anyone regardless where they live can buy common off the shelf parts and build it themselves. A cmos version of a 555/556 is ideal for building a variable pulse device.  Maybe someone with programming experience can program the camera start sequence for a series of repetitive shots.

My camera is an S3IS.     
Title: Re: building usb-remote-cable
Post by: databoy on 28 / February / 2008, 23:03:34
Regarding my previous post; what is the practical limitation to continuous photo shooting with a Canon S3IS via the usb cable?
Title: Re: building usb-remote-cable
Post by: Pauls9 on 29 / February / 2008, 05:36:03
Bondo: The USB interface isn't powered by the camera. You need to supply the voltage from outside. :(
Title: Re: building usb-remote-cable
Post by: wontolla on 29 / February / 2008, 06:59:00
Quote
Regarding my previous post; what is the practical limitation to continuous photo shooting with a Canon S3IS via the usb cable?
If I'm not mistaking, when you have the camera in continuous mode and hold your finger in the control button, it will keep shooting. I mean, while there is a voltage present at the USB cable, the remote control script will shoot indefinitely. I will try it tonight to make sure.

So, I guess what you could build is some kind of circuit with a microphone and an amplifier. The microphone will give you mV when it hears a sound and you have to amplify that voltage up to 3V. That's to take a shot if you clap or something.

To take multiple shots you can go either the hardware or the software way:

In a hw solution you need to hold those 3V for a few seconds may be using a timer like the 555 you mentioned. You can adjust it to give you a pulse, say every 5 seconds and when there is a voltage present at the microphone the 555 starts counting and provides the 3V needed.

In a sw solution, you just modify the control remote script to hold the shooter button for several seconds.

IMO the software way is easier. I can help you with the script if you want but I bet you can understand it anyways, it is pretty easy.


P.S. You can add a potentiometer to the cirtuit, so the user can addjust the level of sound needed to trigger the camera.
Title: Re: building usb-remote-cable
Post by: databoy on 29 / February / 2008, 07:55:35
Wontolla, thanks for the reply.

I checked my local electronics stores for kits. While the components are cheap; finding a ready made printed circuit board is the problem. I found an electret microphone kit; by the description it has enough drive to trigger a 555 timer circuit. Saturated audio distortion is not a problem. As long as the 555 timer is triggered that can drive a second 555 with either a square wave or an extended pulse.

The remote doorbell I purchased has a chime of about 8 seconds. In my case the doorbell will trigger the 555 which will trigger the camera. If I want to use the trigger for detecting noise it is a simple matter of mounting the microphone in a tube or reflector.

I will purchase the components next week and build it on a breadboard. As you said software may be easier; probably a combination of the two may give users enough flexibility. For example detect pulses for the duration of the pulses, if there is a one second delay stop the shutter.

I will post my results so everyone can benefit from them.
Title: Re: building usb-remote-cable
Post by: rocstar on 29 / February / 2008, 23:46:35
This article shows how to modify a Heath-Zenith doorbell for a 3V trigger.  It should work for a camera.
 Hacker's Bench : Wireless Doorbell Hacking  (http://www.hackersbench.com/Projects/ding-dong/main.html)
Title: Re: building usb-remote-cable
Post by: Barney Fife on 01 / March / 2008, 03:37:16
Deleted
Title: My USB Remote Shutter Trigger
Post by: Coutts on 01 / March / 2008, 17:23:08
So i read up on the remote trigger and i set off to make my own. first i found that the IXUS70/SD1000 needed atleast 5v of power to respond to the remote trigger, that would take 4 AA batteries which would make 6V, thats alot of batteries. I said screw it and just used 1 9v battery, it responds every time to the trigger and so far no signs of fried camera electronics so i dont think its too much voltage. Heres my initial version :lol

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi156.photobucket.com%2Falbums%2Ft37%2Flordofdark176%2FIMG_2363.jpg&hash=21ec82dc27c86d8ac5aecc68eb03f7c4)

i made that last night with what i had laying around the house, after seeing it worked great i said i'd go to radioshack today and make a better one. Heres what i started with:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi156.photobucket.com%2Falbums%2Ft37%2Flordofdark176%2FIMG_2367.jpg&hash=48bc45d8371e1253b7c6202c9cf95893)


And this is what i came up with:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi156.photobucket.com%2Falbums%2Ft37%2Flordofdark176%2FIMG_2379.jpg&hash=2b7e6b97dc34005d54519c3cfc9cab20)

 :D :D :D This is so neat! It works awesome, CHDK FTMFW!!!!!!!!!


for those wondering, all i did was take a 9v battery connector from radioshack, connect the ground wire to the black ground wire in the usb cable, and put a switch between the positive lead from the battery and the positive lead from the usb cable, when i push the button it triggers the shutter. I also used this script that i found on here for it:

Code: [Select]
@title Remote button

while 1
  wait_click 1
  if is_key "remote" then shoot
wend
end

 :D :D :D :D :D :D :D :D
Title: Re: building usb-remote-cable
Post by: GrAnd on 01 / March / 2008, 17:40:59
9V directly to USB? (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fsrc.ucoz.ru%2Fsm%2F1%2Feek.gif&hash=7c87662b13e868bd7f2792d2e0ec4028) :o (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fsrc.ucoz.ru%2Fsm%2F1%2Fcrazy.gif&hash=817fefa0f81b8eedce285b33cd0f6022) (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fsrc.ucoz.ru%2Fsm%2F1%2Fkilled.gif&hash=aeaf7009e745e22e41bbe6ed9ea72dfb)
Title: Re: building usb-remote-cable
Post by: Barney Fife on 01 / March / 2008, 19:02:15
Deleted
Title: Re: building usb-remote-cable
Post by: Coutts on 02 / March / 2008, 10:02:11
i dont get it, if 9v was going to kill the camera wouldnt it have done it already? what are the risks im running?
Title: Re: building usb-remote-cable
Post by: whim on 02 / March / 2008, 10:21:59
Well, you're using - depending on camera - a little more or less than twice the voltage present in the camera.
Unless you know the specs of Canon's USB interface, that does not seem a good idea ...

wim
Title: Re: building usb-remote-cable
Post by: Barney Fife on 02 / March / 2008, 17:06:53
Deleted
Title: Re: building usb-remote-cable
Post by: Bg~ on 02 / March / 2008, 18:00:03
I'm going to try a wireless remote using this TX/RX kit from sparkfun. The RX is the bigger one:

http://www.sparkfun.com/commerce/product_info.php?products_id=7813

The remote doorbell is a good idea. I'll have to look to see how big they are.
Title: Re: building usb-remote-cable
Post by: Coutts on 02 / March / 2008, 22:46:13
i dont get it, if 9v was going to kill the camera wouldnt it have done it already? what are the risks im running?

You may have been lucky so far. Many components are designed to take a small and momentary surge voltage, but they cannot tolerate extended operation at those higher voltages. So while it may have worked so far, one time you may leave your finger on that button just 1/10th of a second too long and there's goes your USB port (or camera).


so how can i fix it? i really odnt want to take that box apart as im almost positive the solder on the switch will break (usb wire is VERY small and fragile). is it possible to buy a usb extension wire or something that would protect from a surge and limit the power?
Title: Re: building usb-remote-cable
Post by: rocstar on 03 / March / 2008, 00:36:30
Here is another idea for a wired and wireless remote in one.  I purchased a Skylink garage remote from Radio Shack. It needs a 12V power supply for the receiver, and you also need to provide 3-5V to the USB port.  I used a 8xAA battery holder for the 12V, and soldered some wires to the leads for 3 of the batteries to give me 4.5-4.8V.
The Skylink unit basically closes a set of contacts but doesn't push any voltage through them.  You can trigger via the button on the receiver, or with the small remote transmitter.  It couldn't be easier!  The remote unit cost $20.  The battery holder was $2.
I now have a compact wired and wireless remote.  I haven't tested the distance yet, but I would suspect that it is at least 70-80 feet.
Now I just need to buy an S2 IS to go with my SD850.  Anyone have one for sale?  ::)
Title: Re: building usb-remote-cable
Post by: amatos on 03 / March / 2008, 04:50:35
Here is another idea for a wired and wireless remote in one.

I have been looking for a wireless-meganewbie-howto for the remote control but I can't find anything that can adapt to my amazingly small knowledge about electronics (althou I'm studying software development.....)

Yours seems to be kind of easy. Could you please do a small (read: as detailed as you can) howto for the wireless RC?  ::) (I'm going to assume you just said yes...) Thanks!!
Title: Re: building usb-remote-cable
Post by: wontolla on 03 / March / 2008, 05:47:00
Hi Coutts

Quote
i dont get it, if 9v was going to kill the camera wouldnt it have done it already?

If you apply a higher voltage to a circuit, the components will degrade and the life of the circuit reduces. It doesn't mean your camera will explode. But if you fry even the smallest of the USB port resistors you won't be able to use USB anymore. And those small resistors are difficult tu repair by hand.

Quote
so how can i fix it?
You can make a simple voltage divider with two resistors. So instead of applying 9V you only send 5V to the camera and the other 4V dissipate as heat through one of the resistors. This is a "how to" I found Voltage Divider (http://hyperphysics.phy-astr.gsu.edu/hbase/electric/voldiv.html)

Of course you would be wasteing almost half of the battery power, but is a small price to pay compared with burning your camera isn't it?

On the other hand, I think you can find 6V batteries in RadioShack may be.
Title: Re: building usb-remote-cable
Post by: rocstar on 03 / March / 2008, 08:55:55
Coutts,
The easiest way to go from 9v to 5v is to buy a 7805 voltage regulator from Radio Shack.  They have 3 pins, 1 for 9v input, 1 for ground, and 1 for the 5v output.  Simple!  This is the method I used on my first remote (the picture is earlier in this thread).
Title: Re: building usb-remote-cable
Post by: rocstar on 30 / March / 2008, 00:16:28
Here is an easy and small USB remote that allows you to trigger up to 4 cameras simultaneously.  I built it for SDM use.  There are only 3 parts.
1. Mini-usb hub
2. Microswitch (Radio Shack)
3. N Battery Holder (Radio Shack)
The mini-usb hubs have 4 female USB ports, and all of the POS and GND pins are shorted.  Only the data lines are routed through the switching circuitry (we don't use those).  So with very little modification, you can add a switch and a battery to the mini-usb hub. 
Start with the cheap min-usb hubs with a built in place for the male connector.  I got mine free from a vendor, but you can find them on Ebay for $3.  Then cut out the male USB connector.  Next is the hard part.  You have to carve out the plastic to make room for the battery holder, and cut a hole for the microswitch.  I used a hobby soldering iron/burning tool.
Then you just put the battery holder in the hole you cut, and attach the POS and GND wires to the circuit board.
I use 3 LR44 batteries for 4.5V.  I used a screw to bridge the gap in the battery holder.  The other nice thing is that there is a built in LED to tell you when the button has been pressed and the batteries are good.
Then you can use cheap retractable mini-usb cables to fire the cameras within SDM.  I got mine at the dollar store.  They are terrible for transfering data, but they work great with SDM. 
The overall dimensions are 1.5cmx4cmx9cm.
Title: Re: building usb-remote-cable
Post by: databoy on 30 / March / 2008, 03:28:42
For Australian Users.

Purchase a Kambrook Model KWC2, battery operated doorbell; 3 volt operation.
Dismantle the doorbell unit; remove the small printed circuit board.
Remove the speaker.
Buy a small round head phone socket and matching plug; 1.5mm or 2.5mm.
Drill a hole in the top left hand side of the case in the middle case retention tabs.
Cut the corresponding locking tabs on the bottom of the case.
Unsolder the existing speaker wires and use longer wires.
Solder the speaker wires to the speaker socket; +ve to centre -ve to outer.
You will need about one metre of security wire or microphone cable.
You will need a female inline socket or an existing cable.
You will need to splice the +ve to +ve and -ve to -ve and heat shrink the cable.
The reason is the USB cable will not fit in the into the head phone plug.
Solder the security wire or microphone cable into the head phone plug.
Check your connections with a multimeter for the correct polarity.
Reassemble the unit and you are on your way.
The door bell remote will wake up the camera in about a second.
The actual pulse chime is a combination of square wave/ sine wave lasting about 8 seconds.

Sorry; I cannot post any photos. When you open the doorbell, you will see it is a very simple procedure. Remove two wires and drill one hole.

Total cost approximately $20 to $25 Australian.

If you do not remove the chime speaker the modification will not work. The voltage with the speaker in circuit is too low.   
Title: Re: building usb-remote-cable
Post by: databoy on 30 / March / 2008, 09:10:30
I can confirm that the Kambrook Model KWC2 doorbell USB cable works with the remote script. The S3IS recognises the pulses and shoots a photo.

I have a few programming problems to sort out. If the USB cable remote shoot script is loaded automatically on wakeup I cannot get into the ALT menu. Is there a way around it? Thanks.

Albest Build 49.

I am a hardware person; I do not understand programming languages. Is it possible for all the USB cable remote scripts to be amalgamated into one big script?
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 30 / March / 2008, 12:44:18
okay, i played around a bit, managed to use a "remote switch" on both my a620 and s3is - it switches ON when it gets dark. i plan to use it in conjunction with a properly attached laser beam, so when the beam is interrupted, a shot will be taken. for highspeed photography, for example when you drop an egg, on its way down it interrups the laser beam.

i bought an extremely cheap solderless "experimenting board for kids".

however, i think i'm running 9V through my camera and i dont know why and how. attached are both the "circuit" plan from the book and the "real setup". i replaced the red diode (1.8 V) with two USB connectors, and then i found out that the whole 9V are on the contacts. so i replaced the 1K resistor with a 1M resistor: voltage drops down to around 4,5 - but that isnt enough for the cams to detect. so i replaced the 1M resistor with two 470k resistors (as in the picture), that triggers the cams but when i detect the voltage with voltmeter i still get 9V. either i'm dumb (long time ago i had physics in school about the exact same matter but i forgot...) or plain blind.
question: is it me using my voltmeter the wrong way or is there really 9V getting to my cams? what should i do to downsize that to 3V (dont wanna risk breaking something!).
the ldr is a light-dependent resistor (much light - 100 ohm, no light 1M ohm). the transistor is the "standard" transistor BC547.

maybe some of you more experienced users can shed light on this :)

edit: i know that the usb detection routine isnt that fast to detect a falling egg. but maybe i have to drop it from a much greater height ;)
Title: Re: building usb-remote-cable
Post by: jetzt on 30 / March / 2008, 13:13:00
I didn't check the schematics so far, but did you first connect the tansitor the wrong way?
Maybe it's gone than, but that's really only a "quick reply".

Edit1: How did you mesure the voltage, with camera connected?

Otherwise the full current has to go through the voltmeter and that's not how it should be?
I don't expect you mesured like that, but did you measure it like that?(pic1)
In that pic1 the value the voltmeter shows is only correct if the cam is connected.

(Remember your physic-edu-teacher: "You have to measure the voultage drop over an Resistor/consumer." :D)

However I would enjoy reading your results, and so I propose to put a potentiometer in to correct the daylight.
Like that you could adjust sensitivity.(pic2)
Title: Re: building usb-remote-cable
Post by: GrAnd on 30 / March / 2008, 13:43:22
i replaced the 1K resistor with a 1M resistor: voltage drops down to around 4,5 - but that isnt enough for the cams to detect. so i replaced the 1M resistor with two 470k resistors (as in the picture), that triggers the cams but when i detect the voltage with voltmeter i still get 9V. either i'm dumb (long time ago i had physics in school about the exact same matter but i forgot...) or plain blind.

Hm... I'm not a hardware guy, but... If I'm not not mistaken, the using of a resistor leads to the limiting of the current. For voltage limiting the voltage divider  (http://en.wikipedia.org/wiki/Voltage_divider) is used. Or use a cascade of 6 diodes to reduce the voltage by 6x0.7=4.2V
Title: Re: building usb-remote-cable
Post by: databoy on 30 / March / 2008, 21:54:33
Regarding cir.jpg.

The circuit you are using is just a simple light sensor circuit. Reduce the voltage to a six volt battery and reduce the 100k resistor to about 75k. The circuit is switching a led on or off. Do you really need the led in the circuit. If not, remove the led and put a 4.7 volt zener diode in its place. Increase the 1k resistor to a 5k resistor maybe 1 watt.

FOOTNOTE:   

If you want to reduce the voltage in USB cable circuits; it is best to use a series resistor in conjunction with a zener diode. You will need one below 5 volts. A 5 volt regulator is not the ideal solution. They need tantalum capacitors either side of the voltage legs as close as possible to the regulator. Otherwise the regulators are know to become unstable.

This page will show you the range of zener diodes available:

Jaycar Electronics (http://www.jaycar.com.au/productResults.asp?whichpage=2&pagesize=10&keywords=zener+diode&CATID=&SUBCATID=&form=KEYWORD&ProdCodeOnly=&SPECIAL=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=)
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 31 / March / 2008, 03:57:17
I didn't check the schematics so far, but did you first connect the tansitor the wrong way?
Maybe it's gone than, but that's really only a "quick reply".

Edit1: How did you mesure the voltage, with camera connected?

Otherwise the full current has to go through the voltmeter and that's not how it should be?
I don't expect you mesured like that, but did you measure it like that?(pic1)
In that pic1 the value the voltmeter shows is only correct if the cam is connected.

(Remember your physic-edu-teacher: "You have to measure the voultage drop over an Resistor/consumer." :D)

However I would enjoy reading your results, and so I propose to put a potentiometer in to correct the daylight.
Like that you could adjust sensitivity.(pic2)
yeah i think i used the voltmeter the wrong way, i'm not used to this "electronics stuff". however i think that i had the camera connected. on the other hand, the camera itself isnt really a "resistor" or consumer, is it?
yeah, a potentiometer will definitly help, there just wasnt one included in the "starter kit".

i replaced the 1K resistor with a 1M resistor: voltage drops down to around 4,5 - but that isnt enough for the cams to detect. so i replaced the 1M resistor with two 470k resistors (as in the picture), that triggers the cams but when i detect the voltage with voltmeter i still get 9V. either i'm dumb (long time ago i had physics in school about the exact same matter but i forgot...) or plain blind.

Hm... I'm not a hardware guy, but... If I'm not not mistaken, the using of a resistor leads to the limiting of the current. For voltage limiting the voltage divider  (http://en.wikipedia.org/wiki/Voltage_divider) is used. Or use a cascade of 6 diodes to reduce the voltage by 6x0.7=4.2V

yes, you're probably right. will try to build something usable tonight :)

Regarding cir.jpg.

The circuit you are using is just a simple light sensor circuit. Reduce the voltage to a six volt battery and reduce the 100k resistor to about 75k. The circuit is switching a led on or off. Do you really need the led in the circuit. If not, remove the led and put a 4.7 volt zener diode in its place. Increase the 1k resistor to a 5k resistor maybe 1 watt.

FOOTNOTE:   

If you want to reduce the voltage in USB cable circuits; it is best to use a series resistor in conjunction with a zener diode. You will need one below 5 volts. A 5 volt regulator is not the ideal solution. They need tantalum capacitors either side of the voltage legs as close as possible to the regulator. Otherwise the regulators are know to become unstable.

This page will show you the range of zener diodes available:

Jaycar Electronics (http://www.jaycar.com.au/productResults.asp?whichpage=2&pagesize=10&keywords=zener+diode&CATID=&SUBCATID=&form=KEYWORD&ProdCodeOnly=&SPECIAL=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=)
i dont need the led, i replaced it with the usb connector. i do have a zener diode somewhere in the kit, will check it out, thank yoU!!!.
one question remains: i connected TWO usb connectors to it, but will not always actually USE two cameras. if i manage to get 3 volts into the "usb circuit" - it shouldnt matter how many usb connectors i "solder to it", right? i'm planning to actually connect as much as 4 or 5 cameras to it.

thanks for your replies guys, really helpful!
Title: Re: building usb-remote-cable
Post by: databoy on 31 / March / 2008, 05:43:44
Technically the camera is detecting voltage not current. It should not matter how many cameras are connected. If you want to run multiple cameras; I would suggest that you use a larger current zener diode, 2 watt resistor and a higher power transistor.

Make sure the zener you put across the USB socket is over 3 volts and less than 5 volts.

Have a look at the Jaycar site; it will give you an idea of the voltage and current rating of the zeners. You are not looking at a big cost to upgrade to multiple sockets.
Title: Re: building usb-remote-cable
Post by: a640 on 01 / April / 2008, 15:28:51
is it possible to mod (usb) the phottix wireless remote since its small and cheap??
Title: Re: building usb-remote-cable
Post by: databoy on 02 / April / 2008, 21:47:32
I do not know the brand name. Technically it is possible to mod any cheap remote doorbell. I found that the cheap doorbells contain a small board with an all in one receiver and chime chip. I could not find any technical details on the net for the chip. It is definitely an OEM manufactured for doorbell chime operation. Put a digital voltmeter across the speaker terminals and press the button. Record the voltage. Unsolder one wire from the speaker and measure the voltage. As long as the unit is under 5 volt operation you should have no problems. Be aware that most door bells/chimes have a chime which last from 5 to 8 seconds. For most purposes I found that it works ok. I used a scope to observe the waveform. The high end of the pulse waveform is enough to trigger the camera. I found that with the speaker in circuit the voltage is too low to trigger the camera.

The Kambrook unit is about $16 AUD. It is a 3 volt unit the size of a cigarette packet designed to clip on a belt. I found that the Australian 240 volt mains units were more trouble than they are worth. Too much work involved.

In Australia, Jaycar sell small remote novelty chimes. Very compact and cheap. Google Jaycar; search for novelty chime.   
   
Title: Re: building usb-remote-cable
Post by: databoy on 03 / April / 2008, 23:19:16
For the hardware experimenters.

In Australia the motor vehicle alarms use all black wires with no number coding. The wire coding is at the end of the cables. It is chopped off by the installer as he connects the unit. This is for security reasons, so an intruder cannot immobilise the vehicle.

Within the alarm / immobiliser is contained a small daughter board with an RF receiver. The unit operates on a regulated 5 volt supply and generates a good square wave signal.

The wrecking industry cannot resell the units because without the connector coding they are useless. As one installer said it would cost more to trace the wiring than sell you a new unit.

If you try the immobiliser approach make certain you obtain the remote transmitter.

 
Title: Re: building usb-remote-cable
Post by: photoscott on 04 / April / 2008, 18:19:41
9-Volts, not a good idea. Use some stacked button-cells or something else. Even 4 AAA NiMH batteries would be better, that will average at 4.8 to 5.2 volts total.

Wouldn't you only need 3 AAA batteries at 1.5v each?  I like Coutts idea. I just purchased the Canon RS60 remote trigger. I am going to try first plugging it in to the 3.5mm jack first to see if it works that way. I know the 3.5mm jack operates the remote capture  on the DiGiC II cameras from Canon. I saw a cell phone ear bud set's button to be the remote button. Remote shutter trigger for Digital Cameras - Instructables - DIY, How To, photography, tech (http://www.instructables.com/id/Remote-shutter-trigger-for-Canon-Cameras/)
So, if the 3.5mm jack doesn't work then I will get the 3AAA battery holder from Radio Shack for $1.79 and wire and install it on the back of the housing of the RS60. Basically the same thing as Coutts design other than I would be using 3 AAA batteries and an actual Canon remote shutter release button.
I do know that when I plugged a 3.5mm tip into the 3.5mm jack on my A570IS that it does cause the screen to go blank. I am assuming because there is nothing to regulate the opening or closing of the circuit that is why the screen went blank(black).  So that tells me something is being affected when the 3.5mm jack is plugged into.  That is why I hope maybe the 3.5mm jack will work. I know that in the scripts menu for the CHDK that you can enable the remote capture via USB. I wonder if in DiGiC III's design that default remote input is the 3.5mm jack??? I will find out and post my results soon.
Thanks for this forum you guys.
Title: Re: building usb-remote-cable
Post by: photoscott on 04 / April / 2008, 18:52:23
I am doing something similar to Coutts design. I bought the Canon RS60 remote shutter button for $20 online. It has the 3.5mm tip on it. I am going to try this in the 3.5mm jack first to see what it does. I plugged in the 3.5mm jack from my VoIP headphones into my A570 IS. No button to push, just a mute switch. I am assuming because the 3.5mm tip wasn't attached to a momentary switch it didn't do anything except black the screen out. I know that Canon's DiGiC II design let's you do a remote capture through it's 3.5mm jack. I saw a design that was made from a cell phone hands free ear bud piece.    Remote shutter trigger for Digital Cameras - Instructables - DIY, How To, photography, tech (http://www.instructables.com/id/Remote-shutter-trigger-for-Canon-Cameras/ )    The main component was the momentary switch in the mic area. So I will be trying the 3.5mm jack first to see what that does. If no success, I will buy a 3AAA battery holder from Radio Shack and wire to and on the RS60. From what I understand, a AAA battery is 1.5v.  If you do three(and the math) that is 4.5v. That seems to be enough according to all the people out there doing similar things.
I like the wireless garage remote one too! Though I already ordered the RS60 online. Same cost as the wireless design except the RS60 allows you to lock the button "on" for long exposure shots.
Thanks for this forum and to all who have contributed to it.  8)
Title: Re: building usb-remote-cable
Post by: Barney Fife on 05 / April / 2008, 05:42:05
Deleted
Title: Re: building usb-remote-cable
Post by: databoy on 05 / April / 2008, 06:05:55
Quite honestly people have purchased an expensive camera then try build a USB interface on the cheap.

I will add another word of caution. I would not trust the electronics guides on a large number of sites on the net. Most of the posters have very little electronics experience.

If you want a good starting point ePanorama.net (http://www.epanorama.net/)
Be prepared to do a lot of reading and bread boarding.

A number of posts advocate using a 5 volt regulator. That approach will not work on the USB cable. You need a maximum voltage of a 4.7 zener diode across the + and - lines with a series resistor from the +ve feed. Your power supply will need to be regulated if it is above 5 volts. Voltage regulators need a minimum of 2 volts above the regulator output otherwise they will not regulate.

The simplest and cheapest approach is to buy a remote doorbell which operates on 3 volts.
   
Title: Re: building usb-remote-cable
Post by: photoscott on 09 / April / 2008, 18:37:51

It's not too far-fetched that someone, someday, will find a way to tap into the microphone side of these cameras, and include things like a recording-volume meter, or ... more importantly, sound-triggered shutter capabilities.


Yeah like adding a condensed version of ProTools for portable, recordable media!
Title: Re: building usb-remote-cable
Post by: photoscott on 09 / April / 2008, 18:41:00


It's not too far-fetched that someone, someday, will find a way to tap into the microphone side of these cameras, and include things like a recording-volume meter, or ... more importantly, sound-triggered shutter capabilities.

Yes, like how about adding a script that would enable recording with an external mic to get rid of all the noise generated from handling the camera or even to be able to record in stereo, not to mention mic placement which is key to a good audio recording.

Scott
Title: Re: building usb-remote-cable
Post by: stevodude on 11 / April / 2008, 00:53:54
well I worked out the s5is doesn't  work with less than 3.3v, as I tried a usb cable with a button lithium with 3.3v no load, and wouldn't detect with the script running.
Chassed around the deep dungeon of my desk and found an old pc front case reset switch/led, 3 1.5v AA batteries, and an old clear plastic case, and hacked off the end of a usb-usb extension lead.

hahaha, skip that, found this: CameraFeatures - CHDK Wiki (http://chdk.wikia.com/wiki/CameraFeatures)

and stated 3.7v needed, so wacked 3x1.5v together and baboomba, works a tread... AWSOME?!!!!!!!.....

mkII remote usb RTA with bits found in my workshop. (PCD is an old front panel from a computer case, with led and micro switch all ready cabled up :-)
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Flh4.ggpht.com%2Fstevodude%2FR_7jkmCDJPI%2FAAAAAAAAB6Y%2Fa0U-H6cGtLI%2Fs800%2FIMG_2378.jpg&hash=d5aa8c84dc8c22317f6350fef4b5d4e7)

Assembled ready to go.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Flh6.ggpht.com%2Fstevodude%2FR_7jmGCDJQI%2FAAAAAAAAB6g%2FsDKUqVbqd5Y%2Fs800%2FIMG_2384.jpg&hash=e15c3b9255fa64c8129f223a50d7fd9c)

Button press makes led light up :-) mmmmmm  led's....
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Flh5.ggpht.com%2Fstevodude%2FR_7jm2CDJRI%2FAAAAAAAAB6o%2FZC-_aUi2V7k%2Fs800%2FIMG_2387.jpg&hash=278e24f27a68214b0fbabf0fe3ed41c0)

and it works. but the script seems to do something first, like focus etc then takes a shot, ie about 1.5seconds...
Wonder if there is a way to capture instantly, is pre focus, zoom, set settings, run remote script and then snap.? maybe questions for another thread, but I can't create threads atm...
Title: Re: building usb-remote-cable
Post by: Barney Fife on 11 / April / 2008, 05:34:03
Deleted
Title: Re: building usb-remote-cable
Post by: photoscott on 11 / April / 2008, 15:56:56
Here is another idea for a wired and wireless remote in one.  I purchased a Skylink garage remote from Radio Shack. It needs a 12V power supply for the receiver, and you also need to provide 3-5V to the USB port.  I used a 8xAA battery holder for the 12V, and soldered some wires to the leads for 3 of the batteries to give me 4.5-4.8V.
The Skylink unit basically closes a set of contacts but doesn't push any voltage through them.  You can trigger via the button on the receiver, or with the small remote transmitter.  It couldn't be easier!  The remote unit cost $20.  The battery holder was $2.
I now have a compact wired and wireless remote.  I haven't tested the distance yet, but I would suspect that it is at least 70-80 feet.
Now I just need to buy an S2 IS to go with my SD850.  Anyone have one for sale?  ::)

So how did you wire the receiver end to your power and USB? I am doing your design with a twist. I am adding a Canon RS60 E3 switch to the transmitter via 1/8" female jack so I can get the locking feature and enable the autofocus with the half way press of the button. I am just curious did you wire one of each of the receiver wires to the red and white wires of the USB cable? You can't see the wiring route with the heat shrink. I know it says in the manual for the remote that the wires coming off the transmitter are parallel, so that is why I am curious to how you wired it. With having the provided controller as your trigger, does it allow you to enable auto  focus or does it just release the shutter without focusing?  I really like your idea, that is why I follow but being the creative type like to add my touch.
Your reply would be very appreciated or if any else knows how this wiring schematic looks could you please post. I would love to use this with my Canon A570 IS.
Thank you from the somewhat electrically challenged hobbiest.
Scott
Title: Re: building usb-remote-cable
Post by: photoscott on 11 / April / 2008, 16:16:16
Check the UBASIC/TutorialScratchpad - CHDK Wiki (http://chdk.wikia.com/wiki/UBASIC/TutorialScratchpad) page and look at the differences between shoot and click/press/release "shoot_half" / "shoot_full" commands. The most simplest USB-Remote scripts only use the shoot command. Using more elaborate script commands is how you get more control over your camera with CHDK. CHDK is not meant to be used just by itself (though it can be, with limits). It's a system of both scripting and the CHDK operating system.


So does that mean a script can be written for the usage of external microphones through the USB port? Does scripting affect the 3.5mm jack at all?
Just getting my feet wet here and liking it.
Thanks for the useful info Barney.

Scott
Title: Re: building usb-remote-cable
Post by: Barney Fife on 11 / April / 2008, 17:28:57
Deleted
Title: Re: building usb-remote-cable
Post by: wrybread on 28 / April / 2008, 23:43:24
I just built a wireless USB button using really simple parts. A quick description:

I used this cheap wireless doorbell so the range is about 100 feet, though I haven't tested the range yet: ACE TRADE- HEATH ZENITH        AC6150 CHIME DOOR WIRELS OFFWHT  (http://www.acehardwareoutlet.com/(41atmfespldicp55zzmork45)/ProductDetails.aspx?SKU=3014727) . I like it because both the button and the receiver are battery powered. I bought it at a local Ace Hardware (ubiquitous in San Francisco) for $19. Note that its the same doorbell as this one, but rebranded:  Hacker's Bench : Wireless Doorbell Hacking  (http://www.hackersbench.com/Projects/ding-dong/main.html)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimages.acehardwareoutlet.com%2Fgetimage%2FgetImage.aspx%3FPath%3Dproducts%2F3014727.jpg%26amp%3Bheight%3D120%26amp%3Bwidth%3D120&hash=1d62222a06669d4f35728524c0268631)

Remove the speaker, then put this relay across the speaker wires: RadioShack.com - Cables, Parts & Connectors: Component parts: Relays & transformers: Compact 5VDC/1A SPST Reed Relay (http://www.radioshack.com/sm-buy-the-compact-5vdc-1a-spst-reed-relay-on-http--pi-2062478.html)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Frsk.imageg.net%2Fgraphics%2Fproduct_images%2FpRS1C-2160387w345.jpg&hash=0bddba7a3accd1e2f6d391b9dc13e5ec)

Now when you press the button the relay should be triggered. Note that until I removed the speaker, the doorbell didn't produce enough current to trip the relay.

Now your wireless button can trigger any external switch.

For the camera part:

I used this voltage regular, as suggested by a previous poster: RadioShack.com - Cables, Parts & Connectors: Component parts: Transistors & analog ICs: +5V Fixed-Voltage Regulator 7805 (http://www.radioshack.com/sm-5v-fixed-voltage-regulator-7805--pi-2062599.html)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Frsk.imageg.net%2Fgraphics%2Fproduct_images%2FpRS1C-2160509w345.jpg&hash=87eaba240ac598b377699b273336c155)

Connect a 9v battery to the voltage regulator's input (positive line of the battery to the input pin, negative to the ground). Obviously one of those 9v battery sockets from Radio Shack (a bag of 5 costs $2) is handy here.

Then splice a USB mini cable. Mine had 4 wires: red, black, green and white. USB mini has 5 contacts, one of which usually isn't used; two are data; two are power. You want to connect the positive power (in my case, that was the red wire) to the output pin of the voltage regulator, and the negative power (black wire) to the ground of the voltage regulator.

Obviously you should figure out which pin on the USB cable goes to which wire. I used this chart and a multimeter's continuity mode: Tech Info - USB & Firewire (http://www.zytrax.com/tech/pc/serial.html)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.zytrax.com%2Fimages%2Fusb-mini.gif&hash=b01e2d54e5a444fab156393f3dda2927)

Now connect the output pins of the relay in-line with the output from the 9v battery, so when the button of the doorbell is pressed, the voltage regulator gets 9v power, which sends 5v to the camera, which makes the camera do whatever you want it to do.

Remember to enable the USB button in your firmware.

Here's a crappy picture before I put everything back together.

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwrybread.com%2Fmisc%2Fcamera_button.jpg&hash=668b9a16d7596d3818e7e307ba7e1c22)

I should note that the link at the beginning of this post to the guy hacking the wireless doorbell is a more complicated circuit and probably much more correct. But mine works just fine for my purposes.

Here's a basic script to test it out. I'm using AllBest, not sure about other builds:

Code: [Select]
@title Remote Button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend

end

Here's my timelapse script that has a couple of nice features:

- shoots a picture every X seconds
- prints how many seconds remain until the next picture is taken
- if the USB button is pressed, it takes a picture and resets the countdown for the timelapse. Handy for emphasizing certain moments in your timelapse.

Code: [Select]
@title Timeless Lapser
@param a Interval (Seconds)
@default a 10

print "Timeless Lapser!"


rem shot counter
b=0

:looper

b=b+1
cls
print "Shot ", b
print "0 seconds until next"
shoot

rem routine to pause in a way that will show countdown on console
x=0

:pauser
r=a-x
x=x+1
cls
print "Shot ", b
print r, "seconds until next"

   wait_click 1000
   if is_key "remote" then x=a

if x < a then goto "pauser"

goto "looper"

Feel free to email me with any questions, wrybread at gmail dot you know what.

Edit: I've since made the modification from that "hacker's workbench" page, and it indeed works better than my simpler mod. It simply involves shorting one of the resistors, and installing a single capacitor, and the unit is much more responsive now.
Title: Re: building usb-remote-cable
Post by: A630Lover on 29 / April / 2008, 09:02:11
Here is another remote control. I used an old Sony battery pack, a female (and male on the cable) 3,5 mm jack, a red led ,a little switch and a rechargeable 3v lithium battery. Cost: 0. Everything is reused material.
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 29 / April / 2008, 09:41:48
okay, after seeing all these new fancy remote controls i thought i'd finally share mine:

here it is. well, it certainly isnt fancy, but it sure does its job.
built out of a cheap "dog control leash" (dont worry, no hurtin to the puppies!!!). atm i can connect two cams to it, planning to add 2 usb ports though, as i will have the chance to gather 4 powershots and do "mini matrix bullettime action" :D
the usb ports are soldered to where the "vibrating motor" (english?) was before, 3 volts output - to my liking.
the second button on the remote control triggers the usb ports now. the first (bigger) button was and is controlling a small speaker which beeps when pressed. this actually is fun to do because in groupshots this way you are garantueed to get smiling (surprised?) faces.
the case itself is made in a way that it allows to be attached to a leash (the case is dirty on my pics as i had tape around it, took it off for pics and to solder the other ports to it).this makes it easy fixing it to a lamppost or a tree or even to the camera itself, by just using a leash (well, if you dont own a dog you can take your belt :D j/k). 

hm, matrix bulletttime, did anybody ever try to sync more than two powershots, i mean here, in this forum? anywhere else? i mean SDM - fine, but thats been optimized for 2 cams (i guess i can sync 4 cams, no doubt!). but i havent seen any "results" yet. theres gotta be a techguy among you who owns a photo store and has all the equipment to create a professional bullet-time environment, eh? imagine high-speed synched pictures.
Title: Re: building usb-remote-cable
Post by: databoy on 01 / May / 2008, 22:51:35
The use of 5 volt regulators in dropping a voltage from 9 volts to 5 volts has to be approached with caution.

REFERENCE:

www.national.com/appinfo/power/files/f4.pdf

The above PDF document is a technical document from National Semiconductor one of the main manufacturers of regulators.

According to the document, the use of a 5 volt regulator to drop the voltage to 5 volts for the USB cable is operating outside the manufacturer's design parameters.

Page 18 addresses the issues of applications of regulators. Regulator circuits may oscillate if the bypass capacitors are not selected properly.

It would be advisable to download and read the document carefully. The long term effects of using a 5 volt regulator in the USB cable is unknown. It may operate without problems. You may be the unlucky one who purchases a 5 volt regulator which exhibits parasitic oscillations and places above 5 volt spikes on your USB cable.

The internal electronic design of Canon cameras is an unknown quantity. The USB cable is  operating outside Canon's manufacturing parameters. You may be the unlucky one who finds out that a parasitic oscillation has damaged the USB interface.

My advice is do not use any equipment which uses a voltage higher that 5 volts on your camera. 3 volt remote door bells are cheap enough. Use one of the designs posted on the forum.

We all live on different parts of the planet. Ultimately whatever you choose as a USB remote has to be sourced from locally supplied components. It may be beneficial for everyone if the moderators can document all the USB cable ideas as a sticky or transfer them to the wiki with technical links to application notes.       
Title: Re: building usb-remote-cable
Post by: vine on 02 / May / 2008, 06:51:10
I have used the 7805 for ages in various applications, a USB charger in my car among other things. I never had any trouble. Not to say your experience might differ, just sharing my two cents here. However when you look at the USB implementation on many cheap computer mainboards these days you'd image most USB devices have a rather high tolerance to voltage spikes.
Here is one of my remote boxes:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fworldswithinworlds.de%2Fmisc_image_dump%2FIMG_0922_tn.JPG&hash=2880f4deba74774d25bec91eb40a0ba5) (http://worldswithinworlds.de/misc_image_dump/IMG_0922.JPG)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fworldswithinworlds.de%2Fmisc_image_dump%2FIMG_0923_tn.JPG&hash=401f7139ef580173b69f18734c5da2cc) (http://worldswithinworlds.de/misc_image_dump/IMG_0923.JPG)
Material:
-USB-A jack, for example: ASSMANN A-USB-A-TOP
-pushbutton of your choice, for example: SCHURTER 0041.9141.1.1.0.1
-5V voltage regulator, for exampe: ESTEK ELECTRONICS 7805B
-9V battery and matching battery connector
-some sort of casing, for example: KEMO G01B
-circuit board and some cables, solder
-5V LED, for example: KINGBRIGHT L-934GD-5V (optional)
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fworldswithinworlds.de%2Fmisc_image_dump%2FIMG_0911_tn.JPG&hash=7da6c4cb5afe2e57105635d951b46608) (http://worldswithinworlds.de/misc_image_dump/IMG_0911.JPG)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fworldswithinworlds.de%2Fmisc_image_dump%2FIMG_0913_tn.JPG&hash=a6db55b847013f04d20e4e0972ad1806) (http://worldswithinworlds.de/misc_image_dump/IMG_0913.JPG)
Tools:
Soldering iron, knife or drill to cut openings in the casing
How to build:
Connect all components according to the following schematic:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fworldswithinworlds.de%2Fmisc_image_dump%2Fschematic_tn.png&hash=d34237255cac4b0035828fc1733a8eaf) (http://worldswithinworlds.de/misc_image_dump/schematic.png)

Title: Re: building usb-remote-cable
Post by: Aristoc on 03 / May / 2008, 15:58:19
Those are nice photos and schematic but I am wondering if you took any photos of how you soldered everything together and how that looks on the inside.

I am looking for a box that it is easy to open and replace a battery if I had to instead of unscrewing everything.
Title: Re: building usb-remote-cable
Post by: databoy on 03 / May / 2008, 22:43:42
Vine, why not use a 4.7 volt zener diode and a 500 ohm series resistor.

The point I am making is that you may be lucky with your 7805 configuration and not have any problems. Premium component manufacturers build some immunity into their regulator components. Unfortunately there are some dodgy name brands around which take short cuts.

According to National Semiconductor's application notes, voltage regulators require a tantalum capacitor as close as possible to either side of the voltage regulator to stop oscillation. Without the capacitors installed the voltage regulator is capable of oscillating.

Regardless of the brand of computer motherboard; the power supply regulators would have the appropriate bypass capacitors.

The point I am making is that I do not know what the long term effects of using a voltage regulator in your configuration is. It may be ok, but I would add at least a 10uf tantalum on each side of the regulator and a 1k ohm bleed resistor across the +ve and -ve output to the USB cable. At least that is within the manufacturer's guidelines and specifications.

Ultimately whatever you use as a USB trigger has to be sourced from within the community where you live. Beware of the dodgy brands sold and stick with known American manufacturer's like National Semiconductor, Harris, Texas Instruments, etc.             
Title: Re: building usb-remote-cable
Post by: databoy on 03 / May / 2008, 23:19:12
I have been looking a PICaxe chips as a flexible means of USB control. There are a number of already published circuits and programs which use four buttons to achieve four output states. I am a hardware guy not a programmer. Maybe if one of the programmer guys are interested, I will post the basic program and see if it can be modified and can be implemented into a CHDK script.
Title: Re: building usb-remote-cable
Post by: vine on 04 / May / 2008, 06:18:48
Those are nice photos and schematic but I am wondering if you took any photos of how you soldered everything together and how that looks on the inside.

I am looking for a box that it is easy to open and replace a battery if I had to instead of unscrewing everything.

No pics form the inside, but it's really very simple, just stick to the schematic. The box I used is screwed together and I will only open it again to change the battery, but that will be a loooong time (at least 30000 remote captures, I don't know if I'll ever reach that number)
If you want a casing with a separate battery compartment (for example if you not only want to use it as a remote, but also charge your camera from it) I recommend the KEMO G01B (http://www.kemo-electronic.com/en/gehaeuse/g01b/index.htm) (which I actually listed under materials). It is however rather large:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.kemo-electronic.com%2Fbilder%2Fg01b%2Fg01b_350x233.jpg&hash=006c5dc15991addfaa0859d2f9dc84a1)
Note that if you want to build a box that you can also charge your camera from you will need an additional switch (unless you don't mind holding down the pushbutton for the entire duration of charging) and should add a capacitor to stabilize the regulator as mentioned by databoy.
Title: Re: building usb-remote-cable
Post by: flaquito on 07 / May / 2008, 00:02:02
Like databoy said, a zener diode is the best way to do this. Have a look here (http://www.kpsec.freeuk.com/powersup.htm), near the bottom of the page for a schematic.

Since we don't know the specs on the cameras, it's hard to say what resistor value to use, but a 50-100ohm, 1/2watt resistor should work well. Someone feel free to correct me if I'm wrong, though.
Title: Re: building usb-remote-cable
Post by: vine on 07 / May / 2008, 03:31:38
Like databoy said, a zener diode is the best way to do this. Have a look here (http://www.kpsec.freeuk.com/powersup.htm), near the bottom of the page for a schematic.

Since we don't know the specs on the cameras, it's hard to say what resistor value to use, but a 50-100ohm, 1/2watt resistor should work well. Someone feel free to correct me if I'm wrong, though.
Actually using a linear regulator like the 7805 is much more reliable and simple. You don't have to "guess" any part values like you just did and it is much easier for beginners to use in their own circuits. The linear regulator will also output to specification independent of other parts being added to the circuit.  These and other advantages make linear regulators much more preferable over rather primitive zener diodes.
Title: Re: building usb-remote-cable
Post by: fudgey on 07 / May / 2008, 14:57:10
Well actually a zener really is the superior choice of the two unless you add a power switch to your remote.

With a zener, you can just wire up the zener and a current limit resistor and a switch. The voltage will be a bit inaccurate but that's no biggie as long as it's high enough for your camera and below 5,3 V or so.

For a 7805 regulator to work properly in-specification you'll need about 7 to 7,5 V minimum input voltage (it will work with less but it's out of the manufacturer specified range...I'm just pointing out that there is no such limitation for a zener) and approx 0,33 uF tantalum minimum in both input and output.

Now, a 7805 draws a significant quiescent current even if you don't actually load it. That's why you'll need to switch it's input voltage off when you aren't using the remote. The alternative is of course to use the remote button as an input power switch as well, but then you'll be charging/discharging the capacitors each time you press your button. That's a waste of precious battery charge and may screw up the USB supply voltage rise/fall waveforms.

All in all, the regulator approach is inferior and it needs more parts and it is more expensive.
Title: Re: building usb-remote-cable
Post by: vine on 07 / May / 2008, 19:07:04
A 7805 is like 10 cent and you don't need the capacitors for trigger usage, only if you want to charge from your circuit as well. Refer to my schematic for proper wiring and usage. In fact using a linear regulator is easier, uses less parts, is less sensitive to modifications of the circuit and much more reliable from my personal experience of using them in USB applications since the 1.0 standard. But if you abolutely want to use a zener regulator then go ahead, just don't try to preach it as the one and only truth.
Title: Re: building usb-remote-cable
Post by: databoy on 11 / May / 2008, 01:59:41
Vine,

I do not know where you obtained your electronics knowledge from. Fudgey is correct and you are wrong. 7805's are switching regulators. Momentarily powering up a 7805 can cause long term damage. They are not designed to be momentarily switched on and off. According to National Semiconductor's application notes (they design and manufacture the devices), regulators need at least a 10uf tantalum capacitor on either side of the regulator legs to stop parasitic oscillation and a bleed resistor to discharge the residual voltage when powered down.

The recognised electronics industry, electronic circuit for momentary use where voltage reduction is required is a zener diode with a series resistor or a power zener configuration.

If you want to use the 7805 regulator approach that is you choise, but do not post your circuit and recommend it to electronics newbies. Long term it will damage the camera.

If you want to get into an electronics technical debate, I will post the full National Semiconductor application note on the correct use of regulators.

What does USB standards have to do with voltage regulators. They are two different standards and applications. The USB 5 volt supply is filtered and certified. The USB bus derives its power supply from the motherboard 7805 regulator which has the appropriate filter capacitors and parasitic line filter inductors built into the motherboard.

When you plug into a USB port the 5 volts is permanently powered, hot wired. The USB CHDK trigger is only sending an external 5 volt supply to a Canon camera to wake it from its sleeping state. There is no USB compliant signal involved; only a 5 volt sensing circuit built into the camera.

Strictly speaking the USB standard is about data transmitted and receiving using USB standards protocols. All you need is serial out, serial in and earth. There is no need to have the 5 volts other than a consumer convenience. The low current 5 volt supply is there for convenience purposes to power low power 5 volt devices. The appropriate USB serial drive voltage protocols are generated by the USB serial circuity.

The freedom of choice is an individual choice.  If you wish to recommend your 5 volt regulator approach that is also your responsibility. That means if someone damages their camera using your circuit, you accept the pubic liability responsibility and pay for the camera repairs.   

Title: Re: building usb-remote-cable
Post by: wrybread on 11 / May / 2008, 04:18:54
Strange how its so common on this forum for people to insult each other. Sheesh, we're all just noodling around with our cameras, just state your info and leave it at that. No need to insult or try to scare people.

> If you wish to recommend your 5 volt regulator approach that is also your responsibility.
> That means if someone damages their camera using your circuit, you accept the pubic
> liability responsibility and pay for the camera repairs.   

This is so absurd its almost funny. Can you think of a single instance in the entire history of the internet where this has been the case? Where some person (not a company) posted their notes on something and was sued for being wrong about it?

In all seriousness, disclaimers noted.

Parenthetically, my wireless doorbell circuit using the fearsomely dangeround voltage regular has been working fantastically.

BUT ABSOLUTELY ON NO ACCOUNT SHOULD ANYONE ELSE USE IT, ITS EXTREMELY DANGEROUS TO YOU, YOUR HOUSE, AND YOUR HOUSE PLANTS.

This all reminds me of this cartoon:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimgs.xkcd.com%2Fcomics%2Fduty_calls.png&hash=9795f55e5f93b1060d44f0eef5b19175)
Title: Re: building usb-remote-cable
Post by: vine on 11 / May / 2008, 04:28:39
I do not know where you obtained your electronics knowledge from.
10+ years of actual experience.
The USB 5 volt supply is filtered and certified.
Have you ever actually tested todays cheap mainboards USB voltage? It is far from stable. Device designers know about that and build USB devices with appropriate tolerance. There is no way my circuit could ever damage my camera. Have you read peoples reports on this very forum that they are triggering their cameras with 9V straight without ill effects?
That's the difference between theory (which you seem to have read up on) and actual experience.
Title: Re: building usb-remote-cable
Post by: user1 on 11 / May / 2008, 05:02:08
Part of schematics of some DIGIC2 camera (attached). RN4983 has 10 V maximum input voltage.
Title: Re: building usb-remote-cable
Post by: fudgey on 11 / May / 2008, 05:35:05
Umm..


The 7805 is an ancient industry-standard linear regulator (definitely not a switching regulator, which would be very far away from the scope of this forum), which is known as one of the least likely to oscillate. Everyone has used them and still does, there are several manufacturers and hence they are dirt cheap in volumes.

It's fairly unlikely that anyone's going to be able to harm their camera with one of them, decoupled or not. The biggest danger I can see is that if you harm the regulator (ESD could do that but the 7805 is not the most prone IC to die from ESD) or connect it the wrong way around, your camera will likely be subjected to your input voltage (such as a 9V battery) and all the current it can source if the voltage happens to be too high for the camera. Also, if the camera happens to have more capacitance than what you put in the regulator input, you should add a diode across the regulator to be extra safe (to prevent output voltage from exceeding the input voltage after you disconnect the battery).

The 7805 definitely doesn't need 10 uF decoupling, a few 100's of nF in the input is enough, nothing required in the output. Low-impedance capacitors like ceramics are often harmful for regulator oscillation, but that's more important with LDO's. In a switching application like this a high output capacitance is bad for the circuit and minimum recommended values should be used. That said, I still think the regulator is unnecessary unless the camera's USB input happens to have the maximum specified USB filtering (10 uF) in it's input (which it probably doesn't because it doesn't use the USB supply for much of anything) and maximum speed operation is required. And even then I'd prefer the two-switch approach with significantly more than 10 uF in the regulator input.

As for liability to damage, it's the DIYer's own responsibility entirely to select who to trust and what to do and to swallow their own losses. This applies to the entire CHDK... I probably wouldn't run 3rd party software if I had paid $30000 for my camera, but for a cheap powershot the financial risk is insignificant. And I certainly wouldn't blame anyone else for frying my camera unless they deliberately (and thus criminally) feed wrong information to do harm to others, be it for their own financial gain or just plain vandalism. And that's definitely not what's going on here.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 11 / May / 2008, 05:37:43
Part of schematics of some DIGIC2 camera (attached). RN4983 has 10 V maximum input voltage.


Very interesting.

Do you have other schematics for the Canon cameras ?


Where did you obtain them ?


David
Title: Re: building usb-remote-cable
Post by: jetzt on 12 / May / 2008, 05:27:25
Indeed interesting, where to get the schematics, I will etch my own Canon camera board :D.
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 12 / May / 2008, 14:34:23
can it be assumed that all these chdk cams can withstand 10 V at max then? if yes, this should be added to the wiki and the first post of this thread very fast :D
Title: Re: building usb-remote-cable
Post by: fudgey on 12 / May / 2008, 18:19:59
can it be assumed that all these chdk cams can withstand 10 V at max then? if yes, this should be added to the wiki and the first post of this thread very fast :D

While the assumption is likely correct, it's not a particularly safe one. It assumes all old and new cameras use the same sort of chip for cable detect and that none of these cameras use the USB supply for anything but cable detect.

The said 10 V is a maximum limit specified at room temperature. Note that a fresh 9 volt alkaline battery voltage is typically about 9.5 V, which is too close to 10 V in my opinion.
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 12 / May / 2008, 18:49:38
hm, ok. so we need those bloody schematics for all the cams... somehow we have to bribe someone at canon... :D
Title: Re: building usb-remote-cable
Post by: Aristoc on 12 / May / 2008, 19:23:36
I have built my usb remote using vine's method. And I want to test it out now. Do I have any worries about camera damage or not ?

The photos of my remote are here...

Need remote shutter release for wheelchair photographer (http://chdk.setepontos.com/index.php/topic,1218.45.html)
Title: Re: building usb-remote-cable
Post by: wrybread on 12 / May / 2008, 21:02:33
Aristoc - I coudln't really tell from that link how you built yours (yes, I have a short attention span), but I gather from the picture that you used a voltage regulator. I did the same and have been using it absolutely without incident on my S3. I've probably pressed the button 500 times.

Title: Re: building usb-remote-cable
Post by: Aristoc on 13 / May / 2008, 07:35:38
Yes I used the voltage regulator and want to use that switch for the a570. I guess we shall test it out soon.


Aristoc - I coudln't really tell from that link how you built yours (yes, I have a short attention span), but I gather from the picture that you used a voltage regulator. I did the same and have been using it absolutely without incident on my S3. I've probably pressed the button 500 times.


Title: Re: building usb-remote-cable
Post by: ssjchar on 14 / May / 2008, 17:15:10
I have seen USB mics before.  do you guys think that there would be a way to integrate those into the chdk? or do those too need some sort of amplifier.  i'm thinking that they can just send info to the camera, and once it sends a big chunk of data(if thats what happens during loud noises) then that could be a trigger to take the picture.  i really don't know how they work though, and i'm assuming i'm wrong.
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 14 / May / 2008, 17:38:13
please stay on topic, this is about usb remote (as in - hey, there is current/voltage).
by using the search you may have found this thread: USB Audio Input??? (http://chdk.setepontos.com/index.php/topic,903.0.html)
it already has grown to a lengthy discussion, as of now there is no way to use usb mics.

edit: ah now i get it, you're thinking that the mic itself doesnt really "talk usb" with the camera, but just "spits out" the needed voltage. i guess a normal usb mic doesnt work, as it needs voltage. a non-usb mic also needs voltage. but by building another device this can be possible.
Title: Re: building usb-remote-cable
Post by: fudgey on 15 / May / 2008, 14:26:17
If you just want a loud noise to trigger the camera, you're best off building some sort of a device which has an electret mic connected to a sound level detector and a knob to set a threshold (or if you really want to be advanced, AGC) and switch the USB supply voltage like all other USB remotes.
Title: Re: building usb-remote-cable
Post by: A_Str8 on 27 / May / 2008, 14:40:45
I've been looking through the wiki and this thread trying to find instructions to make a basic remote trigger cable for my A720. I've had no luck. There are plenty of pictures and discussion of more advanced remotes, but nothing telling me the basics. Can anyone tell me what I need to know or point me in the right direction? I will try to document what i learn to make things easier on other newbies.

Thanks ahead of time
Title: Re: building usb-remote-cable
Post by: Pauls9 on 28 / May / 2008, 04:44:04
Back to basics, A_Str8:

Here's the simplest circuit:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg265.imageshack.us%2Fimg265%2F8596%2Fremoterelease1rastercy6.gif&hash=83621165ca6167841e86adc478b9a897)

On this page are pictures of a finished release:

http://ewavr.nm.ru/chdk/remote.htm (http://ewavr.nm.ru/chdk/remote.htm)

And you need to run this script:

Code: [Select]
@title Remote button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend

end

Notes:

1. For some cameras the single lithium cell doesn't provide enough voltage, hence the discussions about higher voltages and regulators in this thread.
2. You could omit the connector and wire a USB lead directly to the PCB.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 28 / May / 2008, 04:50:10
you need to run this script:

You may like to know that with 'StereoData Maker' you do not need to run a script.

As well as a home-made switch you can also use a Ricoh CA-1 http://stereo.jpn.org/eng/sdm/ca1.htm (http://stereo.jpn.org/eng/sdm/ca1.htm)
This focuses on half-press and takes photo on full-press-and-release.
Title: Re: building usb-remote-cable
Post by: A_Str8 on 28 / May / 2008, 08:42:27
Thanks Pauls. That's exactly what I was looking for
Title: Re: building usb-remote-cable
Post by: A_Str8 on 28 / May / 2008, 10:24:46
I just created a page on the wiki. Pauls, I hope it's ok that i used your image. As I learn more, I'll try to update the page. Everyone else - feel free to add your knowledge.

USB Remote Cable - CHDK Wiki (http://chdk.wikia.com/wiki/USB_Remote_Cable)
Title: Re: building usb-remote-cable
Post by: ssjchar on 28 / May / 2008, 12:07:05
that Ricoh CA-1 looks pretty neat.  does it only run off a single AAA battery?  i wouldn't mind getting one just so i dont have to do any more work, but i assume the cost greatly outweighs the work i'd put into making a usb cable.
on a related note, i bought the wrong type of mini-usb cable for this project and didn't notice until i was all done ripping it apart, ripping up a mini flashlight apart, soldering everything together and hot glueing it all tight.  is there a converter to convert one mini usb to the other type of mini usb?  i assume i bought a 4 pin instead of a 5 pin.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 28 / May / 2008, 13:05:28
Title: Re: building usb-remote-cable
Post by: Pauls9 on 29 / May / 2008, 04:36:38
I just created a page on the wiki. Pauls, I hope it's ok that i used your image.
Yup - no problem A_Str8.

Heh - if I'd known about the Ricoh CA-1 at the start, I'd have bought it. :)
Title: Re: building usb-remote-cable
Post by: drippinsnowman on 30 / May / 2008, 14:38:50
I have CHDK & SDM compatible, wireless shutter remotes.  These are professionaly designed, built to order modules. Assembled transmitter/receiver pair cost $80.00.  Just the transmitter or just the receiver cost $50.00 if purchased separately.  Shipping depends on where it's getting sent, but I will typically use a flat rate box within the US.

Email: [email protected] for photos, or if you are interested in purchasing.  I accept PayPal.

Technical Specs:
*Over 100ft wireless range.
*Compatible with SDM Software
*One remote can shutter 1 through 256 cameras simultaneously
*Script coming soon to let wireless remote change the focus, Tv, Av, & ISO settings in CHDK



Title: Re: building usb-remote-cable
Post by: Racenviper on 30 / May / 2008, 22:43:39
I have CHDK compatible, wireless shutter remotes.  These are professionaly designed, built to order modules.  I will happily give away the design files in the spirit of open source.  Assembled modules cost $50.00. 

Email: [email protected] for design files, photos, or if you are interested in purchasing a complete module.

Technical Specs:
over 100ft wireless range.

Photos? Does it work with the current SDM software?
Title: Re: building usb-remote-cable
Post by: drippinsnowman on 31 / May / 2008, 00:21:01
I'm setting up a little website this weekend so you can browse the pictures and everything....  I also have wired versions available too!
Title: Re: building usb-remote-cable
Post by: Microfunguy on 31 / May / 2008, 06:35:03
Does it work with the current SDM software?

Daniel may not know what that implies ........

Simply, while the button is pressed we require 5V to be present on the USB V+ .

Some people may want to control up to eight cameras so the output of the receiver needs to be able to drive that load.

Typically, that is a resistor from USB V+ to the base of a transistor and another resistor from base to ground.

On my A620, the input resistance is 20K so for eight cameras it is 2K5.

That requires a current of 2mA  ... not a problem  :)


David
Title: Re: building usb-remote-cable
Post by: drippinsnowman on 31 / May / 2008, 16:22:01
I've completed a little website where you can find the schematics for my wireless shutter system.  Please visit CHDK Remote Shutters - Wireless CHDK Compatible Shutters (http://home.comcast.net/~danielroy119/site/?/home/)

Title: Re: building usb-remote-cable
Post by: Microfunguy on 31 / May / 2008, 16:44:16
No Eagle PCB layout like we have on the SDM site ?  :)

I will put a link to your website in about three weeks time when there is a new release.

Incidentally, with SDM you turn-on the camera and immediately operate the USB release .. that is it .. no scripts required.


David
Title: Re: building usb-remote-cable
Post by: Microfunguy on 31 / May / 2008, 16:47:51
What transmitter and receiver modules are used ?
Title: Re: building usb-remote-cable
Post by: drippinsnowman on 31 / May / 2008, 19:49:20
Regarding the layout files, I prefer to use ExpressPCB because of the limitations of the freeware version of eagle.  Also, I have not yet decided whether or not I will release the .DXF layout files or the .pcb (ExpresssPCB) layout files. 

If you would like David, I will place a link to your SDM site from my Wireless Shutter site. 

Regarding the transmitter/receiver modules, I use 315MHz and 433MHz modules.  There are many places that manufacture them and they cost approximately $8.00/pair
Title: Re: building usb-remote-cable
Post by: acorrias on 02 / June / 2008, 12:50:22
Title: Re: building usb-remote-cable
Post by: drippinsnowman on 06 / June / 2008, 16:13:23
I have some completed wireless doorbell shutter systems that I'm selling for US$35.00 including shipping.  I only make $9.00 profit and that is because it takes me about an hour to modify the doorbell.  One transmitter can shutter any number of cameras to facilitate SDM photography.  For more information or to purchase one visit http://home.comcast.net/~danielroy119/site/ (http://home.comcast.net/~danielroy119/site/).

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fhome.comcast.net%2F%7Edanielroy119%2Fdoorbellshutter.jpg&hash=7bce85102af695c897fbfa3cc89f4705)

 :)
Title: Re: building usb-remote-cable
Post by: Bg~ on 08 / June / 2008, 15:12:04
Quote
What transmitter and receiver modules are used ?

http://www.sparkfun.com/commerce/product_info.php?products_id=7813

I posted this earlier in the thread. They aren't meant to be used directly, you may need an additional controller, but from what I've briefly tested, they do work for sending simple button pushes. These particular RX/TX are made to be paired with an encoder/decoder I think. There is a chip (unfortunately I don't recall the part number) that is made to work with it. A google search on "remote keyless entry" may turn up some information if you're interested.
Title: Re: building usb-remote-cable
Post by: cheebert on 10 / June / 2008, 19:31:45
Hey I saw an old post on how someone used a four port passive USB hub to fire four cameras at once. Has anyone actually tried this? If so how many cameras? Could I possibly cascade multiple hubs to trigger say sixteen cameras?

Why might you ask? Well, this would certainly be cheaper than the megabuck rigs they used for Matrix!

I hear light bulbs going off....hehehehe...

/brian chee
Title: Re: building usb-remote-cable
Post by: Microfunguy on 11 / June / 2008, 15:19:25
Could I possibly cascade multiple hubs to trigger say sixteen cameras?


A number of members on the Yahoo 'StereoData Maker' Group have triggered 8 cameras  :-


  StereoData Maker            (http://tech.groups.yahoo.com/group/StereoDataMaker/message/1?l=1)

In the Photos section you can see pictures of such a rig.

They are being used for creating lenticular stereo prints (the type you can view without special glasses).


David
Title: Using a USB charger as a remote
Post by: mcsquared88 on 29 / June / 2008, 21:14:41
I have an Energizer Energi-to-go USB charger (http://www.energizer.com/products/energi-to-go/cell-phone-charger/Pages/cell-battery-charger.aspx (http://www.energizer.com/products/energi-to-go/cell-phone-charger/Pages/cell-battery-charger.aspx)). It's a little thing that takes 2 AA batteries and has a little plug (looks like a microphone jack but smaller) into which can be plugged different adapters for different phones. You then plug the other end of the adapter into your phone and it will charge the phone from the AA batteries. The USB model comes with a standard mini-USB plug. Since the documentation for the remote trigger suggests trying it by connecting the camera to a computer (which normally outputs 5 volts via USB, instead of the 3 volts expected by the remote trigger), I figured I could get the same result using the USB charger. I tried it and it works. The adapter is quite short (about 3 inches), so some sort of mini-USB extension cable is probably needed, but it definitely works. I assume there's no harm because the camera is designed to be connected to a PC.

Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 30 / June / 2008, 19:03:27
funny, i got the same thing (energi to go), never thought about using it for usb remote. on the other hand, i already got a real usb remote, so why bother ;)
thing is, you still need a switch, unless you just want to plugin and plugout the connector in order to take pics.
Title: Re: building usb-remote-cable
Post by: Jucifer on 04 / July / 2008, 09:10:58
So I followed fingalo's tips on modifying nexa/proove/... remote controllable power socket (http://hem.passagen.se/fsmmal/chdk2.html#Version_2) and came up with these. I sliced all three receivers in the package.
The new housing is 72mm x 50mm x 22mm in size.
I also put in a switch to ...well, switch the unit off, when not in use.
Then there's the channel selector.
And of course two USB sockets. (There might have been enough room for even third one.)
I decided not to glue the board in place, just in case I have to fix something later... :/ (After all, I did manage to short/break something when modifying one the units: half of the voltage gets to J201 even when the switch is off... fingalo, help me! :I) The power switch pushes the board down and keeps it in place.
Title: Re: building usb-remote-cable
Post by: fingalo on 04 / July / 2008, 13:18:08
Nice boxes, I like your approach of fixing the channel switch :D. I always find it tricky to get the mechanical parts acceptable when doing some homebrew ;)
Title: Re: building usb-remote-cable
Post by: Cythrelo on 05 / July / 2008, 17:12:45
I'm not much of an electrician, but I bought an LED flashlight keychain that uses two CR2016 cells (3V each), and I'm wondering if 6V would be safe to trigger my S5?

I tried one CR2032, but 3V isn't enough to trigger it, and I can't fit a button-shape 1.5V in there to get 4.5V. I just want to make sure that 6V isn't going to kill my camera.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 05 / July / 2008, 17:25:17
I just want to make sure that 6V isn't going to kill my camera.

People will say that the USB specification is +5V, but that is actually irrelevant for our purpose.

The USB V+ is connected to a resistor that goes to the base of a dual-transistor switch before connecting to the DIGIC processor.

On my A620, that resistor is 20K so the current is one quarter of a thousandth of an amp !

Assuming other cameras are similar, 6V is fine.

If you have access to a multimeter you can measure the resistance between the outer pins of the USB connector.

DO NOT user the audible continuity range of the meter !


David
Title: Re: building usb-remote-cable
Post by: Cythrelo on 05 / July / 2008, 17:30:18
Thanks! I feel much less nervous now, and I just about have the remote together, so I'm about to give it a shot.

I do have a multimeter, but the contacts are way too big to fit in the little USB port of the camera.
Title: Re: building usb-remote-cable
Post by: jetzt on 06 / July / 2008, 10:51:20
Well I usally also like current limiting instead of voltage limiting, but in that case two cheap resistors
could do a voltage divider and would be much safer. (Perhaps not electrically, but for nervousity.)

(Really simple: http://de.wikipedia.org/wiki/Spannungsteiler
or:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F9%2F91%2FSpannungsteiler.svg%2F200px-Spannungsteiler.svg.png&hash=72660368a0932a006d0014297ab8a495))
Title: Re: building usb-remote-cable
Post by: JB on 08 / July / 2008, 01:58:48
Greetings from (another) Newbie!

Can anyone confirm whether or not the A720 is able to be activated (ie, as if the power button had been pressed) via a USB remote? The CameraFeatures - CHDK Wiki (http://chdk.wikia.com/wiki/CameraFeatures) page lists 5-6V OK/Wake-Up: Yes, and when the camera is powered up the remote happily shoots photos for me, but a 5V input does not seem to be able to turn the camera on.

I've read & searched & googled for the last few days to try to find an answer, with no success. I am looking to set up some remote time-lapse stations, solar powered, taking only 2 or 3 photos each day, so just using an intervalometer script & leaving the camera powered on is not really an option.

If the A720 cannot support this capability, any other suggestions for a different model at the 'consumer' end of the Canon range which may support this feature would be gratefully received!!

Thanks for your time,

JB.

PS - and my supreme admiration for everyone who has contributed to the CHDK project... such amazing things you are accomplishing!
Title: Re: building usb-remote-cable
Post by: jetzt on 08 / July / 2008, 11:35:29
@JB
Quote
CameraFeatures - CHDK Wiki page lists 5-6V OK/Wake-Up:
Perhaps there is a fault? Or another camera revision?
If there are five volts, for a few seconds, and there is no reaction you camera actually doesn't power up... :lol

I have however the hardware solution for you, if you "wake-up" your camera already, I assume you have some electronics there,too. So why not mod the power switch?
I've soldered some wires to the switches of my old camera, not sure about canon, but if you do be aware of the flash capacitor,
discharging is useful...

Not as reliable but also possible is pressing the switch with a servo like most KAP rigs do.
Title: Re: building usb-remote-cable
Post by: JB on 08 / July / 2008, 18:35:20
Thanks jetzt - yeah, hard-wiring the power switch is my fall-back option. I pulled the cover off the camera last night to discover that the wires to the on/off switch are TINY!! :o They're basically flexible printed circuit wires, and I don't know that I want to try soldering new wires onto those...

I'm just exploring posibilities right now, as I'll need to set up 10 of these things, so if I there's another camera that I could use which DOES power up via the USB port, that would be my preferred option. I will however check out the servo rigs you mentioned, as that is probably a viable third option.

Cheers

JB
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 08 / July / 2008, 18:42:34
i know for a fact that my s3is does power up when theres is voltage on the usb port. the a620 does NOT.
Title: Re: building usb-remote-cable
Post by: jetzt on 09 / July / 2008, 12:27:43
Thanks jetzt ......

I'm just exploring posibilities right now, as I'll need to set up 10 of these things, so if I there's another camera that I could use which DOES power up via the USB port, that would be my preferred option. I will however check out the servo rigs you mentioned, as that is probably a viable third option.

Cheers

JB
Nothing to thank for, I just wrote up the options I thought of when I wanted to build my "remote measurement station".
I further thought of an mega8(cause of easy programming) with some relays and temperature sensors,
the only missing part was the communication between camera and microcontroller.

Anyway I'm interested in your project, would you mind writing some more words about it?
Also when you have results?
Would be really interesting, how I already said,
jetzt
Title: Re: building usb-remote-cable
Post by: JB on 09 / July / 2008, 19:06:09
Hi jetzt,

I work for a Government department in Australia responsible for the maintenance & control of a large surface water drainage network. We have a VERY large work area (over 12,000 square km!), and there many monitoring sites which I visit on a weekly or monthly basis. We also have 9 or 10 sites which are quite remote & hard to access in Winter, which are monitored remotely via solar-powered logging stations. It is at these sites that we'd like to install cameras which would take 2-3 photos a day, so that we can show the physical results of the yearly weather cycle in a time-lapse movie.

I've got the script quite happliy taking a photo & shutting down the camera, but the problem is starting it up in the first place. The logging station can output 5V or 12V signals whenever it's told to via it's own scripting, so I'd hoped to use a remote cable as described in this thread to turn the camera on. Unfortunately that doesn't seem to be supported for the A720IS. Without going up to the S3/S5 cameras (budget limitations), it looks like the SD870 (IXUS860) might be another option for us, as the Camera Features page shows that this camera does support the wake up function. Mind you, that table shows that the A720 does as well...  ??? Can anyone else confirm/deny this for the IXUS860? We're quite happy to look into other cameras, but the scripting functionality of CHDK makes life SO much easier for me!

BTW, I have no formal/technical qualifications, so hopefully I don't ask any stupid questions while I'm here!! :) I enjoy solving problems, so this little project landed in my lap. Always happy to learn though!!

JB
Title: Re: building usb-remote-cable
Post by: fe50 on 10 / July / 2008, 03:50:53
Hello & welcome JB !

I'm a SD870 (Ixus 860) user, made some tests for you & here are the results:

- USB remote is working when the camera is powered on
- the Script Autostart is working, i.e. on power-on the selected script automatically starts
- the camera DO NOT power-on when the USB is plugged in !

The wikia entry (CameraFeatures chart) is ambiguous, "Wakes up on USB signal?" on the SD870 means that the USB remote functionality is working well when the camera is already powerd on. (Maybe i'll edit this...)

The SD870 also do NOT power-on when the battery is inserted / the battery door get closed.

The only possibillity (without soldering cables to the cameras power switch or using a mechanical solution) could be the following:

When the camera is powered-on and then the battery door is opened and closed again, the camera start & runs the script.
The camera remembers the last operating state (in this case power-on) and start when the door is closed again.
For this no USB remote is necessary, a simple script could do it - but if the camera once is powered-off regularly it do not power-on again when the door is opened / closed...

So i think this will not be a solution for you...

I also own a Ixus 50 (SD400), not sure whether it is the same - can do a test this evening...
Title: Re: building usb-remote-cable
Post by: JB on 10 / July / 2008, 08:55:17
Hello again!

Thanks for the info everyone, it's been great to get such quick responses. I believe that I have found a different solution to my problem, which makes my previous questions redundant... sorry about that!! :blush:

I will set up a solenoid trigger like the one described here: http://home.vicnet.net.au/~vic3d/pentax_rig.html (http://home.vicnet.net.au/~vic3d/pentax_rig.html). (Scroll down to 'Shutter Firing System', just over half-way down the page). This one is designed to trigger the shutter, however I will use the same mechanism to press my power on/off switch. Without testing, I figure that a pulse of about half a second from the logger to the solenoid should depress the power button long enough to switch the camera on. When the power stops, the solenoid will release, allowing the script to tell the camera to take a photo, then shut down. Program the logger to power up the solenoid 2-3 times a day, and we've got what we want!

Unfortunately, while digging around in the camera today, I've short-circuited something & it won't even power up, so I'll have to send it away for repairs. Oh well, I have to order the solenoids anyway so I guess it's no great problem...

Once I have some more parts to play with, I'll get started on the construction & keep you posted on how it's going!

Thanks again,

JB.
Title: Re: building usb-remote-cable
Post by: jetzt on 10 / July / 2008, 09:30:48
Quote
... I will set up a solenoid trigger like the one described here: ...
Ah he finally decided to take the hardware solution. I think you should add some photoresistor infront of an led, so you can be sure if the camera has really been on.
Quote
I've short-circuited something & it won't even power up
Ah, I warned you, don't press the battery pads to the connections of the flashcapacitor!  :lol

Thanks for the description
jetzt
Title: Re: building usb-remote-cable
Post by: toinech on 24 / July / 2008, 01:27:42
The only possibillity (without soldering cables to the cameras power switch or using a mechanical solution) could be the following:

When the camera is powered-on and then the battery door is opened and closed again, the camera start & runs the script.
The camera remembers the last operating state (in this case power-on) and start when the door is closed again.
For this no USB remote is necessary, a simple script could do it - but if the camera once is powered-off regularly it do not power-on again when the door is opened / closed...

Would it be an option to use the external power cable instead of opening or closing the battery door?
A timer will feed the power long enough for the camera to run a script to take a picture then power off before the cam autoshut off.
Title: Re: building usb-remote-cable
Post by: fe50 on 24 / July / 2008, 04:23:27
The only possibillity (without soldering cables to the cameras power switch or using a mechanical solution) could be the following:

When the camera is powered-on and then the battery door is opened and closed again, the camera start & runs the script.
The camera remembers the last operating state (in this case power-on) and start when the door is closed again.
For this no USB remote is necessary, a simple script could do it - but if the camera once is powered-off regularly it do not power-on again when the door is opened / closed...
Would it be an option to use the external power cable instead of opening or closing the battery door?
A timer will feed the power long enough for the camera to run a script to take a picture then power off before the cam autoshut off.
No, not an option on the Ixus 860 (SD870)...
The Ixus series use a battery dummy to connect to external power (ACK-DC30), the cable is plugged in in this dummy (through a hole in the middle of the door). Plugging off the external power is the same as removing the battery, the camera forgets the former state ("door opened while camera was on") and do NOT start when getting power again..
Title: Re: building usb-remote-cable
Post by: acorrias on 26 / July / 2008, 14:25:39
Hi all,
i've made my first wired remote control (a 7805 stabilizer, a led with a resistance, a button and a 9v battery). Plus a plastic box and a usb mini B cable. My problem is that the only way to take shoots seems to be the use of the following script:
^^^^^^^^^^^^^
@title Remote button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend
end
^^^^^^^^^^^^^
>>>>Is there any other way? and what about the Script Page setting called "Enable remote USB"? how can I use it and how can I start script different from the one above?
>>>>Another problem seems to be the shoot latency: it takes 0,5 sec to start a shot after button press. Is it a normal thing?
Could you tell your experience about remote control and suggest how to optimize this tricky tool?
thanks in advance
Alex
Title: Re: building usb-remote-cable
Post by: nkri on 21 / August / 2008, 13:40:28
Hey guys...

I'm trying to build this remote:
Image:Remoterelease1rastercy6.gif - CHDK Wiki (http://chdk.wikia.com/wiki/Image:Remoterelease1rastercy6.gif)

The problem is that I have no idea where to get a spare Type A female USB receptacle.  I checked Radioshack and places like that (only their websites, though), and no one seems to sell only the receptacle.  I don't have a computer kicking around that can be taken apart, so no luck there :( 

Everyone else seems to have found them, so any ideas?  Where'd you get yours?

Thanks!
-nkri
Title: Re: building usb-remote-cable
Post by: bbriand on 21 / August / 2008, 14:24:36
Walmart has a regular USB cable to type A.  You could buy one of those and cut the cable and start stripping and splicing wires.  Thats what I plan to do.  Although the cable that came with my camera was a spare for me so I'm using that.

Cheers,
Bill
Title: Re: building usb-remote-cable
Post by: nkri on 25 / August / 2008, 10:12:26
Never mind...found this at Radioshack:
RadioShack.com - Computers: Accessories: Cables, filters & adapters: USB 3-D Swivel Adapter ("[url=http://www.radioshack.com/product/index.jsp?productId=2344327&cp=&sr=1&origkw=usb+swivel+adapter&kw=usb+swivel+adapter&parentPage=search")
I picked up all the parts and got them assembled, then put it on the couch to take a break, sat on it without thinking, and broke it in half >:(  Oh, well.  I'm starting to rebuild ...will post pictures when done :)

-nkri
Title: Re: building usb-remote-cable
Post by: vihar1 on 25 / August / 2008, 12:46:21
Can anyone give me schematics for A460? And/or a detailed how-to guide?

(It would be good to have a wiki on usb remotes)
Title: Re: building usb-remote-cable
Post by: fe50 on 25 / August / 2008, 13:15:54
Can anyone give me schematics for A460? And/or a detailed how-to guide?
(It would be good to have a wiki on usb remotes)

 CHDK wikia: USB Remote Cable (http://chdk.wikia.com/wiki/USB_Remote_Cable)
Title: Re: building usb-remote-cable
Post by: vihar1 on 25 / August / 2008, 13:44:20
Thank you!
Title: Re: building usb-remote-cable
Post by: Tim_s on 21 / September / 2008, 22:28:54
Hi.

I've made a few different cable releases, each one for about 5 bucks worth of parts.  I just made a step by step tutorial tonight, as I made one from the beggining. I havent uploaded it yet , but I do have some pictures and parts list of the what I used.
You can get to the page here->  [url=http://chdk.wikia.com/wiki/User:Tim_s]User:Tim s - CHDK Wiki (http://chdk.wikia.com/wiki/User:Tim_s)[/url] <-

I'll also post the info here;

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimages1.wikia.nocookie.net%2Fchdk%2Fimages%2F%2Ff%2Fff%2FUsb_cable_release_v2_0_800.png&hash=2766f6dcedd374a55312e9286dd19b52)

all the parts came from a dollar store

    * (a) modular telephone wall jack .............. ($1)
    * (b) push button taken from a door chime . ($1)
    * (c) telephone extension chord (15ft) ........ ($1)
    * (d) USB connector, type 'Mini-B' .............. ($1)
    * Two 3v lithium batteries (inside) .............. ($1)

I posted some high-speed shots I took using the remote. they're on my CHDK page too. It gives you  incredible control over your shutters timing if you have your sync delay set.  :)

Enjoy

Tim

(btw my camera I use is an A460)
Title: Re: building usb-remote-cable
Post by: cedricb on 24 / September / 2008, 15:57:33
Hi,

Can I use one of this http://www.bodhilabs.com/index.html (http://www.bodhilabs.com/index.html) for a remote (canon S5)? ...and I can use it with an addtional switch...

They do a single pack for AAA battery!  100mA is the maximum for the output but I don't think is a requirement for remoting a camera... can someone confirm this pls?

Regards,
Ced.
Title: Re: building usb-remote-cable
Post by: databoy on 25 / September / 2008, 02:06:53
National Semi Conductors, the manufacturers of regulators, DO NOT recommend using regulators in an application where the voltage is switched on and off. The recommended way in the electronics industry is to use a series load resistor and a shunt zener diode.

Regulators are switching devices, designed to be used in a constant load situation, with a capacitor bypass on the input and output terminals. Using a regulator to pulse (switch on and off) can have long term consequences. THE REGULATOR CAN FAIL; damaging your precious equipment.

If you decide to use a regulator then do you homework first.

Search:
ePanorama.net (http://www.epanorama.net/)

All the technical data is on the site. 
Title: Re: building usb-remote-cable
Post by: cedricb on 25 / September / 2008, 04:41:34
I don't think the VPack is using a regulator... it uses a DC/DC converter (e.g: MAX1674). so from a 1.5V AAA battery, it converts to 5V...

...so do your homework first dude!   8)
Title: Re: building usb-remote-cable
Post by: databoy on 16 / October / 2008, 02:14:40
Switched-mode power supply - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Switched-mode_power_supply)

The power pack mentioned is still a switching regulator device. Ripple on the output with a capacitor to smooth the load. The unit is designed for a constant load and not an instantaneous on/off trigger.

I will take the advise from a component manufacturer who documents application notes over anyone posting on a forum site.

Your camera, your money, your responsibility if the inverter malfunctions and sends a spike to your camera. I will stick with a battery pack. At least I know that the voltage is linear. 
Title: Re: building usb-remote-cable
Post by: ano on 04 / November / 2008, 14:31:05
I can use the remote cable to trigger an exposure (long time...) on my Ixus 860?
If so: anybody in Europe building good quality remote cables?
Please let me know.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / November / 2008, 16:15:38
anybody in Europe building good quality remote cables?

Although intended for two cameras, you can get ordinary and wireless remotes here :-

digi-dat  Dienstleistungen - Anlagen - Technik (http://www.digi-dat.de/produkte/index_eng.html#SDM)


David
Title: Re: building usb-remote-cable
Post by: ano on 05 / November / 2008, 00:07:59
Thanks, remotes like the ones at that url, look OK, but I only need them with one usb cable...
Anybody?
Title: Re: building usb-remote-cable
Post by: PhyrePhoX on 05 / November / 2008, 05:18:21
you can also build one yourself. it is very easy, requires no great skills nor much money.
here is a wireless remote btw: Project: Infrared USB Remote with Apple Remote Controller (http://chdk.setepontos.com/index.php/topic,2421.0.html)
Title: Re: building usb-remote-cable
Post by: gtrecordings on 05 / November / 2008, 14:24:48
I have built one i would like to share. Its a 4.5v one.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.three-rings.com%2Fmedia%2F5%2Fmms-155627924.jpeg&hash=e466f363829a74e3a656bec559f19c03)

I cut a usb cable in half and put 5pin DMX/XLR connectors on either end. then i made the remote with a 5pin connector on it so i could switch out to transfer files or to use the remote or even extend the cable.


I am have general problems with the remote script. it takes a picture once, then i have to reset the script to take another one...any thoughts.

Title: Re: building usb-remote-cable
Post by: gtrecordings on 07 / November / 2008, 15:42:45
Code: [Select]
@title GT Remote

:loop
 wait_click 1
 is_key k "remote"
 if k=1 then click "shoot_full"
goto "loop"

end

this code seemed to clear up the script not looping back.
Title: Re: building usb-remote-cable
Post by: Neanderthal_Man on 10 / December / 2008, 21:59:05
Heres my wired remote.  cost $0 made with parts I had laying around.
Now on to a wireless setup. 
 this is my remote V2, I used a 9V with a 7805 to get the req. 5V and a small board with a on off switch and an LED to know when im pressing it. I made it this way cause my original was killing the button cells bwing in my bag.  :haha
Title: Re: building usb-remote-cable
Post by: europanorama on 19 / December / 2008, 06:36:07
Title: Re: building usb-remote-cable
Post by: databoy on 19 / December / 2008, 08:56:57
To my knowledge there is only the Aurico and Gentled controllers used by the KAP guys which may be suitable for a ground based pano rig.

Try reading the posts at the KAP site:   

KAP Discussion Page - Search (http://steel.ced.berkeley.edu/cris/kap/discuss/search.php?PostBackAction=Search&Keywords=aurico&Type=Topics&btnSubmit=Search)

Most of the guys are using servo motors instead of steppers for one reason. If the power fails your stepper motor will rotate freely. That could damage your camera. The professionals are using gear box reduced steppers to overcome the problem. Geared steppers are EXPENSIVE.

If you want to enable a pano via a CHDK USB cable and script you will have to modify the USB interface cable and CHDK scripts. You will need 5 seconds between shots. Step/rotate the motor 1 second after the shot and give the camera 1 to 2 seconds stability before taking the next shot otherwise you will get shake. That gives you a maximum of 2 seconds for motor travel. It can be done successfully, but not with the "Mickey Mouse" circuits circulating on the net.

If you are serious about building a pano rig, read everything on the KAP site. That will give you an idea of what you are up against both in design and stability.
Title: Re: building usb-remote-cable
Post by: eylon on 24 / December / 2008, 11:02:55
Does anyone know the pins to power in order to release the shutter on a G5? This would be a great help. I am aware that CHDK does not run on the G5 however I have had success using a cable release on the G9 without CHDK. I presume that the G5 would be the same. I have tried my usb cable release on my G9 and SD850 and it works well.  When I use this cable release on a friends G5 it switches between record and review modes. Thanks!
Title: Re: building usb-remote-cable
Post by: Microfunguy on 24 / December / 2008, 11:30:04
I have had success using a cable release on the G9 without CHDK.
Hmmm .... I have never heard of that before.

Quote
When I use this cable release on a friends G5 it switches between record and review modes.

If you connect a USB cable from the camera to the PC, does it switch to playback mode and start a Canon programme to upload your images  ?

In CHDK, we prevent that from happening when USB Remote is enabled.


David
Title: Re: building usb-remote-cable
Post by: eylon on 24 / December / 2008, 13:30:44
Sorry... Let me correct the previous post. I just retried the cable release on the G9 without CDHK running. David you are correct. It does not release the shutter it just switches to review mode, while the pushbutton is pressed, once it is released it returns to record mode.

If I understand you correctly by connecting the camera to a computer, the computer automatically switches the camera to review. Thus their is no foreseeable way to have a cable release work without CHDK.



Title: Re: building usb-remote-cable
Post by: Microfunguy on 24 / December / 2008, 14:31:22
by connecting the camera to a computer, the computer automatically switches the camera to review.

When +5V is connected to the USB, a signal goes to the DIGIC chip and the firmware sets a particular location in memory to indicate the +5V is present.
The Canon firmware switches to playback mode and tries to communicate with the PC when it sees that memory location is set to '1'.
Your computer may respond to the camera communication by starting a designated programme.
That programme may be Canon ZoomBrowser or it may be any other designated programme.
Now, to use a USB remote we need to stop all of this from happening.
When menu option 'USB Remote' is enabled, we set that memory location back to '0' one hundred times a second, so the Canon firmware never knows the USB is connected and does not switch to playback mode.

Quote

 Thus their is no foreseeable way to have a cable release work without CHDK.


No   :(
Title: Re: building usb-remote-cable
Post by: dom-a on 28 / December / 2008, 12:13:56
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3237%2F3144424052_ce045fc548_b.jpg&hash=b61ee3357097aef0a33ccb94fab299c3)

1x piece of stripe board.
2x cr2032 3v batteries.
1x toggle switch.
2x cr2032 holders.
1x push to close switch.
1x voltage regulator.
1x box.
1x cable.
1x led.
1x resister.
1x bunch of wire and solder.

The toggle switch arms it. The LED shows that its armed and the big red button takes pics.
Title: Re: building usb-remote-cable
Post by: mastersvaulter on 30 / December / 2008, 23:42:11
Hello,  I'm hoping someone can help with a problem with my implementation of a usb-remote-cable.  I am trying to do this on an S2-IS.  I have connected a usb cable, momentarily switched my 4.5V source to provide power to pin 1 of the usb cable.  This initiates the taking of a picture (as determined by what happens on my display and what sounds the camera makes.)  The problem is no image data is written to the card.  The script I'm using is shown below.   The CHDK version is 0.8.7 609   The camera firmware is 1.00e.

Code: [Select]
@title Remote button
 :loop
 wait_click
 is_key k "remote"
 if k=1 then "shoot_full"
 goto "loop"
 end

MODIFICATION:
After reading and experimenting more, it would appear my camera was not taking a photo but instead was just switching into "playback" mode momentarily and then back.  (that is what I thought was "taking a photo")  I then tried this script:

Code: [Select]
@title Remote button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend

end

...and the camera did the same mode switch but after that it actually took a photo also.  Yeah... some progress.  I then read a post in which David said:
 
Quote
When menu option 'USB Remote' is enabled, we set that memory location back to '0' one hundred times a second, so the Canon firmware never knows the USB is connected and does not switch to playback mode.

I tried that (at least I think I did... Miscellaneous stuff -> Remote Parameters -> Enable Remote *) but unfortunately it did not seem to help with the mode switching on my camera.  Is it supposed to work with all CHDK versions?

Any help would be much appreciated.
Title: Re: building usb-remote-cable
Post by: tranalbert on 31 / December / 2008, 00:04:50
Does any one know the Minimum USB-Remote Volts for the 590IS? Thanks
Title: Re: building usb-remote-cable
Post by: dom-a on 31 / December / 2008, 11:44:14
Does any one know the Minimum USB-Remote Volts for the 590IS? Thanks

My a570 IS triggers with 3.6 volts. But I find you have to have synch mode on in the remote setting for it to work, the first press meters and focuses and the second takes the pic. Unless you use manual focus.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 31 / December / 2008, 12:29:27
Is it supposed to work with all CHDK versions?


I could not get it working with SDM,  I gave up.


David
Title: Re: building usb-remote-cable
Post by: mastersvaulter on 31 / December / 2008, 18:59:02
Is it supposed to work with all CHDK versions?


I could not get it working with SDM,  I gave up.


David

Thanks for your reply.  I just downloaded and installed "s2is-100e-0.9.0-660-full".  I then tried the remote button script again.  The new version didn't help.  It still does a change to playback mode, then returns, then takes the photo.

Is doing this:
Menu -> Miscellaneous stuff -> Remote Parameters -> Enable Remote *
what you mean by enabling menu option 'USB Remote'?  What else could I be doing wrong or not doing when I need to do it?  Must the camera be in a particular mode for taking the photo?  It would seem that the portion of CHDK that is supposed to
Quote
... set that memory location back to '0' one hundred times a second, so the Canon firmware never knows the USB is connected and does not switch to playback mode.
is not doing that on my camera.

- John
Title: Re: building usb-remote-cable
Post by: Microfunguy on 31 / December / 2008, 19:14:23
what you mean by enabling menu option 'USB Remote'?

That is what it is called in SDM.
In the basic CHDK it is called 'Enable Remote'. 

Quote
What else could I be doing wrong

You are misunderstanding .. I am saying that USB remote quite simply does not work with the s2is .. as far as I know.


David
Title: Re: building usb-remote-cable
Post by: Pugsley on 06 / January / 2009, 08:03:54
First post here, but here is the USB remote i've made for my S3IS. It can use a standard USB cable because it isn't hard wired like some of the others that have been made. Next I will try to make a wireless remote.

From the bottom. Shows the USB connector
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fevilninjapirates.com%2Fscratch%2Fimages%2FIMG_0370.jpg&hash=adc6e1d42298cc9876f1d759fa0a4b12)

Top view. Button is standard from the electronics shop
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fevilninjapirates.com%2Fscratch%2Fimages%2FIMG_0371.jpg&hash=f10f02f27d01d3894280fbaf64cb2f03)

Side view
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fevilninjapirates.com%2Fscratch%2Fimages%2FIMG_0372.jpg&hash=e452a73b01aef80371434e5a114deaf2)

Other side view
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fevilninjapirates.com%2Fscratch%2Fimages%2FIMG_0373.jpg&hash=41dcc9f625ba91d577c3fc4969cf13ae)

And a size comparison next to my S3IS
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fevilninjapirates.com%2Fscratch%2Fimages%2FIMG_0375.jpg&hash=e1efc16cfd6915b7a81e748bd862259e)

Haven't got any internal shots as I don't have a screwdriver handy to undo it. Internal battery is a CR2032, which outputs 3v. These are found standard on computer motherboards

I'm using the AllBest CHDK firmware with the standard USB remote enable. Pressing the button once focuses the camera, and pressing it a second time will take the photo
Title: Re: building usb-remote-cable
Post by: Graystar on 07 / January / 2009, 19:21:27
I have a couple of suggestions for those who feel they don't have the skills required to create a release, or who simply want to try the remote release to see what it can do for them before spending any money on it.

The first suggestion is totally ghetto...The quickest way to test remote release is to...
1. In CHDK select Scripting parameters > Remote parameter > Enable Remote
2. Set up camera and plug your USB cable into your camera.
3. Quickly plug in and remove the USB cable into your computer twice.

If you get the timing right you'll take a picture.  If you have a laptop you can do this outdoors.


The second suggestion is a battery-powered USB hub.  CyberPower makes one and the model number is CPH420MP.  At the moment I'm still unclear as to whether they still produce this item, but Newegg still has it on sale for 19 dollars.

Once you charge this unit up you simply insert the camera's USB cable and flip the on-off switch twice.  The nice thing about this option is that you get 4 ports, so you can trigger up to 4 cameras.

Newegg.com - CyberPower CPH420MP Hub - Hubs (http://www.newegg.com/Product/Product.aspx?Item=N82E16817804001)


It would be nice to split this thread into a USB-Remote gallery and a discussion thread where the first post has the latest and most accurate information, along with some tips on parts and where to get them.

Title: Re: building usb-remote-cable
Post by: Graystar on 09 / January / 2009, 01:52:09
An old PC case provided me with everything I needed to make a remote switch.  I pulled out the front USB connector, the power switch, and the internal USB cable.  I combined these with a 3V lithium battery I had lying around.

I used a razor to lift the catch on the power switch connector, and removed one of the wires.  I taped that wire to the positive end of the battery.  The connector was plugged into the positive side of the USB pins.

From the large USB cable I cut one of the single connectors.  The connector was plugged into the negative side of the USB pins, and I stripped and taped the other end to the negative side of the battery.

Then I just taped the battery onto the board.  It's not pretty, but I didn't need any tools to make it, it works, and the price was right! :P

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fhome.roadrunner.com%2F%7Egraystar%2FUSBRemote1.jpg&hash=929279f253e1807b167af83beae9f5d3)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fhome.roadrunner.com%2F%7Egraystar%2FUSBRemote2.jpg&hash=ce1b8037e4026a3b6a7006082897cabb)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fhome.roadrunner.com%2F%7Egraystar%2FUSBRemote3.jpg&hash=d82f36a045d7af1713ce61b753504794)
Title: Re: building usb-remote-cable
Post by: es_maam on 10 / January / 2009, 18:21:04
I can see there is no agreement about if a 6V voltage is safe or not for a A590.
So...If I had a 6V battery, anybody knows which resistor do I need in order to get a 5V voltage so I'm not out of the range permitted for a A590?.
Thanks a lot!!!
Title: Re: building usb-remote-cable
Post by: Graystar on 10 / January / 2009, 19:12:08
So...If I had a 6V battery, anybody knows which resistor do I need in order to get a 5V voltage so I'm not out of the range permitted for a A590?.

There's no real current flowing here to worry about so all you need to do is combine a diode and a Schottky diode to get around 0.7 to 1V drop.  You just solder the two diodes together and then splice the assembly into one of your battery leads (diodes having been properly oriented, of course.)  Now you'll get 5V.

You can probably get away with two regular diodes.  The drop will be 1V to 1.4V.

Personally, I like this AAA battery back with build in 5V regulator ...


      Pololu - Bodhilabs VPack5.0V 2-AAA Battery Holder w/ 5V Regulator
     (http://www.pololu.com/catalog/product/783)
Title: Re: building usb-remote-cable
Post by: Microfunguy on 10 / January / 2009, 19:57:25
If I had a 6V battery, anybody knows which resistor do I need in order to get a 5V

There is a lot of confusion about triggering via the USB socket.
It has nothing to do with normal USB standards, it is not a power signal, it is a logic signal.
For example, on the ixus65 the voltage is applied to the base of the first transistor in a pair via a 10K resistor.
You are just turning on a transistor with about 0.44mA of current.
Applying 9V would produce 0.84mA of current to turn-on the transistor.
Assuming other cameras are similar to the ixus65, the exact USB voltage is not critical.
Title: Re: building usb-remote-cable
Post by: Graystar on 10 / January / 2009, 22:42:35
Assuming other cameras are similar to the ixus65, the exact USB voltage is not critical.

Critical, though, for peace-of-mind when someone has absolutely no idea what he's doing and simply wants to "play it safe."  He is, after all, plugging a cobbled contraption into his $200 camera!  :P
Title: Re: building usb-remote-cable
Post by: es_maam on 11 / January / 2009, 08:10:05

I'm sorry for the ignorace but I have a question:
For example, on the ixus65 the voltage is applied to the base of the first transistor in a pair via a 10K resistor.
How can we know the resistor correspondant to a 590 in order to be sure that we are in the same conditions that in the ixus one?
I think that that's the important information for those who have some doubts, perhaps due to our ignorance. We want to be more sure than in the expression:
Assuming other cameras are similar to the ixus65, the exact USB voltage is not critical.
Thank you for your comprehension.


Title: Re: building usb-remote-cable
Post by: fudgey on 11 / January / 2009, 08:33:56
The only thing we can be absolutely certain is that they all tolerate slightly over 5V (because that's what may be present in an USB cable). We can be reasonably certain that all will tolerate some degree of surges and ESD pulses to comply with standards.

But we can't assume that all existing and future cameras will share the same transistor circuit and its maximum voltage spec from that one Digic II camera schematic.

That's why I'd only advice using approximately 5V for remote triggers no matter how likely 9 V or any other voltage is to be OK. Less is ok if it works, but we already know some cameras work with less than others (which IMO is a clear indication that the said circuit is not identical among all cameras!).

As said before by others, its a low current setup. Limit your remote switch output current to below 5 mA and you are likely to be just fine even with an input that doesn't tolerate 9V. Without a current limit exceeding 5V is very brave/careless unless you know the circuit inside the partucular camera model for sure.
Title: Re: building usb-remote-cable
Post by: es_maam on 11 / January / 2009, 09:38:38
Thank you fudgey for your explanatios.
Really clarifying.
Definetly I'll try to get maximum 5V.
Title: Re: building usb-remote-cable
Post by: bfven on 11 / January / 2009, 18:07:41
Title: USB remote cable
Post by: porktyme on 11 / January / 2009, 21:14:19
This is my version building on others ideas.  I decided to add a LED light which comes on when the button is pushed.  A great way to know whether the batteries are working.

Significant features:
1)4.5 VDC output
2)Wired directly to the mini-USB cable which plugs directly into camera.  Turns out that some pre-made cables only use the mini-USB for power too.  My old blackberry had one of these cables (YES! just one red and one black wire already there) which I cut for this application.
3)LED light with 150 Ohm resistor.

I can provide a quick schematic if anyone really wants one.  If you can drill two holes, splice wire, and solder then this project is doable.
Title: Re: building usb-remote-cable
Post by: showtest on 24 / January / 2009, 17:27:27
Hello. First post here.
I've been reading up on this and have found the following item:

http://www.dealextreme.com/details.dx/sku.8257 (http://www.dealextreme.com/details.dx/sku.8257)

I would assume this would work by simply converting the plug to a mini USB?
Title: Re: building usb-remote-cable
Post by: zeno on 24 / January / 2009, 17:55:43
I doubt it. I think it's just a switch (like the shutter button on the camera) - it won't apply the 3-5v signal needed by CHDK. It may be possible to mount a coin cell battery inside the case of course.
Title: Re: building usb-remote-cable
Post by: Jonnyrockit on 07 / February / 2009, 22:41:27
  But isn't there voltage coming out of the USB cable even when its in remote capture mode?    If its not enough, couldn't you build it up somehow via caps?   I'm working on an SD790is USB remote. I believe I can simply put a switch on a cable and use the cams power to trigger. What do you folks recommend?

-John
Title: Re: building usb-remote-cable
Post by: fe50 on 08 / February / 2009, 04:42:51
  But isn't there voltage coming out of the USB cable even when its in remote capture mode?
The camera's USB port is NOT an USB host and does not supply power - you need "external" power to let the camera notice a connected USB device...
Title: Re: building usb-remote-cable
Post by: Jonnyrockit on 08 / February / 2009, 08:21:44
 Cool, thanx fe50... I'm mounting a rig on my tripod but for tonight, I used my laptop. I might just do this from now on. I plug into the laptop and she keeps shooting. Looking into the wireless sd cards...You guys know of these?
Title: Re: building usb-remote-cable
Post by: fe50 on 08 / February / 2009, 08:40:10
Looking into the wireless sd cards...You guys know of these?

Eye-Fi (http://www.eye.fi/) --> but it was reported many times that the Eye-Fi cards don't work reliable & continuous;
they often stop after some hours or some 100 images, restarting the camera then is necessary...

The writing speed is also not good, and since this cards do not have a slider to lock the card (make read-only),
either you only use the manual method to start CHDK (with the Firmware Update menu item) or you need a little "hardware mod" on the (expensive) card...

Search for 'eye-fi' in the forum for more informations...
Title: Re: building usb-remote-cable
Post by: Jonnyrockit on 08 / February / 2009, 09:15:51
Sweet... thanks!
Title: Re: building usb-remote-cable
Post by: photogo on 19 / February / 2009, 21:37:24
I've just loaded build 713 of CHDK into my S2-IS camera.  In the "changelog.txt" file the entry for "2009-02-14 [r709]  phyrephox:" states: "s2is - remote should work as advertised now".  I just tested it out on my S2-IS and it does work (I never tried it with the earlier builds).  The voltage has to be applied for about 2 seconds or so before the shutter fires so make sure you are holding the button down for a while.

When I used the female end of a USB cable I had, I found that the colour coding for the voltage was correct, i.e. red to +ve and black to -ve (the white and green wires would go to the two centre connectors that aren't used in this application.  Then I used the USB cable that came with the camera to do the hook-up to the mini 5-pin receptacle in the camera.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 20 / February / 2009, 06:23:00
The voltage has to be applied for about 2 seconds or so before the shutter fires

Without running any scripts, does the camera fire on shutter press or shutter release ?

Does the blue LED light and the screen blank ?

In CHDK, I do not think they use the same method as in SDM (which does not work with S2IS for synch shooting).


David
Title: Re: building usb-remote-cable
Post by: zcream on 20 / February / 2009, 23:19:57
There are actually 5 different models at dealextreme under 5 bucks - search for remote shutter. Is there any one that does a one shot at about 3V for the trigger pulse..The battery can be modified for the voltage..
Has anyone used these for a remote before ??
Hello. First post here.
I've been reading up on this and have found the following item:

http://www.dealextreme.com/details.dx/sku.8257 (http://www.dealextreme.com/details.dx/sku.8257)

I would assume this would work by simply converting the plug to a mini USB?
Title: Re: building usb-remote-cable
Post by: rmana on 14 / March / 2009, 07:44:28
Here's my USB remote.

It's an old car alarm remote key.  I took out most of the parts. What's left is the 12v battery in series with the switches and a 19K Ohm resistor (47k and 33k in parallel). This gives 3.8 volts on the G9 USB port. The G9 USB remote will not work with 3 volts.

I put a 1K resistor in series with the LED that was already on the remote key, so the LED lights when the key is pressed.  Not really necessary, but adds a nice touch.

I used a PS2 mouse connector, simply because I had it lying around and a PS2 to USB adapter.  This way I don't have to cut up any USB wires.

Title: Re: building usb-remote-cable
Post by: Rory on 07 / April / 2009, 21:41:29
I know this thread is for those who want to build a remote.  But, as a point of reference, you may want to look at the Ricoh CA-1 cable release, which works CHDK.  It works on a single AAA battery.  I have tested that it works on the Canon SX10 but cannot confirm it works on other cameras, although am told it does.  It only seems to do a single shot.  Haven't found a way for it to do continuous bursts or to zoom the lens.  It has an on/off switch (I'm sure this could be adapted for a different purpose) and a main button which does a half and full press. 

I bought it for $25 on Adorama.  It's also at Popflash and on Amazon via Adorama.
http://www.adorama.com/IRCCA1.html?sid=20090407212745594zb&searchinfo=Ricoh+CA-1 (http://www.adorama.com/IRCCA1.html?sid=20090407212745594zb&searchinfo=Ricoh+CA-1)

Here's a page with some schematics used to adapt it for a different purpose but which might provide clues. 
http://stereo.jpn.org/eng/sdm/ca1.htm (http://stereo.jpn.org/eng/sdm/ca1.htm)

Hope people find this useful.

Image:
http://www.adorama.com/catlite.tpl?op=large_image&sku=IRCCA1.JPG (http://www.adorama.com/catlite.tpl?op=large_image&sku=IRCCA1.JPG)

Title: Re: building usb-remote-cable
Post by: Microfunguy on 08 / April / 2009, 05:01:58
It only seems to do a single shot.  Haven't found a way for it to do continuous bursts or to zoom the lens. 


Both of those functions are supported by  'StereoData Maker' (http://stereo.jpn.org/eng/sdm/index.htm) (SDM), it is not just for stereo !



David
Title: Re: building usb-remote-cable
Post by: RSA on 23 / April / 2009, 08:18:05
I don't know if this information will be of any use to anyone but I just wanted to contribute to the group and this thread to show my appreciation of the work others have done so that I can use CHDK and build this remote.

I started playing with CHDK a couple of weeks ago because I wanted to do a better job with some of my macro shooting and thought CHDK and some DOF stacking experiments might be the direction.  I found this thread and read it backwards and forwards looking for ideas for building my own remote switch.  Today I finally went to my local surplus electronics store looking for as long a USB cable as I could find with the Mini A connector and some kind of pocket flashlight with some kind of battery configuration that gave me 4.5v.  Well I really lucked out and found a little utility or book light that ran on 3 watch batteries for $1.75.  Also picked up a 6ft Type A to Mini A USB cable for $3.

(Not sure the best way to put photos or links to photos in the forum but here goes)

Here's what the flashlight looks like
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3529%2F3466829084_81ea2d3698_t.jpg&hash=f026105f95ca85489320ca224985aeb5)
http://farm4.static.flickr.com/3529/3466829084_b06e13ab4f_o.jpg (http://farm4.static.flickr.com/3529/3466829084_b06e13ab4f_o.jpg)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3661%2F3466013535_0f795da355_t.jpg&hash=d91c5e28a9d53780fb4d5f03e4e75849)
http://farm4.static.flickr.com/3661/3466013535_1727fa9eef_o.jpg (http://farm4.static.flickr.com/3661/3466013535_1727fa9eef_o.jpg)

The front lens and led assembly unscrews to access the battery pack which is three AG13 watch batteries shrink wrapped providing 4.5v

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3528%2F3466829142_91785d679f_t.jpg&hash=a5d132cfcedad60993cf51af9aa40a64)
http://farm4.static.flickr.com/3528/3466829142_e8fc326367_o.jpg (http://farm4.static.flickr.com/3528/3466829142_e8fc326367_o.jpg)


Removing the LED assembly there were three LEDs soldered on a little circle printed circuit board

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3543%2F3466829180_7fdec7794c_t.jpg&hash=51c24d1d2d47d5743e70a354a170bb09)
http://farm4.static.flickr.com/3543/3466829180_0b943a01e7_o.jpg (http://farm4.static.flickr.com/3543/3466829180_0b943a01e7_o.jpg)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3554%2F3466013651_cce74e3ee2_t.jpg&hash=f49ed74f8555b534ac760506e147f66f)
http://farm4.static.flickr.com/3554/3466013651_40d7aa7b7d_o.jpg (http://farm4.static.flickr.com/3554/3466013651_40d7aa7b7d_o.jpg)

I un-soldered and removed two of the three LEDS.  Since the switch on this light latches on and you have to push it again to turn it off I thought I'd leave one LED in to act as an power indicator.

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3521%2F3466829228_abab0f3b3b_t.jpg&hash=cf1d55589bfe519313d83412ce1274d2)
http://farm4.static.flickr.com/3521/3466829228_35a78f6e99_o.jpg (http://farm4.static.flickr.com/3521/3466829228_35a78f6e99_o.jpg)

Cutting off the Type A USB connector on the cable reveals the standard 4 wires in a USB cable.  Fortunately for me the manufacturer of this cable followed industry standards for USB and the color coding of the wires was correct.  I used this link to determine the correct pinout of the Mini A connector. 
http://pinouts.ru/Devices/mini-USB_pinout.shtml (http://pinouts.ru/Devices/mini-USB_pinout.shtml)
It can be a little confusing because USB standards describe only four wires but a Mini A connector has five connectors, pin #4 isn't used and pin #5 is called pin #4.

Red = +voltage(pin#1
Black = -voltage(pin#5 but called in#4)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3517%2F3466829258_5c90f84c81_t.jpg&hash=b40bd856c244c992aa6a61e599a391b8)
http://farm4.static.flickr.com/3517/3466829258_8ea193e912_o.jpg (http://farm4.static.flickr.com/3517/3466829258_8ea193e912_o.jpg)

I trimmed back the braid shielding on the cable, cut off the green and white data wires, soldered the red and black wires onto the pc board making sure that I got the polarity correct.  I created the sample remote.bas script file, copied it onto my SD card, crossed my fingers that my educated guess on the wiring was correct and plugged in the cable.  Surprise, Surprise, after loading the script the cable did nothing?  So now what's the problem?  Well for some reason to start the script working I had to push on the camera's shutter button and then the remote button worked !!!!!!!!!!!!!

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm4.static.flickr.com%2F3518%2F3466013731_d939120369_t.jpg&hash=655eaebadd5f7bf19a02c06cf04a5626)
http://farm4.static.flickr.com/3518/3466013731_b2113e933d_o.jpg (http://farm4.static.flickr.com/3518/3466013731_b2113e933d_o.jpg)

So now I have a remote switch with a handy clip to attach it to the tripod or whatever when not in use.

The camera that I'm using this on currently is a SD1000.  I think that's about it.  If anyone has any questions, shot me an email instead of posting.  I'll get back to you quicker that way.  I think that there's a way on this forum to send emails to people?


Title: Re: building usb-remote-cable
Post by: Mackly73 on 27 / April / 2009, 14:55:25
Dear all contributors,

because I'm wrong and I have posted my message in another place of this forum I leave the link for which is interested in another usb remote shutter (sorry for the inconvenience  :P ):

http://chdk.setepontos.com/index.php/topic,3521.0.html (http://chdk.setepontos.com/index.php/topic,3521.0.html)  ::)

Also, I want to say thanks to all peaple that have create this family!

Title: Re: building usb-remote-cable
Post by: Ruta9 on 29 / April / 2009, 02:24:42
Here's my remote shutter.
I know this is not the most beautiful remote cable ever, but I didn't spend a dime in the making of this device, I used some useless junk I had laying around in my house.

I used an old mouse for the clicker and took the USB ports from a broken motherboard.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2Fetijjq.jpg&hash=0b2602d3aae1513b0eeda1dd2406db0f)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2F9uyw52.jpg&hash=1b0cd47444b489088f16cc6b513231f4)

I took the center button clicker out and put the usb ports in the middle of the mouse, the batteries are taped together in the bottom. I used 3 different sized batteries(1 was from the motherboard and the other 2 I had laying around) I used some rubber foam to hold the batteries together.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2F303ke8l.jpg&hash=bf5183e85a11563165dadfc8758fd9a5)

Then I took out the center button so the usb port can stick out of the mouse.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi40.tinypic.com%2F20953d1.jpg&hash=7ef2d19cbf53cc442c2c9e6216c92288)

And Voila! I can shoot 2 cameras simultaneously. Left click and right click work perfectly.
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi44.tinypic.com%2F35d6mgh.jpg&hash=0537b0c9e97dd31fd76f5489414e13e9)

I wanted to shoot one usb with the left click and the other with the right, but unfortunately both ports + and - contacts are connected so they shoot at the same time.

See it in action
http://www.youtube.com/watch?v=2cyxkdYTnu0# (http://www.youtube.com/watch?v=2cyxkdYTnu0#)
Title: Re: building usb-remote-cable
Post by: Ruta9 on 30 / April / 2009, 13:12:33
Hey guys, i made another shutter, this time I wanted to make it extra small so I can carry it in my camera bag or my pocket.
Also, I did't want to spend a dime making it.

So I took the cap from a bottle of spray deodorant
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fnmcdn5.jpg&hash=97a2aa2c453e98813785a288b3432d46)

took the center button clicker from an old mouse(the one I used to make the shutter in my previous post)
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2F144bki8.jpg&hash=6d1dd04159a521e662ee406ba2d01cae)

I used 3 LR44 batteries. I took them from a laser pointer, they didn't have enough juice left to turn on the laser, but 4V is more than enough to shoot my camera.

Put it all together with a USB cable
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F2jd5s34.jpg&hash=466d8038d565b0c09fe064beba354a73)

And the result is the World Smallest (and cheapest) USB Remote Shutter
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F9k32ud.jpg&hash=0026b8f884ba0346b60aac0147f14307)

See it in action!
http://www.youtube.com/watch?v=ihbG79PQhPM# (http://www.youtube.com/watch?v=ihbG79PQhPM#)
Title: Re: building usb-remote-cable
Post by: wontolla on 30 / April / 2009, 13:35:36
Nice! MacGyver-style remote.
Title: Re: building usb-remote-cable
Post by: RSA on 30 / April / 2009, 14:27:11
Ruta9,

I've got to say that you won the prize for the smallest ugliest functional remote cable with this one!   :o :D :D

Good job!
Title: Re: building usb-remote-cable
Post by: djmramos on 19 / May / 2009, 13:03:42
I made mine from a Motorola Phone Mini USB car charger that I'm not using anymore and an Energizer LED Keychain Light I bought at Target for $2.  The mini USB charger cord is nice since it only has two wires in it (red and black) and NOT four wires so you don't have to worry about the other wires.

It has 3 A76 batteries in it which equates to 4.5V.  This is perfect for my Canon A610 since the minimum required voltage to trigger it is 3V and it's going to be a long time before it goes down to less than 3V.  Plus it will work on other Canon cameras that requires 4.5V. 

It has two small screws at the back for access.  I used pliers to break the lens of the LED and used its leads and solder them to the wires of the charger.  Of course, I cut off the end with the cigarette lighter adaptor. 

Take a look at the pics and if interested, it's only $2 at Target and some soldering work.  It took me about five minutes to do it.

I hope people find this useful.

Dennis

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.servicelighting.com%2Fcatpics%2Feveready%2F04945.jpg&hash=0c54222ef1f7d901f86c96931239e842)


(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2F2q2l56h.jpg&hash=e85542c7edd6940ac2731658c6eef5a3)


(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi44.tinypic.com%2Ff0t9v7.jpg&hash=3803157edf6773eceaeaa0e03468f767)


(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fhv32f6.jpg&hash=15a13bd472cde054beb55df4449ad42f)
Title: Re: building usb-remote-cable
Post by: RSA on 19 / May / 2009, 14:29:35
djmramos/Dennis

Great job and thanks for sharing.  It looks so good I'm going over to Target and see if I can find some of these myself.
Title: Re: building usb-remote-cable
Post by: Ruta9 on 22 / May / 2009, 15:31:42
I made mine from a Motorola Phone Mini USB car charger that I'm not using anymore and an Energizer LED Keychain Light I bought at Target for $2. 

It has 3 A76 batteries in it which equates to 4.5V. 

Dennis
Dennis, that is a really cool looking remote shutter.
In fact, it looks so good, I took a page from your book and used an old LED flashlight keychain to modify The World Smallest Shutter I made a month ago, and made it even smaller!
Although I had to buy fresh batteries, so the other one is still the world cheapest. It has 3x AG3 Batteries, so it's really small, lightweight and portable.

BEFORE
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F9k32ud.jpg&hash=0026b8f884ba0346b60aac0147f14307)

NOW
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fofa5as.jpg&hash=f26e1b775786b9a23d3b2b07ced8cbf9)

Now it's not so bulky and fits better in my camera bag or pocket, it's easier to change the batteries,easier to press the button and looks better too.

Thanks for the idea Dennis
Title: Re: building usb-remote-cable
Post by: testerc on 20 / November / 2009, 12:15:52
Hey folks. Is there anywhere that a Canon SX100 IS user can buy one of these?

Thanks.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 20 / November / 2009, 12:32:32
http://chdk.setepontos.com/index.php/topic,3631.msg33855.html#msg33855 (http://chdk.setepontos.com/index.php/topic,3631.msg33855.html#msg33855)

Title: Re: building usb-remote-cable
Post by: testerc on 20 / November / 2009, 12:55:41
Thank you Microfunguy. I'll look into that.

I'd even be willing to use something like this if other's have used it successfully.
http://www.hama.de/portal/articleId*115098/picType*awd/action*2599?picURL=%2Fbilder%2F00005%2Fawd%2F00005345awd.jpg#picture (http://www.hama.de/portal/articleId*115098/picType*awd/action*2599?picURL=%2Fbilder%2F00005%2Fawd%2F00005345awd.jpg#picture)
Title: can we utilize a pro remote or any for SX10 IS for more functions with CHDK?
Post by: quixpeed on 13 / December / 2009, 23:46:47
i wonder if CHDK can utilize any standard camera remote to be able to control the SX10 IS functions, such Zoom aside from shutter only....
 even the provided software doesn't have a remote shooting utility .... !!!!! why ??

 please advice ....


 just look what i found
http://www.breezesys.com/PSRemote/features.htm#ps
Title: Re: can we utilize a pro remote or any for SX10 IS for more functions with CHDK?
Post by: Microfunguy on 14 / December / 2009, 07:14:54
i wonder if CHDK can utilize any standard camera remote to be able to control the SX10 IS functions

No, they are just simple switches.
You need to switch a suitable voltage to the camera USB connector.
Quote
just look what i found
http://www.breezesys.com/PSRemote/features.htm#ps


You will find that I describe that here http://stereo.jpn.org/eng/sdm/upload3.htm (http://stereo.jpn.org/eng/sdm/upload3.htm)
Title: Re: building usb-remote-cable
Post by: rkd on 15 / December / 2009, 00:48:53
Hi, this is my first post here.  I found this site after researching home built trail-cams.  I am looking to build a trail cam using an Arduino board and a PIR sensor.  I dont have a Canon camera and had a question about them and the CHDK software.  If the camera was left on i am assuming it would go into "sleep" mode or power off with the lens open or something like that after a while.  Would an input on the remote "wake up" the camera?  Or does the camera have to be fully on to work with the software? If it can be woken up the board could be programmed to fire 2 imputs, one to wake the camera and one to take the picture after a set time. There are many sites out there that detail hacking a camera to by soldering wires directly onto the shutter contacts.  I've done that and i dont like fooling around with the insides of a perfectly good camera, i'd like to be able to use the usb cable to keep the warranty valid, etc.
Thanks for any help.
Title: Re: can we utilize a pro remote or any for SX10 IS for more functions with CHDK?
Post by: NewbieToobie on 15 / December / 2009, 05:42:02
i wonder if CHDK can utilize any standard camera remote to be able to control the SX10 IS functions, such Zoom aside from shutter only....
 even the provided software doesn't have a remote shooting utility .... !!!!! why ??

 please advice ....


 just look what i found
http://www.breezesys.com/PSRemote/features.htm#ps

You might want to look at this instead http://alkenius.no-ip.org/Cam4you_remote/index.html (http://alkenius.no-ip.org/Cam4you_remote/index.html)
It does much more than PSRemote ever will. And the author has now made it freeware. Since he's made it freeware perhaps some of you can approach him on the possibility of working in conjunction with the CHDK project. Then you wouldn't have to write your tethered camera (PTP?) routines from the ground-up all over again. He's already done all that and done it well. It's just not working in conjunction with CHDK is all. When used tethered to a laptop then Cam4You Remote is probably the better option than anything that CHDK can do. You don't have to always use CHDK you know.

As well as the usual intervalometer uses (and saving your favorite schemes), it also allows for control of Zoom, Mode settings (M,P,Tv,Av), ISO, White Balance, Flash Compensation, Metering Modes, the works. It even uploads photos or streams video to the net for you. Motion Detection is also built-in with even more control over detection cells and trigger methods, setting detection levels individually in each cell. It also does text overlay and video procssing features (rotations, color adjusts, interlacing modes, etc.) Allows for audio recordings (using an external mic or audio source, not the camera's microphones). Far too many things to list here. A short list of some of Cam4You Remote's features are on the Read Me page: http://alkenius.no-ip.org/Cam4you_remote/ReadMe.htm (http://alkenius.no-ip.org/Cam4you_remote/ReadMe.htm)

It's best to just install and play with it. You'll be amazed at all it can do. FAR beyond the capabilities of anything that CHDK has done so far for tethered remote shooting.

Title: Re: can we utilize a pro remote or any for SX10 IS for more functions with CHDK?
Post by: Microfunguy on 15 / December / 2009, 08:48:19
You'll be amazed at all it can do. FAR beyond the capabilities of anything that CHDK has done so far for tethered remote shooting.

Except it will not work on most CHDK cameras, only those that the Canon SDK supports.

Title: Re: building usb-remote-cable
Post by: srunyon1 on 05 / January / 2010, 03:33:50
Can anyone tell me if you connect the switch if you can get audio and video from the other two wires?
Title: Re: building usb-remote-cable
Post by: Pauls9 on 05 / January / 2010, 04:23:07
In
Can anyone tell me if you connect the switch if you can get audio and video from the other two wires?
In short - no. The other two wires carry USB data.
Title: Re: building usb-remote-cable
Post by: Andrey on 14 / January / 2010, 20:08:12
Re: usb-remote-cable working with CHDK
What is the resulting functionality? Does it just trigger the shutter?
When I use trigger button on my camera pressing it half way focuses the optics and then only the shutter is triggered.
Can I implement all this functionality using usb cable?

Title: Re: building usb-remote-cable
Post by: Ruta9 on 14 / January / 2010, 22:45:42
On my camera(SX100) if I click the remote shutter button once, the camera focuses. Click again and it shoots.
If I press the remote shutter button and keep it pressed(for about one or two seconds) it focuses and shoots.

The only difference I see between half pressing and clicking the remote(besides not touching the camera) is that you can half press as many times as you want before taking the shot(maybe to focus on a different element or if you move the camera to recompose the picture) with the remote you can focus only once becouse the next click shoots the picture.
Title: Re: building usb-remote-cable
Post by: wontolla on 15 / January / 2010, 11:29:24
If I remember correctly, you can actually focus as many times as you want using the cable. For the second press to count as a full press (shoot), it needs to be within one or two seconds after the first press. If not, the camera will foucs again.

If you have the camera in "continuous mode", it will keep shooting as long as you maintain the button pressed.
Title: Re: building usb-remote-cable
Post by: Andrey on 31 / January / 2010, 23:31:14
Many of you use USB remote Cable with CHDK.  However the need to use external power source (batteries) to trigger USB detection somewhat complicates construction of such cable. For those of you who use cameras with HDMI connectors in it (Canon SD780, SD940, SX200 and others) source of power can be taken from the camera itself, hence no need to use batteries.

In HDMI connector Pin 17 is negative, Pin 18 is  +5V. Use these pins instead of battery terminals.

(added feb 25, 2010)
Actually grounds of HDMI and USB connectors are connected together inside the camera. Hence only one wire is taken from HDMI connector (Pin 18) and wired to USB connector (Pin 4) through momentary push button.
Title: Re: building usb-remote-cable
Post by: Jonathan on 19 / February / 2010, 11:22:59
Hi

Just got CHDK running on my Ixus870(SD880). Sorry if this is a stupid question but is there any way to get the camera to instantly take pictures when pressing the remote? Right now it seems to randomly take shots and randomly stop at focusing when pressing the remote. It always shoots on double press, but as I'm planning to use a mouthswitch this can be a bit tricky, and I'm looking for the smallest trigger delay possible.

Using 3AAA batteries and the 1.00e build

Thankful for any help. Love your work so far.


/Jonathan
Title: Re: building usb-remote-cable
Post by: Microfunguy on 19 / February / 2010, 11:51:10
is there any way to get the camera to instantly take pictures when pressing the remote?

There is with SDM but I do not have a CHDK build on my memory card.

Looking at the CHDK code there seems to be a 'Enable Synchable Remote' option.

Try disabling that.


David
Title: Re: building usb-remote-cable
Post by: Jonathan on 22 / February / 2010, 09:03:21
Thanks a lot for your reply David. Got me a bit closer. My description of what I'm looking for might not have been the best.

The enable synch remote option was disabled before, it doesn't seem to affect the focusing issue.

The SDM fast mode seems to be kind of what I'm looking for. I tried it and now the problem is in fast mode it seems like i cant control the number of pictures taken continously.

I'm simply looking for the option to shoot similar to continuous shoting  with a DSLR and remote. Series of pictures start instantly when pressing remote and goes on til you release. Is this possible?

I understand the fps limitations of these cameras, and the issue of exposure locking on first pic that doesnt apply to a DSLR. Just looking for continuous, fast response remote triggering to use the ixus camera for skydiving.

Any ideas David or anyone else?



Thanks/Jonathan


Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / February / 2010, 11:15:02
As it happens, I added that feature to the yet-to-be-released SDM 1.83.

I have uploaded a build of my current working copy here (http://www.zshare.net/download/72881743877b460e/).

If you set Canon continuous-shooting mode, in SDM Bracketing/Overrides menu make sure Tv Bracket value and Focus Mode are OFF but bracketing-type is set to a number .. then that is BURST mode as indicated at the top of the screen.

A quick press-and-release focuses the camera.
The next press-and-release starts the shooting and the next stops it.

That is the best we do at present.
Title: Re: building usb-remote-cable
Post by: Jonathan on 22 / February / 2010, 11:39:20
Thanks David, that's good news. With a bit of practising that might do the job for me. Since I have no chance of knowing what the camera is doing, it would be preferable though to have the camera shooting for just as long as the switch is pressed.

With the original chdk firmware, it does that(in canon continuous mode), only thing to overcome there is the focusing lag, which makes it impossible to take quick shots. Setting the focus to infinity doesnt seem to change anything.

No chance of combining the fast mode feature with the regular continuous mode that can be used with the original chdk firmware? I will probably be shooting manual(infinity focus, Tv) most of the time so the camera shouldn't need no time before the shot?
Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / February / 2010, 13:51:47
This script will do what you want :-

Code: [Select]
@title Remote Burst
:loop
wait_for_switch_press
press "shoot_full"
:loop1
do
until not (is_key "remote")
release "shoot_full"
release "shoot_half"
goto "loop"

If you want anything added, just say.


David

EDIT
Camera needs to be in continuous-shooting mode.
Above script can be modified for CHDK if necessary
Title: Re: building usb-remote-cable
Post by: Jonathan on 22 / February / 2010, 15:56:38
Thank you so much David! I'm struggling a bit on my mac to get the script running, but i'm sure I'll find out what I'm doing wrong. The scripting procedure is the same on SDM and CHDK right? I'll get back soon as I got it running.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / February / 2010, 16:57:07
The scripting procedure is the same on SDM and CHDK right?

Yes.
Save it as a plain text file with the extension .bat.
I do not know anything about Mac computers and whether you have to do anything 'special'.

Press the shutter button to run or stop the script.

Are you able to use a keyboard or do you use a device operated with a mouth switch  ?


David

EDIT
Save with .bas extension.

Thanks, anOn.
Title: Re: building usb-remote-cable
Post by: an0n on 22 / February / 2010, 18:01:25
Save it as a plain text file with the extension .bat.

I do not know anything about Mac computers and whether you have to do anything 'special'.

David

should that be .bas for UBasic ?

On your Mac, save the script as plain text, (Unicode UTF-8 works for me), and make sure .txt extension is not hidden, use Get Info (Command + I) to rename the extension and uncheck "Hide extension"

HTH, Cheers.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / February / 2010, 18:09:59

should that be .bas for UBasic ?


Yes, sorry.
Title: Re: building usb-remote-cable
Post by: Jonathan on 23 / February / 2010, 15:04:13
So thankful for your help guys but I cant get the script working. Pretty sure I did everything according to your directions an0n. Several times. In the SDM text file reader it's the same piece of text showing as the script you posted David.


I get the script name remoteburst in lower left corner when choosing it from the script menu. When pressing the shutter, nothing seems to happen. It does respond to the remote in alt mode now, but in what seems to be the same way it normally responds when shooting remotely in normal continuous mode. Shooting on release and no continuous burst when keeping remote pressed. I did put it in canon continuous mode and flash off.


These things are totally new to me but is there any chance of a compatibility problem with the digic IV processor or anything? I tried the mac FAQ but I copied and saved the script as described there. Didn't find anything when searching the forum. Even tried doing the whole thing on my girlfriends PC but same thing. Also tried it with the regular chdk, and when pressing the shutter it says "starting" in lower left corner, but still it doesn't shoot continuously with the remote.

Regarding the remote I've put a 2.5 mm jack in the place for the switch so any remote compatible with the EOS DSLR will work. Right now I'm testing it with a homebuilt tongueswitch, later I'll probably purchase something specifically constructed for the purpose. However it will be mouthly operated by tongue, bite or blow in freefall.

Any ideas of what might be wrong?


/Jonathan
Title: Re: building usb-remote-cable
Post by: Microfunguy on 23 / February / 2010, 15:23:45
The script is waiting for you to press the remote switch.

If we do not solve this problem, I can add some text messages that show where you are in the script.

Is the camera set to continuous-shooting mode ?

When there is a switch signal present you will see 'USB' at top-left of screen.


David
Title: Re: building usb-remote-cable
Post by: Jonathan on 23 / February / 2010, 16:09:53
The script is waiting for you to press the remote switch.


Not sure I'm following. I choose the script, then press the shutter button on the camera to get the script running. Then press the remote, right. Now it takes one shot when I release the switch, despite the camera in continuous mode. I make sure it is in continuous mode every time.


The usb indicator is blinkin in alt mode with the pressing of the switch.


/Jonathan

Title: Re: building usb-remote-cable
Post by: Microfunguy on 23 / February / 2010, 16:17:30
I assume you are keeping the switch pressed for as long as you want to capture images  ?
Title: Re: building usb-remote-cable
Post by: Jonathan on 23 / February / 2010, 16:39:34
I am, regardless of how long i keep it pressed, it takes one shot when I release.




Title: Re: building usb-remote-cable
Post by: Microfunguy on 23 / February / 2010, 16:46:27
Try this version :-

Code: [Select]
@title Remote Burst
sync_off
:loop
line_1 " Waiting for switch press"
wait_for_switch_press
press "shoot_full"
:loop1
do
line_1 " Waiting for switch release"
until not (is_key "remote")
release "shoot_full"
release "shoot_half"
goto "loop"
Title: Re: building usb-remote-cable
Post by: Jonathan on 23 / February / 2010, 17:27:49
Right on! That ones working!

One thing at first testing. It seems like when using this script in Tv mode, the first shot gets auto shutter speed (correctly exposed) while the following are at the set shutter speed(underexposed, in this case). I'll do some more testing tomorrow.

I definitely think this will work fine for me though. Awesome job.

Thank you so much for your help. I'll get back with further results soon as the snow is gone :xmas


Jonathan

Title: Re: building usb-remote-cable
Post by: Microfunguy on 23 / February / 2010, 17:33:38
Right on! That ones working!
Good !
When SDM is in Synch mode, image-capture is paused until the switch is released.
That enables you to synchronise two cameras to 1/5000 sec on average for action stereo.

The command 'sync_off' turns-off that mode so that we do not have to wait for switch release.

Quote
I'll get back with further results soon as the snow is gone :xmas

Still snow here in North Wales.
It makes the images from my wireless TV cameras mounted on the aerial mast a bit brighter of a night time.
Better than watching the normal TV programmes   :)


David
Title: Re: building usb-remote-cable
Post by: Jonathan on 02 / March / 2010, 16:08:12
Sorry to bother again.

I tried the script on the regular CHDK, but it didn't work. Do you know which of the commands used that differ between the SDM and the regular CHDK build? I tried to find it on the scripts page but with no previous experience I could not find all the commands used in the script.



I've had a few problems when trying the SDM, could probably be fixed but since I wont be taking any stereo images I thought it might be easier just use the regular CHDK.

Title: Re: building usb-remote-cable
Post by: zeno on 03 / March / 2010, 04:20:13
There's no "Wait_for"switch_press" in CHDK. You need to replace it with:

   do
      a = get_usb_power
   until a>0
Title: Re: building usb-remote-cable
Post by: Jonathan on 03 / March / 2010, 04:43:56
Appreciate your response.

Does not seem to solve the whole problem though. Seems like nothing happens when running the script, except for the word "STARTED" showing in lower left corner. I still get no response from the remote and the camera seems to lock after a while.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 03 / March / 2010, 06:06:43
since I wont be taking any stereo images I thought it might be easier just use the regular CHDK.

SDM is certainly not just for stereo photography, it has many powerful features for general photography.
However, that is your choice.

See if the following works with CHDK, I have not tested  :-

Code: [Select]
@title Remote Burst
:loop
print  "Waiting for switch press"
do
until  is_key "remote"
press "shoot_full"
do
print "Waiting for switch release"
until not (is_key "remote")
release "shoot_full"
release "shoot_half"
goto "loop"
Title: Re: building usb-remote-cable
Post by: Jonathan on 04 / March / 2010, 05:08:37
Seems to work perfect at first testing. Thank you so much once again.

It gets the first image in a burst at the set Tv value as well.

I will probably use SDM for other purposes in the future, seems like an awesome tool. For a variety of reasons it seems to me CHDK will be more suitable for my skydiving project.



Jonathan
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / March / 2010, 05:22:01
For a variety of reasons it seems to me CHDK will be more suitable for my skydiving project.


As a matter of interest, what are the reasons ?


David
Title: Re: building usb-remote-cable
Post by: Jonathan on 04 / March / 2010, 05:49:57
Yeah, I probably didn't express that right. SDM would probably do just fine, only at this point I got a few things left to sort out before SDM is doing perfect. I got CHDK doing exactly what I want it to now, or, more correctly, you got chdk doing exactly what I want it to. The few SDM related issues that comes to mind though:


I found no user menu feature in the SDM. As i will use only a few of the features this is very valuable.

I built a neoprene case which shows only part of the screen. This was designed to show the User menu I put together with the few features I use from CHDK.

As mentioned, the script used in SDM shot the first image in a burst at automatic shutter speed also when set in tv-mode. No idea why but CHDK did not.

I could not access the regular canon menu when having the SDM installed. It also showed the pictures taken upside down(These to could be fixed I'm sure)

The toggle wheel on my Ixus870 did not work to scroll the menus with in SDM.

I use a mac, which made the installation of CHDK much easier than the SDM (for which I used my girlfriends PC)

I found it more easy to access basic information on how to use CHDK than I did for SDM.


/Jonathan


Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / March / 2010, 07:36:22
OK, those comments are useful.

Quote
I found no user menu feature in the SDM.
Although a useful feature for some, this will not be supported by SDM.
It leaves room for other  features that are planned.

Quote
As mentioned, the script used in SDM shot the first image in a burst at automatic shutter speed also when set in tv-mode. No idea why but CHDK did not.
I will check that.

Quote
I could not access the regular canon menu when having the SDM installed. It also showed the pictures taken upside down
The two 'problems' are related.
In Stereo menu, Invert playback Image is selected  ... deselect it.
In SDM 1.83, the default value will be deselected.
After you have deselected, you free memory in the Edge Overlay menu item.

In Record mode, you will then be able to use Canon menu  .. this is a safety feature that prevents some cameras crashing if both SDM and the Canon firmware require a large amount of memory.

Quote
The toggle wheel on my Ixus870 did not work to scroll the menus with in SDM.
No, that is not supported.
No-one has complained but I may look at it.

Quote
I use a mac, which made the installation of CHDK much easier than the SDM

Can you describe the exact procedure that you use ?

Title: Re: building usb-remote-cable
Post by: Jonathan on 05 / March / 2010, 03:45:54
The statement was based on the info on the SDM installation page, where it was recommended to use a PC for installing, as the installation from a mac could be a bit complicated. So i used my girlfriends PC and downloaded the automatic installation program which worked perfect.

When installing CHDK there is a similar program written for mac that I've used with no complications.


If you like I could make a try installing SDM from my mac and come back. I may not have time for it until sunday though.


Jonathan
Title: Re: building usb-remote-cable
Post by: Microfunguy on 05 / March / 2010, 06:12:13
The statement was based on the info on the SDM installation page

Yes, that is because I have no knowledge of the Mac.

Quote
If you like I could make a try installing SDM from my mac and come back.

Thanks, I have already asked another Mac user to investigate the various options.
An SDM tester also reminded me that enabling the scroll wheel caused problems with certain cameras.

I will look at the bracketing problem in a day or so.


David
Title: Re: building usb-remote-cable
Post by: stuart noble on 12 / March / 2010, 13:12:43
As a recent convert to CHDK, I'd just like to say a big thank you to all the previous posters in this thread, without whom etc etc
My remote cable works fine on the S2 (s2is-100e-0.9.9-875-full) with 2xAAs in a battery holder and a push to make switch. Now I know it works I'll rig up something more sophisticated...one of these days maybe.
In case it helps other beginners, it took me a while to realise that you have to enable remote AND have the remote.bas script loaded AND push the shutter button before it becomes active. Dim or what!
Title: Re: building usb-remote-cable
Post by: yardleydobon on 26 / March / 2010, 21:35:07
I once saw a USB remote made from an LED flashlight. I believe it used a magnet as a spacer. He also made a remote with two connectors for a two camera SDM setup. He was selling them as well. I hope this description sounds familiar to someone, because I can't find his site again. Can anyone point me to it? Or could someone recommend a cheap flashlight that is easy to modify?

Edit:
Found it here! (http://www.flickr.com/photos/fvdk3d/3518420905/in/set-72157611951321175/)
Title: Re: building usb-remote-cable
Post by: Microfunguy on 27 / March / 2010, 09:29:14
They are my favourite switch, I use them for stereo.

Thay are very neat.


David
Title: Re: building usb-remote-cable
Post by: jblc on 12 / April / 2010, 02:21:52
  I'm using the first pre-release of CHDK for the S90 (by ERR99), and have successfully hooked up a USB remote.  Just a heads up that it works for the S90, no surprises there, but it's cool to have and hence the report here.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 30 / May / 2010, 00:16:28
Hey i was wondering if these could be used to create a wireless remote: LED keychain light, IR LED, IR receiver module.
What do you think? (put the IR LED in the keychain light, hook the IR receiver to the usb remote cable assembly, etc.)
IR LED: http://www.radioshack.com/product/index.jsp?productId=2062565&clickid=prod_cs (http://www.radioshack.com/product/index.jsp?productId=2062565&clickid=prod_cs)
IR receiver: http://www.radioshack.com/product/index.jsp?productId=2049727&CAWELAID=37890884 (http://www.radioshack.com/product/index.jsp?productId=2049727&CAWELAID=37890884)
Title: Re: building usb-remote-cable
Post by: Microfunguy on 30 / May / 2010, 05:49:20
Hey i was wondering if these could be used to create a wireless remote: LED keychain light, IR LED, IR receiver module.
What do you think? (put the IR LED in the keychain light, hook the IR receiver to the usb remote cable assembly, etc.)


You have to modulate the transmitter infra-red at 38 KHz for the receiver to detect it.

You could use a surface-mount 555 timer chip to do that.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 01 / June / 2010, 00:55:38
Like this one?
http://www.westfloridacomponents.com/IC022/NE555D+NE555+D+IC+Precision+555+Timer+Surface+Mount.html (http://www.westfloridacomponents.com/IC022/NE555D+NE555+D+IC+Precision+555+Timer+Surface+Mount.html)
How? I don't have soldering equipment.
I was thinking about doing this project with wire glue from thinkgeek.com, but maybe I can't if I have to use a chip.
wire glue: http://www.thinkgeek.com/gadgets/tools/b70c (http://www.thinkgeek.com/gadgets/tools/b70c)
also, the light I was going to use was just like this.http://www.ledlight.com/1-led-flashlight-low-profile.aspx (http://www.ledlight.com/1-led-flashlight-low-profile.aspx)

the led inside isn't even soldered in. a VERY simple swap out would make the remote, right? (hoping)
(can you people tell i like Google for my reference points? heehee)
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 05 / June / 2010, 02:11:20
So, I think maybe this thread went dead. That's too bad, seeing as now I have chdk on my camera and received     the Wire Glue from thinkgeek. I really wanted to make the remote I theorized, but don't know how. If someone could please explain it to me as if I have NO electrical experience...
(because I don't)
P.S. - My Powershot is an A460, if that helps.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 08 / June / 2010, 09:28:39
So, I think maybe this thread went dead.

With so many posts it is easy to overlook some.

You cannot make the circuit using WireGlue.
Even if you could, would you have the knowledge to fault-find ?

Why not buy this one ?  :-


http://www.canoremote.de/ (http://www.canoremote.de/)

Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 08 / June / 2010, 16:24:34
any other ideas of how i could MAKE a wireless remote? I did not buy anything on the above list, so if you have a better list, I am open to suggestions.
I am thinking about just going with a really long cable like this one. http://www.amazon.com/Mini-Cable-Gold-plated-Connectors-Black/dp/B001CP5EP8 (http://www.amazon.com/Mini-Cable-Gold-plated-Connectors-Black/dp/B001CP5EP8)
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 16 / June / 2010, 22:52:23
How would I wire the cable above to the LED flashlight 4 posts up?
(with pictures or diagram if possible) I have both already and just need to wire it up.
Title: Re: building usb-remote-cable
Post by: thepanoguy on 17 / June / 2010, 02:48:35
@Super_Dork_42

If you do not know the basics, buy a ready made item.

OTHERWISE:

http://chdk.setepontos.com/index.php/topic,5320.0.html (http://chdk.setepontos.com/index.php/topic,5320.0.html)

If you cannot solder two wires onto a PC board pay someone to do it for you.
It will be cheaper than bricking your camera.

PS

I do not read every post on this site.

If you need more help GOOGLE for basic electrical/electronic instructions.
Title: Re: building usb-remote-cable
Post by: colinbm on 17 / June / 2010, 03:42:12
@ Super Dork 42
You could try http://www.jaycar.com.au/index.asp. (http://www.jaycar.com.au/index.asp.)
They have a battery box 4x AA CAT. NO. MP3083.
Provides 5VDC power though the USB socket by using 4 x AA batteries.
Just plug in your cameras USB cable & switch away. A small mod would be a momentery switch.
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 17 / June / 2010, 08:17:03
See http://chdk.setepontos.com/index.php/topic,3631.msg33855.html#msg33855 (http://chdk.setepontos.com/index.php/topic,3631.msg33855.html#msg33855)

Frans
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 19 / June / 2010, 10:12:06
Well, I tried just to wire up the flashlight, but found out too late that, in that particular model, the screws are VERY important. Without them, the electrical contacts won't ... um ... contact. And since I'm trying to find the cheapest way to make this project (I'm saving up for a car) I got one that broke the screw threading sitting there on the desk. So, where do I go to buy a flashlight that has worked for others on the cheap?
Title: Re: building usb-remote-cable
Post by: Microfunguy on 19 / June / 2010, 10:45:10
I suggest that you buy one from Frans, it will save you a lot of bother.

Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 19 / June / 2010, 10:54:43
I was thinking of doing it with one of these:
http://www.altex.com/Velleman-Slim-Line-LED-Light-with-Keychain-LLW5-P143979.aspx (http://www.altex.com/Velleman-Slim-Line-LED-Light-with-Keychain-LLW5-P143979.aspx)
http://www.altex.com/Coast-Cutlery-Small-LED-Flex-Light-TT7582CP-P143984.aspx (http://www.altex.com/Coast-Cutlery-Small-LED-Flex-Light-TT7582CP-P143984.aspx)
would one of these work?
Also, like I said, I got the cable and tried to wire it up already. The cable is now unusable for anything else. That is why I want to make one so badly. I don't want to buy one so that the purchase of that cable doesn't mean I wasted my money. :(
Title: Re: building usb-remote-cable
Post by: thepanoguy on 19 / June / 2010, 11:02:09
If you cannot take apart a torch as Microfunguy said buy the thing ready made from Frans.

or

You can try

http://chdk.setepontos.com/index.php/topic,5320.0.html (http://chdk.setepontos.com/index.php/topic,5320.0.html)

http://www.jaycar.com.au/ (http://www.jaycar.com.au/)

USA/Canada 1800 784 0263
UK 0800 784 0263

It will cost you $5.00AUD.

You only have to solder two wires and remove one chip.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 19 / June / 2010, 11:06:15
Okay, but like I said before, I don't have any soldering equipment. Also, I am not going to get any just for this, as I wouldn't use it for anything else. Also, what is with all these suggestions in AUD? I use USD.
P.S. I sent you a question on the thread about your remote, fvdk, so you can respond here or there or just PM me.
Title: Re: building usb-remote-cable
Post by: fvdk on 19 / June / 2010, 15:32:52
I was thinking of doing it with one of these:
http://www.altex.com/Velleman-Slim-Line-LED-Light-with-Keychain-LLW5-P143979.aspx (http://www.altex.com/Velleman-Slim-Line-LED-Light-with-Keychain-LLW5-P143979.aspx)
http://www.altex.com/Coast-Cutlery-Small-LED-Flex-Light-TT7582CP-P143984.aspx (http://www.altex.com/Coast-Cutlery-Small-LED-Flex-Light-TT7582CP-P143984.aspx)
would one of these work?

The first one I would certainly not recommend, it does not have a PCB inside, the switch is just en-capsuled in a bit of foam and the wires of the LED just make contact by being held between the foam and the housing.

The second one I don't know but for nearly the same price (including shipping charges) you can buy a ready made one from me build to your own specifications.

Frans
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 19 / June / 2010, 17:22:19
frans, if I send yoou my 25 ft cable, how much (USD) would it be to get you to make it for me?
Title: Re: building usb-remote-cable
Post by: fvdk on 19 / June / 2010, 17:26:20
frans, if I send yoou my 25 ft cable, how much (USD) would it be to get you to make it for me?

Like I wrote in my other reply, US$ 15.-

Frans
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 20 / June / 2010, 17:08:58
As a side note, I am thinking how weird it is that on a thread called BUILDING USB-REMOTE-CABLE, how many suggestions involve NOT building, but buying one.
Title: Re: building usb-remote-cable
Post by: fvdk on 20 / June / 2010, 17:49:02
As a side note, I am thinking how weird it is that on a thread called BUILDING USB-REMOTE-CABLE, how many suggestions involve NOT building, but buying one.

I think David suggested so because you mentioned that you have no soldering equipment.

The panoguy actually suggested you buy some parts and than build it yourself.

On my page where I do indeed sell them, I also show the complete process of how they are build so everyone can make them their self if they want.

http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/ (http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/)

The only reason I started selling them, is because I want to spare others the trouble of having to go the same route that I did by wasting a lot of time and money by having to buy and try different LED lights and cables only to find out that they were not suitable or were not as durable as I hoped.
This is especially true for the double SDM remotes that are essential for stereo photography and not just a remote that is used occasionally.

I anybody wants to build them their self, I also sell the separate components at a price that is comparable to what you would have to pay if you would buy them anywhere else on the internet.

Frans

 
Title: Re: building usb-remote-cable
Post by: thepanoguy on 20 / June / 2010, 22:17:26
@ Super_Dork_42

We all live busy lives; no-one is going to waste time reading torch specifications because you are too tight to part with some cash.

I am a qualified electrician who worked with commercial electronics. I have also many years of experience interfacing electronic equipment into mains voltages.

As fvdk said building equipment and getting it to work reliably for an application is not as easy as it looks. There are many sites on the net with instructions on learning basic soldering and electronics. I would suggest that if you want to build equipment learn the basics, otherwise purchase the equipment ready made.

I have an oscilloscope and a digital voltmeter to work with; even then difficulties arise. Off the shelf components do not work reliably when modified to be used for an application they were not designed for. That is why you pay a premium for photographic equipment - RELIABILITY FOR THE APPLICATION.

The torches available in my locality, Perth, Western Australia are not suitable as a cable remote. The switches cannot be de-bounced. Once you consider the amount of work required, it is easier to go to Jaycar and purchase a quality switch, a plastic box and a cell holder.

The remote doorbells available in Australia generate erratic waveforms and not suitable for camera remote control. The Jaycar unit when modified produces a clean waveform and works reliably.

I spent a few hours tracing the circuit, observing the waveform, modified and unmodified. The unit has been tested using a Canon S3IS. The first press turns on the camera, second press zooms the lens, double press as per the CHDK instructions, takes a photo. With extra electronics and a little modification of the hand remote it will probably take repetitive photos.

For anyone contemplating using the Jaycar unit it will take them at the most 15 minutes to dismantle the unit, carry out the modifications and assemble.

Considering that Jaycar sells the units for $5.00AUD; you will not find a cheaper remote control.

      
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 21 / June / 2010, 02:46:43
Didn't mean to offend, it is just that I am a waiter and so I don't make a lot of money. That's why I wanted to build it myself as cheaply as possible. Now that I know there is no possible way with what I have, I will just forget about it and use the timer.
Sorry. My comment wasn't meant as sarcasm.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 21 / June / 2010, 06:03:52
No offence, but without soldering equipment I do not see a way of doing this.

This is good value ... Ebay item #  250644120689

That will work straight out of the box.

Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 21 / June / 2010, 16:05:37
Well, just broke down and got some soldering equipment new on ebay for like US $2.50. So, I guess the next purchase would be the light from you, franz.
Also, for everyone's information, I looked up the batteries in this light : http://www.ledlight.com/1-led-flashlight-low-profile.aspx (http://www.ledlight.com/1-led-flashlight-low-profile.aspx)
It will not work as they are 1.5v. So, if you are thinking about that one, think again.
Also, @microfunguy, are you sure? It runs on a single AAA battery. Is that  enough voltage?
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 29 / June / 2010, 22:07:15
Well, I was wrong about the batteries. I stacked them up and touched the wires to them, AND THEY WORKED! I guess I tried them too late inside the light, but now that I know, I will definitely buy another and make it. As soon as my soldering iron comes, I will solder the cable, which is a 15 ft, not a 25 ft (just a typo on my part, people) to the contacts in the remote and then, as soon as I can figure out how, I will post pictures of the project all the way through with notations inserted with ms paint. It will be a how-to that will be more in-depth than I have seen anywhere else.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 03 / July / 2010, 16:33:22
Well, the soldering iron is going to take a while to get here, so I am just going th post a link to my pictures of my temporary remote build, using the batteries from that flashlight.

http://www.lbpcentral.com/forums/album.php?albumid=1573 (http://www.lbpcentral.com/forums/album.php?albumid=1573)

Yes, I love Little Big Planet. Shut up about it.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 03 / July / 2010, 17:40:45
@microfunguy, are you sure? It runs on a single AAA battery. Is that  enough voltage?

I am more than sure, I am absolutely certain.

The electronics steps-up the 1.5V to 5V.

That is called a 'boost converter'.

Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 04 / July / 2010, 01:41:02
Cool, although now I don't need it. Also, through a mix-up @ the bank, I can't afford it anyway.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 09 / July / 2010, 10:41:48
My soldering equipment arrived yesterday, so now I am able, as soon as I get paid again, to make it.
Finally.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 16 / July / 2010, 23:35:29
Just got paid, now to get the light and make it! (with pictures of course)
EDIT : GRRRR
Now the soldering iron burned out on the first test, right after I tinned the tip!
I may never finish this. >:(
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 26 / July / 2010, 13:50:40
Well, they are sending me another soldering iron for free, so I guess that part is solved, just have to wait two or three weeks for it to get here, leaving me plenty of time to go buy a light.
Title: Re: building usb-remote-cable
Post by: fvdk on 26 / July / 2010, 16:41:15
Well, they are sending me another soldering iron for free, so I guess that part is solved, just have to wait two or three weeks for it to get here, leaving me plenty of time to go buy a light.

If I remember well, you have one of these lying around. If so, you could even do it without any soldering, I just tried and it works but I think it is a crappy solution. For the picture I held the cable in place with some gum.

Frans

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg294.imageshack.us%2Fimg294%2F1525%2Fimg0013rs.jpg&hash=e6366afc45b0b56300cf3a2c35655b62)
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 31 / July / 2010, 21:19:31
Actually, I had one, but those pesky screws stripped themselves, so it wouldn't work anymore, as the particular model I was dealing with needed the pressure of the closed case to make electrical contact. I am for sure either going to buy the one from you, Frans, or get another one of the one you are talking about in the picture. Also, what is up with the login difficulties?!
P.S. I was trying to do the exact thing you showed there, dear Frans, when my light pooped out on me. See how I could do it like that, but reinforce the connections with a little wire glue? That is what I was proposing early on.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 09 / August / 2010, 16:28:38
On an unrelated note
NEVER BRING CONFETTI TO A PARTY AT A RESTAURANT!
That is all.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 17 / August / 2010, 00:38:07
On another unrelated note, how do you change your avatar? I have an awesome one I want to put up there, but I don't know how.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 21 / August / 2010, 23:41:09
Okay, for those of you shopping at Target, DO NOT get this light (http://www.opticsplanet.net/dorcy-round-key-chain-led-light-w-batteries.html). The led is not removable, as I found out the hard way. The batteries are workable but you cannot use the housing, so skip it.
Title: Re: building usb-remote-cable
Post by: fvdk on 25 / August / 2010, 11:57:33
I made a small PCB (50x14mm) for a remote with external port.
The external port can be used to attach a standard Canon Wireless remote or interval timer

http://cgi.ebay.nl/Wireless-Remote-Control-WRSII-for-Canon-1000D-550D-500D-/180534384281?cmd=ViewItem&pt=Camera_Camcorder_Remotes&hash=item2a08b01699 (http://cgi.ebay.nl/Wireless-Remote-Control-WRSII-for-Canon-1000D-550D-500D-/180534384281?cmd=ViewItem&pt=Camera_Camcorder_Remotes&hash=item2a08b01699)

If anyone is interested, I sell these for US$ 10.- (assembled + batteries but without USB cable)
Worldwide priority airmail shipping is US$ 2.-

If you need plugs to make your own cable, I can include them for US$ 0.70 each

Frans

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg294.imageshack.us%2Fimg294%2F6596%2Fremotepcbresized.jpg&hash=404c23baa53a7f93ea90795b16aaf3e7)
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 26 / August / 2010, 17:40:47
Nice. But what does the button there do?
Title: Re: building usb-remote-cable
Post by: fvdk on 27 / August / 2010, 18:02:32
Nice. But what does the button there do?

The button is there so you can use it as a regular CHDK / SDM remote as well.
Connecting a wireless remote to the port is an option but not needed.

Frans
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 01 / September / 2010, 13:07:55
Well, fvdk. I have decided to buy that light from you. I am sick of spending money only to find another light that doesn't work. If you could send me an e-mail with instructions on how to get the payment to you, I would appreciate it.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 09 / September / 2010, 16:45:58
Got the light. Thanks fvdk.
Title: Re: building usb-remote-cable
Post by: fvdk on 09 / September / 2010, 17:48:29
Got the light. Thanks fvdk.

You're welcome.

Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 18 / September / 2010, 00:46:08
Hi Frans
I haven't got the remote yet but should be next week.
I have some SLS-006 Mini Slave Flash units.
Can I have the remote trigger the SLS-006 Mini Slave Flash unit on the second press of the remote when it triggers the shutter release too, Please ?
Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 18 / September / 2010, 06:48:25
Hi Colin,
No, that would require a completely different circuit like this: http://stereo.jpn.org/eng/sdm/pcb.htm (http://stereo.jpn.org/eng/sdm/pcb.htm)
I am thinking about incorporating something like that in my PCB's but have not yet found the time to do so.

The next version of SDM will probably have a function to disable the pre-flash so you might be able to use the slaves without additional hardware.

Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 18 / September / 2010, 13:36:16
Thanks Frans
I don't have pre-flash ?
The remote should give one press for focus & second press for shutter release.
So I was wondering if the slave could be hard wired to go off at the second press ?
Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 18 / September / 2010, 15:49:16
I don't have pre-flash ?

In auto mote, as far as I know, every Canon P&S has pre-flash.

Quote
The remote should give one press for focus & second press for shutter release.
So I was wondering if the slave could be hard wired to go off at the second press ?

No that's not possible.

Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 19 / September / 2010, 23:31:41
Thanks very much Frans
I have now got the new remote & USB plugs.
The remote is fantastic & compact.
The USB plugs are the best & smallest I have seen & will allow just the cable space between the cameras.
Cheers
Col
Title: Re: building usb-remote-cable
Post by: colinbm on 20 / September / 2010, 00:36:33
Hi Frans
Just some battery info.
http://en.wikipedia.org/wiki/List_of_battery_sizes (http://en.wikipedia.org/wiki/List_of_battery_sizes)

You have used the AG1 alkaline battery for this remote. They are fine.
The alkaline battery has 1.5v & 13mAh & a tapering discharge.
The silver oxide battery has 1.55v & 20mAh & a flat discharge.
May I suggest SG1 silver oxide batteries, as they keep the voltage constant to the end, which I think is important in this application as the cameras are sensitive to lower voltage.

Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 20 / September / 2010, 03:05:28
Hi Frans
Just some battery info.
http://en.wikipedia.org/wiki/List_of_battery_sizes (http://en.wikipedia.org/wiki/List_of_battery_sizes)

You have used the AG1 alkaline battery for this remote. They are fine.
The alkaline battery has 1.5v & 13mAh & a tapering discharge.
The silver oxide battery has 1.55v & 20mAh & a flat discharge.
May I suggest SG1 silver oxide batteries, as they keep the voltage constant to the end, which I think is important in this application as the cameras are sensitive to lower voltage.

Cheers
Col

Hi Col,
I tested the AG1 batteries with a timer remote and stopped after it had taken more than 20.000 pictures so for normal applications they are more than sufficient. But you can of course use silver oxide batteries if you want.

Cheers,
Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 20 / September / 2010, 05:00:57
Hi Frans Thanks
You must have had a sore finger after all that testing :-))
Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 20 / September / 2010, 06:43:26
Hi Frans Thanks
You must have had a sore finger after all that testing :-))
Cheers
Col

That's what the timer remote is for, with the camera on an AC adapter I only had to start the timer  :)
Title: Re: building usb-remote-cable
Post by: colinbm on 21 / September / 2010, 07:59:00
Hi Frans
If I have a wired shutter release remote (with CHDK loaded on the camera) & the SLS-006 Mini Slave Flash unit also hard wired to the remote, can I use a centre off toggle switch to switch one side to focus & the switch the other side to trigger the shutter & the SLS-006 Mini Slave Flash unit together ?
Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 21 / September / 2010, 16:02:40
Hi Col,
It is not exactly clear to me what you mean. Are you using a single camera or two for stereo 3D photography?

With just one camera, it might work as you can than configure it to release the shutter on the second press, as soon as the voltage is detected.
For 3D photography, the shutters are released when the voltage is dropped in order to get perfect synchronization and in that case, I see no other possibility to synchronize the flash other than the circuit referred to earlier.

Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 21 / September / 2010, 21:36:30
Thanks Frans
The problem that I am trying to solve at the moment is :-
The single IR camera, I would like to use the SLS-006 Mini Slave Flash unit with a IR pass filter to give a IR flash light. I have made a black cap (surround) with a IR pass filter (Hoya 72R) mounted on top. The SLS-006 Mini Slave Flash unit, now needs to be triggered with the remote shutter release. I will not be using the cameras flash.
The SLS-006 Mini Slave Flash unit has a test button, this could be used to make a closed circuit to trigger the flash ?
Cheers
Col
Title: Re: building usb-remote-cable
Post by: fvdk on 22 / September / 2010, 03:25:39
Hi Col,
Simply firing the flash as soon as the button is pressed will probably not work as the camera has a delay before the shutter is fully open and you will need a circuit that enables you to fine tune the flash with that delay. I only see two options.
1. Using the dedicated circuit as mentioned earlier.
2. Wait for the next version of SDM which has special options for using a slave flash.
Frans
Title: Re: building usb-remote-cable
Post by: colinbm on 22 / September / 2010, 03:50:42
Thanks Frans
I don't mind making up the board you mentioned.. I just need the board, which is double - sided ?
Cheers
Col
Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / September / 2010, 10:12:32
Hi Col.

Do you really now have an A570 pair for stereo  ?



David
Title: Re: building usb-remote-cable
Post by: colinbm on 22 / September / 2010, 11:00:37
Hi David
How have you been keeping, havent seen you around here.

Yes I do have a pair of A570's. But still getting things ready :-)) Slowly.
I am mounting them side by side, landscape. The usb plugs that Frans has are super small & I can just have the cable width between the cameras, which gives 94mm centres. Is that OK ?
Both are different versions, I have another coming soon, to see if I get a pair with the same versions, hopefully. Just putting together this remote from Frans. It is very neat, I just need to find a small box or tube to slide it in.

Gregg has gone quiet ?

I have been mucking around with IR on the S2, after bravely removing the 'hot mirror' inside & replacing with a clear glass. All fun :-)) So it is a full spectrum camera now, probably 350nm to 1000nm wave-lengths. So depending on the filter you can capture IR or Visual light or the lot ! UV is not that good as any glass will cut most it out. I don't need quartz lenses !

Cheers
Col

Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / September / 2010, 18:00:14
the cable width between the cameras, which gives 94mm centres. Is that OK ?

It is about 50% more than optimum (about 63mm), it just means you should be no closer than three metres from the subject if infinity is included and you are using 50mm-equivalent focal-length.
Personally, I would try to always use that zoom setting rather than wide-angle or telephoto.

Quote
Both are different versions

That does not matter.

Quote
So depending on the filter you can capture IR or Visual light or the lot !

If you capture visible AND IR surely one image is slightly out-of-focus ?

What make of IR-pass and IR-block filters are you using ?


Quote
I don't need quartz lenses !

Saphire should be OK.


David
Title: Re: building usb-remote-cable
Post by: colinbm on 22 / September / 2010, 18:17:08
Hi David
Thanks about the tip with the zoom setting. I have made a bracket for portrait, I just thought I might like landscape better, I can try both.
I was hoping to get both versions the same to avoid mixing the SD Cards up.

For IR I use Hoya R72 & for visual I use Maxmax 'Hot Mirror' X-Nite CC1.
The Tiffen 'Hot Mirror' is a bit off in the greens.

Cheers
Col
Title: Re: building usb-remote-cable
Post by: Microfunguy on 22 / September / 2010, 18:25:47
Are you sure there is absolutely no dirt on the sensor ?

Normally that is very difficult to achieve unless you work in a bathroom after running the shower !


David
Title: Re: building usb-remote-cable
Post by: colinbm on 23 / September / 2010, 03:57:39
I was just very careful & tried not to sneeze.
The camera was dead anyway & should have been in the bin !
I saw on Ebay some HK lens assembly sellers for AUD42, so I got a reconditioned lens assembly.
Took the back 'hot mirror' out & stuck in a clear piece nearly the same thickness, original was 0.8 mm & I replaced it with a 0.9 mm piece of microscope glass slide, 9mm X 8mm.
Seems to work OK :-))
Was better then having a piece of rubbish, now it take all sorts of pics again.
Col
Title: Re: building usb-remote-cable
Post by: Microfunguy on 23 / September / 2010, 04:46:26
I do not think you mean glass slide, it is called a 'cover glass'.

I have not seen them that size and they are tricky to cut being so thin and fragile.


Infra-red HDR could be interesting.

David
Title: Re: building usb-remote-cable
Post by: colinbm on 23 / September / 2010, 05:29:31
Not the cover slips they are very thin like 0.1 mm.
The glass slides about 70mm X 20mm, I cut a piece off  9mm X 8mm. Yes it is shaky hand stuff :-)
I have a fine diamond grinder which I cleaned up the edges on.
I have been cutting dichroic pieces too, 49.5 mm dia for different filters to try the effects. Putting them into cheap UV filter holders with screw-in retainers.

""Infra-red HDR could be interesting.""

Yes that could be interesting.
I have seen a IR night time 5mins exposure landscape that looked OK too.
As well as the Hoya R72 I have some HK 850 & 950 IR pass filters. The 850 I used on a dull day & got a very misable looking pic of snow & frost look alike street view. I want to get a 600 - 650 IR pass, this maybe nice at night.
I have been making some IR spot lights too. The best one is a 6v floating boaty torch, large reflector. You can place blue, red & yellow or green perspex in front of it & only IR is emitted. If you look at the front of the torch you will see a dark red glow, but when pointed away from you, nothing is seen by us, but the full spectrum camera can see what it is pointed at very clearly.

I was thinking of converting the two A570 to full spectrum, but after opening up one, they are a [admin: avoid swearing please] inside ! Much harder then the S2IS, so will leave for later.
I have some 3D red / cyan clip-on glasses, but I think the red is too dark ?
Anyway the pics I have looked at on the internet, most I have trouble viewing ? They seem to be too widely shifted or offset ?
The ones that I like the most are of steam locos & motor bikes. It seems to be the detail in the near depth & not to much of the distance background, that I seem like.

Cheers
Col
Title: Re: building usb-remote-cable
Post by: colinbm on 29 / September / 2010, 05:12:33
Frans & David
I have got the two A570s joined side by side on the USB ends, one up side down.
This gives a 72mm lens centre spacing. I don't think it is possible to get any closer in landscape.
The USB plugs are only protruding 5mm.
So my next step will be to load the SD cards with SDM & start shooting & learning :-)
Cheers
Col
Title: Re: building usb-remote-cable
Post by: Microfunguy on 29 / September / 2010, 07:49:12
Oh no  ... I hope you load SDM OK   :)

I see you are now a member of the Yahoo SDM Group so any questions just ask.

I hope to release 1.84 at the weekend.

It will support slave flash, amongst other things.


David
Title: Re: building usb-remote-cable
Post by: colinbm on 29 / September / 2010, 09:03:08
Thats good, I will wait for it.
Yes I found the SDM group while snooping around.
Cheers
Col
Title: Re: building usb-remote-cable
Post by: hwntw on 03 / October / 2010, 07:25:48

When +5V is connected to the USB, a signal goes to the DIGIC chip and the firmware sets a particular location in memory to indicate the +5V is present.
The Canon firmware switches to playback mode and tries to communicate with the PC when it sees that memory location is set to '1'.
Your computer may respond to the camera communication by starting a designated programme.
That programme may be Canon ZoomBrowser or it may be any other designated programme.
Now, to use a USB remote we need to stop all of this from happening.
When menu option 'USB Remote' is enabled, we set that memory location back to '0' one hundred times a second, so the Canon firmware never knows the USB is connected and does not switch to playback mode.
...

Hello,
I have tried using the Canon Zoombrowser software (ZB) for remote control of my Ixus 95 and G9, while using the feature described above. I expect there are many reasons why this does not work, but using Canon RemoteCapture (CameraWindow- free download from Canon) certainly works for the G9 and suggests the possibility of remotely controlling other Canon compacts by doing something in CHDK. I am naive as regards PTP and this subject generally, so what might be necessary in order to achieve remote control (shooting and liveview) of the Ixus 95 and other "unsupported" models? Can CHDK potentially do it?
Title: Re: building usb-remote-cable
Post by: smik67 on 08 / November / 2010, 09:40:43
Guys, I am new to the canon world and this forum. I am really excited about CHDK and the ability to make a usb-remote cable. I have the SX30IS and, of course, waiting for the porting and etc for this camera. But meanwhile, i was wondering if any of the wireless remotes available (like Opteka RFT-40 Remote Shutter Release) can be adapted to be used with CHDK.  I mean, if I use the Opteka and change the cable from 3.5 to usb, will it have the same effect? Any ideas? I wish the software was ready to try it out, but i though I will pick the big brains in this forum and see what they think ;-)
Title: Re: building usb-remote-cable
Post by: fvdk on 08 / November / 2010, 17:34:45
i was wondering if any of the wireless remotes available (like Opteka RFT-40 Remote Shutter Release) can be adapted to be used with CHDK.

No, that won't work as those remotes are just a switch, they do not supply the needed voltage to the USB port.

Frans
Title: Re: building usb-remote-cable
Post by: smik67 on 08 / November / 2010, 19:27:38
Then, can i use that switch on another circuit on, which has enough voltage?
Title: Re: building usb-remote-cable
Post by: fvdk on 09 / November / 2010, 02:55:02
Then, can i use that switch on another circuit on, which has enough voltage?

Yes, that's possible. See:
http://chdk.setepontos.com/index.php?topic=5383.msg54209#msg54209 (http://chdk.setepontos.com/index.php?topic=5383.msg54209#msg54209)
Title: Re: building usb-remote-cable
Post by: Pauls9 on 09 / November / 2010, 04:54:38
Following advice from a post here, I bought this wireless remote:

http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e (http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e)

Turned out that the switches connect to battery negative, and the 3V battery was enough to trigger my S3IS, so I removed the existing cable, glued in a USB socket (just enough room) and connected the appropriate USB pins to battery + and the first switch output. Job done!
Title: Re: building usb-remote-cable
Post by: smik67 on 09 / November / 2010, 09:08:41
Then, can i use that switch on another circuit on, which has enough voltage?

Yes, that's possible. See:
http://chdk.setepontos.com/index.php?topic=5383.msg54209#msg54209 (http://chdk.setepontos.com/index.php?topic=5383.msg54209#msg54209)

I am not sure what the function of that is! is it a ready wireless remote? or is it the switching circuit that is necessary with an additional remote?
Title: Re: building usb-remote-cable
Post by: smik67 on 09 / November / 2010, 09:09:11
Following advice from a post here, I bought this wireless remote:

http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e (http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e)

Turned out that the switches connect to battery negative, and the 3V battery was enough to trigger my S3IS, so I removed the existing cable, glued in a USB socket (just enough room) and connected the appropriate USB pins to battery + and the first switch output. Job done!

This is what i was hoping for. You think this will work with SX20IS or SX30IS?
Title: Re: building usb-remote-cable
Post by: fvdk on 09 / November / 2010, 09:17:23
Quote
I am not sure what the function of that is! is it a ready wireless remote? or is it the switching circuit that is necessary with an additional remote?

It can be used on it's own as a cable remote (if you solder a USB cable to the + and - pads).
But you can also use the 2.5mm female jack to plug in an additional wireless remote.


Title: Re: building usb-remote-cable
Post by: smik67 on 09 / November / 2010, 09:57:55
Quote
I am not sure what the function of that is! is it a ready wireless remote? or is it the switching circuit that is necessary with an additional remote?

It can be used on it's own as a cable remote (if you solder a USB cable to the + and - pads).
But you can also use the 2.5mm female jack to plug in an additional wireless remote.




Cool, thank you. That will definitely be considered as an option for me. This way, I will try the wireless remote first and if it works it works. If not, I can buy that piece from you. I like your work, but I also like to have it fixed neatly to the camera, which is why I am more inclined toward these flash-mounted pieces.
Title: Re: building usb-remote-cable
Post by: Pauls9 on 09 / November / 2010, 10:14:41
Following advice from a post here, I bought this wireless remote:

http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e (http://cgi.ebay.co.uk/Wireless-Remote-Shutter-Canon-400D-350D-450D-R6D-/220561865886?pt=UK_Photography_DigitalCamAccess_RL&hash=item335a82fc9e)

Turned out that the switches connect to battery negative, and the 3V battery was enough to trigger my S3IS, so I removed the existing cable, glued in a USB socket (just enough room) and connected the appropriate USB pins to battery + and the first switch output. Job done!

This is what i was hoping for. You think this will work with SX20IS or SX30IS?
*Eventually finds the camera features page on the Wiki* http://chdk.wikia.com/wiki/CameraFeatures (http://chdk.wikia.com/wiki/CameraFeatures)
Looks like the SX20 needs 3.4 volts, so the simple approach won't work there. You'd need an additional battery. The SX30 doesn't seem to be listed there.
Title: Re: building usb-remote-cable
Post by: smik67 on 09 / November / 2010, 12:52:03
*Eventually finds the camera features page on the Wiki* http://chdk.wikia.com/wiki/CameraFeatures (http://chdk.wikia.com/wiki/CameraFeatures)
Looks like the SX20 needs 3.4 volts, so the simple approach won't work there. You'd need an additional battery. The SX30 doesn't seem to be listed there.

Yes, SX30 is not ported yet (I can't wait to see it with CHDK). Thanks for the feedback. It seems that when SX30IS is ported I might go with Fran's approach.
Title: Re: building usb-remote-cable
Post by: Pabloec20 on 13 / December / 2010, 15:10:49
hi guy, i already posted this but this seems the right place to post it if im doing anything wrong just tell me or delete it. thanks.

I made a magentically activated remote, i delivers regulated 5v to the cam.

http://khopenpro.blogspot.com/2010/12/diy-underwater-camera-pt-1-camera.html (http://khopenpro.blogspot.com/2010/12/diy-underwater-camera-pt-1-camera.html)
Title: Re: building usb-remote-cable
Post by: achillies on 07 / February / 2011, 09:32:09
I built a USB remote last night (using an LED flashlight with 3 button cells), and while it works fine to trigger the shutter, the cameras flash does not flash even in low light.

Is this normal behavior, or do I have something not set right (either in CHDK or on camera firmware)?

I'm using a canon sx130IS, with a not-yet-beta version of chdk ported to this camera.  Even without CHDK running the flash does not flash, but the shutter triggers.  Any ideas?
Title: Re: building usb-remote-cable
Post by: SkyWalker9 on 07 / February / 2011, 12:40:21
I built a USB remote last night (using an LED flashlight with 3 button cells), and while it works fine to trigger the shutter, the cameras flash does not flash even in low light.

Is this normal behavior, or do I have something not set right (either in CHDK or on camera firmware)?

I'm using a canon sx130IS, with a not-yet-beta version of chdk ported to this camera.  Even without CHDK running the flash does not flash, but the shutter triggers.  Any ideas?
Because the problem happens with and without CHDK, I'd suspect a camera setting. Your camera has the ability to set your flash to "Auto", "On", "Slow Sync", or "Off", I'd look at that first to see if it is set to "OFF". There is a photo in your Canon SX130IS Users Manual on page 159 that shows how it would look if it is set to off (item#16 on the photo). Hope this helps!
Title: Re: building usb-remote-cable
Post by: achillies on 07 / February / 2011, 18:57:38
Thanks for the info Skywalker9!
I tried to get the flash to work using only my usb remote and the Canon settings (no CHDK running at all), and regardless of how they are set (always on, auto, etc.. ), I get no flash when the shutter is triggered. EDIT - In fact it doesn't take a picture, it only makes a sound as if it did.  It was my mistake thinking that the USB cable might have worked without CHDK

I DID discover that if I load CHDK, and use "extra photo operations", and set "force manual flash", it works, and I can also set the flash brightness, which also doesn't seem to work without CHDK.  Gotta love CHDK!..  EDIT - "Enable remote" on CHDK menu is what really did the trick.

But I still have to wonder why it doesn't work as expected using only Canon settings.  Again, it's an SX130IS.  Can anyone reproduce this? 
Title: Re: building usb-remote-cable
Post by: beta on 21 / February / 2011, 02:48:36
Hi,
I am using CHDK for Canon Powershot SD 600 camera. I want to remotely trigger the camera; its very easy task but i am unable to manage this simple task using CHDK. I had made remote cable following the remote trigger cable tips of chd Then I used SDM same setup is working... It is take pictures using same cable.... I am unable to fix the problem... Pls help me in this regard.... I want to use CHDK for triggering the camera
Title: Re: building usb-remote-cable
Post by: thenodemaster on 30 / March / 2011, 22:00:19
Hi all.  This is my first post/interaction with CHDK period.  I am an R/C Helicopter pilot setting up for Aerial Photography and have settled on the Canon SX30IS camera.  I am seeing that there is the ability of a remote trigger via USB with CHDK, but my unfamiliarity with the entire thing has me scratching my head about a few things.  I am sure that my trouble is due to my ignorance on what things are called and how they work with this setup, so, please forgive me if this has been answered already, but I have not been able to find my answers thus far.

There are on/off switches that can be plugged into an open channel on the radio used to control the helicopter so that when a switch or knob or lever (depending on what channel you have used) is activated, the solid state switch will output 5V to whatever you have attached to it.  

Follow this link for an example: http://www3.towerhobbies.com/cgi-bin/WTI0095P?FVPROFIL=++&FVSEARCH=ramq2312 (http://www3.towerhobbies.com/cgi-bin/WTI0095P?FVPROFIL=++&FVSEARCH=ramq2312)

Can this simply be hooked up to a USB cable that is plugged into the SX30IS to trigger the shutter with CHDK?  ANd if so, what is needed to be done to wire the USB connecter to this switch and what and how does CHDK need to be told that this function is there?  Also, what would be needed to disable autopower off?
This item: http://www.blip.com.au/item.aspx?itemid=14&ref=8 (http://www.blip.com.au/item.aspx?itemid=14&ref=8) does EVERYTHING I want, but I have not been able to get a response from the company regarding its compatibility with the SX30IS.


Thank you in advance for your help.
Title: Re: building usb-remote-cable
Post by: thepanoguy on 31 / March / 2011, 01:33:17
You may want to have a look at this post:

http://chdk.setepontos.com/index.php?topic=6244.0 (http://chdk.setepontos.com/index.php?topic=6244.0)

The trigger board may be a lot simpler than the other boards you looked at.
Title: Re: building usb-remote-cable
Post by: zeno on 31 / March / 2011, 03:47:48
You should also take a look here http://www.gentles.ltd.uk/gentwire/usb.htm (http://www.gentles.ltd.uk/gentwire/usb.htm)

James Gentle's devices are widely used for Kite Aerial Photography.
Title: Re: building usb-remote-cable
Post by: thenodemaster on 31 / March / 2011, 09:40:42
You should also take a look here http://www.gentles.ltd.uk/gentwire/usb.htm (http://www.gentles.ltd.uk/gentwire/usb.htm)

James Gentle's devices are widely used for Kite Aerial Photography.
Awesome!  This is just what I was looking for!  Now, what I need to know is how do I script the functions?  I am not familiar with scripting whatsoever, but I can learn.  Where can I find the scripting info to trigger the shutter and zoom?
Title: Re: building usb-remote-cable
Post by: zeno on 31 / March / 2011, 18:11:12
There's stuff about the scripts (including downloads) here http://www.gentles.ltd.uk/gentwire/chdk_sdm/index.htm (http://www.gentles.ltd.uk/gentwire/chdk_sdm/index.htm)

Note that the page talks about SDM, rather than CHDK, but as yet the SX30 is not supported by SDM, only CHDK. The scripts should work form CHDK though, they don't use any SDM-specific features.

If all you want to do is trigger the shutter using a GentWIRE-USB, you don't need to run a script - just having CHDK running is enough (provided you set the "enable remote" option. If you want to use a GentWIRE-USB2 (which lets you use two R/C channels to control the camera) then you do need to run a script. The two channels send pulses of different lengths to the USB port and the script decodes them and does the appropriate action (eg shutter on one channel and zoom on the other).
Title: Re: building usb-remote-cable
Post by: Microfunguy on 01 / April / 2011, 05:49:43
as yet the SX30 is not supported by SDM

A test build is available if anyone wants to test it.
Title: Re: building usb-remote-cable
Post by: thenodemaster on 01 / April / 2011, 10:04:59
Awesome!  One thing that I was wanting to do is to disable the auto off feature of the camera as well as using the A/V output all the time when I am SHOOTING, not just playback.  How would I enable these?
Title: Re: building usb-remote-cable
Post by: achillies on 09 / April / 2011, 22:58:41
For the SX30, the video cable supplied is "AV Cable AVC-DC400ST", which is the same as the sx130is.

In order to use the USB functions (for something like these remote units), as well as see the video output, you need to build (or buy) a USB/Video splitter.  I'm sure you can buy one pre-build somewhere, but I built one for myself.  A description and pictures are here -> http://www.achillies.com/CHDK_Files/USB_Splitter.htm (http://www.achillies.com/CHDK_Files/USB_Splitter.htm)

*Note: with my camera the only way to clear EVERYTHING from the display while shooting, is to use manual or program mode.  Most of the other modes leave a status icon in the top right.

Title: Re: building usb-remote-cable
Post by: fe50 on 10 / April / 2011, 04:10:09
Thx achillies for the guide, i've added a link to this post & your guide to the CHDK wikia...
* http://chdk.wikia.com/wiki/USB_Remote_Cable#Homemade_USB_remote_cable (http://chdk.wikia.com/wiki/USB_Remote_Cable#Homemade_USB_remote_cable)
Title: Re: building usb-remote-cable
Post by: BillPCT on 21 / April / 2011, 12:37:23
Hi Everybody.

I'm new to CHDK having just installed it on my Canon PowerShot A570is. I'm interested in making a USB remote trigger so that I can use it when digiscoping. Mechanical remote cable releases are, at best, awkward and clumsy and the USB route seems to be the right way to go. Can anyone help?
Will appreciate any help and advice.
Many thanks

BillPCT
Title: Re: building usb-remote-cable
Post by: SkyWalker9 on 21 / April / 2011, 13:03:06
Hi Everybody.

I'm new to CHDK having just installed it on my Canon PowerShot A570is. I'm interested in making a USB remote trigger so that I can use it when digiscoping. Mechanical remote cable releases are, at best, awkward and clumsy and the USB route seems to be the right way to go. Can anyone help?
Will appreciate any help and advice.
Many thanks

BillPCT
Welcome to CHDK! You have the correct forum if you want to build your own USB remote switch. There are a number of versions in the presious posting of this forum that should work.

I noticed that you are new to CHDK, so I wanted to let you know there are also commercial switch triggers that will work with CHDK as well. Here is a posting on one that I found/use (Ricoh CA-1 cable switch) and I carry it with me all the time because it is so small and light weight: http://chdk.setepontos.com/index.php?topic=4348.msg59492#msg59492 (http://chdk.setepontos.com/index.php?topic=4348.msg59492#msg59492)

Whether you build your own or buy a commercial one it is simple to use with CHDK afterwards.

Update: I did a quick search for the A570 in this forum and found two posts mentioning the A570 (there may be others)
http://chdk.setepontos.com/index.php?topic=294.msg9160;topicseen#msg9160 (http://chdk.setepontos.com/index.php?topic=294.msg9160;topicseen#msg9160)
http://chdk.setepontos.com/index.php?topic=294.msg8089;topicseen#msg8089 (http://chdk.setepontos.com/index.php?topic=294.msg8089;topicseen#msg8089)
Title: Re: building usb-remote-cable
Post by: BillPCT on 21 / April / 2011, 14:21:43
Thanks Skywalker9.

Will look at the various options and decide which way to go.
Title: Re: building usb-remote-cable
Post by: CaptKAOS on 22 / June / 2011, 15:45:11
http://tinyurl.com/5ruu9n5 (http://tinyurl.com/5ruu9n5)

I have an extra cable for my SX 120 IS but it has the hump in it...(see picture). Can I use this to make a remote, or do I need to buy another cord??  Please help...Thanks...
Title: Re: building usb-remote-cable
Post by: Pauls9 on 23 / June / 2011, 05:19:16
http://tinyurl.com/5ruu9n5 (http://tinyurl.com/5ruu9n5)

I have an extra cable for my SX 120 IS but it has the hump in it...(see picture). Can I use this to make a remote, or do I need to buy another cord??  Please help...Thanks...
Your link gives me the "Welcome to Windows Live" sign-up page.

I'd guess that the hump is a ferrite bead, used to limit high frequency interference. This would make no difference to the slow speed switching that the remote control uses.
Title: Re: building usb-remote-cable
Post by: CaptKAOS on 23 / June / 2011, 09:41:30
Sorry about that...Here is a picture of the cable...


(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fim1.shutterfly.com%2Fmedia%2F47a1d802b3127ccefd3b8310a81f00000030O00ActnDRs1ZN2QPbz4E%2FcC%2Ff%253D0%2Fps%253D50%2Fr%253D0%2Frx%253D550%2Fry%253D400%2F&hash=cd30c0b0d0da7b8fd7685f6e72914f82)
Title: Re: building usb-remote-cable
Post by: Pauls9 on 24 / June / 2011, 04:11:15
Yup - ferrite bead. This will work fine for a remote control.
Title: Re: building usb-remote-cable
Post by: caveman on 12 / July / 2011, 12:51:18
Hi Everybody,..I'm new to CHDK having just installed it on my Canon IXUS 105,SDM is ok but i'm having trouble with video output into my lcd screen..currently i'm using VC-DC400ST" video cable plugged into the USB port on camera, achilles said that he was made it with usb splitter, but in my country it is very difficult to find that things. so all I can do right now is to connecting cable, from 4 cables, red, white, green and black..but still did not show up.is there anyone here can help me, how to configure this cables... i'm not using audio...thanks.
Title: Re: building usb-remote-cable
Post by: achillies on 12 / July / 2011, 16:33:34
Hi caveman.  I checked into the IXUS 105, and the cable supplied with it is the "AVC-DC400" not the "AVC-DC400ST".  I do not know the difference in the cable pinouts, but the cables are not the same (one has stereo, the other does not).  If the pins for video are the same, the "green" plug should be video (and should be yellow), and ideally, one or the other audio plug (red or white), will match the pin for audio.  The only black connector is the USB, except with the "AVC-DC400", where there is one video connector, and one mono audio connector (which is also black)..
http://www.amazon.com/Canon-AVC-DC400-composite-connector/dp/B001L658L8 (http://www.amazon.com/Canon-AVC-DC400-composite-connector/dp/B001L658L8)
http://www.amazon.com/Canon-AVC-DC400ST-Stereo-AV-Cable/dp/B002P3LD7Y (http://www.amazon.com/Canon-AVC-DC400ST-Stereo-AV-Cable/dp/B002P3LD7Y)

If you plug the usb of the cable into your camera, the LCD should blank, and video/audio will be output to a TV, VCR, etc.. If this does not work, the cable must not have the same pin configuration.

Does any part of this work for you?
Title: Re: building usb-remote-cable
Post by: caveman on 13 / July / 2011, 13:18:14
yup, you are correct..Achillies, the cable is avc-dc400..today,i've been look inside at the avc-dc400 and what I see is that cable is using 6 pin. but i can't see the configuration of the cable. too much glue at the head of cable..I can use the SDM  with my remote shutter running good, I made it my self with 4 cables ( red,green,white, and black)... with 4 cables i've been trying to configure each cable one by one to connect with a/v cable. but still no picture on my video..I'm using A series USB Connector for the remote shutter... what's wrong with my cable ? Should I change the cable with 6 cable like AVCDC400 ?, perhaps you could help me to configure this cables..
Title: Re: building usb-remote-cable
Post by: achillies on 13 / July / 2011, 14:56:23
Title: Re: building usb-remote-cable
Post by: caveman on 14 / July / 2011, 01:15:25
thank's for your quick reply and your explanation..I will try first,then let you know about the progress..hope it works properly, thanks..
Title: Re: building usb-remote-cable
Post by: achillies on 14 / July / 2011, 09:24:34
I edited that message, because I incorrectly stated info about the standard USB pins, which are not present in the Canon AVC-DC400ST video cable.

So if you would like simultaneous video out as well as USB you must get a different cable or USB connector.
Title: Re: building usb-remote-cable
Post by: caveman on 14 / July / 2011, 10:58:13
it's ok...today my plan is buy some new HTC splitter like you said..but usually the it takes about 2 weeks shipping to my country..just be patient.. :'(
Title: Re: building usb-remote-cable
Post by: achillies on 14 / July / 2011, 14:12:07
@caveman -  The scenario in your JPG should work just fine.  You will take care of the pin differences (mono vs stereo) I'm sure.
Title: Re: building usb-remote-cable
Post by: caveman on 15 / July / 2011, 08:03:00
thanks achillies, your knowledge and solution about how to work with this usb cable is very helping me...may God Bless you...thanks.
Title: Re: building usb-remote-cable
Post by: achillies on 15 / July / 2011, 12:40:38
Here is another example of building your own 11 pin cable. -> http://arch.ced.berkeley.edu/kap/discuss/comments.php?DiscussionID=2164 (http://arch.ced.berkeley.edu/kap/discuss/comments.php?DiscussionID=2164)
Title: Re: building usb-remote-cable
Post by: CaptKAOS on 21 / July / 2011, 22:26:28
Yup - ferrite bead. This will work fine for a remote control.

Thanks... I found another cable without the ferrite bead and made my remote from that...
Title: Re: building usb-remote-cable
Post by: n1evh on 25 / July / 2011, 19:54:40
I just started to use CHDK with my Canon Powershot SX30 camera.  I'm interested in tryingthe USB Remote Shutter.  However... with my vision... trying to build a cable might be a little bit difficult (before my vision problems... I was an electronics technician for 25 years).

Is there anyplace where a pre-made USB Remte Shutter cable can be bought???

Just curious,
Thanks

Mike
Title: Re: building usb-remote-cable
Post by: waterwingz on 25 / July / 2011, 23:25:15
Is there anyplace where a pre-made USB Remte Shutter cable can be bought???
Google the Ricoh CA-1.

And there is also http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/ (http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/) and http://www.gentles.ltd.uk/gentwire/usb.htm (http://www.gentles.ltd.uk/gentwire/usb.htm)
Title: Re: building usb-remote-cable
Post by: n1evh on 09 / August / 2011, 17:04:31
Yhanks for the info.

I Google'd Ricoh CA-1 and seen prices anywhere from $25 with free shipping to $40 + $12 shipping.  However... with only about a 2 foot cable... will probably have to look for a mini-USB extension cable.

Title: Re: building usb-remote-cable
Post by: cam on 08 / September / 2011, 13:09:59
I'm trying to get a remote trigger to work with the SD790IS. A DIGIC III with combined USB and Video output jack on the camera.

My first attempt did not work. I cut up a standard USB extension cable (male -> female full size USB) and wired a switch and 3v into the red and black on the female end. I then plugged it into the "out of box" usb connector cable that came with the camera.  It does not trigger the shutter. :( What should my next step be?

Thanks
Title: Re: building usb-remote-cable
Post by: zeno on 08 / September / 2011, 13:49:31
Many cameras require more than 3v to trigger the shutter. I presume you've established that plugging your camera into a computer (which will deliver 5v) works. If so, try using 3 1.5v cells rather than 2.
Title: Re: building usb-remote-cable
Post by: cam on 08 / September / 2011, 22:46:03
3 1.5V batteries did the trick. -Thanks-
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 03 / January / 2012, 21:35:36
Over Christmas break (on Christmas Eve morning, to be specific) I decided to make myself a USB remote for my camera(s), so I thought I'd share my fully functional (yet very sketchy-looking) design.  Unfortunately I did not take pics of the procedure, but I can explain it well enough and show the finished product.

What I did was I used an old cellphone battery as the power source.  One similar to this:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm8.staticflickr.com%2F7161%2F6631878147_2cf6a98bda_z.jpg&hash=c87a48805c118f31b9ca593b5e15cb46)

It being 3.7v, it was perfect for both my PowerShots; my old A530 and my new SX150 IS.  I then soldered in the push-button switch, but I also added in a 2-way switch. When turned on, this switch will charge the battery when the cable is plugged into a USB power source (it also works for taking continuous shots when in continuous mode).  This switch is show here:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm8.staticflickr.com%2F7023%2F6631874935_b3fdb1a960_z.jpg&hash=842e348df861e257b62d59e0d40b4116)

Then I simply put electrical tape over any exposed connections and duct taped the whole setup to an old cellphone toy.  This is the finished product:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm8.staticflickr.com%2F7013%2F6631876853_5c6492ab43_z.jpg&hash=71fabe599d9af72b179c74bd5000be7d)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm8.staticflickr.com%2F7032%2F6631873737_0c31e9f938_z.jpg&hash=827ad814f0801091a0d62bc7a6ec1a28)

Professional-looking? No (except maybe for suicide bombers.)  Functional?  Yes.


Anyway, just thought I'd share that.

    ~NightPhotoNoob
Title: Re: building usb-remote-cable
Post by: fvdk on 04 / January / 2012, 03:41:47

It being 3.7v, it was perfect for both my PowerShots; my old A530 and my new SX150 IS.  I then soldered in the push-button switch, but I also added in a 2-way switch. When turned on, this switch will charge the battery when the cable is plugged into a USB power source (it also works for taking continuous shots when in continuous mode).  This switch is show here:

Charging your battery with 5V from the USB port is a very bad idea and might cause the battery to explode and set your house on fire. The fumes from exploding Li-ion batteries are also very toxic.

From  battery University: http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries (http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries)

Lithium-ion operates safely within the designated operating voltages; however, the battery becomes unstable if inadvertently charged to a higher than specified voltage. Prolonged charging above 4.30V forms plating of metallic lithium on the anode, while the cathode material becomes an oxidizing agent, loses stability and produces carbon dioxide (CO2). The cell pressure rises, and if charging is allowed to continue the current interrupt device (CID) responsible for cell safety disconnects the current at 1,380kPa (200psi).

Should the pressure rise further, a safety membrane bursts open at 3,450kPa (500psi) and the cell might eventually vent with flame.

There are plenty of video's on Youtube that show what happens if a Li-ion cell explodes.

http://youtu.be/SMy2_qNO2Y0 (http://youtu.be/SMy2_qNO2Y0)

Frans
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 04 / January / 2012, 17:36:00
Charging your battery with 5V from the USB port is a very bad idea and might cause the battery to explode and set your house on fire.

I must say I find the above comment quite insulting, for three reasons:

1. The output voltage for most cell phone chargers is 5v, as I confirmed it is with the charger from my old phone (which is where the battery I used came from). 

2. I am not foolish enough to leave the battery charging unattended or for prolonged periods of time.

3. The above YouTube clip was of somebody that was INTENTIONALLY blowing up Li-ion batteries, and for all we know he could have been charging them with 10x the designated operating voltage.

If I should stop posting within a few weeks I have probably died of Li-ion toxicity or burnt my house down.  If that happens I will be sure to modify my USB remote accordingly.  Thank you for your concerns.

P.S. Despite feeling slightly insulted by your comment, I do appreciate the constructive criticism.
Title: Re: building usb-remote-cable
Post by: waterwingz on 04 / January / 2012, 21:03:20
1. The output voltage for most cell phone chargers is 5v, as I confirmed it is with the charger from my old phone (which is where the battery I used came from). 
But is that the voltage the "charger" supplies to the cell phone or the voltage that the cell phone actually uses to charge its internal battery ?   The phone may very well internally "step down" the voltage it uses to charge the battery or (even better) the phone may control the charging current, allowing the charge voltage to float just high enough to maintain a safe charging current.   
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 04 / January / 2012, 21:18:37
But is that the voltage the "charger" supplies to the cell phone or the voltage that the cell phone actually uses to charge its internal battery ?   The phone may very well internally "step down" the voltage it uses to charge the battery or (even better) the phone may control the charging current, allowing the charge voltage to float just high enough to maintain a safe charging current.

This is something I have considered... I will have to test this with my volt-meter and see if there is a difference in the output of the phone vs. the output of the charger.  If not then I am fine with my current design.  If so, I will use parts from my old phone to make a safe charger for my remote.
Title: Re: building usb-remote-cable
Post by: thepanoguy on 04 / January / 2012, 21:26:32
@NightPhotoNoob,

This is a public forum where people ask for advice. Conduct some basic scientific research before you post.

Ignorance is bliss until a fire occurs or worst the Li-ion battery explodes injuring people.

It is very obvious from your comments that you possess no electronics experience.

fvdk’s post is correct and you are wrong in your assessment’s of fvdk’s post.

Five volts DC is the charging voltage. What causes Li-ion batteries to heat up and explode is the charging current. Li-ion chargers use specialised switched mode charging chips. Depending on the consumer device the charger may be built into the charging device or the consumer device. In a lot of cases the actual Li-ion charger circuit is built into the consumer device for the simple reason that the charger chip can monitor the Li-ion battery charging temperature. Manufacturers use the charging temperature to intelligently fast rapid charge the Li-ion battery within the manufacturers’ specifications.

There is one certainty.

A USB port does not contain an intelligent Li-ion charger circuit.

Long term there is no guarantee that charging a Li-ion battery from a USB port without the use of a specialised Li-ion switched mode charging chip is a reliable and safe method of charging a Li-ion battery.
Title: Re: building usb-remote-cable
Post by: pelrun on 04 / January / 2012, 21:33:08
The issue with charging Lithium-Ion batteries is very real - they *will* explode if mistreated. You don't have to do much to set one off, and charging beyond 4.2V is pretty much a guaranteed method of doing it.

Proper chargers follow a very specific constant-current then constant-voltage charging regimen, and if you don't have the proper electronics to follow that, the *only* safe way to charge is with a constant voltage under 4.2V, which excludes direct USB connection.

That said, you can get tiny and very cheap (under a couple of dollars) usb phone battery chargers from ebay or dealextreme, which you can use to safely charge one of these batteries.
Title: Re: building usb-remote-cable
Post by: pelrun on 04 / January / 2012, 21:38:04
Manufacturers use the charging temperature to intelligently fast rapid charge the Li-ion battery within the manufacturers’ specifications.

FYI, this is only true for the older NiCad/NiMH battery chemistries. Li-Ion/Li-Poly charging only requires voltage (important) and current (less important) monitoring to determine when to switch from fast constant-current charging to the slower (and automatically self-limiting) constant 4.2V voltage charging. Temperature monitoring is purely a safety measure.
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 04 / January / 2012, 22:28:01
@NightPhotoNoob,

This is a public forum where people ask for advice. Conduct some basic scientific research before you post.

Ignorance is bliss until a fire occurs or worst the Li-ion battery explodes injuring people.

It is very obvious from your comments that you possess no electronics experience.

fvdk’s post is correct and you are wrong in your assessment’s of fvdk’s post.

Five volts DC is the charging voltage. What causes Li-ion batteries to heat up and explode is the charging current. Li-ion chargers use specialised switched mode charging chips. Depending on the consumer device the charger may be built into the charging device or the consumer device. In a lot of cases the actual Li-ion charger circuit is built into the consumer device for the simple reason that the charger chip can monitor the Li-ion battery charging temperature. Manufacturers use the charging temperature to intelligently fast rapid charge the Li-ion battery within the manufacturers’ specifications.

There is one certainty.

A USB port does not contain an intelligent Li-ion charger circuit.

Long term there is no guarantee that charging a Li-ion battery from a USB port without the use of a specialised Li-ion switched mode charging chip is a reliable and safe method of charging a Li-ion battery.

@thepanoguy,

Perhaps you should conduct some basic research on how to treat people with a little bit of respect.  It is made very obvious by your post that you do not possess any of the qualities that are, in return, deserving of respect.  Not only are all of the statements I made in response to fvdk's post accurate, I respected him and his response enough to thank him for concerning himself with my well being.  That's called being polite... you should try it someday.  So next time, before you blatantly call me an ignorant moron, perhaps you should actually attempt to comprehend the true meaning of my statements. Then if you still feel the need to prove how wrong I am, then at least have the decency to be polite and show me some respect in your posts.  If you believe that I have zero electronics experience, then the proper thing to do would be to POLITELY explain to me what I am doing wrong so I can correct myself and prevent personal injury or destruction of property.

That being said, your explanation of the Li-ion charging process is greatly appreciated.  That information will make me rethink my design and I will find a way to correct it ASAP, before I will need to recharge that battery again. 

P.S.  I don't enjoy having to troll people, but when I do, I do it to make a point.  I was wrong, but that doesn't give you the right to rudely comment about my lack of knowledge in that particular subject.  This is a public forum where people ask for advice, and I thank you for yours.  Perhaps you should consider taking mine. 

Thanks for the feedback.
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 04 / January / 2012, 22:35:30
The issue with charging Lithium-Ion batteries is very real - they *will* explode if mistreated. You don't have to do much to set one off, and charging beyond 4.2V is pretty much a guaranteed method of doing it.

Proper chargers follow a very specific constant-current then constant-voltage charging regimen, and if you don't have the proper electronics to follow that, the *only* safe way to charge is with a constant voltage under 4.2V, which excludes direct USB connection.

That said, you can get tiny and very cheap (under a couple of dollars) usb phone battery chargers from ebay or dealextreme, which you can use to safely charge one of these batteries.

I will look into that.  Perhaps I will simply remount my whole remote setup onto the body of my old phone (being that its LCD has been removed) and simply use it to charge the battery.

Thanks for the advice!
Title: Re: building usb-remote-cable
Post by: fvdk on 05 / January / 2012, 04:21:44
Charging your battery with 5V from the USB port is a very bad idea and might cause the battery to explode and set your house on fire.

I must say I find the above comment quite insulting, for three reasons:

1. The output voltage for most cell phone chargers is 5v, as I confirmed it is with the charger from my old phone (which is where the battery I used came from). 

2. I am not foolish enough to leave the battery charging unattended or for prolonged periods of time.

3. The above YouTube clip was of somebody that was INTENTIONALLY blowing up Li-ion batteries, and for all we know he could have been charging them with 10x the designated operating voltage.

If I should stop posting within a few weeks I have probably died of Li-ion toxicity or burnt my house down.  If that happens I will be sure to modify my USB remote accordingly.  Thank you for your concerns.

P.S. Despite feeling slightly insulted by your comment, I do appreciate the constructive criticism.

I have no idea why you find my warning insulting as I am only warning you about a very serious safety issue.

The cell phone charger you mention, is just a 5V power supply, the actual charging of the battery is done inside the phone which contains a charger circuit, most likely something like this:

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg443.imageshack.us%2Fimg443%2F3374%2Fusbpoweredlithiumionbat.gif&hash=19360b9ec8dd19a1b40032a892aa3a89)

As you can see, this is a very small and very simple circuit but it is necessary and you simply can not safely charge a li-ion battery without such a circuit. Li-ion chargers follow a CC/CV (constant current/constant voltage) algorithm. In the CC stage, a constant current is applied until the battery voltage reaches 4.2V at which time it than changes to the CV stage where the voltage is held at 4.2V and the current slowly drops and than terminates when the current is < 3% of the battery capacity.

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg62.imageshack.us%2Fimg62%2F5269%2Fion1s.jpg&hash=1cdc89e2228fee84ae90604f3c35553b)

Manufacturers of Li‑ion cells are very strict on the correct setting because Li-ion cannot accept overcharge and the charging voltage should never exceed 4.2V (+/- 0.05%)

When li-ion cells are used inside consumer electronics, unprotected cells will be used and the device will have a circuit that protects them from over charging or discharging. If they are used in flashlights (like 18650 cells), the cells will have an added protection circuit.

http://www.lygte-info.dk/info/battery%20protection%20UK.html (http://www.lygte-info.dk/info/battery%20protection%20UK.html)

You might think that it is trivial but In March 2007, Lenovo recalled approximately 205,000 batteries at risk of explosion. In August 2007, Nokia recalled over 46 million batteries at risk of overheating and exploding. One such incident occurred in the Philippines involving a Nokia N91, which uses the BL-5C battery.

In December 2006, Dell recalled approximately 22,000 laptop batteries from the US market. Approximately 10 million Sony batteries used in Dell, Sony, Apple, Lenovo/IBM, Panasonic, Toshiba, Hitachi, Fujitsu and Sharp laptops were recalled in 2006. The batteries were found to be susceptible to internal contamination by metal particles. Under some circumstances, these particles could pierce the separator, causing a short-circuit.

In October 2004, Kyocera Wireless recalled approximately 1 million mobile phone batteries to identify counterfeits.

Frans
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 05 / January / 2012, 06:07:47
Exactly why I admitted I was wrong a few posts ago.  Considering that I "possess no electronics experience" I was unfamiliar with the differences between the different types of rechargeable batteries.  Again, I will have to modify my design by using the base of my old phone in order to charge the battery. 

Or I may build my own circuit by using that circuit diagram you posted, I will have to see if I have the proper resistors and capacitors.  I doubt I will have the IC; I may have to get it from RadioShack if they have it.

I apologize for offending you; I really meant it in a sarcastic manner.  I didn't mean to spark such a controversy.

This afternoon I will make the necessary modifications to my remote, I will photograph the procedure and post it so you guys can verify that it will no longer blow my house up.  But remember, I "possess no electronics experience" according to thepanoguy, so it is likely my remote will still cause some sort of catastrophe, be it an explosion or health concern.

Thanks for the advice.
Title: Re: building usb-remote-cable
Post by: fvdk on 05 / January / 2012, 06:28:08
If your battery was fully charged to begin with, it is very unlikely that it needs recharging for at least two years as maybe at that time it might have self-discharged to a voltage too low to trigger the camera but a fully charged battery has enough capacity to trigger the shutter 100.000's of times.

It is very well possible to build your own charging circuit but it would be far easier and cheaper (and certainly not worth the risk) to just charge it in the phone or to modify a $1,- LED keychain light:

http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/ (http://www.flickr.com/photos/fvdk3d/sets/72157624151791739/)
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 05 / January / 2012, 06:42:51
I am unsure of how charged the battery was when I used it for my remote, so I still want to make a charger for it.  I think I can do this by using my current design, but instead make a connection between the battery terminals and the phone terminals, and add another 2-way switch that will connect/disconnect the battery from the phone.  Might this work?

Sent from my Droid via Tapatalk.
Title: Re: building usb-remote-cable
Post by: fvdk on 05 / January / 2012, 07:03:15
If you use the charging contacts from your phone, it should work but be careful of how you connect them to the contacts on the battery as I would certainly recommend not to do any soldering to a Li-ion battery.

Li-ion batteries are very safe if used properly but please believe me that they are very dangerous if they do explode. The battery in the video that I posted was intentionally abused just to show what it looks like if they do explode and if they do. Please reconsider if it is worth the risk, potential health issues would be:

Eye Issues

    The effects of an exploding battery can be quite damaging to eye tissues. Fire can aggravate a battery to explode, and the corrosive material inside the battery cells can get sprayed right into the eyes, causing severe pain. The eyes need to be washed for a good 15 minutes straight, and medical attention should be sought immediately thereafter. Blindness is most definitely a potential threat from this kind of lithium ion battery explosion.

Skin Issues

    Skin issues can also be a result of exploding lithium ion batteries. Additionally, handling of batteries that are leaking the material from the cells can cause both allergic reactions and severe burns to the skin. When this occurs, you need to remove any clothing that has become contaminated, flush the affected areas with cool water for 15 minutes, then wash with soap and water. Topical burn creams can be used afterward. Seeking medical help may be necessary.

Throat and Gastrointestinal Issues

    With regard to throat and stomach issues, ingestion of the solution in the battery's cells along with ingesting cobalt itself, which is a known carcinogen, can be harmful to the delicate tissues of the throat and stomach as well as become a cause for cancer in the affected areas. If this occurs, giving water to help dilute what has been ingested, while getting immediate medical attention, is mandatory. If the person who has ingested it loses consciousness, do not give anything by mouth.

Lungs and Breathing Issues

    Although inhalation does not normally occur, unless there is a fire, vapors and fumes can irritate the tissues of the nose, throat and lungs. If this occurs, the person who has inhaled the vapors or fumes from an exploded battery must be brought to fresh air, immediately seeking medical attention thereafter. The victim might require oxygen. Normally, medical teams will assess the need for this once having arrived on the scene.

Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 05 / January / 2012, 07:16:19
Oops... to late, I had already soldered wires to that battery.  I had assumed it wasn't the safest thing to do, but I really don't follow safety protocol at all.  Perhaps I should start caring a little more about that.

Will that battery still be safe to use after having soldered wires to it?  Or should I try using another one?
Title: Re: building usb-remote-cable
Post by: fvdk on 05 / January / 2012, 07:33:15
Personally, I would trow it away as it is impossible to say if any potential harm has been done to the internal insulation of the battery. If you have another one lying around than you now are well enough informed about how to use it safely but if not, I really see no reason why you should not build a better remote with the use of an LED light or a cheap 3 or 4 AA or AAA battery box.
Title: Re: building usb-remote-cable
Post by: waterwingz on 05 / January / 2012, 08:06:33
Personally, I would trow it away as....
In most parts of the world, you are not even supposed to do even that.  Lithium-ion batteries are supposed to be returned to an approved recycle / disposal center.
Title: Re: building usb-remote-cable
Post by: fvdk on 05 / January / 2012, 08:16:58
Personally, I would trow it away as....
In most parts of the world, you are not even supposed to do even that.  Lithium-ion batteries are supposed to be returned to an approved recycle / disposal center.

You are right and I didn't mean it literary, I should have said something like "properly dispose it".

For anyone interested, here are two actual incidents with pictures of Li-ion cells exploding inside a flashlight which than more or less becomes a pipe bomb.

http://www.candlepowerforums.com/vb/showthread.php?262234-TK-Monster-Explosion (http://www.candlepowerforums.com/vb/showthread.php?262234-TK-Monster-Explosion)

http://www.candlepowerforums.com/vb/showthread.php?280909-Ultrafire-18650-3000mA-exploded (http://www.candlepowerforums.com/vb/showthread.php?280909-Ultrafire-18650-3000mA-exploded)

Such incidents are rare but it is exactly the reason why I don't take any risk with Li-ion cells and why I use only the best available protected cells and chargers.
Title: Re: Re: building usb-remote-cable
Post by: NightPhotoNoob on 05 / January / 2012, 08:28:38
Personally, I would trow it away as it is impossible to say if any potential harm has been done to the internal insulation of the battery. If you have another one lying around than you now are well enough informed about how to use it safely but if not, I really see no reason why you should not build a better remote with the use of an LED light or a cheap 3 or 4 AA or AAA battery box.

Personally, I would trow it away as....
In most parts of the world, you are not even supposed to do even that.  Lithium-ion batteries are supposed to be returned to an approved recycle / disposal center.

You are right and I didn't mean it literary, I should have said something like "properly dispose it".

For anyone interested, here are two actual incidents with pictures of Li-ion cells exploding inside a flashlight which than more or less becomes a pipe bomb.

http://www.candlepowerforums.com/vb/showthread.php?262234-TK-Monster-Explosion (http://www.candlepowerforums.com/vb/showthread.php?262234-TK-Monster-Explosion)

http://www.candlepowerforums.com/vb/showthread.php?280909-Ultrafire-18650-3000mA-exploded (http://www.candlepowerforums.com/vb/showthread.php?280909-Ultrafire-18650-3000mA-exploded)

Such incidents are rare but it is exactly the reason why I don't take any risk with Li-ion cells and why I use only the best available protected cells and chargers.

Considering all of this information, I think I might just use a different power source for my remote.  I still may try charging that Li-ion battery in a safe environment and see if it does fail.  If it doesn't show signs of failure I may still try using it, but I will be sure to be very cautious when charging it. 
Title: Re: building usb-remote-cable
Post by: waterwingz on 05 / January / 2012, 08:28:59
Such incidents are rare but it is exactly the reason why I don't take any risk with Li-ion cells and why I use only the best available protected cells and chargers.
The airlines have stated that LI-ion batteries are not to be placed in checked luggage.  I'm not sure how a fire in your carry-on bag is better than one in a checked bag but maybe there is a chance to extinguish the one in a carry-on bag.
Title: Re: building usb-remote-cable
Post by: Shadow_weaver462 on 08 / January / 2012, 19:49:03
Hey all, I'm new to the forum. I've been lurking a bit, and decided to finally join and share my USB remote. I (crudely) made this out of a cheap remote controlled car, plus a few project boxes. It turned out a bit larger than I had hoped, but I'm too lazy to reconfigure the pcb. The output voltage of the car was 6vdc, directly to the motor. I reduced it to 3vdc by using 4 triple A batteries, 2x2 parallel then in series for (hopefully) longer battery life for the control unit. The remote is powered  by a 9v, and the momentary switch breaks the constant voltage. I used a single channel, the forward drive, and soldered it to always on, so when the momentary switch is pressed it sends a signal immediately to the control unit, which sends 3vdc to my Canon S3 IS. The light on the control box changes from green to orange when it receives a signal from the remote, useful for testing the range. It gets decent range, about 50' line of sight and 25' or so obstructed view. Thanks for reading. Great forums, a lot of useful info here. 
Title: Re: building usb-remote-cable
Post by: Shadow_weaver462 on 08 / January / 2012, 19:51:24
Two more shots of the inner workings. I was too lazy to remove and re-solder the remote's original power-switch to always on.
Title: Re: building usb-remote-cable
Post by: Pier on 09 / January / 2012, 06:26:01
NightPhotoNoob

Cellphone batteries have 3 terminals:
(+) (-) and 3th terminal is used from Cellphone to control when to interrupt charging.
Interrupting occurs when battery reach 4.2 or 4.3 V.
The simple chargers are designed to charge with current between 250 and 450 Ma.Output voltage 5 to 6 volts.But the charger is designed also  to limit the charging current in above limit.
Inside in most batteries is placed simple electonic circuit wich interact with the phone by 3th terminal to stop charging when upper limit of voltage is reached (max 4.3v)... in most cases 4.2 V.
Li-Ion batteries charged to 4.2 v are not full charged - only 70%.But this is very safe and keep from accidents with battery.
When 4.3v is reached charging must continue for full charge by special manner-NOT in CELLPHONES, but in special chargers.
This 4.3v is max voltage for Li-Ion and safe they longlife.Above this is also dangerous...
====================================================
You  must charge with current not above 450 Ma -500 Ma (can be less) watchig with voltmeter in the hands when voltage will gain 4.2-4.3 v and immediate interrupt the charging.Overcharge is dangerous, and if not happened explosion e.t.c. this shorten battery life.
If the current is many above 450 Ma simply use R (Resistor) several Ohms (depend of chargers output voltage) in series with any of wires to limit the current.Less current - long time to charge to 4.2V...and more safe !
Have success !
Title: Re: building usb-remote-cable
Post by: NightPhotoNoob on 09 / January / 2012, 07:54:13
@Pier,
Thanks for the info, I will be sure to use all three of the terminals in my charging unit. 


@Shadow_weaver462,
Very, very nice remote.  Amazing.  I couldn't even dream of making such a professional device.  Well done, and keep up the good work!
Title: Re: building usb-remote-cable
Post by: fvdk on 11 / January / 2012, 06:32:28
NightPhotoNoob

Cellphone batteries have 3 terminals:
(+) (-) and 3th terminal is used from Cellphone to control when to interrupt charging.
Interrupting occurs when battery reach 4.2 or 4.3 V.
The simple chargers are designed to charge with current between 250 and 450 Ma.Output voltage 5 to 6 volts.But the charger is designed also  to limit the charging current in above limit.
Inside in most batteries is placed simple electonic circuit wich interact with the phone by 3th terminal to stop charging when upper limit of voltage is reached (max 4.3v)... in most cases 4.2 V.
Li-Ion batteries charged to 4.2 v are not full charged - only 70%.But this is very safe and keep from accidents with battery.
When 4.3v is reached charging must continue for full charge by special manner-NOT in CELLPHONES, but in special chargers.
This 4.3v is max voltage for Li-Ion and safe they longlife.Above this is also dangerous...
====================================================
You  must charge with current not above 450 Ma -500 Ma (can be less) watchig with voltmeter in the hands when voltage will gain 4.2-4.3 v and immediate interrupt the charging.Overcharge is dangerous, and if not happened explosion e.t.c. this shorten battery life.
If the current is many above 450 Ma simply use R (Resistor) several Ohms (depend of chargers output voltage) in series with any of wires to limit the current.Less current - long time to charge to 4.2V...and more safe !
Have success !

Apparently, you have no idea what you are talking about and your information is false.

The 3rd contact on cellphone batteries is for temperature monitoring and is not used to determine if the battery is fully charged.

Li-ion cells are fully charged at 4.2V but most chargers will slightly undercharge to 4.1 - 4.19V
A proper CC/CV charger will stop charging when the battery reaches the voltage threshold and the current drops to three percent of the rated current. A battery is also considered fully charged if the current levels off and cannot go down further.

Please read the very good information on Battery University

http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries (http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries)

or the Panasonic documentation:

http://industrial.panasonic.com/www-data/pdf/ACI4000/ACI4000PE5.pdf (http://industrial.panasonic.com/www-data/pdf/ACI4000/ACI4000PE5.pdf)

Title: Re: building usb-remote-cable
Post by: Pier on 11 / January / 2012, 07:37:12
@fvdk,
Quote
Li-ion cells are fully charged at 4.2V but most chargers will slightly undercharge to 4.1 - 4.19V
No, I'm not agree that not only from my experience long years.Anothers sources (many sources) said 4.3 v

I"ve croped this from Power stream site long time ago (have not link...sory):
Quote
  POWER STREAM PAGE   
Lithium-ion Battery Charging Basics 
 
Lithium Ion Charging

Basics

These remarks apply equally to lithium ion and lithium polymer batteries. The chemistry is basically the same for the two types of batteries, so charging methods for lithium polymer batteries can be used for lithium-ion batteries.
Charging lithuim iron phosphate 3.2 volt cells is identical, but the constant voltage phase is limited to 3.65 volts.
The lithium ion battery is easy to charge. Charging safely is a more difficult. The basic algorithm is to charge at constant current (0.2 C to 0.7 C depending on manufacturer) until the battery reaches 4.2 Vpc (volts per cell), and hold the voltage at 4.2 volts until the charge current has dropped to 10% of the initial charge rate. The termination condition is the drop in charge current to 10%. The top charging voltage and the termination current varies slightly with the manufacturer.
However, a charge timer should be included for safety.

The charge cannot be terminated on a voltage. The capacity reached at 4.2 Volts per cell is only 40 to 70% of full capacity unless charged very slowly. For this reason you need to continue to charge until the current drops, and to terminate on the low current.

It is important to note that trickle charging is not acceptable for lithium batteries. The Li-ion chemistry cannot accept an overcharge without causing damage to the cell, possibly plating out lithium metal and becoming hazardous.

The question occasionally comes up "What is the effect of charging with less than 4.2 volts?" Unlike other battery chemistries the battery will charge, but it will never reach full charge, it will only be partly charged. The reason for this is that stuffing the ions into the anode or cathode crystals requires more voltage than the simple electrochemical cell voltage. The higher the voltage the more ions can be inserted. The page linked page here some quantitative data on the relative capacity of lithium-ion batteries that are charged below 4.2 volts.

Charging Lithium ion batteries at slow rates

When the charge rate during the constant current phase is low, the charger process will spend less time during the constant voltage tail. If you charge below about 0.18 C, the cell is virtually full when the 4.2 volts is reached. This can be used as an alternative charge algorithm. Just charge below 0.18C constant current and terminate the charge when the voltage reaches 4.2 volts per cell.

Safety

Every lithium ion battery pack should have (must have?) a safety board which monitors the charge and discharge of the pack, and prevents dangerous things from happening. The specifications of these safety boards are dictated by the cell manufacture, and may include the following:

Reverse polarity protection
Charge temperature--must not be charged when temperature is lower than 0° C or above 45° C.
Charge current must not be too high, typically below 0.7 C.
Discharge current protection to prevent damage due to short circuits.
Charge voltage--a permanent fuse opens if too much voltage is applied to the battery terminals
Overcharge protection--stops charge when voltage per cell rises above 4.30 volts.
Overdischarge protection--stops discharge when battery voltage falls below 2.3 volts per cell (varies with manufacturer).
A fuse opens if the battery is ever exposed to temperatures above 100° C.


 Look at this too.

http://www.fairchildsemi.com/an/AN/AN-9721.pdf (http://www.fairchildsemi.com/an/AN/AN-9721.pdf)
I know that when charge process end there is smal drop in charge curent and "smart" chargers edns charging.But the word was for simple , safe , in home charging.Who say the Truth ??
8 Years I charge in my Home 7 Li-Ion cells for several equipments to 4.3v with simple charger and they working exelent till now.BUT - I watch careffuly charge process and end it on 4.29 - 4.3 v
For 3th terminal Im not 100% sure, will check for sure to know truth.
Thanks.

Edit1 - In the my link above is clearly mentioned that inside every battery have protected circuit agaist overcharging and discharging ! I"m right... right ?... (smail...)
Title: Re: building usb-remote-cable
Post by: fvdk on 11 / January / 2012, 08:02:38
@fvdk,
Quote
Li-ion cells are fully charged at 4.2V but most chargers will slightly undercharge to 4.1 - 4.19V
No, I'm not agree that not only from my experience long years.Anothers sources (many sources) said 4.3 v

I"ve croped this from Power stream site long time ago (have not link...sory):


If you read your own quoted message from the Power stream site, than you will see that it says exactly what I have told, you are misreading what is says.

When charging, the charger will first use a CC (constant current) stage until the charge voltage reaches 4.2V (at that time the cell is indeed charged to about 70% of it's capacity) however, it will than keep the voltage at 4.2V (+/- 0.05V) and switch to the CV (constant voltage) stage where the current will slowly drop until it reaches 3% of the cell capacity or until the current levels off and cannot go down further. This is the stage in which the cell will reach it's full charge.

With a proper designed charger, if you than take the cell of the charger and measure the voltage, you will see that it is at 4.2V or like I said, slightly lower if it is an older cell or a less well designed or conservative charger.

According to the specifications of all Li-ion manufacturers, the charge voltage should never exceed 4.2V (+/- 0.05V).

In battery packs (multiple cells) or cylindrical cells, a protection circuit is build-in or added which will kick-in if the voltage goes above 4.3V but mind you, this is an added protection to prevent explosion just in case the charges does go above 4.3V which a proper charger would never do.

If your charger constantly charges your cells to 4.3V than it does not follow a proper CC/CV algorithm and it probably does not cut-off like it is supposed to do. At best, it shortens the lifespan of your cells and in the worst case, it could overcharge your cells and cause them to explode.
Title: Re: building usb-remote-cable
Post by: fvdk on 11 / January / 2012, 08:21:46
Edit1 - In the my link above is clearly mentioned that inside every battery have protected circuit agaist overcharging and discharging ! I"m right... right ?... (smail...)

You should understand the difference between a battery (multiple cells combined in a package) and single cells.

For battery packs, a low discharge / over charge protection circuit is mandatory.

Single cells only have a safety membrane (temperature fuse). If the control switches experience abnormal heating, this fuse cuts off the current (non-restoring). This is why for safe use for example in flashlights, a separate protection circuit is added to the cell.
Title: Re: building usb-remote-cable
Post by: Pier on 11 / January / 2012, 11:47:36
@fvdk
Quote
You should understand the difference between a battery (multiple cells combined in a package) and single cells

Yes, I do.
And I do not know 4.3 v Li-Ion Battery  ;).All in the text about figures 4.3, is not for battery but for cells.

Thanks and good Luck.
Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 10:17:19
Can someone help me out please?. I've built one of these. But the current is flwing constantly, and stops when i press the button, (actually the opposite of what it's supposed to do) I checked it by placing an LED at the positive and negative points on the USB socket

The Switch im using

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.westfloridacomponents.com%2Fmm5%2Fgraphics%2F00000001%2F3a-spst-switch.jpg&hash=82b870b7731d58e4126273ee1cf5b87b)
Title: Re: building usb-remote-cable
Post by: Pauls9 on 01 / February / 2012, 10:24:13
Sounds like you've got a normally-closed switch. You need a normally-open one.
Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 11:06:28
Sounds like you've got a normally-closed switch. You need a normally-open one.

How do i do that?
Title: Re: building usb-remote-cable
Post by: outslider on 01 / February / 2012, 11:23:34
There are two kinds of switch. One of them is all the time conductive unless you press it. And the other is always not conductive unless you press it (then it becomes conductive). You got wrong one (the first type) and need to get (buy?) the other type.

It would be possible to build cirquit that inverts this behavior, but this is not the best idea I guess.
Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 11:24:58
Ok thanks for that, will have to wait till tomorrow when the market opens :(

Thanks for the speedy reply
Title: Re: building usb-remote-cable
Post by: kachar on 01 / February / 2012, 12:15:30
ryandigweed,

You should get a 'momentary' switch ... normally 'off', current flows only as long as you press, so a quick press/release triggers the camera. (Just like operating the shutter button.)
Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 12:32:03
ryandigweed,

You should get a 'momentary' switch ... normally 'off', current flows only as long as you press, so a quick press/release triggers the camera. (Just like operating the shutter button.)

Thanks for pointing that out bro. I thought al momentary switches were same. I went to the shop and asked for a momentary switch. I hadn't a clue there were normall "off " or normally "on" switches. :(

Will go tomorrow to the shop and get another. Just went to the market, and everything was shut :(
Title: Re: building usb-remote-cable
Post by: kachar on 01 / February / 2012, 13:12:38
Have a look here: http://www.kpsec.freeuk.com/components/switch.htm (http://www.kpsec.freeuk.com/components/switch.htm) for a very clear description of switch types. ("(ON)-OFF ... push-to-make". That's the one you need.)




Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 13:42:44
Have a look here: http://www.kpsec.freeuk.com/components/switch.htm (http://www.kpsec.freeuk.com/components/switch.htm) for a very clear description of switch types. ("(ON)-OFF ... push-to-make". That's the one you need.)

Thanks for posting that. Very Informative . Not really a electrical person. But the switch i got seems similar to
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.kpsec.freeuk.com%2Fphotos%2Frapid%2Fswpush.jpg&hash=db7a7cc7653888b29f61cfae91c7262c) which is listed as a push-to-make switch. Nevertheless, i will go tomorrow and pick up a bunch of more switches. :)
Title: Re: building usb-remote-cable
Post by: kachar on 01 / February / 2012, 17:05:38
I believe that the illustrations are incorrectly placed; "(ON)-OFF" is usually black, red indicating a hot (live) situation. (The diagrams are correct.)

Title: Re: building usb-remote-cable
Post by: ryandigweed on 01 / February / 2012, 17:45:07
Yeah, the same symbol as used in the schematic


-------

Guys i got this working.!, it's great. Just can't get used to the focus and exposure lock. Any more mods? :D


:D

It's exciting
Title: Re: building usb-remote-cable
Post by: ahull on 28 / March / 2012, 09:07:57
Just thought it worth fleshing out the details on the Lithium battery third terminal.

If you have the charger that came with your Canon camera, you will note that it also has three terminals, and the middle terminal is probably marked with a T, this either stands for Temperature or Thermistor depending on who you ask, but either way it is the temperature sensor. In a typical Canon branded battery, there is a thermistor (a temperature controlled resistor) connected between the T pin and ground, (I just measured the one in my NB-4L and it is about 10K Ohms at room temp.)

The Canon charger therefore uses the temp sensor to shut down the charger if the thermistor gets too hot.

In my cheap no name charger, this pin is not connected, I took it apart to be sure :~) so I run a greater risk of uncontrolled thermal runaway if I use the cheap no name charger. I was fairly sure would be the case, and I alway leave it sitting in the fire hearth when charging anyway, It is a useful little charger as it will charge a variety of different shaped cells. This flexibility is provided at the expense of two other properties.

First it charges much more slowly.

Secondly it is less safe. If the battery being charged fails and then starts to overheat, it will continue to charge, however since the charge current is very low and the batteries in question are relatively inexpensive, and any resulting fire would be in my fire hearth I am not concerned.

It is worth bearing this in mind however if you are charging Lithium batteries with a cheap charger, or ones where you are uncertain about their history or condition.

Most lithium batteries do contain some internal protective circuitry, but again this depends on the supplier and no name brands may save money by leaving this out.  High capacity cells and those used in certain situations (for example laptop batteries) are safer than others.

Lots of info on battery charging can be found in the usual places, for example http://en.wikipedia.org/wiki/Battery_charger (http://en.wikipedia.org/wiki/Battery_charger)

Do bear in mind however that although LiPo cells and batteries are not as "safe" as alkaline, even alkaline ones can catch fire and explode if shorted abused or used incorrectly (for exampe by attempting to charge them in a charger not designed for the purpose, and yes there are chargers out there that will recharge "disposable" alkaline batteries). Use common sense when dealing with any cell or battery  and you should be fine.
Title: Cheap and Easy USB Remote Cable
Post by: robert.kuhl on 07 / April / 2012, 20:07:31
It took me about half an hour.  I don't know how to insert images so here's the link to the Picasa Album.
https://plus.google.com/photos/113826648328144014766/albums/5728810851357336369?authkey=CIaY0v36z7DPZA (https://plus.google.com/photos/113826648328144014766/albums/5728810851357336369?authkey=CIaY0v36z7DPZA)

 I used a plunge-type momentary swith- I wanted a lower profile but I couldn't find a small enough momentary rocker (I promised myself I would not start ordering parts online to keep it simple- both parts are normally stocked at Radio Shack). I didn't have the exact drill bit size for the switch, so I used one  alittle smaller then enlarged the hole by scraping the plastic (its soft enough) with a small penknife.

I used a Radio Shack 4xAAA enclosed battery case.   Only three batteries are needed so the spare slot is where I placed the switch.  The cable entry hole is the same place as the original power leads, I pulled those back through and enlarged it with a drill bit.  I kept it tight as there wasn't enough room to tie a knot or place a cable tie on the inside to secure the cable.  I'll probably drop some epoxy in there sooner or later to keep it tight. 

For a cable I cut up a usb extension cable- that way I can use the regular three foot USB to mini usb I carry in my camera case  (for transferring files) as th eremote cable.

The NICE thing about this is that there is a master on/off switch- this will stop battery discharge due to inadvertant button pressing while in storage or travel AND, since the switch comes in a fourpack you have your choice of red or black button cover lol. This is about the third time I've soldered in my life, so hopefully no cold-solder problems.
Title: Re: building usb-remote-cable
Post by: waterwingz on 07 / April / 2012, 20:36:33
It took me about half an hour.  I don't know how to insert images so here's the link to the Picasa Album.
Looks like a really nice job - thanks for posting.

(https://lh3.googleusercontent.com/-8yyouNUXW1k/T4DTHYeFudI/AAAAAAAAAew/oiYnr4kZWI0/w700-h525-k/IMG_0527.JPG)

But did it really only take you a half hour ?

(https://lh4.googleusercontent.com/-py_x9SvALmo/T4DTK6qmPVI/AAAAAAAAAe8/TVfrCxaSSiw/s640/IMG_0543.JPG)
Title: Re: building usb-remote-cable
Post by: robert.kuhl on 07 / April / 2012, 23:34:44
Thanks for posting the pics.  yes, it went surprisingly fast. I forgot to make sure the hot side was pin 1, but I got lucky so I didn't have to resolder the leads.  CHDK is a lot of of fun- a lot to learn- a bit like when I got my first 286 DOS computer.  Have to find the board for scripts- the Motion Detection script keeps loading automatically so I had to delete it off the card, and I was getting some 'Luminence error", I think because of a conflict with exposure bracketing I had set. Anyway- great site/community, Hopefully I can contribute more although I'm not a programmer.
Title: Re: building usb-remote-cable
Post by: waterwingz on 08 / April / 2012, 10:41:10
Have to find the board for scripts- the Motion Detection script keeps loading automatically so I had to delete it off the card...
Sounds like  you have enabled script activation at startup.  That has nothing to do with the motion detection script itself - you need to disable that function in the scripting menu.

Also,  you might be interested to know that the USB remote code is completely rewritten in the development version of CHDK.  Documentation is here :  USB Remote V2 (http://chdk.wikia.com/wiki/USB_Remote_V2)

Downloads are available here :  CHDK Dev Autobuild (http://mighty-hoernsche.de/trunk/) .  Even though its the dev version, its not really any less stable than the official stable release. 
Title: Re: building usb-remote-cable
Post by: robert.kuhl on 08 / April / 2012, 12:36:12
Thanks- I've got an A2200, the 1.0 stable version build is still beta,so no Dev Autobuild yet, but thank you I'll keep looking it will be out sooner or later.
Title: Cheap and Easy remote cable- original poster/new account
Post by: Major Bobbage on 09 / April / 2012, 11:19:13
Hi All- FYI- I was having so many problems with my username and login (which I attribute to stupidly having started my account with the facebook option), that I have abandoned that account, started a new one using the regular process (with which I could choose a more anonymous username). So, if anyone has questions about that remote you can PM/email me through this new account. But it's pretty self explanatory and easy.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 18 / April / 2012, 03:09:46
Hello again people. I've been away from CHDK for a while, but thought I would return because I enjoy controlling my electronics rather than letting them control me. (Same reason I rooted my Android phone)
I still have the working cable I built, but I forgot what has to be done on the camera to set up remote usage. I have an a470. If I remember (and it could have changed) I have to put remote.(something) on the card in a specific place and do something in the menu. Is that still right?
Title: Re: building usb-remote-cable
Post by: waterwingz on 18 / April / 2012, 08:11:46
Hello again people. I've been away from CHDK for a while, but thought I would return because I enjoy controlling my electronics rather than letting them control me. (Same reason I rooted my Android phone)
I still have the working cable I built, but I forgot what has to be done on the camera to set up remote usage. I have an a470. If I remember (and it could have changed) I have to put remote.(something) on the card in a specific place and do something in the menu. Is that still right?
http://chdk.wikia.com/wiki/USB_Remote_Cable (http://chdk.wikia.com/wiki/USB_Remote_Cable)
http://chdk.wikia.com/wiki/USB_Remote_V2 (http://chdk.wikia.com/wiki/USB_Remote_V2)
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 18 / April / 2012, 12:44:54
So if I get this right, it's all ready to go, just plug in and go to the menu and enable the remote?

EDIT : Yes, that was it. Now to search for how to make the thing boot into CHDK automatically.
Title: Re: building usb-remote-cable
Post by: waterwingz on 18 / April / 2012, 17:20:35
Now to search for how to make the thing boot into CHDK automatically.

http://chdk.wikia.com/wiki/Prepare_your_SD_card#Bootable_SD_Card_Method (http://chdk.wikia.com/wiki/Prepare_your_SD_card#Bootable_SD_Card_Method)
Title: Re: building usb-remote-cable
Post by: Summer on 19 / April / 2012, 17:48:10
Hey There,

I made a simple IR remote for my SX40HS.  I used the components from a toy called "GOBOTS"  http://www.robotoys.com/st_prod.html?p_prodid=2275&p_catid=38 (http://www.robotoys.com/st_prod.html?p_prodid=2275&p_catid=38)

All i did was remove the dc motor, and solder the (+) and (-) to the usb cord for the camera, using the pin outs from the CHDK quick start guide page 55.  Upon initial testing the camera wouldn't fire when i tried the remote, i assume because the GOBOTS only supplies a quick 4.1V pulse to the camera.  To remedy this i used the instructions from the quick start guide pg.56 under "Note:"  which talks about enabling the sync delay.  With this feature enabled i find i can press the button once and release, to focus, and then again and release, to take the picture.   If you hold down the button the camera will continue to take pictures.  I tried to attach some photos but i don't know if they will work, if not i'll try to find a way later :)

As a bonus feature the blue eyes of this toy pulse when you press the button so if you're taking pictures at a distance you can confirm the picture was taken because the light will pulse also.  I found i was able to trigger the remote from distances of 20ft.  I added a lens to mine in order to focus the IR light on the sensor.

The GOBOT has a rechargeable 4.5V battery that you can charge using the remote which plugs into any usb port for charging.

I'm off to take some self portraits,

Cheers!



Title: Re: building usb-remote-cable
Post by: Summer on 19 / April / 2012, 17:49:29
2 more photos of my remote :)
Title: Sunbeam Closet Light Mod
Post by: bdusmc on 28 / August / 2012, 17:18:59
Here's an idea for y'all... ;)

I just finished making this so I thought I'd share it. It's an LED closet light that is triggered by a magnetic thingy you put on the door. I found this in a box of junk in my storage room and I think I paid $2 for it a little while ago at Princess Auto (Canada).

Inside the light there is a circuit board (which contains the LEDs and "magnetic" switch) that the batteries connect to. I cut the circuit board off of the battery leads, put the battery leads in series with my USB cable and momentary NO switch. Easy peasy. Looks good too.

After making holes for the switch and USB cable and a little krazy glue to hold the cable securely, I put it together and tested it with my SD980IS/IXUS200 and it works like a charm.

What I like the most about it is that this thing will never have to be opened again unless the switch wears out, since the batteries (3x LR44/AG13) are behind a slide off cover.

I could have left one of the LEDs in the circuit, but I wanted nothing to be able to suck the batteries dry while it is in the camera bag if the switch gets pressed. Since there isn't a complete circuit when it's not connected to anything, the batteries should be safe when not in use.
Title: Re: building usb-remote-cable
Post by: Super_Dork_42 on 28 / August / 2012, 17:49:45
Pretty cool. Do you have any pics of the inner workings?

Also, I found the light on amazon.com

http://www.amazon.com/Sunbeam-LED-Automatic-Closet-Light/dp/B001XQFCEO (http://www.amazon.com/Sunbeam-LED-Automatic-Closet-Light/dp/B001XQFCEO)
Title: Re: building usb-remote-cable
Post by: bdusmc on 04 / September / 2012, 12:54:26
Cool - yup, that's the one. And for only a penny, huh???  :P

I tried to take it apart to get a pic of the inner workings, but the Krazy Glue I used to secure the cable must have run down to the clamshell seam a little, and I didn't want to wreck it to take a pic. Hopefully the switch doesn't wear out for a long time. hehe

This is literally all that's going on inside of the case - the blue wires were existing and went to the 2 terminals on the battery holder, and I could have/should have probably put a blocking diode inline on the negative lead, but I went with a big black "-" on the clear plastic instead.

Also note that the magnetic block near the bottom of the first pic was just there to show what was in the package... the block isn't used and was thrown away since the magnet was so weak, otherwise it could have been a fridge magnet.
Title: Re: building usb-remote-cable
Post by: Ironwave on 04 / December / 2012, 10:57:40
Hi there.
I Was very glad to come across the chdk people and software.
Thus I wanted to add my 2 cents of help by posting my mod.

1 Acquire a remote form a auto shop that install alarms for vehicles, they are sure to have broken ones you can have for free.

2 Open it up, scrape all components off with a blade.

3 Cut circuits just beside the button and the LED. Its marked 1, 2, 3, 4, on the picture.

4 Connect or solder a wire from battery connection point  to one side of button.
--- connect wire from other side of button to LED.
--- connect wire from other side of LED to MINI USB line (black)
--- connect MINI USB line (red) to remaining point that returns to battery.

When you connect it to your camera, and push it, the remote LED will go on. Not important, but nice in my opinion. It also shows one the battery's are still working.

Confirmed working on my SX40HS
Make sure of the battery voltages and polarity. I have TWO 3 volt battery's in my remote.
Take care and good luck.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / December / 2012, 11:23:38
Hello and welcome.

That is a nice small remote.

Even though it probably does not bother you, have you been able to find very flexible USB leads ?

Title: Re: building usb-remote-cable
Post by: Ironwave on 04 / December / 2012, 12:35:03
Flexible usb .... no.

But if it ever do bother me, I would probably use something like the very small earphone leads one get for cell phones for very very very cheap. Even a mouse wire will be nice i think. Im sure one can solder it to the usb ends, and one can insulate it well and neatly with heat shrink.
If you are interested I can post a few pics and try and help you with it.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / December / 2012, 13:13:48
Thanks, but earphone leads is what I have used.

I was just wondering whether there were commercial flexible USB leads.

Title: Re: building usb-remote-cable
Post by: Ironwave on 04 / December / 2012, 13:30:53
Don't have personal experience but google produced this find;

http://www.pololu.com/catalog/product/1129 (http://www.pololu.com/catalog/product/1129)

Hope it helps.

Google ultra thin micro usb for more finds.
Title: Re: building usb-remote-cable
Post by: SnowLeopard on 04 / December / 2012, 13:47:25
Has anyone done any timing tests in order to determine what is the exact delay between the shoot/full-press signal and the image capture?
I'm using a laser-trigger remote very similar to this: http://www.glacialwanderer.com/hobbyrobotics/?p=11 (http://www.glacialwanderer.com/hobbyrobotics/?p=11) and CHDK is configured for a OnePush switch with Normal control.   
It all works (pre-focus and all), but there is a delay of about a third of a second between the shoot signal and the image capture -- the laser-trigger is about 50 cm above the where the picture of a falling object is landing, and any delay being introduced by the trigger is one millisecond or less.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / December / 2012, 15:59:29
In some previous tests, philmoz measured the time from switch release to sensor data becoming available.

The results (in msec)  were :-

G12 = 470
SX30 = 700
IXUS310 = 320 - 350
SX40 = 280 - 330

I do not think older cameras had delays that big.
Title: Re: building usb-remote-cable
Post by: Microfunguy on 04 / December / 2012, 16:00:20
Hope it helps.


Good find, I have bookmarked it.
Title: Re: building usb-remote-cable
Post by: waterwingz on 04 / December / 2012, 19:47:18
Has anyone done any timing tests in order to determine what is the exact delay between the shoot/full-press signal and the image capture?
In some previous tests, philmoz measured the time from switch release to sensor data becoming available.
The results (in msec)  were :-
G12 = 470
SX30 = 700
IXUS310 = 320 - 350
SX40 = 280 - 330
I do not think older cameras had delays that big.

You will get a much smaller interval if you use the USB remote sync mode - set it up the same way as you have now but enable sync. 
Title: Re: building usb-remote-cable
Post by: pelrun on 06 / December / 2012, 09:58:44
Even though it probably does not bother you, have you been able to find very flexible USB leads ?

Best source for those is the retractable usb cables you can get from ebay for almost nothing. Remove the single screw in the middle of the winder under the label, and it'll come apart (probably with a 'sproing' and a lot of little ball bearings flying everywhere) leaving you with a premade remote cable made from earphone wire.

They're *really* not much good for anything more demanding than a USB 1.1 mouse or keyboard (which is why they're so cheap, and why no other usb cables are that thin or flexible) but they work brilliantly for our purposes.
Title: Re: building usb-remote-cable
Post by: Black Six on 08 / December / 2012, 14:18:23
Hey guys, I was looking for a way to remotely trigger my SX10IS for some macro photography and came across this project. I successfully loaded CHDK on an SD card and activated the remote settings based on the wiki page (http://chdk.wikia.com/wiki/USB_Remote_Cable). When I trigger my remote though, nothing is happening. I've verified then when I push the button I get ~4.8V (3 AAA batteries) on the V+ pin on the USB cable I'm using.

Any ideas or help?

Thanks!
Title: Re: building usb-remote-cable
Post by: waterwingz on 08 / December / 2012, 14:30:38
Hey guys, I was looking for a way to remotely trigger my SX10IS for some macro photography and came across this project. I successfully loaded CHDK on an SD card and activated the remote settings based on the wiki page (http://chdk.wikia.com/wiki/USB_Remote_Cable). When I trigger my remote though, nothing is happening. I've verified then when I push the button I get ~4.8V (3 AAA batteries) on the V+ pin on the USB cable I'm using.
Can you post a screenshot / picture of the Remote Parameters menu ?  Or at least list how you set each value ?
Also,  you cannot trigger the remote while in CHDK <ALT> mode - you need to be in normal shooting mode.
Title: Re: building usb-remote-cable
Post by: SnowLeopard on 08 / December / 2012, 14:33:26
Verify the Switch Type and Control Mode settings.  Maybe you left the Control Mode set to None?
Title: Re: building usb-remote-cable
Post by: Black Six on 08 / December / 2012, 14:38:28
Also,  you cannot trigger the remote while in CHDK <ALT> mode - you need to be in normal shooting mode.
I was still in <ALT> mode. Got it working now - thanks!
Title: Re: building usb-remote-cable
Post by: waterwingz on 08 / December / 2012, 14:40:14
I was still in <ALT> mode. Got it working now - thanks!
I've learned to always ask that question first - its a common problem.
Title: Re: building usb-remote-cable
Post by: jwms on 07 / May / 2013, 20:48:08
That "hump" is an rf choke. it is a piece of ceramic material that has magnetic properties and is used to remove
 "spikes" or noise from electronic cables. Think of it as a chunk of refrigerator magnet that is not magnetized.
It is completely passive and has no electrical connections to the wires in the cable.
Title: Re: building usb-remote-cable
Post by: damcannon on 04 / June / 2013, 23:29:43
What are the pins of the usb connector? Which pins are usb and which pins are A&V?

I have a usb style connected from a non working av cable that I have been able to easily chop up to get the connector with the wires de-soldered. Ask if you would like photos of the connector.
Title: Re: building usb-remote-cable
Post by: waterwingz on 06 / June / 2013, 17:12:07
What are the pins of the usb connector? Which pins are usb and which pins are A&V?
link > Let me google that for you (http://lmgtfy.com/?q=canon+usb+av+connector+pinout)

Quote
I have a usb style connected from a non working av cable that I have been able to easily chop up to get the connector with the wires de-soldered. Ask if you would like photos of the connector.
It would be simpler if you just told us which camera model you have.
Title: Re: building usb-remote-cable
Post by: damcannon on 07 / June / 2013, 00:24:23
What are the pins of the usb connector? Which pins are usb and which pins are A&V?
link > Let me google that for you (http://lmgtfy.com/?q=canon+usb+av+connector+pinout)
Quote
I have a usb style connected from a non working av cable that I have been able to easily chop up to get the connector with the wires de-soldered. Ask if you would like photos of the connector.
It would be simpler if you just told us which camera model you have.

Oh right, I thought they were all the same. I have a SX260 HS.

I did a lot of searching but didn't find any particularity useful results. This looks like the answer: https://secure.flickr.com/photos/dunehaven/4094250604/
Title: Re: building usb-remote-cable
Post by: waterwingz on 07 / June / 2013, 09:31:43
I did a lot of searching but didn't find any particularity useful results. This looks like the answer: https://secure.flickr.com/photos/dunehaven/4094250604/
That would be the first search hit from the link I posted for you.   :D

The sx260 would be considered a "recent camera" so the picture looks about right.  You might want to ring out the connections end-to-end with an ohm meter to verify.  The USB and video connnections at the other end of that cable are pretty standard (and easy to find pin-outs with google).
Title: Re: building usb-remote-cable
Post by: ahull on 07 / June / 2013, 15:54:29
@damcannon For what its worth, you can purchase the Mini USB plugs and make up your own cable.

Either use this sparkfun link (https://www.sparkfun.com/products/9167) or ... Ebay... search "10 Pin Mini USB Plug Male Socket Connector" (http://www.ebay.co.uk/sch/i.html?_odkw=10+Pin+Mini+USB+Plug+Male+Socket&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=%2210+Pin%22+Mini+USB+Plug+Male+Socket&_sacat=0) (whichever actually matches the camera) if you genuinely need the bottom row of pins with the AV signals,  or search for "5 Pin Mini USB Plug Male Socket Connector" (http://www.ebay.co.uk/sch/i.html?_odkw=10+Pin+Mini+USB+Plug+Male+Socket&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=%225+Pin%22+Mini+USB+Plug+Male+Socket&_sacat=0) if you only actually require the standard top row of USB pins needed to make up a remote trigger of some sort. This will bring up numerous suppliers, expect to pay between 10 and 50 pence/cents/euro-cents each for the 5 pin types +P&P, more for the others, and they will be cheaper in bulk of course. 

Two problems remain, the first is that you need to be able to solder *very* small wires on to *very* small pins.
Pro Tip: Use *very* fine heat-shrink tubing and/or "pot" (http://en.wikipedia.org/wiki/Potting_%28electronics%29) your completed connector with wax or silicone for a more robust finish. This will make it impossible to rework the connector afterwards, but will also make it *much* more robust.

The second is that you haven't quite explained why you need to know which pins are which... To make a USB remote, you only need to follow the many instructions in this thread, or elsewhere on this forum for cannibalising a standard Mini USB cable, this only needs the standard USB pins (you could also therefore use a 5 pin connector as I just suggested).
 
If however you have a genuine need to break out the AV pins for some particular purpose, then let us us know, as you have stirred my imagination.

One thing I have spotted is that with the 11 pin Cannon connector, you can effectively turn off the LCD to save battery life with a suitable plug. If you read the above link  from Google/waterwingz (https://secure.flickr.com/photos/dunehaven/4094250604/) it states "To enable video output on cable and turn off LCD, connect Video Out Enable to Ground." In other words, linking pins 6 and 11 (with a 1k resistor if you feel scared) *may* switch of your camera display and increase battery life, this will theoretically work on *any* camera that has the AV pins populated, which I would imagine includes most of those where there is no optical viewfinder, and thus no way to switch off the display using the buttons. 

One other small point I would make is that there is no "standard" for these AV pins, (or indeed for overpopulated USB connectors in general) so for example HTC phones and the GoPro Hero camera seem to use entirely different configurations, so take care if you are tempted to try any modded Canon cable on a non-Canon device or any non Canon cable on your Canon camera.
Title: Re: building usb-remote-cable
Post by: damcannon on 08 / June / 2013, 18:23:03
Thank you for the advice. I have a non-working av cable from china which I got a refund for :). So I have been chopping up the £0 connector to make my own av + usb + camera screen enable switch adaptor. It is possible to remove the pins. I was easy to extract the connector. Unfortunately I dropped one of the av row pins and I can't find it  :o :( <bang head x10>. It doesn’t have an 11th pin. Does this mean this is a incompatible connector?

Don't order this one: http://www.aliexpress.com/item/Mini-Usb-Male-5-pin-To-3-RCA-AV-Male-Adapter-Cable-For-canon-Camera/640107165.html (http://www.aliexpress.com/item/Mini-Usb-Male-5-pin-To-3-RCA-AV-Male-Adapter-Cable-For-canon-Camera/640107165.html)
Title: Re: building usb-remote-cable
Post by: ahull on 09 / June / 2013, 08:13:11
That just stirred up the old grey cells, I was sure this topic had been discussed here sometime back..

http://chdk.setepontos.com/index.php?topic=6115.0 (http://chdk.setepontos.com/index.php?topic=6115.0)

I will keep digging and see if I have more luck sourcing the 11 pin canon variant (as opposed to the HTC one which requires a bit of dremmel work, and removing the outer metal (http://skyware.fam-engels.de/chdk/rc-chdk/canon11pin.pdf) can to make it fit) More details of how this is done can be found here (http://arch.ced.berkeley.edu/kap/discuss/index.php?p=/discussion/2164/canon-ixus-870is-sd880is-and-other-newer-canons-output-issues/p1)
Title: Re: building usb-remote-cable
Post by: damcannon on 26 / June / 2013, 23:24:59
Is http://www.kapshop.com/Rig-Parts-Other-Parts/c6_89/p274/Canon-11-pin-for-CHDK/SDM-and-Video-out/product_info.html# (http://www.kapshop.com/Rig-Parts-Other-Parts/c6_89/p274/Canon-11-pin-for-CHDK/SDM-and-Video-out/product_info.html#) a diy connector were you solder the connectors if so the cable in the picture for show? Can one use all the pins or not? ie left,right,screen on/off, usb, etc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Title: Re: building usb-remote-cable
Post by: damcannon on 05 / July / 2013, 12:36:13
Messaged the seller and got this reply:
Hi Alexander,

The cable comes as displayed. You solder at the end of the cables (one is CHDK, the other Video)

Peter


Op 30-6-2013 14:21, Alexander Ross schreef:
> http://www.kapshop.com/Rig-Parts-Other-Parts/c6_89/p274/Canon-11-pin-for-CHDK/SDM-and-Video-out/product_info.html# (http://www.kapshop.com/Rig-Parts-Other-Parts/c6_89/p274/Canon-11-pin-for-CHDK/SDM-and-Video-out/product_info.html#)
> Are all the pins accessible (i.e. Is the cable in the picture how the product comes or is the cable for display?)? If so, is there an easy to solder connection or is it bare tiny pins?
> Thanks.
Title: Re: building usb-remote-cable
Post by: Stonefire on 22 / October / 2013, 14:48:12
Any samples in building a USB-shutter-cable with buildin power suply via USB-wall-plug ?

SIncerly
Stonefire

Title: Re: building usb-remote-cable
Post by: waterwingz on 22 / October / 2013, 17:18:22
Any samples in building a USB-shutter-cable with buildin power suply via USB-wall-plug ?

The simple way to do this is to take a standard USB computer cable (with a type A connector on one end and a USB mini on the other end),  open up the cable jacket, find the red wire, cut the red wire, and solder a pushbutton switch in the resulting gap in the red wire.

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fforum.videohelp.com%2Fimages%2Fguides%2Fp1826452%2Fusbcable.jpg&hash=97b6a1ce51d6d3ab32bf21d910586e81)

Plug your converted cable into the USB-wall-plug and into your camera and then push the button to take a picture. 

If you want to get fancy,   you can mount the pushbutton switch in any handly plastic container you have laying around.   I use a small empty prescription pill bottle.
Title: Re: building usb-remote-cable
Post by: Stonefire on 24 / October / 2013, 16:16:13
Hi waterwingz

Thanks for your reply. I afterwards realized that my Powershot A495 can't be powered via the mini usb plud.
So I think I'll need to build in a powerplug too. Suddent it getz a bit complicated  :(
but thanks anyway

Sincerly
Steen
Title: Re: building usb-remote-cable
Post by: waterwingz on 24 / October / 2013, 17:36:52
I afterwards realized that my Powershot A495 can't be powered via the mini usb plud.
I don't believe any P&S camera can be powered that way.  The instantaneous current draw during shooting, lens movements and flash charging can require as much as 2A at time.  Well above the power available on a USB port.

Title: Re: building usb-remote-cable
Post by: Core781 on 26 / May / 2014, 21:49:52
I'm new to the forum, and I look forward to learning about the firmware.  I'm looking for a wiring description from the context of CHDK advanced script function.  The mini usb2 has 5 pins and I need to know how the wires relate to CHDK and what can be done with CHDK.  Any links to wiring descriptions or diagrams will be appreciated.
Title: Re: building usb-remote-cable
Post by: nafraf on 26 / May / 2014, 22:01:25
USB Remote is  described here: http://chdk.wikia.com/wiki/USB_Remote (http://chdk.wikia.com/wiki/USB_Remote)
CHDK User manual: http://chdk.wikia.com/wiki/CHDK_User_Manual (http://chdk.wikia.com/wiki/CHDK_User_Manual)
Documents for developers: http://chdk.wikia.com/wiki/For_Developers (http://chdk.wikia.com/wiki/For_Developers)
Scripting docs: http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page (http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page)
More links: http://chdk.wikia.com/wiki/CHDK_Links (http://chdk.wikia.com/wiki/CHDK_Links)
Title: Re: building usb-remote-cable
Post by: Chelidon on 24 / March / 2015, 11:13:32
Hi,
I was thinking about a proof of concept to let the remote building process be an obsolete problem.. 8)

I summarize some key points:

So why I have to think how to put a battery (and a 5 V output with batteries means hard to assembly electronics or a heavy parallel circuit) in a remote, when I already have a multitool (smartphone) which could be programmable to send 5 V USB signal by default and be a multipurpose remote?

Thinking about.. :)
Title: Re: building usb-remote-cable
Post by: zeno on 24 / March / 2015, 12:54:59
The reason is that what CHDK uses for remote triggering is the two pins that supply power to the USB port. It does not use the data pins. An Android device does give you the ability to send and receive data via USB, but it does not give you the ability to turn the USB power on or off.
Title: Re: building usb-remote-cable
Post by: waterwingz on 24 / March / 2015, 14:03:44
The reason is that what CHDK uses for remote triggering is the two pins that supply power to the USB port. It does not use the data pins. An Android device does give you the ability to send and receive data via USB, but it does not give you the ability to turn the USB power on or off.
All true.

But on the other hand,  CHDK script are also capable of communicating over the USB data lines : see read_usb_msg() (http://chdk.wikia.com/wiki/Lua/PTP_Scripting#read_usb_msg)   and write_usb_msg() (http://chdk.wikia.com/wiki/Lua/PTP_Scripting#write_usb_msg).   The only catch is that the camera cannot act as the usb host - the android or arduino or PC must take that role.
Title: Re: building usb-remote-cable
Post by: Chelidon on 30 / March / 2015, 05:24:33
The reason is that what CHDK uses for remote triggering is the two pins that supply power to the USB port. It does not use the data pins. An Android device does give you the ability to send and receive data via USB, but it does not give you the ability to turn the USB power on or off.
NO, you didn't pay attention to what I wrote:
some android homemade ROMs (AOSP I know for sure) let you to access USB-VBUS output (yes I'm not talking about the charging process, but the opposite)
I was talking about V+ and V- USB pins and the possibility to control them exploiting the low level on/off voltage  provided by the USB OTG (see here for OnTheGO (http://en.wikipedia.org/wiki/USB_On-The-Go)) with a supported tablet/smartphone device.

In a more pratical explanation: it could be possible to use a OTG supported device with its OTG cable linked to a USB_A=>USB_miniB cable to remote your PowerShoot, in the simplest way that happens by means of attaching and detaching the cable to give a on/off 5V signal over the VBUS pins.

I only need the right cable and a little time to test if it is really possible what I was only thinking about. ;)
Title: Re: building usb-remote-cable
Post by: Chelidon on 10 / April / 2015, 06:31:11
I can confirm: using an USB OTG cable with a supported device (smartphone/tablet) it is possible to remotly trigger a Powershoot with CHDK simply attaching/detaching the cable.

It would be possible to use a switch between the OTG and mini-USB cable, so you can use it like a normal remote with your tablet/smartphone which gives power to VBUS-GND as a batttery (better to say as a voltage regulator).
That will be a pretty rough hardware exploited way.

Otherwise if someone kwnows how to program the voltage output given by an OTG device, it will be possible to exploit the software way. In less word we could have an android app to transform an OTG tablet/smartphone in an intervalometer remote control or whatever you want to program. You only have to buy an OTG cable (male micro(B)-USB to female USB(A)) connected to your PS cable (male USB-(A) to male mini(B)-USB)! 8)
Title: buy usb-remote-cable $3.32 !
Post by: O2xEi0clX on 27 / July / 2015, 22:48:37
:xmas
Title: Re: building usb-remote-cable
Post by: artfd on 26 / November / 2018, 16:58:43
I can confirm: using an USB OTG cable with a supported device (smartphone/tablet) it is possible to remotly trigger a Powershoot with CHDK simply attaching/detaching the cable.

It would be possible to use a switch between the OTG and mini-USB cable...That will be a pretty rough hardware exploited way.]

There are now 5V miniaturized battery packs widely available to charge smartphones.   :D A few of them have on-off switches.  Connect a USB A male plug to the output of this battery pack and the other end to a CHDK-camera programmed to take a shot when the remote is triggered.  Powering the pack ON will cause the camera to take a photo, powering off will reset the system to take a 2nd photo.  This is a very smooth exploitation of "hardware" that wasn't on the market just a few years ago.  Only drawback is that the pack's power switch must be hit 2x for each shot.
Title: Re: building usb-remote-cable
Post by: dpn on 29 / October / 2020, 14:37:43
I built my twin USB cable release using a big LEGO plate and a couple of inexpensive parts from McMaster-Carr: a cheap 9v battery holder and a nice 6mm panel cutout switch. I did a very small amount of very poor soldering, but mostly the wires are connected with pigtails that I've protected in heat-shrink tubes.

My little cable release working well, but I'm going to be improving it by swapping the two micro-USB cables out for lower-profile angled connectors and making a smaller, more elegant, and more robust enclosure.

Long story short: This was a really easy little build, and my two
Canon A4000IS cameras were cheap and work great. Thank you everyone for the great ideas for USB cable release specifically and for the awesome CHDK software generally!

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FwkwdrVhm.jpg&hash=453ae3ef047454a448d3b7996ad04e3f) (https://imgur.com/wkwdrVh)
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FYnzCFQ0m.jpg&hash=43817db35e3a3166a634e1ef6c13c8cd) (https://imgur.com/YnzCFQ0)
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FdqHEtFVm.jpg&hash=ba06701fd45639f776ef753f3ca5771d) (https://imgur.com/dqHEtFV)

Title: Re: building usb-remote-cable
Post by: reyalp on 29 / October / 2020, 15:07:41
I built my twin USB cable release using a big LEGO plate and a couple of inexpensive parts from McMaster-Carr: a cheap 9v battery holder and a nice 6mm panel cutout switch. I did a very small amount of very poor soldering, but mostly the wires are connected with pigtails that I've protected in heat-shrink tubes.
Are you using 9v for the remote? That would be way outside the USB spec of 5v, definitely not recommended.