Blink and Learn With PiCoder LED Blinky Project

by sb_ltd in Circuits > Raspberry Pi

166 Views, 0 Favorites, 0 Comments

Blink and Learn With PiCoder LED Blinky Project

16;9 (1).jpg
a41f96e1a84a236fd8b73fb25da4e376_original.jpg

With PiCoder’s LED Blinky Project, get ready to shine! Learn the fundamentals of programming and electronics while producing your own eye-catching light.

Supplies

PiCoder LED Blinky Project Blink and Learn
  • 8x8 LED matrix
  • LDR ‑ light Dependent resistor
  • BME280 - Sensor for Pressure, temperature & humidity
  • ultrasonic sensor hc-sr04
  • RFID- EM-18
  • Multi-Tone buzzer - up to 5 Lines
  • 5 x Programmable Buttons
  • 2 x LEDs
  • Potentiometer POT - Sensor
  • Servo Motor - SG90
  • 2 x Relay 3v each
  • 3.2" capacitive Touch LCD
  • Breadboard
  • Raspberry Pi Pico HAT
  • Raspberry Pi Pico onboard
  • Dual USB Breakout Board
  • Jumper wires

Introduction

A Comprehensive Guide to Learning Electronics and Programming with the Raspberry Pi Pico Learning Kit

Anyone learning electronics and programming will find the PiCoder — Raspberry Pi Pico Learning Kit to be an excellent resource.

The PiCoder is a thorough learning kit that includes a Raspberry PiPico W on the header, a half-size breadboard, LCD screen, 8x8 RGB LED matrix, light-dependent resistor, BME280 temperature, pressure, and humidity sensor, HC-SR04 ultrasonic sensor, RFID reader, buzzer, four buttons, two LEDs, potentiometer, servo, two relays, HAT breakout, and USB C power input.

LED Blinky for PiCoder — Introduction

The LED Blinky Project from PiCoder is an excellent method to gain knowledge about electronics and programming while making something entertaining and eye-catching. With this project, you’ll build your own LED light display using a Raspberry Pi Pico microprocessor and a number of electronic components. Beginners will find it simple to follow along and study at their own pace thanks to the step-by-step instructions. Additionally, you will be able to create even more thrilling projects in the future with the skills you learn from this project.


With PiCoder’s LED Blinky Project, get ready to shine! Here are the actions:


Let’s begin with the very first PiCoder project, led blinking. Learning is joyful with a portable and complete Raspberry Pi Pico W-based Learning Kit that includes onboard actuators, sensors, and LEDs.

How to Install Thonny IDE:

Install Thonny IDE by downloading it from the Download link according to your OS. Launch the Thonny IDE programme, whose windows appear as in the illustration.


Utilize a micro USB connection to connect PiCoder to your computer or laptop, then choose a board with an appropriate com port as indicated in the accompanying diagram.

Your choices are two. To choose the board and pertinent port, click in the bottom right corner of the Thonny IDE.

choose Run > Interpreter Configuration > Board and Port

Writing Codes

PiCoder LED Blinky Project Blink and Learn

Once each step has been completed, we can begin developing our PiCoder. Use Thonny IDE to enter the following code, or download and open Led_Blink.py.


Working demo with code running:

Here are some examples of this learning kit’s uses and applications:


Learn electronics: The PiCoder kit makes it fun and interactive to learn about electronics, circuits, and programming.

from time import sleep
from machine import Pin
led1 = Pin(28, Pin.OUT) # LED connected to GPIO 28 pin of pico on PiCoder
led2 = Pin(14, Pin.OUT) # LED connected to GPIO 14 pin of pico on PiCoder
while 1:
led1.value(1) # turn ON led 1
led2.value(1) # turn ON led 2
print("LEDs ON")
sleep(3)
led1.value(0) # turn OFF led 1
led2.value(0) # turn OFF led 2
print("LEDs OFF")
sleep(1)



Applications

Here are some of the uses and applications of this learning kit:

  • Learn electronics: With the PiCoder kit, you can learn about electronics, circuits, and programming in a fun and interactive way.
  • Raspberry Pi Pico: The kit comes with a Raspberry Pi Pico microcontroller, which is a powerful and versatile microcontroller that can be used for a wide range of applications.
  • Wide range of components: The kit includes a wide range of electronic components, with such a diverse range of components, learners can explore the basics of electronics and coding while learning about sensors, input/output devices, and other essential hardware concepts. This kit is ideal for students, hobbyists, and makers who want to explore the basics of electronics, coding, and robotics.
  • Multiple projects: The PiCoder is built around the Raspberry Pi Pico W, which is removable and upgradeable. If a newer model is released, learners can easily upgrade their kit by swapping out the Pico with the latest version. This feature ensures that the PiCoder is future-proof, allowing learners to continue their exploration of electronics and coding as new technologies emerge.
  • Open-source software: The kit uses open-source software, which means that you can modify and customize the software to suit your needs.
  • Real-world applications: The skills you learn with the PiCoder kit can be applied to real-world applications, such as building your own smart home devices, robotics projects, and more.

Overall, the PiCoder - Raspberry Pi Pico Learning Kit is an excellent resource for anyone learning about electronics and programming. With its step-by-step instructions, a wide range of components, and real-world applications, it's the perfect tool for beginners and enthusiasts alike.