element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Joey Thompson's Blog A small project idea - Wireless trailer lighting control
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: screamingtiger
  • Date Created: 20 Apr 2015 6:59 PM Date Created
  • Views 1595 views
  • Likes 1 like
  • Comments 6 comments
  • bluetooth
  • lights
  • wireless
  • trailer
  • arduino
Related
Recommended

A small project idea - Wireless trailer lighting control

screamingtiger
screamingtiger
20 Apr 2015

As an RC plane guy, or rather RC jet guy, I need to use a trailer to pull my jets to and fro.  I built my own trailer using a base from Harbor Freight by building a box on top of it with barn doors on both side.  That is a topic all its own but I digress.

 

One of the main issues I have is the wiring harness that connects from my Jeep to my Trailer.  It is constantly getting corroded,so my trailer lights don't work.  The other issue is sometimes I forget to plug it in or it comes unplugged while I am driving.  perhaps a better plug is in order, but this is 2015.  This is the wireless/Bluetooth era!

 

The current control box I have purchased hooks into my light wiring on my jeep, literally spliced in.  It reads the current coming in and outputs the voltage to the trailer lights.

The main issue is that there are only two trailer lights, and these functions as running lights, brake lights, and turn signals!  So the box is connected to my brake lights and turn signals and converts those inputs into the appropriate signals to emulate those functions on 2 lights.

 

What an "easy" task for an Arduino Pro Mini, or rather 2 of them.  One on the jeep as the transmitter (Tx) and the other on the trailer as the receiver (Rx).

The issue of powering the lights on the trailer is easy, some mosfets and an external battery.  Tricky part will be to emulate the brake lights.  What happens is the lights are dimmer when in running mode, and when I hit the brakes they are simply brighter.  Sounds like a job for PWM!

 

 

The issue of reading the lights a bit more complicated.


The Arduino pins have a 100M Ohm resistor in series with them and they can handle a max of 5.5V, but to play it safe I will assume 5V.   This means the pin can sink .05uA, not a lot of current.

 

A car voltage can vary from around 12V to 15V.  I see numbers in the 14V range when running and 12.6 when not running.  While there are ways to use a resistor to drop the voltage, I think a 7805 is probably a good choice to regulate the voltage.  It will still function in the car battery is below 12V and can handle up to 25V.  So each input from the light, which is reading the voltage going to the light when it is on, will go through a 7805.

This will allow the Arduino pro mini to read the lights and process the signals to send out.

 

I'm  open to other ideas but a 7805 seems like a good idea.  I would need about 6 of these.  more to come in the next post!

image

This is an early picture of my trailer, before I straightened out the side beams.  The trailer has advanced quite a bit this stage an in my next post I will show better pictures.

 

 

 


  • Sign in to reply

Top Comments

  • michaelkellett
    michaelkellett over 10 years ago +1
    I suspect you are in the US where the rules are different. In the UK your insurance company would not cover you for the use of home modified/built trailer lights using wireless links. Although I agree…
Parents
  • screamingtiger
    screamingtiger over 10 years ago

    Ive been slowly gathering parts of this.  I got some NRF24L01+ 2.4 ghz modules for communication.

    I also picked up some mosfets for another project but after I did some testing on the lights, the running lights pull 500Ma and the brake lights pull nearly 2A, and that is per side.

     

    So I think I am going to resort to physical/mechanical relays.  The ones I have are logic level but can handle 5A.  I will still need 4 relays though as the lights must also function as blinkers.  I am going to the store today to look at an LED based light for my trailer, I am curious how many amps those pull.  I also like the idea of not worrying about burnt bulbs to change out.  I may be able to use the mosfets yet.

     

    I have some Chinese clone arduino mini pros I am going to be using.  I am also considering a control panel with a touch LCD that lets me see what the lights are doing and allows me to manually control them for testing.  For that I many have to use an arduino mega to have enough pins for the LCD but you can get those cheap (~10USD) as well.

     

    Finally I have a small motorcycle battery to power the trailer lights.  I am looking at a small solar charger for car batteries I can install on the trailer, so it can be completely green and self charging!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • screamingtiger
    screamingtiger over 10 years ago

    Ive been slowly gathering parts of this.  I got some NRF24L01+ 2.4 ghz modules for communication.

    I also picked up some mosfets for another project but after I did some testing on the lights, the running lights pull 500Ma and the brake lights pull nearly 2A, and that is per side.

     

    So I think I am going to resort to physical/mechanical relays.  The ones I have are logic level but can handle 5A.  I will still need 4 relays though as the lights must also function as blinkers.  I am going to the store today to look at an LED based light for my trailer, I am curious how many amps those pull.  I also like the idea of not worrying about burnt bulbs to change out.  I may be able to use the mosfets yet.

     

    I have some Chinese clone arduino mini pros I am going to be using.  I am also considering a control panel with a touch LCD that lets me see what the lights are doing and allows me to manually control them for testing.  For that I many have to use an arduino mega to have enough pins for the LCD but you can get those cheap (~10USD) as well.

     

    Finally I have a small motorcycle battery to power the trailer lights.  I am looking at a small solar charger for car batteries I can install on the trailer, so it can be completely green and self charging!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube