User Tools

Site Tools


raspberry-pi-pico-bluetooth-led

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
raspberry-pi-pico-bluetooth-led [2022/02/10 21:45] adminraspberry-pi-pico-bluetooth-led [2022/02/10 23:31] admin
Line 6: Line 6:
  
 {{:radiopico-bluetooth-led.png?400|}} {{:radiopico-bluetooth-led.png?400|}}
 +
 +{{ ::radiopico-bluetooth-led.fzz |}}
 +
 +===== Parts =====
 +
 +  * [[https://amzn.to/3BfSTuM|Bluetooth Module]]
 +  * [[https://amzn.to/3uDsENh|Pi Pico]]
 +  * [[https://amzn.to/3uDsENh|Pi Pico]]
 +  * [[https://amzn.to/3uDsENh|LED Strip WS2812B]]
  
 ===== The Code ===== ===== The Code =====
Line 87: Line 96:
 Download the [[https://github.com/micropython/micropython/blob/master/drivers/neopixel/neopixel.py|neopixel.py]] module. Download the [[https://github.com/micropython/micropython/blob/master/drivers/neopixel/neopixel.py|neopixel.py]] module.
  
 +===== Send commands =====
 +
 +https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal&hl=de&gl=US
 +
 +Turn on
 +
 +  {"command": "on", "data": {"r": 255, "g": 255, "b": 255, "brightness": 100}}
 +
 +Turn off
 +
 +  {"command": "off"}
 +
 +Get LED state:
  
 +  {"command": "status"}
raspberry-pi-pico-bluetooth-led.txt · Last modified: 2022/02/10 23:42 by admin