If you are new to Raspberry Pi, then you are in the right place. Here in this tutorial, we will do our first Raspberry Pi project. Whenever we learn some new programming language, we do the "Hello World" program to get started. But for electronics, LED blinking is the most fundamental program to start with.
Before we proceed, we would like to clarify some points:
- We will be using Raspberry Pi 3. But the process will be same for all other versions of Raspberry Pi.
- We will use Raspbian OS in Pi, But you can use any other OS also.
- If you have just bought a Raspberry Pi and don't know anything, then go through the links given below. We have made other tutorials also about monitoring the desktop or installing the operating system.
- Check our website for more projects and tech feeds. We have recently launched it in Diwali. Hope you will like it. www.being-engineers.com
- If you like to check out Raspberry Pi in details, then go to this link - http://being-engineers.com/lets-gets-started-with-...
- We have made a separate video demonstrating the whole process step by step. So you can watch that also for reference. -
- How to install Raspbian OS in SD Card for Raspberry Pi - https://www.instructables.com/id/HOW-TO-INSTALL-RAS...
- How to use your Android device as a monitor for Raspberry pi - https://www.instructables.com/id/HOW-TO-USE-ANDROI...
- How to use your Linux device as a monitor for Raspberry Pi - https://www.instructables.com/id/How-to-Use-Your-L...
- How to use iOS devices as a monitor for Raspberry Pi - https://www.instructables.com/id/How-to-Use-Ios-De...
- How to use Windows laptop as Raspberry Pi monitor - https://www.instructables.com/id/How-to-Use-Window...
So, let's begin.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Things You Will Need
You will need the following components other than Raspberry Pi setup.
- Blue 5mm led (X1)
- Jumper wires
Here is the buying link for Raspberry Pi : http://amzn.to/2eangv9
Step 2: Setup Your Pi and Do the Wiring
Follow the following steps -
- Install OS in SD Card and insert it in Pi.
- Connect mouse and keyboard to the Raspberry Pi.
- Connect a monitor (Or you can use other devices as a monitor using WiFi network. Go to the links given above to know more).
- Power up the device.
- Connect two jumpers at Pin 3 and Pin 9.
- Take a breadboard and connect a LED in blank dots with a 100
Ωresistor connected in series with it (connect the resistor with the negative terminal).
- Connect pin 3 jumper to the positive terminal and the other jumper to the open side of the resistor.
Now you are set to start coding.
Step 3: Do the Coding and DONE!!
At the desktop go to menu > Programming > python 3.
Create a new file and write the following code there.
After this, save and run your code. Now you should see the LED blinking in the breadboard.
Look at the video for detailed process. We have tried to clearly explain the project, but if you have any doubt or have any problem executing the project, then feel free to ask us in the comment section below.