DIY Garage Parking Assist Stoplight

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • Using an Arduino Nano, ultrasonic sensor, rotary encoder, and an OLED display I created a stoplight for your garage! It helps you park at just the right distance every time. Hope you like it!
    I am finally able to park in a garage, which takes some getting used to. I like to have as much space as possible to access the workbench along the back wall, but trying to get as close to the garage door has caused some...problems.
    This device senses the distance of the object in front of it (a vehicle) and depending on range, one of three lights will turn on.
    The Stopping point can be adjusted via a rotary encoder on the side of the device, current range and the set stopping distance can be observed on the OLED display.
    The Red light the variable that can be adjusted, and the ranges of the yellow and green lights are based on that variable.
    Project Write-Up:
    create.arduino.cc/projecthub/...
    Links (Affiliate):
    TS100: amzn.to/32SGZHk
    Arduino Nano: amzn.to/32TEgxB
    OLED: amzn.to/3kBRZz5 (trust me, get two)
    Rotary Encoder: amzn.to/2RRMosa
    Ultrasonic Sensor: amzn.to/32TppDp
    Better Wire: amzn.to/2RQsSwc
    Timestamps:
    0:00 - Very important
    0:15 - Intro/Concept
    0:53 - Device Components/Code Explanation
    2:10 - First Iteration Design
    2:56 - Electronics
    3:47 - Preliminary Test
    4:31 - Garage Install
    5:24 - Garage Real Test
    6:07 - Conclusion
    This thing:
    / typalowski
  • НаукаНаука

