Raspberry Pi Tutorial 19 - GPIO Introduction with a LED

preview_player
Показать описание
How to turn on and blink a LED with Python on a Raspberry Pi. A 'Hello World' type GPIO introduction.

This video is part of a series of building a practically 'useful' security system using Raspberry Pi to catch the Cookie Thief. I am not a computer scientist, software engineer, programmer or electrical engineer. Everything I cover was self taught using resources I found on the web. I thought it would be great to put together a series of videos that consolidates what I have learned to yield a single resource to cover many interesting topics about the Raspberry Pi! Having said that, due to my relatively little experience, I may have made mistakes or could have done certain things better. If you are aware of such a mistake, please let me know either in the comments or through email!

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

Thats what I was looking for! Most of the videos tell you to connect this and that to here and there. But nobody explains the logic of the pin numbering. Breadboard numbering. Completing circuits etc. hats off to you for making this really that simple!! Kudos!!

mridulranjan
Автор

Great tutorial....I finally understand how to wire the breadboard now. Thank You!

allenwilliamson
Автор

Very well made Sir. I am new to this all and many videos have let me down. This was a perfect intro to the GPIO for me. Thank you very much.

chriswalker
Автор

Nice I am learning so much as the tutorial that came with my bread board and RFID Starter kit led me straight to a brick wall and I am stumped !

ghost-xh
Автор

Oh wow I literally found this after I handed in an assignment and struggled through how to do this alone! I'll watch it nevertheless!

charlieosko
Автор

Great you do a great job and make it real easy to follow along.

justintabor
Автор

nice tutorials. You should do more RPi tutorials now that the RPi 3 is out. Maybe some interesting projects or useful tips...etc

bugra
Автор

great introduction videos mate

keep them coming

sshashlan
Автор

for everyone who WILL get confused !

I wish that this was easier information to find but the numbers of GPIO are not the same as a Physical pin number. So if your guide says to put it in pin 22 it is the count of 22 and NOT GPIO22. the gpio numbers are not the same as the physical pin numbers they do not match up. I hope this helps someone!

elliesera
Автор

Thanks this tutorial was really helpfull u have one more subscriber plus im a noob at raspberry pi i got one couple days ago

magdalenapodstada
Автор

Worked on first time! Never done electronics stuff before.

MrMorvar
Автор

thanks mate, all the best and will look out for them 👍

sshashlan
Автор

I need some help. My program is not giving me the error you referenced, and it doesn't even seem to realize there is a circuit involved. It's just printing ON, OFF, ON, OFF, ON, OFF, behaving like a normal program. I double checked to do everything you did in the video and I can't figure out what i'm doing wrong.

potatosack
Автор

Brilliant tutorial for all us Noobs ....

PTguitars
Автор

I'm having a really hard time with the cd commands, I get no such file or directory when i copy the exact path of the file i want to run. Any help? I have the freenove kit and in their tutorial they just just enter cd ~/ path and they can run the led on the terminal. So confused...

Hitmonkey
Автор

Can you confirm if it's better to use the resistor on the positive side, before the load (LED), than after the load on the ground side?

jamestrowbridge
Автор

Could I plug the resistor/led in the same board of T-cobbler?

brunoillipronti
Автор

Sorry if I sound like a complete beginner but how are you managing to run scripts that you have written on your computer from the raspberry pi? Would'nt you need to copy the *.py to a flash drive then transfer the flash drive to the raspberry pi?

Thanks!

guciodog
Автор

Hello Alex,
Great tutorial :) After watching your videos I bought Raspberry Pi and I have started playing with it.

When I was reproducing this tutorial I have noticed that you use a 220 Ohms resistor (I did it without resistor and with the same LED). You connect it after the LED which doesn't make sense for me. I thought the resistor has to be placed in front of the LED to restrict the amount of current flowing through it. Can you tell me why you connect it after the LED ?

Nick

vandi
Автор

Hi, I tried to blink LEd using Pi 3. LED is blinking but its very dim. If i do GPIO out without time.sleep its bright. Can you please help me to figure out what i am doing wrong

nagarajanganesan
welcome to shbcf.ru