Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Webcam Mod wiring


malc-c

Recommended Posts

Guys,

I have been reading up on various web sites on doing the long exposure and amp on/off modifications to a SPC900 webcam. From what I can see, the control of these mods are done by making a pin on the parallel port change state. Can anyone confirm this ?

Also, I gather most of you guys use K3CCDtools for controlling these settings. Does this (or other applications) have the ability to choose USB as an option, or do the parallel / serial converter come up as additional com ports (like COM 16) on the PC.

Link to comment
Share on other sites

  • Replies 210
  • Created
  • Last Reply

Lee, that's true, but most of the adapter (serial to USB at least) get listed as a comm port under device manager, so guess that would work. I was curious as to whether or not the software used to control modded cameras would work with a direct USB connection, typically a HID descriptor.

Link to comment
Share on other sites

isnt it a case of imaging is still handled by the usb side while exposure times or whatever lx does is handled by the serial port?

and thats why a member was confused why his modded cam didn't work as the guy who modded it for him did not reattach the usb cable so the guy thought you only needed 1 cable from cam to pc but thats not the case. its usb and serial to the 1 cam.

is how i understand it?

Link to comment
Share on other sites

Yes, that's correct. The control of the shutter is done via a connection to the LPT port (parallel port), and some use parallel to USB converters (or parallel to serial and then serial to USB).

I'm looking at ways of developing a modification that will offer a USB connection for that control rather than parallel... but if the software won't recognise a USB connection then that's a stumbling block

Link to comment
Share on other sites

The mod I've just done requires no parallel circuitry, it's direct to serial where the serial port controls shutter and amp off through RTS and DTR, also using this mod requires less circuitry and components than the normal 4066 chip and parallel to serial route.

Link to comment
Share on other sites

this has got me intrested in doing this mod too. if you don't mind the hijack malc.?

it would appear we can make a box with everything in. i.e cam and mods in a small pcb box. not only that also fit a usb to serial convert in there too so we only need 1 usb cable. which would be champion.

Link to comment
Share on other sites

The mod I've just done requires no parallel circuitry, it's direct to serial where the serial port controls shutter and amp off through RTS and DTR, also using this mod requires less circuitry and components than the normal 4066 chip and parallel to serial route.

Care to share this.... most of the sites I found seemed to use either the 74HS00 or 4066 and a parallel port control.... using serial is far more accommodating... and I'm curious as to something that uses less than the three components (4066 and a couple of resistors) and achieved both the LX and amp off mod...

Link to comment
Share on other sites

Hi malc, there is a guy selling the spc900 lx'd with serial connection.

by default this would suggest that the typical lx imaging control softwares will see a usb to serial adapter plugged into usb (it must, come to think of it)

so all we need is what chip is used when using serial control not parallel.

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=150572313647

Link to comment
Share on other sites

That's sold by the guy who's article is featured in Astronomy now.. yes these will work with serial to usb converters as the PC still sees this as a com port. I'm looking at programming an 18F2550 PIC micro which has a USB to handle the communications between the PC and 4066 chip. The only issue is that all the capture software that supports LX mode has probably been written for communication via the serial / parallel ports and not USB

Link to comment
Share on other sites

and I'm curious as to something that uses less than the three components (4066 and a couple of resistors) and achieved both the LX and amp off mod...

4066 method and parallel to serial uses a few more than 3 components, think you may have misread my original post,

But anyway, this is the tutorial I used to build my mod, Bolton Astronomical Society • View topic - Cheap Webcams

and here's the shopping list

5 x 10k resistors

3 x BC548 transistors

3 x 1N4148 diodes

1 x 1N5348 diode (ZD11V)

Link to comment
Share on other sites

malc-c, when you plug the camera in you physically use 2 USB connectors.

One is simply the camera USB which carries power, and video. The PC sees this as a webcam device.

The other is a USB to serial converter that just controls the LX circuit. The PC sees this as a com port and in control panel it'll appear as something like com23 say.

In Sharpcap I imagine you just select com23 from the pull down list.

Link to comment
Share on other sites

malc-c, when you plug the camera in you physically use 2 USB connectors.

One is simply the camera USB which carries power, and video. The PC sees this as a webcam device.

The other is a USB to serial converter that just controls the LX circuit. The PC sees this as a com port and in control panel it'll appear as something like com23 say.

In Sharpcap I imagine you just select com23 from the pull down list.

my understanding too

Link to comment
Share on other sites

Though by using a 2 port powered from one USB connection on the PC you might struggle for current if the camera modification includes say a fan or some sort of cooling.

The 2 connection back to the PC approach can help under these circumstances as each connection can supply its own current.

Link to comment
Share on other sites

all needs concideration. i use a high power hub that has plenty to each port.

especially with a fan involved much bigger current than the other devices require :)

.

edit: hmmm components rather than an ic for serial! hmmm ponders

struggling to see were 1 wire goes and what for too

could power for that board be derived from the cam usb power ( say if you had a serial that has no 5v+ )

is dtr txd or rxd?

.

serialusblxmod.jpg

Link to comment
Share on other sites

Pak:

Thanks for the link... the schematic using three transistors and handful of resistors to allow serial communications is very encouraging...and will give me an option as most PICs also have RS232 built in so it's a case of programming the PIC to do the Packet/BIT conversion.... maybe ! - If not then using a serial to USB converter is preferable than USB-RS232-parallel option

Glider:

Yes... basically I'm looking at having two USB cables coming out of a box housing the camera. One would carry the video signals as is, the other handle the LX (and possibly amp on/off) control. mainly as I only have 3 USB ports on the netbook. If I can't come up with an embedded solution using a PIC micro, then the alternative is to strip down an USB to RS232 converter and house the electronics in the case - which given that I only have a couple of weeks until SGL6 might be how I proceed ! - I have SharpCap installed so will look at that further, but yes most of these are set to use COMM or LPT so any PIC code will have to come up with some COMM port emulation

Lee:

That's a neat idea... but would be tight fitting the LX mod board, rs232 to USB converter board, and 2 port USB hub all in one small container... but I appreciate you contribution and it's something that may well be an option.

Thanks for all the contributions guys... lots to think about

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.