Комментарии • 121

  • @dustinmasters9239
    @dustinmasters9239 3 года назад +8

    Sweet! I need it! I can mount it on my desk in my small machine shop so I can back my truck in without running into my desk/3D printer stand/cnc router stand!

    • @dustinmasters9239
      @dustinmasters9239 3 года назад +1

      Side note, your lead out music reminds me of Napoleon Dynamite. 😂

    • @TyPalowski
      @TyPalowski  3 года назад +2

      You win buddy! Check my channel for my email and message me there if you still want it!

    • @dustinmasters9239
      @dustinmasters9239 3 года назад

      Ty Palowski ruclips.net/video/e0v-Y8rdx40/видео.html

    • @corradogrieci3882
      @corradogrieci3882 3 года назад

      @@TyPalowski Hello Ty, very much enjoyed your video and creativity. Wondering if you would be interested in building and selling me a system?

  • @michaelshondel9274
    @michaelshondel9274 2 года назад

    So very well done! 👍 Sharing the how to's of a project like this is so very much appreciated by those of us who need them. You saved me weeks of figuring it out myself. So impressed that you took the time to share in such detail. Thank you!

  • @Some1Godlier
    @Some1Godlier 3 года назад +5

    I don't even have a garage and I want one. Sweet build, yet again, Ty. 2k subs is closer than you think!

  • @howitza4
    @howitza4 3 года назад +2

    Awesome bud very nice build, especially the easy calibration function.
    I built something similar but a little more crude.
    An LED switched by a radar beam, so as you reverse into the garage the beam is broken, the LED switches on and switches off again once you are clear of the garage door.
    Love your stuff mate keep it up.

  • @Jay-zt1pq
    @Jay-zt1pq 3 года назад +8

    This idea was a genius one.

  • @paisley4092
    @paisley4092 3 года назад +3

    ty i freakin love u man im just waiting for this channel to take off.

  • @MattEngebregtsen
    @MattEngebregtsen 3 года назад +2

    Definitely beats the old tennis ball on a string hanging from ceiling trick, very cool project!

    • @TyPalowski
      @TyPalowski  3 года назад +1

      That was the benchmark I tried to beat haha! Thanks Matt!

  • @ZeeuwsGamertje
    @ZeeuwsGamertje 3 года назад +2

    Awesome video and awesome build once again!
    Sir, you seem to never disappoint us with your videos!
    And about the parking sensor, it would definitely not be useful in my case but it sure would be a lot of fun to play around with!

    • @TyPalowski
      @TyPalowski  3 года назад

      Thank you very much! I'm glad you liked it!
      I'm going to do another write-up with all the parts and code in a bit!

  • @theo3115
    @theo3115 3 года назад +3

    Really enjoyed the video as always, keep it up my man !

  • @AlbertPhan
    @AlbertPhan 3 года назад +1

    Nice work, good explanation, and I like the humour thrown in the video as well!

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Thanks Albert! I appreciate you checking out the video and leaving a comment.

  • @MrDrewVB
    @MrDrewVB 3 года назад

    Great job, best design I have seen yet for this type of device.

    • @TyPalowski
      @TyPalowski  3 года назад

      Thank you! And thanks for watching and commenting!

  • @chavis51
    @chavis51 3 года назад +2

    This would be super helpful ! Would love to get one ! Great work !

  • @MichaelPick
    @MichaelPick 3 года назад +2

    Sweet build Ty! Super practical!

    • @TyPalowski
      @TyPalowski  3 года назад

      Thanks Michael! Glad you liked it and I appreciate the support as always!

  • @sunboy4224
    @sunboy4224 3 года назад +1

    Very cool! I saw this over on the Arduino subreddit, and watched. Nice, relatively simple, but well executed project, and I love your video editing/presentation style and humor. The only thing I would add personally is some kind of filtering/smoothing function for distance measurement, to decrease the amount of flickering you see changing between lights.

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Hey thanks for taking the time to watch and comment! You're completely right! Of course I thought of that after the fact haha, but writing in a function that takes a moving average of the distance measurement and uses that to determine which light to activate would be much better. Thank you for the suggestion! I'll come up with something in the code and add it to mine and maybe the one that I'll be sending out.

    • @markabernard
      @markabernard 3 года назад

      @@TyPalowski You do it like a thermostat. Instead of checking a hard limit in the code for switching you subtract one inch when checking to go from green to yellow or yellow to red, but add 1 inch when checking red to yellow or yellow to green.

  • @nicolascarcella46
    @nicolascarcella46 3 года назад +4

    Impressive!! The variable distance using the knob and the ui on the display is pretty nice.
    Wish I could make one to replace my tennis ball but sadly I don’t have the tools.
    Congrats anyway it’s an awesome project!

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Thanks Nicola! Glad you liked the video!

  • @stevens4689
    @stevens4689 3 года назад +1

    This would be helpful in so many different areas.

  • @willytwo53072
    @willytwo53072 6 месяцев назад

    Love it! Just what I was going to do. Thanks!

  • @RandomDad
    @RandomDad 3 года назад +2

    This is awesome. I wish I could park in my garage but when you're a dad of (currently) 3, there's a lot of crap piled up in the garage, forcing m=e to park on the street. Awesome video as usual.

    • @RandomDad
      @RandomDad 3 года назад

      also, happy birthday on the 15th

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Thanks! Idk if you read the fast text when talking about the workbench; I understand completely about how much stuff 3 people can stack up in a garage haha! Thanks for commenting and for the support!

    • @RandomDad
      @RandomDad 3 года назад

      @@TyPalowski yea i saw it, maybe you could do a collab video where they help you build some storage in the garage? lmao

  • @TimBradyJr
    @TimBradyJr 3 года назад

    That is very slick. Nice work and great fun tutorial.

    • @TyPalowski
      @TyPalowski  3 года назад

      Thank you very much! I appreciate you leaving a comment.
      I'm working on my next video now, should have it next week!

  • @mackeyrj
    @mackeyrj 3 года назад

    After working on and off making my own garage parking arduino I find you and I want it!

  • @toyotaoffroad
    @toyotaoffroad 2 года назад

    Love this project. I just scored a real traffic light and want something like this to control it. Great job!

  • @xelitegaming4ever
    @xelitegaming4ever 3 года назад +1

    Awesome channel Ty! Didn’t even know you had one till you linked this vid in the Discord, it’s Juan Robledo btw.

    • @TyPalowski
      @TyPalowski  3 года назад

      Hah thanks Juan! Hope you like the vids

  • @AnonGolden
    @AnonGolden 3 года назад +2

    Really cool idea, as always.
    Btw, youtube didn't show me your last video on my subs, i'll watch it now. Don't worry, now the bell is on

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Thanks Borja! And I very much appreciate that haha!

  • @porsche872
    @porsche872 2 года назад

    I love the ingenuity would love to get one

  • @ayleena399
    @ayleena399 3 года назад +1

    Wow, I want one! Love youR VIDS

  • @martinortega9279
    @martinortega9279 3 года назад

    Hey Ty, a pretty cool video. I have been attempting to do this very same parking system but only with traffic light. I was successful in all aspects but after parked the code should reset. Unfortunately I have not had the time to research to get this working as I would like it. Today I ran across a few other videos doing the same thing. One by "Mechanical Max" who added a calibration step where you added the calibration knob as well as a OLED display. I am looking forward to looking at your code and perhaps using it with my traffic light. I also like your 3D printed case. I also have a CNC from Stepcraft and can mill, 3d print etc. I think your video was a bit rough but I can understand being able to work with what you have and I can appreciate your work. I have subscribed

  • @BrianSimmons
    @BrianSimmons 3 года назад +1

    Awesome project. I need to make one for my wife. The tape on the side garage wall doesn't seem to help enough! Like you, I am trying to keep all the "extra" space at the front of the garage.

    • @TyPalowski
      @TyPalowski  3 года назад

      You can do it Brian! Thank you for watching and commenting!

  • @illeto
    @illeto 3 года назад

    Excellent! Subscribed.

  • @spocagain
    @spocagain 3 года назад +1

    Very cool. I want to try this with an old retired traffic light that I'm restoring. Wish me luck

    • @TyPalowski
      @TyPalowski  3 года назад

      Good luck! Thanks for checking out the video’

    • @eliworks8549
      @eliworks8549 Год назад

      Did you get it done. Im currently doing the same

  • @lras24
    @lras24 2 года назад

    Bro this is dope asf 💯 I need 1 lol

  • @matthewrayermann9265
    @matthewrayermann9265 3 года назад +3

    While I'd love to win this giveaway I think it'd be even more fun to make it (once I have a garage...). Nice work!

  • @honestnewsnet
    @honestnewsnet 2 года назад

    Why isn't this gone to market yet? Seems like a million dollar success. Shark Tank perhaps?

  • @markabernard
    @markabernard 3 года назад +2

    Great job!. I was going to make something like this, but yours is way better so I am going to copy it. :)

    • @TyPalowski
      @TyPalowski  3 года назад +2

      Glad you enjoyed it! And feel free!
      Check the comments, some people recommended extra stuff to put into the code that will make it auto turn off and also implement a moving average for the distance measurement.
      I appreciate you checking out the video and commenting

  • @ElliottStoddard
    @ElliottStoddard 3 года назад

    I am looking forward to reading your code. Thanks.

  • @benjaminmellingen5340
    @benjaminmellingen5340 3 года назад +5

    Bruhhhhh that is so cool! I would love to have one :D

  • @cyul
    @cyul 3 года назад

    Wow nice! Maybe add some kind of aural signal if you’re really too close? I had wanted to build one like that but I never thought the humble ultrasound distance sensor would work!

  • @nvprophecy
    @nvprophecy Год назад

    I would buy this!

  • @SmallGuy397
    @SmallGuy397 3 года назад +1

    Another great video Ty, I always look forward to your videos. Like another commenter, I'd like to win one buuuuut this definitely looks like something I could build for myself and mount magnetically on my garage racks using your video and materials.

  • @FuzzyScaredyCat
    @FuzzyScaredyCat 3 года назад +3

    Ping pong balls cut in half over the LEDs as diffusers

    • @TyPalowski
      @TyPalowski  3 года назад +1

      YES! That's a great idea! Thanks Andy

  • @OrangeMrToast
    @OrangeMrToast 3 года назад +7

    The red light stays on as long as the car is parked right? Maybe you should make it turn off after some minutes without a change of distance

    • @TyPalowski
      @TyPalowski  3 года назад +2

      That's a good idea! I tried looking into ways of dimming the screen as well (for burn-in) but nothing jumped out at me. I'm sure there's a way to have a secondary function running that measures the time an object is within a certain range. Or maybe I could set the red light to turn off just after the threshold and have a similar effect as the green light?
      Thanks for the comment and taking the time to watch!

    • @AdamDavisEE
      @AdamDavisEE 3 года назад +2

      @@TyPalowski Make variables "sleeping", "lastActivity", and "lastDistance". In the beginning set sleeping to false, lastActivity to millis() and lastDistance to the current sensor reading.
      Every loop check if the sensor reading is more than four inches different than lastDistance. If it is, set sleeping to false, lastActivity to millis() and lastDistance to the current sensor reading.
      Every loop check if millis() > (lastActivity + 30000). If the last time the distance changed was more than 30 seconds ago set sleeping to true.
      In the display loop (LED output) only run it if sleeping is false, otherwise set all leds to off and display the splash screen with upper case z's moving up and away from the sensor image. Also check the distance, and if it's greater than the green distance, don't display the jeep part of the splash screen.
      And don't worry about oled burnin. Buy another $2 oled display and stuff it loose inside the case so you can replace it if it ever gives you trouble.

    • @MooseHeadSeries
      @MooseHeadSeries 3 года назад

      @@TyPalowski Can you please integrate this into the code? I'm working on building this and it would be PERFECT!

  • @und3rgr0undfr34k
    @und3rgr0undfr34k 3 года назад

    nice!

  • @flammable3844
    @flammable3844 3 года назад +1

    Cool!

  • @jamesmay4547
    @jamesmay4547 2 года назад +1

    great project but I have two quick questions. the switch in your video is different than the one in your parts list one has four points, the one in the parts has three. Which one do I use? and please. if you send me this code that includes turning off the red light say after one minute I will make sure your future ancestors are blessed lol

  • @mrgamerzlobby
    @mrgamerzlobby 2 года назад

    this it great but is there anyway to add code to turn the red light off after say 1 min so you don't
    have to unplug it

  • @Dokkaebi85
    @Dokkaebi85 3 года назад +1

    Brilliant as always! Also I think it would be very useful for me cuz I’m Asian and a female so god knows I need all the help I can get 😆

  • @filipkalinowski1969
    @filipkalinowski1969 2 года назад

    I also made one of these for my capstone project... the HC-SR04 sensor tends to not be too accurate >5ft which sucks... only other method is to swap it out for a TFmini-s but that lidar sensor is $29 compared to $2 :/

  • @Flying_Hase
    @Flying_Hase 3 года назад

    Cool

  • @kevinc8270
    @kevinc8270 Год назад

    Ty, do you have a solution for the side of the garage? I was driving a sedan, but I just transitioned to a SUV. It is hard to gauge the depth and distance on the right side of my garage, which is a wall. Thanks!

  • @The220s
    @The220s 3 года назад

    I think you should a flashing red pattern to tell you to pull forward incase you back up to far. This would insure you have a certain amount of room between your jeep and your work bench.. ALSO one of these would light fire under my butt to finish cleaning out my garage so I can park my car in it haha.

    • @TyPalowski
      @TyPalowski  3 года назад +1

      That's a good idea! Someone mentioned having the light turn off after a certain amount of time, that gave me the idea to maybe have the light turn off when I get just past the stopping point to save some energy. Blinking would be a great warning too! Let me know if I went too far. Thanks for checking out the video!

  • @minn5459
    @minn5459 3 года назад +2

    I need one of these! And a car too. And a garage. :(

    • @TyPalowski
      @TyPalowski  3 года назад

      Haha don't worry! They will come in time!

  • @JW-zl2xw
    @JW-zl2xw 3 года назад +2

    I don't need this, however the mrs does hahah. You should sell those!

    • @TyPalowski
      @TyPalowski  3 года назад

      Thanks for checking out the video! lol about the mrs, and maybe one day I'll be able to, just need to find an injection molding place!

  • @dmart4201
    @dmart4201 6 месяцев назад

    Very nice! I’m new to the arduino world, but I am wanting to utilize your platform to make this, but modify it to use an actual stop light that I have. I assume the relay boards will work with the nano you recommended?

  • @eliworks8549
    @eliworks8549 Год назад

    Has anyone done any sleep mode for the LED's and OLED?

  • @J_Calvin_Hobbes
    @J_Calvin_Hobbes 2 года назад

    VERY cool, thumbs up! Have you seriously considered selling them? The only other one I've seen that is similar is the Striker parking assistant, but the sensor is on a separate lead, and have to get a separate power supply to eliminate batteries.

  • @SaratogaJerry
    @SaratogaJerry 3 года назад

    Yes, nice! But now that you are focused on the backup stoplight, how are you avoiding sideswipes? :-) You could have a loud annoying horn go off on yellow-to-red transition maybe?
    And I could use this ... first thing it would help with is forcing me to clean out my garage!

  • @Robakld
    @Robakld 3 года назад

    Great, love it. Can you post the schematic on how to wire it please?

    • @TyPalowski
      @TyPalowski  3 года назад

      Thank you! I posted a link in the description to the arduino write up where you can see the wiring, along with some links to the electronics used.

  • @Luvguf
    @Luvguf 3 года назад +1

    Wait. Are you telling me the walls of the garage are just walls and not a good indicator of when I should stop?

  • @dave-in-nj9393
    @dave-in-nj9393 3 года назад

    nice video. nice project.
    as always, I have to offer suggestions.
    add two other ranges green and yellow yellow and red
    add yet another range red blinking
    I didn't look at the code, but how long is the delay before it shuts off ?
    ================
    deep dive....
    sensor is set for a jeep back window. too high for a car.
    you could make the above to work with the windshield.
    does it go on when the door goes up and off when the door drops ?

    • @TyPalowski
      @TyPalowski  3 года назад

      Hey Dave! Sorry I'm getting to you late, I was at a training all week/weekend for work.
      Thanks for checking out the video and leaving suggestions, I'm far from an expert on any of this so I'll take all the help I can get haha.
      Adding those ranges would be cool to give a smoother visual experience. Some one also suggested adding a smoothing calculation (i.e. moving average) to the distance measurement so the lights don't blink back and forth.
      Another commenter wrote some nice code that would add an off function if the range hadn't changed by a certain amount within a set time period. The LEDs don't bother me too much, I was more worried about the burn in on the little OLED. When mentioning that to the guy that wrote the off function code, he said just to buy another $2 OLED haha!
      You're absolutely right about the sensor possibly being too high for a car. I mentioned in the video that I left the opening to the bottom of the case large just incase I needed to add a cable extension to the ultrasonic sensor, in my case it worked out so I didn't bother.
      Thanks again for watching and commenting!
      The Range I set the edge of the green light to is inside the distance to my garage door so that is not a problem for me.

  • @karenkim3177
    @karenkim3177 5 месяцев назад

    Great project! I know this is 3 years old but have you made any changes to your code? Are you still using the stoplight? It'd be great to hear your thoughts on this after 3 years!

  • @cadenblair1253
    @cadenblair1253 3 года назад +1

    Hey Ty! Can you make a video on how to design various things in cad? I’m in a drafting and design class, and I chose it specifically because I liked your videos

    • @TyPalowski
      @TyPalowski  3 года назад

      Hey Caden, do you mean show more of the design process in my videos? Or make an entire video designing something from start to finish?
      I thought about making a Solidworks tutorial but couldn't think of a way to make it more entertaining than paint drying lol.
      Let me know what your ideas are!

    • @cadenblair1253
      @cadenblair1253 3 года назад

      Ty Palowski I think making an entire video designing something from start to finish might be the best way for a “how-to”, but I think it’d be good to include a little bit more if the design process in each video for a better understanding of the engineering behind it. Don’t get me wrong I’d still enjoy the more “how-to” design videos, but it’d be nice if each video was more in depth.

  • @umxrr8677
    @umxrr8677 3 года назад

    Haha cool, can you make a mains voltage detector?

  • @KeasDad
    @KeasDad 3 месяца назад

    i wish i knew how to do things like these .

  • @mikemathes7172
    @mikemathes7172 2 года назад

    Hi, i have a real stop light, is there any way i can make it work kike this ?

  • @isellchickens
    @isellchickens 3 года назад

    It would be helpful to me.

  • @danesparza77
    @danesparza77 3 года назад

    In your parts list, for the OLED display, you said "trust me, get two". Why is that? Are they flaky -- and is it possible one won't work?

    • @TyPalowski
      @TyPalowski  3 года назад

      I broke one by accidentally bending it at the solder point. I was being careful! But not careful enough haha. You might have better luck than me.

  • @jeremydonis8616
    @jeremydonis8616 3 года назад +1

    IT WOULD BE HELPFUL

  • @PersephoneMilneaux
    @PersephoneMilneaux 2 года назад

    TAKE MY MONEY!!!

  • @tygolden8188
    @tygolden8188 2 года назад

    Are these for sale?!

  • @honestnewsnet
    @honestnewsnet 2 года назад

    How much for you to build me one or two of these?

    • @TyPalowski
      @TyPalowski  2 года назад

      Haha, I have the files and links to electronics in the description for free! Plus I looked into it and there's commercial versions of this out there if you really need one! Thanks for checking out the video and commenting!

  • @parresdborden
    @parresdborden 2 года назад

    Hey did you decide to sell them?

    • @TyPalowski
      @TyPalowski  2 года назад

      Sadly no...I looked into it and there's commercial versions of this already being sold. Thanks for watching the video and commenting, I really appreciate it!

  • @BrianB2579
    @BrianB2579 3 года назад

    .......oh No !!! you got your precious certificate hanging up in the garage.... It needs a cleaner place.😒😒😒 Everyone is going to take down the hanging tennis ball that bumps on the car when you are at the right spot and replace it with The Ultrasonic Man!!!👍👍😍😍😍😍

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Haha, I had it in my old office but since switching jobs it's been stuck there at the house. But you're right about a cleaner place.. I'll move it to the kitchen lol
      Thanks for checking out the video!

  • @dave-in-nj9393
    @dave-in-nj9393 3 года назад

    there is some discussion on the Arduino forums. forum.arduino.cc/index.php?topic=707461.new#new

  • @mikem7035
    @mikem7035 3 года назад

    My wife totally needs this to get her jeep in the garage! Can u make me one to work w a real traffic light lol?

    • @TyPalowski
      @TyPalowski  3 года назад

      Hey thanks for checking out the video and commenting!
      Lol, you might need some more power for those larger lights, but the concept is the same so it can be done!

  • @analiensaturn
    @analiensaturn 3 года назад

    Should have put it on the car then you could use it anywhere

  • @bz3248
    @bz3248 3 года назад

    Subbed.
    That's cool as a witch's tit in a brass bra. 👍👍
    Been trying to figure out something like that for my garage but ... I used a laser pointer, not nearly as cool as your traffic light. Seems to work ok.

  • @TheYelof3
    @TheYelof3 3 года назад

    Great project! I gave it as a gift. I'm a coding novice--could you possibly help with the code for getting the red LED to shut off after X number of seconds? As it runs now, the LED stays on and unplugging is required. Thank you Ty!

    • @TyPalowski
      @TyPalowski  3 года назад +1

      Hey I really appreciate it you checking out the video!
      I haven't messed with the code too much since posting this, but here is a comment by Adam Davis,
      //
      Make variables "sleeping", "lastActivity", and "lastDistance". In the beginning [setup] set sleeping to false, lastActivity to millis() and lastDistance to the current sensor reading.
      Every loop check if the sensor reading is more than four inches different than lastDistance. If it is, set sleeping to false, lastActivity to millis() and lastDistance to the current sensor reading.
      Every loop check if millis() > (lastActivity + 30000). If the last time the distance changed was more than 30 seconds ago set sleeping to true.
      In the display loop (LED output) only run it if sleeping is false, otherwise set all leds to off and display the splash screen with upper case z's moving up and away from the sensor image. Also check the distance, and if it's greater than the green distance, don't display the jeep part of the splash screen.
      //
      Let me know if you need more help John!

    • @TheYelof3
      @TheYelof3 3 года назад

      @@TyPalowski Thank you Ty!