.vscode | ||
lib | ||
.micropico | ||
ble_advertising.py | ||
ble_main_2.py | ||
ble_main.py | ||
ble_simple_peripheral.py | ||
LT_remote_control_box.md | ||
main.py | ||
README.md | ||
remote.py | ||
test01.py |
lasertag_device_micropython
Lasertag device, MicroPython
Raspberry Pi Pico W
MicroPython FW: https://micropython.org/download/RPI_PICO_W/
Pi Pico W datasheet https://datasheets.raspberrypi.com/picow/pico-w-datasheet.pdf
PCB 51x21mm, 1mm hole 20x8(10) 2.54 pitch grid
Pi Pico BLE: https://electrocredible.com/raspberry-pi-pico-w-bluetooth-ble-micropython/
Micropython IR: https://github.com/peterhinch/micropython_ir/blob/master/RECEIVER.md
Pi Pico VSCode: https://randomnerdtutorials.com/raspberry-pi-pico-vs-code-micropython/
Install IR test lib
$ mpremote connect /dev/ttyACM0 mip install "github:peterhinch/micropython_ir/ir_tx"
$ mpremote mip install "github:peterhinch/micropython_ir/ir_rx"
$ mpremote mip install "github:peterhinch/micropython-async/v3/primitives"
install LT
install lib folder on device
$ mpremote connect /dev/ttyACM0 cp -r ./lib :
install main.py
$ mpremote connect /dev/ttyACM0 cp ./main.py :