Author Topic: USB to DC cable, is this possible?  (Read 1423 times)

0 Members and 1 Guest are viewing this topic.

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
USB to DC cable, is this possible?
« on: July 21, 2024, 04:56:46 pm »
I have been scouring the internet and have ended up here trying to make my own cable I guess.

I have an old digital camera, Nikon E2Ns, and the batteries for it are not the easiest to find. But I do have a power adapter for it, I have a charger and everything to make it work, but I do car photography and need it be a little more mobile and not plugged into a wall. The adapter puts out about 8V.

I want to make either a USB-C or USB-A 3.0 male to female DC cable. I want the USB side to provide the power to the dc port. and I know there are a ton out there, but this uses a dc plug that is 5.15mm x 1.7mm. I have already purchased a port that fits the dc part of the power adapter well.

I kinda know how to solder, but I don't know what type of cable or USB ends to buy. Or I looked and saw USB-C breakout boards, do I need one of those? If I go over the voltage will it hurt the camera, don't want to break this one.

Any help will be greatly appreciated. If more information is needed on the camera side I can provide links for manuals and some websites.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #1 on: July 21, 2024, 05:23:16 pm »
If it actually needs 8V, then you will need a boost converter. There are a lot of them based on XL6009 and similar ICs on AliExpress and similar sources.

But you also need to check current requirements. Do you have the exact adapter model or full characteristics. USB port may not be able to supply the required current.

Something like this is even smaller and easier https://www.aliexpress.us/item/3256806193100891.html . Assuming the maximum output current is below the required value.
« Last Edit: July 21, 2024, 05:25:25 pm by ataradov »
Alex
 

Offline IsmAvatar

  • Contributor
  • Posts: 14
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #2 on: July 21, 2024, 05:39:17 pm »
Yes, going over the camera's intended 8 volts would likely hurt the camera (likely pop a fuse in the camera, and then you'd need to find someone who knows how to open it up and replace the fuse, which is likely soldered onto the circuit board), You may be able to safely go a half a volt over or so, as they are built with tolerances.


USB-A is limited to 5 volts, so you'd need to further boost that with a boost converter (like ataradov suggested), which would probably be more infrastructure than you're looking for, and may or may not be able to meet your amp requirements.

Then there's USB-C PD, which is feasible but would also require some infrastructure. It can negotiate on preset voltages, with 9V being a common target, but 'negotiating' requires a device on the receiving end that can talk to the power supply (I'd suggest a "PD Trigger")... plus you'd probably want to drop that extra volt (a diode or two could do the trick, but you'd need to solder them somewhere *after* the negotiation device, but before the barrel jack, and make sure they're pointed the right way).

I believe USB-C PPS (programmable power supply) is what you're looking for. Not all power supplies support it though. It's also likely to be a board, so you would need to solder your dc plug's wires to it (and possibly come up with an enclosure to protect it). Typically they can be programmed with a trimmer pot (looks like as box with a screw on the side, turn the screw to adjust the voltage) so measure the voltage with a multimeter before plugging it in.

USB-C is powerful, being able to provide more current and voltage options, but only if the Power Supply supports it, and only if the cable supports it. Make sure you have a compliant power supply and cable if something is not working right.

Also, remember to verify the polarity of the dc plug.
« Last Edit: July 21, 2024, 06:00:05 pm by IsmAvatar »
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #3 on: July 21, 2024, 05:44:57 pm »
I have looked all over for specs on the adapter and I cant find anything. On the back of the charger it provides specs for what needs to be sent to the camera for it to work with the adapter and charging for the batteries. My wild guess is im trying to get the Camera section which is 8V 1.6A.

The picture provided is for the charger, and all of its specs.
 

Offline IsmAvatar

  • Contributor
  • Posts: 14
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #4 on: July 21, 2024, 06:16:44 pm »
Yes, looks like you need 1.6A. That rules out USB-A, which has a limit of 0.5A at 5V, and even less at 8V (P=IV, P_USBA=1.5W. 1.5W/5V = .5A. If you boost to 8V then 1.5W/8V=.3125A)

USB-C is still feasible though, as per my post above.
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #5 on: July 21, 2024, 06:40:08 pm »
I see, so there really isn't an all in one solution for this. Because I want to be able to run the camera on a portable battery. What would I need to be able to make this work on that? or what would I need to purchase or should I try to get a schematic made? are there people on here that can help with that?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #6 on: July 21, 2024, 06:43:31 pm »
You need this https://www.aliexpress.us/item/3256804346467700.html configured for 9V. 9V would likely be too much for the camera, but this is easily solved by adding a diode in series with the positive output (anode to the output of the module, cathode to the camera). 

