Return to the Cloudy Nights Telescope Reviews home page


Speciality Forums >> Astronomy Software & Computers

Pages: 1
jeffpkamp
sage


Reged: 01/11/13

DIY USB Bulb Trigger?
      #6103236 - 09/26/13 11:16 PM

I know there are plenty of computer savy folk who frequent this site. I was wondering if anyone has made a DIY page for a USB camera trigger.

I made myself the Serial camera trigger, which I use with a USB>serial converter, but I was wondering why not cut out the middle man and just use the usb. I know it can be done, I mean that's what the DSUSB from shoestring astronomy is right?

I'm not terribly familiar with USB operation, but it seems that if you can run a fan on a USB port you can open your shutter, and you just need a program to either turn the USB port on and off, or even better a way to just turn the voltage on or off for the port.

Does any one have any ideas or suggestions? This would be useful to a lot of people I think and it would save me having to use the stupid knock off USB>serial I bought


Post Extras: Print Post   Remind Me!   Notify Moderator  
Edward E
scholastic sledgehammer
*****

Reged: 03/26/06

Loc: Tucson, Arizona
Re: DIY USB Bulb Trigger? new [Re: jeffpkamp]
      #6103928 - 09/27/13 11:01 AM

I have a Canon SX210 point and shoot using the CHDK firmware which allows the camera to be triggered by a USB signal. No programing required; just press a button for a second or two and the camera takes a photo. This is the electronic equivalent to the old analog shutter cable.

I have just built the trigger using a small 12 volt, remote "garage door" opener battery, a USB cable with the mini "B" connector, a press button switch, a 4.7 volt 1W zener diode and a 100 ohm resistor, battery holder, small project box, plastic film canister and some wire. The zener diode acts as a voltage regulator and limits the voltage to the camera's USB to no more than 5.1 volts which is with the specs of USB 2. The film canister holds the button switch and is a perfect fit for my hand. The project box holds the battery and other components. Works great on the bench will give it a field test Saturday night. I can get some photos of the project posted here later if you would be interested.

I am also working on a IR remote version of this trigger but still working out the math on it.

There is the web link to the CHDK page for USB triggers:
CHDK Remote

Edited by Edward E (09/27/13 11:06 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
jeffpkamp
sage


Reged: 01/11/13

Re: DIY USB Bulb Trigger? new [Re: jeffpkamp]
      #6103954 - 09/27/13 11:14 AM

Just to make it clear, I am talking about a long exposure trigger that could be run by the computer (ie something like DSLR shutter). I am thinking about this for my nikon d5100 which uses the GPS/9 Pin port to do bulb functions. Unfortunetly they didn't do the bulb via usb until d5200 .

After reading a little bit about USB, it seems that it would be bit like the Serial bulb trigger program. The USB VBUS would provided the normal voltage, and you could use the D+ to provide the signal to a transistor to open or close, allowing for triggering.

What I am not sure about is how to make a program recognize a USB cable plugged into a port (I assume most have some sort of chip to get recognized), and how to send a constant signal down the V+ line.

I feel like you should be able to hack something like a old USB thumb drive for recognition and then have a program made to send that drive a constant signal...


Post Extras: Print Post   Remind Me!   Notify Moderator  
Raginar
Post Laureate
*****

Reged: 10/19/10

Loc: Rapid CIty, SD
Re: DIY USB Bulb Trigger? new [Re: jeffpkamp]
      #6104893 - 09/27/13 08:34 PM

Get dusb from shoestring Astonomy. It costs about 90 bucks and just works.

Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: DIY USB Bulb Trigger? new [Re: Raginar]
      #6105098 - 09/27/13 11:18 PM

Off a serial pot it easy, it's a level trigger on a control line. USB doesn't have control lines, so a USB interface to a microchip is used, and a gpio on the chip is used. It's not dumb gle logic.

The cheapest way to get a level trigger from a USB port is still to use a serial USB converter. They are produced in such volume, a complete unit costs less than the bits required to build a USB interface.


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: DIY USB Bulb Trigger? new [Re: Raginar]
      #6105104 - 09/27/13 11:26 PM

Easy DIY solution is to use a USB-to-RS232 serial converter dongle, connecting to a simply electronics (opto isolator as relay) to camera's shutter cable.
Basically, RTS lead, if active, is the shutter trigger. Tie DTR and CTS leads together (some software use this to verify the cable in there.)

There are many USB-RS232 serial cablez to choose from. FTDI is the golden standard (about $14 shipped). Some recent PL2303 based seems to be stable now (and Win7/8 driver is available). It's less than $5 shipped from China or Hong Kong.

The simple electronics DIY plan is here:
http://www.beskeen.com/projects/dslr_serial/DSLR%20SERIAL%20CABLE%20-%20NIKON...

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
jeffpkamp
sage


Reged: 01/11/13

Re: DIY USB Bulb Trigger? new [Re: ccs_hello]
      #6108962 - 09/30/13 09:53 AM

I have already done the usb serial trigger. I guess the usb route is a little trickier than I thought it'd be. I feel like it is more of a programming issue than a hardware issue to make it work. I destroyed an old mouse with a usb connection (well just took the case off). I can't imagine that you couldn't hijack it's driver (This mouse is so old it has its own) to send a signal. Then again I am a microbiologist, and not a programmer, so maybe it's a little harder than I might think .

If my programmer friend and I come up with something ground breaking I'll let you guys know. Ha.


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: DIY USB Bulb Trigger? new [Re: jeffpkamp]
      #6112602 - 10/02/13 08:16 AM

$9 solution using USB-GPIO MCP2200 chip:
(so long as astro programs would support the MCP2200 based solution)
http://microcontrollershop.com/product_info.php?products_id=4173

There are other USB-GPIO solution, but the above link is the cheapest I can find.

There are other "cooked" (controlled by command strings) USB-relay solutions. They can be found in fleabay for $10-$20. But again, the issue is "so long as astro programs would support the (new command language) solution".

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
jeffpkamp
sage


Reged: 01/11/13

Re: DIY USB Bulb Trigger? new [Re: ccs_hello]
      #6114817 - 10/03/13 09:58 AM

thanks CCS. Every one I talk to says just do the usb to serial. While it looks like legit USB>serial converters bottom out at about $9, the board you showed me would be much more convienent than trying to solder onto the pins of the serial port I got from radio shack. I'll keep looking.

Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: DIY USB Bulb Trigger? new [Re: jeffpkamp]
      #6115463 - 10/03/13 03:41 PM

Dont solder onto the pins, solder onto a db9 connector which fits the cheapie usb-serial gadget.

Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: DIY USB Bulb Trigger? new [Re: groz]
      #6444634 - 04/03/14 01:29 AM

2014 my new DIY version:
http://www.cloudynights.com/ubbthreads/showflat.php?Cat=0&Number=6444568

Easy and cheap.

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1


Extra information
3 registered and 9 anonymous users are browsing this forum.

Moderator:  richard7, kkokkolis 

Print Thread

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled


Thread views: 663

Jump to

CN Forums Home




Cloudy Nights Sponsor: Astronomics