Meetup on 2024-12-03
Agenda
We will start the event with a bit of a workshop helping everyone get their Pi Pico W setup, building, and connected to the network. There will be a few lessons that we can do together to experiment with connectivity. The rest of the meetup we will just be messing around with the device, playing with some peripherals that will be provided and socializing.
What to bring?
- A working laptop
- A USB-C-to-micro-USB cable (if you have one)
- If you have a Pico W, bring it! If you don't, no worries we will have one for you to use.
References
- Pico W Pinout: https://datasheets.raspberrypi.com/picow/PicoW-A4-Pinout.pdf
- TinyGo on the Pico: https://tinygo.org/docs/reference/microcontrollers/pico/
- Driver for the wifi and bluetooth on the Pico W: https://github.com/soypat/cyw43439
- Example how to run an HTTP client: https://github.com/soypat/cyw43439/tree/main/examples/http-client
General Steps
- For VSCode, install the tinygo extension
- Select pico or pico-w from the Tinygo target list in the footer of VS Code (if you are using it)
- Write code
- Install drivers: go get tinygo.org/x/drivers
- Press the white bootsel button on the pico, while plugging in to USB
- Flash with tinygo flash -target=pico-w . or tinygo flash -target=pico . (if you have the pico)
- Device should reboot and run the code
- Run tinygo monitor to see the output