When you plug that module into a power-delivery capable power bank, it will negotiate 9V output.
Alex
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #7 on: July 21, 2024, 06:57:06 pm »
What type of diode should I get? I see a lot online, are there specific ones for just 1v? and what gauge of cable should I get?

Thanks for all the help guys.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #8 on: July 21, 2024, 07:06:27 pm »
Any silicon diode with rated forward current of 2 A or more would be fine. Look for a diode with a forward voltage of 0.6 V or so. This would be the voltage drop this diode would provide. If Vf of the diode you pick is less, then you may need to use a couple in series.

This is not ideal way to drop the voltage, but it should be fine. The voltage drop is close to the rated at the rated current. At lower currents, the drop would likely be less, so you will get higher output voltage if you are measuring the power supply by itself without the load. The voltage would drop even more and it should be fine once you connect the camera.
« Last Edit: July 21, 2024, 07:08:41 pm by ataradov »
Alex
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #9 on: July 21, 2024, 07:39:53 pm »
Thank you so much. I put some of those boards on order, but I found some with dip switches on amazon, would they work about the same or is there too much worry of the switches moving while in use? or could I get some to test all of this then when the ones come in I can put it together with less worry.

Also im looking through diodes, im assuming I need a through hole diode? and the ones im looking at have a Vf of 680 mV, would that drop it too much or would it be negligible?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #10 on: July 21, 2024, 07:43:38 pm »
A link to what you found would be nice. Generally there is no reason for switched to move.

680 mV should be fine. Through hole would be better, since you are going to be soldering wired to it, but ultimately it does not matter.
Alex
 


Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #12 on: July 21, 2024, 07:56:33 pm »
The diode should be fine. And those switches have recessed sliders, it is really hard to make them switch on accident. It should be fine.

Any wire you can reasonably solder should be fine. 20 AWG and lower would work.
Alex
 

Offline IsmAvatar

  • Contributor
  • Posts: 14
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #13 on: July 21, 2024, 08:01:49 pm »
For 2 amps, you would want 18 AWG or thicker (thicker means lower number, so 16, 14, etc are all fine). Speaker wire would be fine.
The switches generally don't move too easily, but if you are concerned, just put a spot of glue on it after you've set them.

That diode looks fine to me, Schottky has a lower Vf, while you could also go for a regular diode such as 1N540x (like 1N5407) with a Vf of 1.0, but again, the one you've picked out seems to meet all your specs just fine. Through Hole diodes will be easier for you to solder.

You should also verify that your Trigger board is capable of 2Amps.
« Last Edit: July 21, 2024, 08:04:17 pm by IsmAvatar »
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #14 on: July 21, 2024, 08:03:42 pm »
Thank you guys so much for your time. Ill get to it and come back with results or question if something goes wrong, hopefully not frying the camera.
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #15 on: July 23, 2024, 08:29:21 pm »
Alright, Im back. So far I have just been practicing soldering wires together, a lot harder than I thought it would be, but its getting there. Im just waiting for my diodes.

I just want to double check how would I check the Amps of the board, I dont really have anything to connect to it, and I tried just putting my dads old multimeter on it and I just get 0.00. I then learned I have to put it in series, and even after that it keeps going to 0.00. any ideas for me? Thanks in advance.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11495
  • Country: us
    • Personal site
Re: USB to DC cable, is this possible?
« Reply #16 on: July 23, 2024, 09:22:01 pm »
Why do you need to check that? The current will be what device is consuming. If it can't deliver that in practice, either the voltage will sag and the camera won't work or the module will overheat and go up in smoke.

To check for real you will need a dummy load capable of the rated current.

It is hard to tell what yo are measuring, so it is hard to tell what you are doing wrong. But if you are measuring in a current mode outputs of the module, then yo have likely blown the fuse in the meter.
Alex
 

Offline BennoG

  • Regular Contributor
  • *
  • Posts: 106
  • Country: nl
Re: USB to DC cable, is this possible?
« Reply #17 on: July 24, 2024, 08:05:11 am »

I just want to double check how would I check the Amps of the board, I dont really have anything to connect to it, and I tried just putting my dads old multimeter on it and I just get 0.00. I then learned I have to put it in series, and even after that it keeps going to 0.00. any ideas for me? Thanks in advance.

