The Raspberry Pi can control LEDs, turning them on and off, as well as motors and other devices. It can also detect whether a switch has been pressed, as well as detect temperature and light.
Connect a column on the breadboard to the resistor from the corresponding row on the breadboard. In the same row as the resistor, connect the LED to the cathode. Place the anode in the next row. Connect the GPIO Pin 21 (3.3 V) in the same row as the LED anode with another jumper cable.
Check that your Raspberry Pi is turned on. Take another male-to-female jumper wire and place the male end on the same side of the ravine as the resistor's second leg. Then connect the female end to the GND pin. Your LED should now be on!
Connect the pin of a male to female jumper cable (which has a pin on one end and a socket hole on the other) to the second resistor leg on the breadboard as illustrated below. Connect the female (socket) end to a 3.3v GPIO pin on the Raspberry Pi. Your LED should be turned on now.
In theory, each GPIO output can drive one LED. You can't identify which one you have because the RPi3 and RPi1 have different numbers of outputs. You should not, however, pull more than 16mA per pin and 50mA overall. If you do, your Raspberry Pi could be destroyed.
Learner's Ratings
5
Overall Rating
100%
0%
0%
0%
0%
Reviews
H
Hardik Patel
5
I just learnt this course and many of my concepts are clear now about Raspberry Pi
S
Shivam
5
please give me the txt file to download the required libraries
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
R
RAVAN RATHORE
5
good
H
Hemant Ramphul
5
Wow.. Thank you very much.. your explanation is so easy to understand, simple and straight forward.
R
Roshan Channe
5
you are the best...!!!
R
Rahul Singh
5
I like this course
A
Akash Rawat
5
Thank you for amazing lectures and discussions! I learned a lot and benefited from your course!
Thank you!
L
Lambodar Waghmare
5
hello.. first of all thank you so much to learn vern ... im robotics engineering student ... i was learn complete IOT ARDUINO from learnvern and made a lots of project ... now thanks for rasbp tutori
Share a personalized message with your friends.