Simulations activity — Raspberry pi Pico — Create Pico Stick for Google Colab.

Evhenii Rvachov
2 min readMay 11, 2021

I saw how many articles wrote about Google Colab Activity, but now I’m going to make a device with the randomizer mouse activity. And of course, you can use this for any case when you need simulation activity.

What you need:
1. Raspberry pi pico
2. micro USB Adapter to any USB in your PC
3. PC with Thonny IDE (or any to coding for microcontroller)
4. 15–20min your time

I will not describe how to connect Pico and use IDE for the microcontroller; I think you have to know it or use Google search.

You can use microPython (C/C++) for Pico coding, but here I am using CircuitPython because I don’t want to find Mouse (from Adafruit) Python’s modules for microPython.

Ok…

https://www.raspberrypi.org/documentation/rp2040/getting-started/#getting-started-with-micropython
  • Use your CircuitPython (.UF2) file for the load to a microcontroller.
  • Change your Thonny to Expert mode if you did not get it early.
  • Install packages Adafruit CircuitPython HID from Thonny package manager or manually from git — https://github.com/adafruit/Adafruit_CircuitPython_HID
  • Write simple Python code.
  • Save to your Pico and enjoy.

If you have 3d printer, you can print a case for Raspberry pi Pico and use your own Activity stick anywhere and anytime for your Colab learning or any simulation activity.

or any 3d model on https://www.thingiverse.com/thing:4733137

--

--

Evhenii Rvachov

I’m just a Human who likes hardware/software engineer.