I have a broad interest in Information Technology and I have been teaching it at the post-secondary level in Toronto, Canada for over 20 years. My current focus is around Raspberry Pi and Python programming and this is what my channel is mainly devoted to.
New videos will be posted regularly. Please subscribe as I grow my new channel. Your comments and suggestions are very valuable to me as I learn how to make it better.Thanks!
Complements on a VERY good tutorial - sincerely appreciated. I consider your presentation to be amongst the BEST I have watched and as a result have subscribed to your channel. Keep up the good work and looking forward to viewing any other of your tutorials relevant to my needs in the future.
This is awesome! The new library is simple and easy to use. Love the event features. I have a problem with my button triggering multiple times with one press randomly. Is there a way to ignore multiple button presses within a specified time?
I realize this post is months after the vid was released. I have a new pi 5. Is the red led supposed to stay on where there is power? I'm using the ac plugin with USB c. The USB c connection to the pi is lousy. It doesn't take much to come loose. However when I power up, the red light comes on, then goes off. The green light does flash and then stays on steady. I can ping the IP address of the device as shown in my home wifi router app. I cannot ping the hostname, which is default...I cannot successfully run putty or run the ssh command either. Do I have a faulty pi?
I'm a bit surprised that the Raspberry Pi manufactures made it possible to connect the ribbon incorrectly even though the ribbon connector has the key notch. But anyway, this was good info. For those of you who care, and I know THAT includes ALL of you ;) : notice that the ribbon has a red wire or stripe at one end (sometimes a different color) , THAT is pin #1 of the connector and is important to know...
Good point but not all ribbons have this red stripe or they may be entirely rainbow-coloured. It is also possible to make the connection backwards on both ends and it will work, but the red stripe will be pin #40 then.
I really like (and I've used) your breadboard-placement suggestions. I view your advice to be "structured wiring optimization." Your wirings do so much to avoid "spaghetti wiring" (that's a coding callback to the goto days.) Thank you.
This code handles safe program shutdown procedures, where GPIO ports are restored to default. I explain the why and how in a dedicated video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Dx7rdrqJxgs.html
I’m just looking for a simple tutorial where you talk about connecting jumper wires in the first place. I’m trying to get my 12 year old daughter into coding and programming. We keep buying extra stuff because we don’t have what we need. Yikes !
Have a look at this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7NzbZaX5MAA.html I demonstrate there how to connect LEDs to Raspberry Pi GPIO. As far as electronics components go, I recommend Freenove kits on Amazon.
LED blink method has an "n" parameter, allowing you to specify how many times to blink instead of infinite: gpiozero.readthedocs.io/en/stable/api_output.html#led
The problem is you are not limiting the current through the pin if it's accidentally set as an output. I explained, more but it just got deleted by YT.
You can also accidentally connect 5V to GPIO or short 3.3V to GND etc. There is always an element of damage risk when you work with Pi headers directly. My suggestion is to keep circuits as simple as possible.
Another great video. Thank you. I've worked thru (and learned a lot from) your LCD1602, gpiozero, 3-pin button, and HC-SR04 vids -- both on the electronics side, and from your excellent python code.
I assume that you are referring to reversing the ribbon on one side. This by itself will not damage the Pi until you build your circuit. Generally, damage occurs when 3.3V (or a GPIO port set to OUT mode) is shorted to GND, or if you short GND with 3.3V straight up. Also, you can cause damage by connecting 5V to any other pins.
I don't know if you do remember me. But you were my very first Rasp Pi teachers on here, when I first got the Pi 4. I hope you can remember me. If you ever see what I did in three short years. It's because of you and the way you explained things in the way that you did. I soaked it right up. Please see what you had taught me. Thank you, I'm pretty sure you will thank yourself. From just one of your followers. Joe
I use OctoPi distribution in my RP4b. This is e x a c t l y the tutorial an explanations I've been looking for like a week. Not only from the security standpoint of being able to add a new network with an encrypted passkey, but taking into consideration countermeasures if anything went south. Thanks so much for such a simple yet insightful explanation and step by step guide. Really can't mess it up, and I'm a complete novice when it comes to Debian and Linux in general.
Thank you for your video. When I try to download the lcd package, it keeps retrying but in the end it doesn't download. I have i2c enabled. What should I do if I want to use the rip_lcd library?
Have you tried adding '--break-system-packages' to your pip3 install command? Current Raspberry Pi OS version changed how Python packages are handled, so this is a workaround to install Python packages the "old way"
As this code is in its own module, any constants (led1, led2) should be declared ahead of a function where they're used (go_blink). This makes understanding scope a little easier for beginners, IMO. My only beef -- thanks for the tutorial!
Thanks. This is the best walk-through of headless setup I've seen. I particularly appreciate the points of caution you raise along the way, without tortuous digressions. 💯