GPIO Basic-Play with LED on RASPBERRY PI’S using
Blog

GPIO Basic-Play with LED on RASPBERRY PI’S using

Today we will learn to use GPIO pin to glow LED using python
scripts. Beauty of Raspberry PI is GPIO, General Purpose
Input/Output ports. This can be used to give output or receive input.

Prerequisite

  • Basic understanding of Linux terminal commands
  • Basic understanding python coding
  • Basic knowledge of basic circuits

Note: RPi GPIO input voltage and output current limitations for GPIO pins: These are 3.3 volt logic pins. A voltage near 3.3 V is
interpreted as a logic one while a voltage near zero volts is a logic
zero. Never give higher volts like 5V or have big load like stepper
motor on this pins. This will blow RPI. In next blogs will update how to
overcome this limitations.

RPI = Raspberry PI 🙂

Requirements :

  1. Raspberry Pi
    1. Will be using Raspberry Pi 3 Model B for this experiment,
  2. Breadboard
    1. Using 830 Points for this experiment, 400 points breadboard is also sufficient.
  3. LED (Light Emitting diodes)
  4. Resistor – 330 ohms TO 1K ohms
    1. Resistor will limit current to LED and product our RPI. To know more about resistor visit https://learn.sparkfun.com/tutorials/resistors .
  5. Dupont Jumper wires
    1. I am using Male-to-Male as I am using Directly via breadboard.
      You may use Male-Female  if you do not have Tcobbler with 40 pins.
      One side will then connect to RPI and other to breadboard
  6. T-Cobbler with 40PIN cable  (Preferred, Not Mandatory), This also help to identify BCM Pin numbers
    1. Using T-cobbler as I have kept my Raspberry Pi in Clear Case as
      displayed below. Now do not have to open case every time. From RPI have
      40PinCable safely connected to T-Cobbler on BreadBoard.

Leave a Reply

Your email address will not be published. Required fields are marked *