A boilerplate MicroPython script for getting started with Redis on microcontrollers (tested on Raspberry Pi Pico W).
I'll add more details later! For now, check out the comments in main.py
.
This project uses (and contains a copy of) the picoredis Redis client by Christopher Arndt. picoredis is made available under the terms of the MIT license which also applies to this repository.
There are many ways to get this project up and running on your microcontroller. I've tested it using a Raspberry Pi Pico W and VSCode with the Pico W Go extension running on macOS Ventura. Note that you'll need the W version of the Raspberry Pi Pico to be able to connect to wifi and reach the Redis Server.
If you're not sure how to get the MicroPython runtime installed on your Pico W, check out Raspberry Pi's official guide here.
- If you find this useful, or have any questions... come chat with us in the
#internet-of-things
channel on the Redis Discord server. - If you need a Redis server, sign up for a free fully-functional 30mb cloud instance of Redis Stack here.
- Want to learn more about Redis? Take a free course at Redis University.
Projects using picoredis on the Raspberry Pi Pico W: