This repo contains the python code of my lightsaber
Original project comes from the Lightsaber Prop-Maker RP2040 by Ruiz brothers
The original project was too weak and had some design flaws, I decided to improve it and create my remix
- Adafruit RP2040 Prop-Maker Feather
- Push button
- Led strip
- Mini speaker
- Lithium battery
- Mini switch
- 3D printed parts
- Some wires
- Create virtualenv in root of project:
python -m venv venv
- Activate virtualenv:
source venv/bin/activate
- Install requirements:
pip install -r requirements.txt
After the environment has been set you can deploy to the board using the RUN and debug
button
Full deploy
: will copy all files and libraries (slow)Python only
: will copy only *.py files (faster)
Tested on:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy