The laboratory experiment aims at interfacing analog sensors to Raspberry Pi Pico platforms as well as devices capable of communicating with the SPI protocol. The involved hardware resources are explored as well as the programming facilities
offered by MicroPython for Raspberry Pi Pico/2.
The concrete example refers to the development of an extension based on the MAX7219 controller for 8x8 LED matrices, a pulse sensor as well as a thermistor connected to the analog-to-digital inputs of the Pico platform.
At the end of the laboratory you will have detailed information about the implementation and programming of digital extensions for ARM CortexM0 - Pico with the SPI protocol, as well as about acquiring information from analog sensors intended for the
Hardware: Pico development platform, breadboard, 8x8 LED matrix with MAX7219 controller, 10K thermistor, pulse sensor, oscilloscope. Software: MicroPython + Thonny ![]() ![]()
Micropython library module for MAX7219. 1. Pulsating image 2. Display pulse sensor data 3. Display temperature sensor data - thermistor 4. Matrix display with Max7219 library
The SPI protocol uses synchronous serial transmission, the main signals used are shown in the figure below.
According to the documentation of the LED matrix with Max7219 controller it has an SPI interface through which it can be interconnected to the PicoW as shown in the following schematic:
1. Create a triangle/rectangle with adjustable visual intensity; 2. Develop a solution for displaying alphanumeric characters; 3. Develop a solution for creating a 4-digit display. 4. Create a terminal that will display the numbers sent via BT from the mobile phone; 5. Develop a display with IP;
The Micro:bit is supported by the ELL framework which originated from Microsoft.
|