Skip to content

Simple program written in MicroPython for LED RGB color change. Works with raspberry pi pico (RP2040)

Notifications You must be signed in to change notification settings

pawelgoj/rgb_led_color_change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple program written in MicroPython for LED RGB color change

Tools

  1. MicroPython
  2. Microcontroller: raspberry pi pico (RP2040)

Video with an example of operating the device

wideo.mp4

Circuit diagram

diagram

You can change resistors to fit your diode.

Operation of buttons and potentiometer

  1. Button ON/OFF - Turn on the LED/ Turn down.
  2. Button change color/Save:
    • Press and release - change color component: red, green and blue
    • Press and hold 3 seconds - save color
  3. Potentiometer - fit intensity of color component

The device remembers the saved color after turning off the power.

Scripts

  1. main.py - file with program
  2. delete_all_files_from_pico.py - script removing all files from raspberry pi pico

About

Simple program written in MicroPython for LED RGB color change. Works with raspberry pi pico (RP2040)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages