Working with the Raspberry Pi C++ SDK
Have you ever wondered how programming embedded systems work past higher level programming languages like circuit python and micro python? In this blog, I showcase my journey of using the raspberry pi C++ sdk, for the m5 RFID system.
I planed on using the raspberry pi pico W, because pico’s are one of the cheapest widely available micro controllers available. Not only that, they’re also fully open source, which is nice. You can often find them for $4-$6 dollars, and they can come with a wifi chip built in.
My project uses the Raspberry Pi pico as a relay, to connect an RFID reader to a center server, which stores the UID of the RFID signal. This means the Pi Pico has to take an input from a sensor, which will be done through SPI. The pico has a convenient library called library/spi.h
, which we can write a custom library to get the data from the SPI communication. The SPI data comes from the RC-522 chip in this project, which is this one
And here is the final wiring design!