You probably blew the fuse in the multimeter by doing that.
Or you have a USB-C  power bank that does not support PD

Benno
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3601
  • Country: ua
Re: USB to DC cable, is this possible?
« Reply #18 on: July 24, 2024, 11:14:26 am »
What type of diode should I get? I see a lot online, are there specific ones for just 1v? and what gauge of cable should I get?

I don't recommend to use diode to convert 9V to 8V. Since you cannot predict diode voltage drop on wide range of current, this is not reliable way and may leads to your camera damage. The proper way is to use DC regulator, but 9V is too small to get 8V on the output, some LDO may work, but it needs to handle high current. It's better to use 12V DC trigger with and connect it to 8V DC regulator.Regulator can be linear or DC/DC, but since your camera needs 1.6A, linear regulator will be heating a lot.

USB-A PD charger which supports 12V 1.5A should handle it with no issue.
« Last Edit: July 24, 2024, 11:20:58 am by radiolistener »
 

Offline BeBuLamar

  • Super Contributor
  • ***
  • Posts: 1261
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #19 on: July 24, 2024, 02:59:45 pm »
Why bother with USB? Just power source to your plug. The power source can be a battery pack of some source. By the way you have a very cool camera.
« Last Edit: July 24, 2024, 03:02:20 pm by BeBuLamar »
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1531
  • Country: ca
Re: USB to DC cable, is this possible?
« Reply #20 on: July 24, 2024, 03:19:00 pm »
I have an old digital camera, Nikon E2Ns, and the batteries for it are not the easiest to find. But I do have a power adapter for it, I have a charger and everything to make it work, but I do car photography and need it be a little more mobile and not plugged into a wall. The adapter puts out about 8V.

A simple nontechnical solution would be to buy one of those portable 120VAC power banks and plug the existing adapter into that. Not as efficient, and more bulky than a custom battery pack, but should be easy to find.
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #21 on: July 24, 2024, 08:28:16 pm »
Why do you need to check that? The current will be what device is consuming. If it can't deliver that in practice, either the voltage will sag and the camera won't work or the module will overheat and go up in smoke.

To check for real you will need a dummy load capable of the rated current.

It is hard to tell what yo are measuring, so it is hard to tell what you are doing wrong. But if you are measuring in a current mode outputs of the module, then yo have likely blown the fuse in the meter.

I just was thinking it would be worth a shot, as someone recommended it.
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #22 on: July 24, 2024, 08:30:33 pm »
What type of diode should I get? I see a lot online, are there specific ones for just 1v? and what gauge of cable should I get?

I don't recommend to use diode to convert 9V to 8V. Since you cannot predict diode voltage drop on wide range of current, this is not reliable way and may leads to your camera damage. The proper way is to use DC regulator, but 9V is too small to get 8V on the output, some LDO may work, but it needs to handle high current. It's better to use 12V DC trigger with and connect it to 8V DC regulator.Regulator can be linear or DC/DC, but since your camera needs 1.6A, linear regulator will be heating a lot.

USB-A PD charger which supports 12V 1.5A should handle it with no issue.

The Trigger board I got can do 12v, could I just get a 8v regulator and that would work or do I need to get a different board? Thanks for the recommendation.
 

Offline nfsmasterTopic starter

  • Contributor
  • Posts: 19
  • Country: us
Re: USB to DC cable, is this possible?
« Reply #23 on: July 24, 2024, 08:31:54 pm »
Why bother with USB? Just power source to your plug. The power source can be a battery pack of some source. By the way you have a very cool camera.
Thanks

I have an old digital camera, Nikon E2Ns, and the batteries for it are not the easiest to find. But I do have a power adapter for it, I have a charger and everything to make it work, but I do car photography and need it be a little more mobile and not plugged into a wall. The adapter puts out about 8V.

A simple nontechnical solution would be to buy one of those portable 120VAC power banks and plug the existing adapter into that. Not as efficient, and more bulky than a custom battery pack, but should be easy to find.

I have thought of this idea, I just want to get or make something smaller, that I can use with the PD Anker batteries I already have.
 

Offline Phil1977

  • Frequent Contributor
  • **
  • Posts: 286
  • Country: de
Re: USB to DC cable, is this possible?
« Reply #24 on: July 24, 2024, 08:46:19 pm »

The Trigger board I got can do 12v, could I just get a 8v regulator and that would work or do I need to get a different board? Thanks for the recommendation.

That´s the way I would go. Take the 12V trigger board with an adjustable buck converter. Should be working fine and is more efficient than everything else.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf