Garage Stop Light GPIO project - Raspberry Pi and Python tutorials p.8

preview_player
Показать описание
In this Raspberry Pi tutorial, we're going to put together what we've learned so far to create a garage stop-light.

The idea of a garage stop-light is to show green when you have plenty of room to pull your car forward in your garage, and then turn yellow as you approach the fully forward position, and then red when you should stop. We're going to build this system with our Raspberry Pi, and use some distances that we can easily test.

Рекомендации по теме
Комментарии
Автор

what happened with this series? I want more. I just bought a Raspberry Pi 3 and I can't wait to get it and i found this series. Please do more.

alexcsillag
Автор

Seriously some great content here. It's hard to find stuff that actually goes through the steps to setup something simple like this for the noobs amongst us like myself

drdax
Автор

I think this could possibly be newer than this tutorial but there is also GPIO.set_callback() that you can use instead of a continuous sensor loop. It runs when a value changes and minimizes CPU usage.

BiologyIsHot
Автор

Dude great tutorials.
maybe you could make some more
thanks!

FM-moeq
Автор

Great tutorials! I have enjoyed all of them. Just starting out with Raspberry Pi after using an Arduino for a lot of years.

Your video and audio quality is excellent and your videos are very easy to follow. I would like to make a request. How about using a lot of the projects in your tutorials and put together an internet of things? The video camera, GPIO for controls, etc.

You do such a good job explaining you could make a truly awesome tutorial for an IoT.

Thanks again for the tutorials you have done so far. Love em all.


Alan

sasines
Автор

I enjoy this series very much. Thank you for your great tutorial, exceptional as always. BTW, in your pin diagram of rasberry pi GPIO header, you have 3 grounds(black), but on the breadboard, you have 4 grounds(black). Maybe you made this mistake on purpose so that we can figure out how to wire the pins. LOL. After I adjusted diagram, my lights work perfectly. Thank you a lot!

TXfoxie
Автор

Out of curiosity.... how are you choosing these resistor sizes? The typical LED draws about 20 mA for full brightness operation. The yellow and green LEDs have a forward voltage of about 3 volts, leaving 0.3V for the resistor to drop, and if you put a 500 ohm resistor in there, you're drawing less than 1 mA of current through that LED. Realistically, the yellow and green LEDs should have a 30 ohm resistor maximum in there, which gives you 10 mA of operating current. The red LED drops about 2V, so you can use a 130 ohm resistor for that one.


The voltage divider on the ultrasonic sensor -- the only documentation I could find online says the operating current in the sensor is 15 mA. Not sure what exactly that applies to, but obviously you'd think that would dictate the resistances in the divider. Using 1 and 2 k reduced the total current available to 1.7 mA.

navsquid
Автор

You're the best around. Awesome work

semiata
Автор

You've made my day 😇 Stay Blessed

Shahbazpucit
Автор

thanks for the tutorials. I modified this to make a social distancing snapback. Only works within 1 meter

aaronmorgan
Автор

Great projects for us just starting with Raspberry Pi, Raspberry 4 8GB

tracywest
Автор

Why did you stop the tutorials? how can I learn all of the things for raspberry pi now

jokesmakemehappy
Автор

Hi sentdex, excellently presented demo..keep going, you are doing a great job !!

srkstudy
Автор

First of all thanks for those great tutorials,
May you please explain why that your terminal read 2.2xxx cm and then your LED color changes respectably to the distance!!
Those reads do not matches with your program code !!!

ahmedb.hameed
Автор

Hey man, great tuts. Please more Raspberry pi videos.

alexandrebegijanovi
Автор

Thx for the tut series...but..you do it so good..that the speed is spinning out of control..if find both you and the content good enough to spend the time to hear you opinions..but I found my self pausing rewind a lot...slow it a bit down...in the end of the series you go" and jada jada and then jada great jada" I rewinded it and got.. "then we set pin 18 and jadajada" revind again.."then we set pin 18 as output..😎🙏 but I will stick around for more..thx mate

christiansrensen
Автор

Nice tutorial, man!!! 🤗 I will check if you have more tutorials, with a little bit more recent software (python3 :D)

GGShinobi
Автор

Can you use one ground for all of them?

Joso
Автор

great tutorial, can we expect a next part in the series sometimes?

MrArteez
Автор

How can I connect a buzzer instead of three LEDs so as an obstacle gets into a specific distance the buzzer should make the sound or buzz

ClashingJunction
join shbcf.ru