Skip to content

Setup for using Raspberry Pi Picos for programming lessons.

License

Notifications You must be signed in to change notification settings

lurbano/picoLED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picoLED

Setup for using Raspberry Pi Picos for programming lessons.

Software: Setup your PicoLED strip:

Install Circuitpython:

Copy librarie/s:

  • You will need the neopixel.mpy library from the appropriate circuitpython bundle. The version for version 9 of circuitpython is included in the ./lib folder of this repo for convenience.
    • Copy ./lib/neopixel.mpy to the lib/ folder on the Pico.

Run:

  • On the Pico, run the code.py file. The program Thonny facilitates this:
    • Thonny:
      • You will most likely need to set the interpreter on Thonny. This can be done either through Tools->Options->Interpreter menus, or clicking on the interpreter listed on the bottom right corner of the Thonny window.

Hardware: Build a PicoLED strip (./hardware/):

Raspberry Pi Pico or PicoW:

  • This setup has been tested with both boards. Other boards that can run circuitpython will probably work as well.

LED Strips:

  • Use WS2812b led strips. The box design above is set up for 20 LEDs at 144 leds/meter, but any number of these leds and any density can be used.
  • Connections from Pico -> LED strip:
    • Ground -> Ground
    • GPIO (default GP27) -> Data
    • 5V -> 5V

Design for laser-cut box (optional):

  • SVG: ./hardware/pico-strip-box-single.svg
  • Original Corel Draw files: ./hardware/pico-strip-box-single.cdr

PCB (Optional):

  • This is a PCB design that facilitates mounting the Pico to the box and attaching the wires for the LED strip, but, it's not necessary.
    • (./hardware/pico-LED-Touch-Analog-1x-v3.zip).
  • We use 2 mm diameter nylon bolts (8 mm long) and nuts to secure the Pico to the PCB, then solder the five marked contacts.
  • A 3-pin terminal block (0.1 inch/0.245 mm spacing) can then be soldered to the marked pins to make it easier to attach and adjust the wires going to the led strip.

About

Setup for using Raspberry Pi Picos for programming lessons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages