GPIO Basics with LED light - Raspberry Pi and Python tutorials p.6

preview_player
Показать описание
In this Raspberry Pi tutorial, we're going to be introducing and using the GPIO (General Purpose Input Output) pins on our boards.

These pins are directly connected to our Broadcom chip, so this is a "proceed at your own risk" tutorial. You can fry your Pi with a simple mistake plugging into the wrong pin. That said, most of the awesome functionality of the Raspberry Pi comes from these pins, so it's a rewarding thing to learn.

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

Thank you for mentioning the LED has different foot length. I switch my LED and it works. :) You are the best teacher. Always reminds us those little things.

TXfoxie
Автор

Thank you. Did my first GPIO project from this video!

UncleJayDev
Автор

The feeling of accomplishement is HUGE!!!

bas
Автор

This stuff is great. Definitely planning on following alongside this similarly, but I do want to know more about the code being used and why it works the way it does.

israphial
Автор

My breadboard has positive and negative rails along each side, which one do I plug the jumper into? It also came with a power supply do I need to use it or will it just draw power from the raspberry pi?

WhoForgotFlush
Автор

Mate, you are such a great teacher, awsum.

krishnamrajupakalapati
Автор

awesome video, iv got a different bread board, the side part has two rows instead of 1, + and -. also had to rig up a ground wire, finally got it to work and played with the output to get different results/lightshow. thanks heaps, ill continue watching.

agonymouse
Автор

Love it, got my led on woop woop! thank you.

JulianMakes
Автор

Best way to differentiate GPIO.BCM from GPIO.BOARD is to use two different nomenclature.

GPIO.BCM uses GPIO Number.
GPIO.Board uses RPi Pin Number.

The example uses GPIO.BCM which is GPIO 18.
If the GPIO.setmode is GPIO.BOARD then Pin 12 would represent GPIO18.

Setmode tells python which way to look at the GPIO's.

InobuZ
Автор

I am not sure if this was said, the resister part is a bit rough. Can both ends be placed any where on the circuit board as long as it is not touching the male to female cord?

pigsoink
Автор

I just wanted to mention this ... I am doing a simple project to learn Python and I have this Pi Zero kicking around. I program in C# on my machine, but apparently Dotnet doesn't work on Arm6 so ... i can't use it. Therefore I am learning Python HAHA

This was great, it was exactly what I needed to know at the time, and in the future I am sure I will check your channel out for more vids :)

Kardall
Автор

Why aren't the GPIO pins numbered in sequence like we'd have them Arduino boards or others? What is DNC for and can you please tell me more about GPIO10 & 11 used by Dotstar(why are they unavailable)? Thanks a lot for the helpful content.

dikshitadesai
Автор

Is there a way to control the GPIO pins in languages like c# or c++

everblackwood
Автор

Impressive. As a Computer Science student previously majored in EE, I never think about we could do it with python. Typically to drive embedded hardware we need languages like C/C++...

chenwang
Автор

My gpio pins aren't responding .What is the issue, I just connected an led earlier that had a dim blink and after that no led lights up

junaidbashir
Автор

Which version do you have? Should I go for Raspberry Pi 4?

mailoisback
Автор

Awesome tutorial as always! (Not confusing at all!)

felixdefrance
Автор

Great introduction! Do you have one where it is combining LED with a switch?

michaelborup
Автор

how tf high and low isnt a thing in python and when i try it it doesnt work but passing a boolian statement of True and Flase should work but for somereason even that doesn't work it makes no sense every tutorial i find sais about the same thing but none of it works for me

nighthawkgaming
Автор

Hey man, I get the high signal turned the LED on, but what did the low signal do?

leatheljamie
visit shbcf.ru