{"id":6725,"date":"2021-11-22T12:09:01","date_gmt":"2021-11-22T03:09:01","guid":{"rendered":"https:\/\/the-world-star.com\/?p=6725"},"modified":"2026-11-21T12:18:09","modified_gmt":"2026-11-21T03:18:09","slug":"nd-roadster-front-camera-installation-part-2-auto-switching-power-management","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/bravetune\/roadster\/nd-roadster-front-camera-installation-part-2-auto-switching-power-management-6725\/","title":{"rendered":"ND Roadster Front Camera Installation Part 2: Auto-Switching &#038; Power Management"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#039;ve been slowly outfitting my Roadster with a navigation system, rear camera, and front camera, but the project had to be put on hold waiting for parts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Picking up where I left off, the timer relay I ordered on Amazon finally arrived\u2014a mere 2 months and 20 days after placing the order. It shipped from China; the first one apparently got lost after clearing Chinese customs, and the second one got caught right in the thick of pandemic logistics chaos before finally making it out. It was quite a journey getting here!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was honestly amazed that such a cool gadget could be had for this price. Between the drone and robotics booms, all sorts of neat components like this are flooding the market. Today&#039;s college students have it so good with toys like this. It really brings back that curious student mindset and hobbyist spirit. Anyway, the item itself is a programmable timer relay.<\/p>\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\t\t\t<div class=\"blog-card\">\n\t\t\t\t<div class=\"blog-card-body-outer\">\n\t\t\t\t\t<div class=\"blog-card-body\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"blog-card-title\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/the-world-star.com\/en\/bravetune\/roadster\/installing-a-front-camera-on-the-nd-roadster-part-1-the-basics-6781\/\">Installing a Front Camera on the ND Roadster: Part 1 - The Basics<\/a>\n\t\t\t\t\t\t\t<\/h5>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"blog-card-text\">\n\t\t\t\t\t\t\t\tRiding the momentum of installing my new head unit and backup camera, I decided to go ahead and add a front camera.This post covers everything from the initial\u2026\t\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"blog-card-site-title\">\n\t\t\t\t\t\t\t<a href=\"http:\/\/the-world-star.com\/en\/\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tThe\u2606World Star\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"blog-card-image-outer\">\n\t\t\t\t\t\t<a href=\"https:\/\/the-world-star.com\/en\/bravetune\/roadster\/installing-a-front-camera-on-the-nd-roadster-part-1-the-basics-6781\/\" class=\"blog-card-image-frame\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"blog-card-image-src\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/10133603\/20210926232601392-1024x576.jpg\" alt=\"\">\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<\/div><\/figure>\n\n\n<p class=\"wp-block-paragraph\">You can check out my previous article here. My electrical wiring concept and layout follow that initial design.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Objective<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The main goal is to control the power to the front camera (turning it on and off). Cheap cameras from China step down 12V to 5V internally, which tends to make that voltage-dropping component run hot and fail easily. Plus, I don&#039;t like the idea of it constantly drawing power when it&#039;s not needed. I wanted to build a system that switches the front camera on and off only when necessary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My ATOTO head unit has a handy setting: after shifting out of reverse and closing the rear camera feed, it can automatically switch to the front camera for about 10 seconds. I wanted a front camera power control that syncs up with this feature. Specifically, I want it to power on the front camera either when shifting into reverse or right as you shift out of reverse, keeping it on for 10 seconds after. This makes parallel or tight parking a breeze, automatically cycling from the rear camera to the front camera as you maneuver back and forth.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another scenario is parking nose-first at convenience stores\u2014something low-slung sports cars consider a mortal enemy. One moment of carelessness and you&#039;ll scrape your front lip on the parking block. To prevent this, I added a manual switch so I can force the system on. Flipping the switch triggers the reverse signal (conveniently fooling the head unit), which then fires up the front camera display on the screen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wiring Refresher<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"305\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/08\/23145206\/Screenshot-from-2022-08-23-14-51-52.png\" alt=\"\" class=\"wp-image-3430\" srcset=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/08\/23145206\/Screenshot-from-2022-08-23-14-51-52.png 853w, https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/08\/23145206\/Screenshot-from-2022-08-23-14-51-52-300x107.png 300w, https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/08\/23145206\/Screenshot-from-2022-08-23-14-51-52-768x275.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The wiring circuit looks something like this. Basically, I added a diode to the reverse lamp input to prevent backflow, allowing the system to be triggered manually by a switch as well, and routed that output into the timer relay. I also tapped into the ACC power supply to run the relay itself. For details on how I built the wiring harness, please check out my previous post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219115955065.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219115955065.jpg\" alt=\"\" width=\"436\" height=\"774\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A small plastic case that originally held some fishing hooks turned out to be the exact right size, so I repurposed it to house the unit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After wiring everything up and bench-testing it in my room, I took it out to the car for a final check.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring the Relay Modes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This timer relay comes with multiple operating modes, allowing you to combine triggers and timers in various ways. You can cycle through the modes using the push buttons. The mode I needed is called P4.<br><br>Trigger ON to OFF, then relay output turns ON; once the set timer duration elapses, the relay output turns OFF.<br><br>Here is how it works in practice: the reverse lamp serves as the trigger (shifting into reverse). Shifting into reverse triggers the ON state, and shifting back to neutral triggers the OFF state. This fulfills the condition, activating the relay output and powering on the connected front camera. The system assumes you are shifting back into 1st gear to maneuver forward again, keeping the front camera image displayed on the navigation screen. It automatically shuts off after 15 seconds. Even if you pop it back into reverse during this window, the rear camera feed still takes top priority.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On second thought, since I rarely rely heavily on the front camera on its own, it might actually be better to prioritize reversing\u2014keeping the rear camera active for a little while even after shifting into neutral as I roll forward. It might even make a DIY surround-view camera setup stitch together more accurately. Ah, tinkering with this stuff is so much fun.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Initial Test 1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I quickly hooked it up to test it out, but...<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219115943704.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219115943704.jpg\" alt=\"\" width=\"725\" height=\"408\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It worked, but the video feed was horribly distorted. At first, I thought the camera had broken! After some troubleshooting, I realized that sharing the same ACC 12V power source for everything was likely causing the interference. Was relay noise bleeding through the power lines into the camera and other components?<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219115948969.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219115948969.jpg\" alt=\"\" width=\"721\" height=\"403\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Switching the power supply to a USB (5V) source completely cleared up the distortion. I didn&#039;t fully understand why, but I hastily modified the setup to run on USB 5V.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219115933764.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219115933764.jpg\" alt=\"\" width=\"384\" height=\"682\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I hastily modified the setup to run on USB 5V.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219115937712.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219115937712.jpg\" alt=\"\" width=\"383\" height=\"680\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I quickly modified the setup to run on USB 5V, using a cigarette lighter USB adapter I happened to have lying around the house.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Initial Test 2<\/h2>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219120053580.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219120053580.jpg\" alt=\"\" width=\"675\" height=\"377\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Going the 5V route eliminated the noise entirely. This is what the finished setup looks like at this stage.<br>Now, whether I use the reverse gear or press the manual switch, the rear camera displays briefly first, and then once I release the button...<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"http:\/\/theworldstar.blog.fc2.com\/img\/20211219120115422.jpg\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog-imgs-134.fc2.com\/t\/h\/e\/theworldstar\/20211219120115422.jpg\" alt=\"\" width=\"675\" height=\"379\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It seamlessly switches over to the front camera. That said, I still need to figure out a clean way to mount this switch somewhere. What should I do?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thinking about it now, it might actually be more efficient to bypass the camera&#039;s internal 12V-to-5V step-down circuit entirely and supply 5V directly from this relay.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Current Issues<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After using it for a while, the fuse keeps blowing out occasionally. It&#039;s likely caused by sparking across the contacts of the cheap Chinese relay when they close.<br>Is this just the classic &quot;cheap import&quot; spec? I&#039;m drawing ACC power from the 15A fuse in the fuse box, running it through an additional 5A fuse before feeding it to the switch and relay. It&#039;s that 5A fuse that keeps blowing. My next step is to test a 10A fuse and see if that finally holds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#039;ve been slowly outfitting my Roadster with a navigation system, rear camera, and front camera, but the project had to be put on hold waiting for parts. Picking up where I left off, the timer relay I ordered on Amazon finally arrived\u2014a mere 2 months and 20 days after placing the order. It shipped from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":554,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/?p=1861","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[28],"tags":[1157,1282,1283,13,57,899,1066],"class_list":["post-6725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-roadster","tag-rear-camera","tag-camera","tag-front-camera","tag-diy","tag-amazon","tag-roadster","tag-electronics","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/comments?post=6725"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6725\/revisions"}],"predecessor-version":[{"id":6726,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6725\/revisions\/6726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/554"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=6725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=6725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=6725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}