element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Forum Using a traffic light to help parking the car in the garage
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 22 replies
  • Subscribers 46 subscribers
  • Views 2531 views
  • Users 0 members are here
Related

Using a traffic light to help parking the car in the garage

ajn
ajn over 11 years ago

Years ago, my father picked up a real/working traffic light.  I'd like to hang this in my garage and use it as a guide for my wife as she parks the car (Green=proceed, Yellow=slow down, Red=stop).  What should I be looking at for proximity sensors?  and how best to wire everything up?

  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 11 years ago +1
    Take a look at ultrasonic range finders. Modules such as this should suffice: HC-SR04 - MULTICOMP - ULTRASONIC DISTANCE SENSOR | CPC They can be interfaced with code such as this: Arduino Playground -…
  • mcb1
    mcb1 over 11 years ago in reply to gadget.iom +1
    If the red light has blown you may end up with a dented car. You could always check if the lamp is okay and flash all the remaining lamps at the same time to show an error. Obviously you'd need some…
  • ajn
    ajn over 11 years ago +1
    A big thank you to everyone who replied. I've got some great ideas to work with. Next step (for me) will be to order some parts and see what I can put together. I'll post an update when I've got something…
Parents
  • gadget.iom
    0 gadget.iom over 11 years ago

    I'm not sure where your light was sourced from, in the UK older systems used 12v capsule lamps with local transformers in the head.

    You could localise the relay control and switch 12v instead of mains voltage.

     

    Also worth considering is the operation where a lamp has failed. If the red light has blown you may end up with a dented car.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • gadget.iom
    0 gadget.iom over 11 years ago

    I'm not sure where your light was sourced from, in the UK older systems used 12v capsule lamps with local transformers in the head.

    You could localise the relay control and switch 12v instead of mains voltage.

     

    Also worth considering is the operation where a lamp has failed. If the red light has blown you may end up with a dented car.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • ajn
    0 ajn over 11 years ago in reply to gadget.iom

    It's a US traffic light that, currently, uses fairly low wattage 110V lamps.  I built up a circuit many many years ago with a couple of 555's and (I think opto-isolated) SCR's just to have each of the lights flash in sequence (RED ... yellow ... green).  Now, with a garage, I'm trying to make it more useful.

     

    And, yes, the failed lamp scenario could be a problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 11 years ago in reply to ajn

    You could look into drop-in LED replacements for those lamps. What kind are they?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to gadget.iom

    If the red light has blown you may end up with a dented car.

    You could always check if the lamp is okay and flash all the remaining lamps at the same time to show an error.

    Obviously you'd need some form of microcontroller.

     

    Many of the automotive computer modules do something similar and throw an error.

     

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 11 years ago in reply to mcb1

    Good Idea! could something like the ACS712 be used?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to mcb1

    Good point although many have LED arrays in now.(At least  here in the UK)

    One way of dealing with that is to light all 3 colours and then as they go past certain proximities switch off the Green and Orange until only the Red is still on and you need to stop

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ajn
    0 ajn over 11 years ago in reply to gadget.iom

    I took a peek at the bottom "green" lamp.  What I found currently in the socket looked like a standard A19 base with a small Westinghouse 15W "Industrial" lamp.  I can't recall if that was the original lamp or one I had/found with a lower wattage.  In any case, going with LED's as a few have suggested is an interesting idea.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Problemchild

    That's a great suggestion regarding having all lamps on and turning off green and yellow as the vehicle approaches.  That would also give a visual indication that all lamps are working before the vehicle gets too close or things get expensive...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to gadget.iom

    Paul

     

    This device (please include a reference link next time) is a current sensor, and would work.

    You would need to power the lamp to get the current flowing.

     

    Most methods I've come across simply use a fairly high source resistance and detect if the load pulls it to ground.

    If the circuit uses an open collector arrangement, then there wil be voltage at the collector if the load is present.

     

    You could use an optocoupler across the collector to emitter, which will conduct if there is power and the load is present (it will be off when the transistor conducts)

    So you have a double detector. (Load/lamp present and Switching works)

     

     

    If Allen has an idea of how he wants to configure it, what voltage/type of lamps then we can suggest some ideas.

    I think these will be cheaper than the current detector.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to Former Member

    I'm sure we'll need one soon I've just ordered Elite Dangerous and I've heard some of the big spacecraft are a bugger to park image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ajn
    0 ajn over 11 years ago in reply to mcb1

    Since I've got 3 operational (110V) lamps and with the current sockets/wiring already in place I'm inclined to just add the proximity logic ... and switch the lamps with relays, SCR's, ...

     

    Not sure that I need to go full out and detect when one of the lamps has burned out.  I'm also not sure I want to change the Green (GO), Yellow (SLOW), Red (STOP) pattern.  But, I can mix things up a bit and add a 4th pattern of Green/Yellow/Red -- All FLASHING -- for "NO, SERIOUSLY, STOP".  The question to answer here is how much granularity (feet or inches) will I be able to get from the ultrasonic sensor?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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 © 2026 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