Skip to content

Welcome to pybox

by Francesco Bianchi

pybox is a didactical box, equipped with a rp2040 chip (the same present in the Raspberry Pi Pico) to manage the following devices:

  • RGB led
  • ledstrip of 12 pixels
  • potentiometer
  • button
  • mini-speaker

the project aims to help teachers to teach the programming of microcontrollers and students to learn by having fun and doing immediately practice without worrying about building any hardware. The language used is python (to be clear CircuitPython) and all you have to do is import a package called pybox and his various modules. If you want to explore source code and hardware design you can visit this repo.

In these pages you can find the documentation of the software to manage attached devices and a series of exercises to make practice.

Modules exported by this package:

  • BUTTON: black button
  • COLOR: contains tuples representing various colors
  • LED: internal or external led
  • POT: integrated pontiometer
  • RING: 12 rgb led ring
  • TONE: tone generator to produce sound from integrated speaker
  • SIMPLEMIDI: simple midi sender