CircuitPython on Raspberry Pi: UPDATED GUIDES for PiOLED and OLED Bonnet #CircuitPython #AdafruitLearningSystem #Adafruit @Adafruit
That’s right! It’s CircuitPython on Raspberry Pi! Wire up your favorite sensors and use the same great CircuitPython code you’ve been using with microcontrollers right on your Raspberry Pi!
We’ve got tons of projects, libraries and example code for CircuitPython on microcontrollers, and thanks to the flexibility and power of Python it’s easy to get it working with micro-computers like Raspberry Pi or other ‘Linux with GPIO pins available’ single board computers.
We’ve written a special library called Adafruit Blinka to provide the layer that translates the CircuitPython hardware API to whatever library the Linux board provides.
We’ve added all the libraries to PyPi so installation is super simple via pip. We’ve also updated the CircuitPython guides! They now have sections for wiring up the sensor to and installing the libraries on your Raspberry Pi. The CircuitPython code works exactly the same way it works on microcontrollers, so the code examples will work on your Raspberry Pi too!
We have over 100 guides to update, so watch for updates to the Adafruit Learning System in batches. Here’s the next two:
If you’d like a compact display, with buttons and a joystick – we’ve got what you’re looking for. The Adafruit 128×64 OLED Bonnet for Raspberry Pi is the big sister to our mini PiOLED add-on. This version has 128×64 pixels (instead of 128×32) and a much larger screen besides. With the OLED display in the center, we had some space on either side so we added a 5-way joystick and two pushbuttons. Great for when you want to have a control interface for your project.. Updated Guide.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.