Tuesday, April 23, 2024

Powering a USB Dash Cam: Lessons Learned from VanTrue N4 Pro

Welcome back guys and gals. This time around, there won't be any diagrams, pictures, or wonky Excel charts. Just a public service announcement from a guy who just spent a few days troubleshooting an issue with the VanTrue N4 Pro dash cam. I promise to keep it short, unlike the troubleshooting process I just went through. Ha ha.

This is for folks who are using their dash cams with 3rd party power supplies or cables. If you're using the exact power supply that came with your camera, this issue might not apply to you.

The issue

I bought the VanTrue N4 Pro a few days back, and immediately decided that I don't like the included power adapter. It's bulky, it's ugly, the cable isn't even straight having spent weeks/months bunched up in the retail box. I have a box full of high-quality braided USB-C cables, and a few car adapters with 3A outputs. Why not use those instead?

It worked great, until it didn't. First, the camera would restart randomly with the engine stopped, but worked fine while driving. Then, it started rebooting randomly at all times. I'm not (yet) a complete idiot, so I assumed it could be a power adapter issue. The camera kit comes with the front and the rear unit, so at first I unplugged the rear unit, which made the reboots go away. Is it the rear camera, or is it the additional power draw caused by it?

After a couple more days, the camera wouldn't go for 30 seconds without restarting, with the rear module connected. Time to do some actual troubleshooting.

Troubleshooting

If you look online, you will find plenty of threads telling you to use high-quality USB adapters with 2.4A  output or higher. Well, obviously. But what if you're already using a 3A adapter from Breitling, and a high quality cable made by Cartier (just kidding, I would never)?

I tested the power adapter, and confirmed it can easily support the required amperage, and I even used a USB combiner cable to split the load between two USB ports in the adapter. 

Frustrated by the lack of progress, I went back to the basis and started measuring voltage/current at the end of the supply cable. After all, the cable (both the stock one and the "nice" one I used) was 12ft (~3.7m) long, so you'd expect some voltage drop across that length. Voltage drop is a physics thing, so you can't avoid it, but you can design to work around it. That's where I had my breakthrough.

For the test, I used two cables/adapters:
  1. 3rd party adapter made by Anker or Aukey rated for 2.4A, paired with a 12ft USB-C (22AWG).
  2. The stock VanTrue adapter rated for 2.4A, with a built-in 12ft USB-C cable, also 22AWG.
A 22AWG cable at 12ft should translate to ~0.2 Ohms of resistance. That's a 0.2V loss at 1A, or 0.4V at 2A. The camera can easily sink 1.5-2A, and I've seen it spike to >2A, so let's assume 0.5V for the sake of the discussion.

The results were as follows:
  1. With the Anker/Aukey adapters and a 12ft, 22AWG cable, the end-of-line voltage (at the camera) started at 5.17V (camera off) and dipped to 4.5-4.6V (camera on).
  2. With the stock VanTrue adapter, the voltage started at 5.22V (camera off) and did not move at all regardless of the load.
I ran additional tests with a USB-C load attached to the cable, and got the expected voltage drop with my own cable (as expected from Ohm's law), but the VanTrue adapter delivered ~5.2V no matter if I pulled 0.1A, 1A, or 2A.

As it turns out, this issue had nothing to do with power, but voltage. Big surprise right there, yet another problem that can explained by Ohm's law alone!

Conclusion

The power adapter bundled with the camera appears to be designed specifically to maintain a USB-spec voltage at the end of the line. In a way, it doesn't follow the USB spec at the source, but it's designed to meet USB spec at the end of the wire. In real-world terms, this means that the adapter must be boosting voltage at the source in order to reach the expected voltage at the end. With a 22AWG cable, the adapter is likely putting out 4.7-5.8V at the source to compensate for the loss. This is not how any regular 3rd party USB adapter will behave, and that's why it might not matter how good your adapter is. It doesn't "know" that it's powering something across a 12ft connection, and wasn't designed to compensate for voltage loss.

Suggestions

VanTrue (and other dashcam makers) should make it clear the bundled power adapters are not actually USB-spec adapters, and that a regular power supply (even a high quality one) might not be able to reliably run the cameras. It's not enough to say "use the original adapter" and leave it at that. Most of the time, when a hardware vendor tells you to "only use the original power adapter", it's because they want to make more money selling power adapters. As consumers, we are trained to dismiss those notes as signs of greed, not something that's supported by technical reasons. In this case, the vendor should make it clear why the original power supply matters, in technical terms that can be understood by regular people.

2 comments:

  1. What else can one do. I want to power the N4 Pro from my rear view mirror power source. Would this very short USB jumper, let's say maybe one foot l9ng work without issues. Im looking to use the Dongar Pro which is a switched adapter that can power the cam for regular use, parking mode or full recording while the vehicle is off and parked. Im hopeful the shorter jumper will alleviate this issue and concern of power drop and therefore not let the cam cycle on and off. Any guess if it will work? Ot will be in a Lexus gx 460 vehicle

    ReplyDelete
    Replies
    1. For a cam that's supposed to stay on while parked, you typically get a power supply that taps directly into the 12V battery in the car (with proper over-discharge protection, of course). Keep in mind that the front and the back camera modules are connected via USB, so if you wanted to power the rear module from a separate source, you'd need a Y-splitter to (1) keep the data line intact between front and back (2) splice in extra power from the 2nd supply. I'm not sure if I'd want to splice two floating DC supplies together though :) I'd probably rather just run a thick enough wire to keep the voltage from dropping too low (18AWG might be enough?) and/or use a power supply that's designed to work with cameras (something that purposefully over-volts the supply side).

      Delete