in 10 captivating lessons
Using the lessons in this book you learn how to program a microcontroller. You’ll be using JAL, a free but extremely powerful programming language for PIC microcontrollers, which enjoys great popularity in the hobby world. Starting out from scratch virtually, you slowly build up the knowledge. No previous knowledge is needed: anyone can get started with this book. Assuming you have absorbed all lessons – meaning you have actually completed all the exercises – you should be confident to write PIC microcontroller programs, as well as read and understand programs written by other people.
JAL commands
You learn the function of JAL commands such as include, pin, delay, forever loop, while loop, case, exit loop, repeat until, if then, as well as the use of functions, procedures and timer- and port interrupts.
JAL programs
You make an LED blink, build a time switch, measure a potentiometer’s wiper position, produce sounds, suppress contact bounce, and control the brightness of an LED. And of course you learn to debug, meaning: how to spot and fix errors in your programs.
Hardware
You learn to recognize various components including the PIC microcontroller, potentiometer and quartz crystal, and how to wire up a PIC microcontroller and effectively link it to your PC. A breadboard is used for the purpose, allowing you to easily modify the component arrangement for further experimenting.
The companion software with this book can be downloaded free of charge, including the JAL programming language. In addition, you may order a kit of parts so you don’t have to go shopping for the required components. Especially for a beginner, this is the easiest way to start with this unique pastime.
Having finished this book does not mean you are through with your pastime. You can get your hands dirty again, and if desired use other books packed with fun projects using the JAL programming language. More information may be found at the end of the lessons in the chapter "Done! What’s next?""
Turn your Raspberry Pi into a retro games console! Picade X HAT includes joystick and button inputs, a 3 W I²S DAC/amplifier, and soft power switch. This HAT has all the same great features as the original Picade HAT but now has no-fuss female Dupont connectors to hook up your joystick and buttons. Simply pop Picade X HAT onto your Pi, plug a USB-C power supply into the connector on the HAT (it back-powers your Pi through the GPIO, so no need for a separate power supply), wire up your controls, and install the driver! It's ideal for your own DIY arcade cabinet builds, or for interfaces that need big, colourful buttons and sound. Features I²S audio DAC with 3 W amplifier (mono) and push-fit terminals Safe power on/off system with tactile power button and LED USB-C connector for power (back-powers your Pi) 4-way digital joystick inputs 6x player button inputs 4x utility button inputs 1x soft power switch input 1x power LED output Plasma button connector Breakout pins for power, I²C, and 2 additional buttons Picade X HAT pinout Compatible with all 40-pin Raspberry Pi models The I²S DAC blends both channels of digital audio from the Raspberry Pi into a single mono output. This is then passed through a 3 W amplifier to power a connected speaker. The board also features a soft power switch that allows you turn your Pi on and off safely without risk of SD card corruption. Tap the connected button to start up, and press and hold it for 3 seconds to fully shutdown and disconnect power. Software/Installation Open a terminal and type curl https://get.pimoroni.com/picadehat | bash to run the installer. You'll need to reboot once the installation is complete, if it doesn't prompt you to do so. The software does not support Raspbian Wheezy Notes With USB-C power connected through Picade X HAT you'll need either to tap the connected power button or the button marked 'switch' on the HAT to power on your Pi.
This PiCAN 2 board provides CAN-Bus capability for the Raspberry Pi 2/3. It uses the Microchip MCP2515 CAN controller with MCP2551 CAN transceiver. Connection are made via DB9 or 3-way screw terminal. This board includes a switch mode power suppler that powers the Raspberry Pi is well.
Easy to install SocketCAN driver. Programming can be done in C or Python.
Not suitable for Raspberry Pi 4, please use PiCAN 3 instead.
Features
CAN v2.0B at 1 Mb/s
High speed SPI Interface (10 MHz)
Standard and extended data and remote frames
CAN connection via standard 9-way sub-D connector or screw terminal
Compatible with OBDII cable
Solder bridge to set different configuration for DB9 connector
120Ω terminator ready
Serial LCD ready
LED indicator
Foot print for two mini push buttons
Four fixing holes, comply with Pi Hat standard
SocketCAN driver, appears as can0 to application
Interrupt RX on GPIO25
5 V/1 A SMPS to power Raspberry Pi and accessories from DB9 or screw terminal
Reverse polarity protection
High efficiency switch mode design
6-20 V input range
Optional fixing screws – select at bottom of this webpage
Downloads
User guide
Schematic Rev B
Writing your own program in Python
Python3 examples in Github
This PiCAN2 Duo board provides two independent CAN-Bus channels for the Raspberry Pi 4. It uses the Microchip MCP2515 CAN controller with MCP2551 CAN transceiver. Connections are made via 4-way screw terminal. This board has a 5 V/3 A SMPS that can power the Raspberry Pi is well via the screw terminal.p
Easy to install SocketCAN driver. Programming can be done in C or Python.
Features
CAN v2.0B at 1 Mb/s
High speed SPI Interface (10 MHz)
Standard and extended data and remote frames
CAN connection screw terminal
120 Ω terminator ready
Serial LCD ready
LED indicator
Four fixing holes, comply with Pi Hat standard
SocketCAN driver, appears as can0 and can1 to application
Interrupt RX on GPIO25 and GPIO24
5 V/3 A SMPS to power Raspberry Pi and accessories from screw terminal
Reverse polarity protection
High efficiency switch mode design
7-24 V input range
Downloads
User guide
Schematic Rev D
Writing your own program in Python
Python3 examples in Github
This PiCAN3 board provides CAN-Bus capability for the Raspberry Pi 4. It uses the Microchip MCP2515 CAN controller with MCP2551 CAN transceiver. Connection are made via DB9 or 3-way screw terminal. This board includes a switch mode power suppler that powers the Raspberry Pi is well.
Easy to install SocketCAN driver. Programming can be done in C or Python.
Features
CAN v2.0B at 1 Mb/s
High speed SPI Interface (10 MHz)
Standard and extended data and remote frames
CAN connection via standard 9-way sub-D connector or screw terminal
Compatible with OBDII cable
Solder bridge to set different configuration for DB9 connector
120Ω terminator ready
Serial LCD ready
LED indicator
Four fixing holes, comply with Pi Hat standard
SocketCAN driver, appears as can0 to application
Interrupt RX on GPIO25
5 V/3 A SMPS to power Raspberry Pi and accessories from DB9 or screw terminal
Reverse polarity protection
High efficiency switch mode design
6-24 V input range
Optional fixing screws – select at bottom of this webpage
RTC with battery backup (battery not included, requires CR1225 cell)
Downloads
User guide
Schematic
Driver installation
Writing your own program in Python
Python3 examples
The Piccolino rapid development board can be used to design microcontroller circuits quickly. The Piccolino has a fast 16f887 PIC microcontroller, voltage regulator, and communications module, and can be easily extended using its four headers.
This e-book contains 30 projects based on the Piccolino. We'll use its unique communications facilities and get the Piccolino to communicate with programs on a PC. On the PC, we use the free programming language Small Basic. You can use this to create Windows programs with buttons and graphs quickly. You will learn how to analyze components such as inductors, capacitors, and OPAMPs, and how to display the measurement results in a graphical format. This will help you to design your circuits easily.
We will then start to adapt to the Piccolino. We'll add components to it to make it more powerful, with extra features such as flow control and digital to analog conversion. The clear instructions will enable you to design and build your adaptations. This way you can make your custom designed Piccolino.
We'll end up making an extension: a PCB that that can be mounted on the Piccolino headers. As an example, we'll design and build an extension for an LCD. You can use the included board layout to make your PCB or have it made for you. At the same time, you will learn how to make your extensions. The only limitation is your imagination!
The clear descriptions along with circuit diagrams and photos, will make the building of these projects an enjoyable experience. Each project has a clear explanation of the reasons why it was designed in a particular way. This helps you learn a lot about the Piccolino, as well as Small Basic, and the components that are used in this e-book. You can adapt the projects to suit your requirements or combine several projects.
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.
The book covers the following topics:
Open-loop and closed-loop control systems
Analog and digital sensors
Transfer functions and continuous-time systems
First-order and second-order system time responses
Discrete-time digital systems
Continuous-time PID controllers
Discrete-time PID controllers
ON-OFF temperature control with Raspberry Pi and Arduino Uno
PID-based temperature control with Raspberry Pi and Arduino Uno
PID-based DC motor control with Raspberry Pi and Arduino Uno
PID-based water level control with Raspberry Pi and Arduino Uno
PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working. The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications. This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno. The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family. The book covers the following topics: Open-loop and closed-loop control systems Analog and digital sensors Transfer functions and continuous-time systems First-order and second-order system time responses Discrete-time digital systems Continuous-time PID controllers Discrete-time PID controllers ON-OFF temperature control with Raspberry Pi and Arduino Uno PID-based temperature control with Raspberry Pi and Arduino Uno PID-based DC motor control with Raspberry Pi and Arduino Uno PID-based water level control with Raspberry Pi and Arduino Uno PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
Features
Steel enclosure: High quality steel with cool sand-texture finishing
Tiny LCD screen: It can display the IP address, host name, uptime, and can also be used to display other information. PiKVM OS includes a set of libraries that allows you to display almost anything using Python.
Fan for active cooling: It will protect your device from overheating. PiKVM is able to control the fan speed using PWM, so it will not run at maximum speed all the time.
Plastic housing for the LCD screen: This tiny piece of plastic is responsible for the robust support of the LCD screen inside the case. Injection molding eas used for making that display holder.
Assembly hardware: A set of screws and nuts to assemble the case and install the fan.
PiKVM V3 is an open-source Raspberry Pi-based KVM over IP device. It will help you to manage servers or workstations remotely, whatever the state of the operating system or whether one is installed.
PiKVM V3 allows you to turn on/off or restart your computer, configure the UEFI/BIOS, and even reinstall the OS using the virtual CD-ROM or flash drive. You can use your remote keyboard and mouse or PiKVM can simulate a keyboard, mouse, and a monitor, which are then presented in a web browser as if you were working on a remote system directly.
Features
HDMI Full HD capture based on the TC358743 chip (extra low latency ~100 ms and many features like compression control).
OTG Keyboard & mouse; Mass Storage Drive emulation.
Ability to simulate 'removal and insertion' for USB.
Onboard ATX power control
Onboard fan controller
Real-time clock (RTC)
RJ-45 and USB serial console port (to manage PiKVM OS or to connect with the server).
Optional AVR-based HID (for some rare and strange motherboards whose BIOS doesn't understand the OTG emulated keyboard).
Optional OLED screen to display network status or other desired information.
Ready-made board. No need for soldering or breadboarding.
PiKVM OS – the software is fully open.
Included
PiKVM V3 HAT board for Raspberry Pi 4
USB-C bridge board – to connect the HAT with Pi over USB-C
ATX controller adapter board and wiring – to connect the HAT to the motherboard (if you want to manage power supply through hardware).
2 flat CSI cables
Screws and brass standoffs
Required
Raspberry Pi 4
MicroSD card
USB-C to USB-A cable
HDMI cable
Straight Ethernet cable (for the ATX expansion board connection)
Power supply unit (5.1 V/3 A USB-C, officiel RPi power supply is recommended)
Downloads
User Guide
Images
GitHub
Links
The PiKVM Project and Lessons Learned: Q&A with PiKVM creator and developer Maxim Devaev
PiKVM: Raspberry Pi as a KVM Remote Control
This anodised aluminium heatsink case will protect your Raspberry Pi 4 and give you very effective passive cooling. It's great in cases where you want completely silent cooling, for instance, if you're building a home media center. The scope of delivery includes a thermal pad to provide thermal contact between the CPU and top case, and a handy Allen key and set of hex bolts to attach the case together. The case gives you access to all of the ports, pins, and connectors. Features Anodised aluminium top and bottom case Heatsink fins Thermal pad Hex bolts and Allen key included Access to all ports, pins, and connectors Compatible with Raspberry Pi 4 Assembly Assembling your heatsink case is pretty easy and should only take a couple of minutes. The first, and most important thing is to make sure that your Pi is powered off and unplugged before you fit the case. Take one of the thermal pads and peel the protective films off both sides of it (there's a white film and an easy-to-miss clear film on the other side. Stick the thermal pad onto your Pi's CPU (the metal square nearest the middle of the PCB). Sticking the thermal pad to the CPU first is a much better way to position it correctly than trying to stick it to the case. Only use one thermal pad with the Raspberry Pi 4. Position the top case and then, holding it in place, flip the whole thing over and position the bottom case on the underside of your Pi. Use the four hex bolts and allen key to secure the case. Notes The case is metal and hence conductive, so be careful not to short any components on it, and ensure that your RPi is powered off and unplugged when fitting the case It may be obvious, but the case will get hot in use Dimensions: 87 × 56 × 25.5 mm
SHIM is an old Yorkshire term meaning 'Shove Hardware In Middle' - we use it for Raspberry Pi add-ons that are designed to be sandwiched between your Pi and a HAT or mini HAT. This one has a clever friction fit header that slips handily over your GPIO pins, doesn't need soldering*, and is easily removable. The MAX98357A combined DAC / amplifier chip takes high-quality digital audio from your Pi and amplifies it so it can be used with an unpowered speaker. The push-fit connectors make it straightforward to connect up your speaker, whether it's a bookshelf or floor-standing speaker, the speaker in an old radio, or any other speaker you might have laying around. Because Audio Amp SHIM adds no extra bulk to your Pi it's perfect for building into a compact enclosure - you could use it to make a tiny MP3 player to play local files or stream from services like Spotify, give a vintage radio the ability to play digital radio streams or incorporate bleepy noises into your very own retro handheld. It's also a handy way to add audio output to your Pi Zero or Pi 400! Please note: Raspberry Pi and speakers are not included with this board. Features MAX98357A DAC / amplifier chip Mono 3W audio out Push-fit speaker terminals SHIM-format board with friction-fit connectors 2x mounting holes (M2.5) for if you want to secure everything together with bolts Fully-assembled No soldering required (*unless you're using a Pi that comes without a header) Compatible with all 40-pin header Raspberry Pi models
Software The easiest way to get everything set up is to use Pimoroni's Pirate Audio software and installer which configures I2S audio, as well as installing Mopidy and our custom Pirate Audio plugins which will let you stream Spotify and play local files. Here's how to get started: Set an SD card up with the latest version of Raspberry Pi OS. Connect to Wi-Fi or a wired network. Open a terminal and type the following:git clone https://github.com/pimoroni/pirate-audiocd pirate-audio/mopidysudo ./install.sh
Reboot your Pi Downloads MAX98357A Datasheet Pirate Audio software Schematic
An all-in-one, Pico W powered industrial/automation controller with 2.46 GHz wireless connectivity, relays and a plethora of inputs and outputs. Compatible with 6 V to 40 V systems.
Automation 2040 W is a Pico W / RP2040 powered monitoring and automation board. It contains all the great features from the Automation HAT (relays, analog channels, powered outputs and buffered inputs) but now in a single compact board and with an extended voltage range so you can use it with more devices. Great for controlling fans, pumps, solenoids, chunky motors, electronic locks or static LED lighting (up to 40 V).
All the channels (and the buttons) have an associated indicator LED so you can see at a glance what's happening with your setup, or test your programs without having hardware connected.
Features
Raspberry Pi Pico W Aboard
Dual Arm Cortex M0+ running at up to 133 Mhz with 264 kB of SRAM
2 MB of QSPI flash supporting XiP
Powered and programmable by USB micro-B
2.4 GHz wireless
3x 12-bit ADC inputs up to 40 V
4x digital inputs up to 40 V
3x digital sourcing outputs at V+ (supply voltage)
4 A max continuous current
2 A max current at 500 Hz PWM
3x relays (NC and NO terminals)
2 A up to 24 V
1 A up to 40 V
3.5 mm screw terminals for connecting inputs, outputs and external power
2x tactile buttons with LED indicators
Reset button
2x Qw/ST connectors for attaching breakouts
M2.5 mounting holes
Fully assembled
No soldering required.
C/C++ and MicroPython libraries
Schematic
Dimensional drawing
Power
Board is compatible with 12 V, 24 V and 36 V systems
Requires supply 6-40 V
Can provide 5 V up to 0.5 A for lower voltage applications
Software
Pirate-brand MicroPython
Getting Started with Raspberry Pi Pico
MicroPython examples
MicroPython function reference
C++ examples
C++ function reference
Getting Started with Automation 2040 W
Thanks to its six sturdy slots, Breakout Garden enables the users to simply plug and play with various tiny breakout board.Just insert one or more boards into the slots in the Breakout Garden HAT and you’re ready to go. The mini breakouts feel secure enough in the edge-connector slots and are very unlikely to fall out.There are a number of useful pins along the top of Breakout Garden, which lets you connect other devices and integrate them into your project.You shouldn't be worried if you insert a board the wrong way thanks to provided reverse polarity protection. It doesn't matter which slot you use for each breakout either, because the I²C address of the breakout will be recognised by the software and it'll detect them correctly in case you move them around.Features
Six sturdy edge-connector slots for Pimoroni breakouts
0.1” pitch, 5 pin connectors
Broken-out pins (1 × 10 strip of male header included)
Standoffs (M2.5, 10 mm height) included to hold your Breakout Garden securely
Reverse polarity protection (built into breakouts)
HAT format board
Compatible with Raspberry Pi 3 B+, 3, 2, B+, A+, Zero, and Zero W
It's suggested using the included standoffs to attache Breakout Garden to your Raspberry Pi.SoftwareBreakout Garden doesn't require any software of its own, but each breakout you use will need a Python library. On the Breakout Garden GitHub page you'll find an automatic installer, which will install the appropriate software for a given breakout. There are also some examples that show you what else you can do with Breakout Garden.
The Pimoroni Explorer Starter Kit is an electronic adventure playground for physical computing based on the RP2350 chip. It includes a 2.8-inch LCD screen, a speaker, a mini breadboard and much more. It's ideal for tinkering, experiments, and building small prototypes.
Features
Mini breadboard for wiring up components
Servo headers
Analog inputs
Built-in speaker
Plenty of general purpose inputs/outputs
Connectors for attaching crocodile leads
Qw/ST connectors for attaching I²C breakouts
Specifications
Powered by RP2350B (Dual Arm Cortex-M33 running at up to 150 MHz with 520 KB of SRAM)
16 MB of QSPI flash supporting XiP
2.8" IPS LCD screen (320 x 240 pixels)
Driver IC: ST7789V
Luminance: 250 cd/m²
Active area: 43.2 x 57.5 mm
USB-C connector for programming and power
Mini breadboard
Piezo speaker
6x user-controllable switches
Reset and boot buttons
Easy access GPIO headers (6x GPIOs and 3x ADCs, plus 3.3 V power and grounds)
6x Crocodile clip terminals (3x ADCs, plus 3.3 V power and grounds)
4x 3-pin servo outputs
2x Qw/ST (Qwiic/STEMMA QT) connector
2-pin JST-PH connector for adding a battery
Lanyard slot!
Includes 2x desktop stand feet
Fully-assembled (no soldering required)
Programmable with C/C++ or MicroPython
Included
1x Pimoroni Explorer
1x Multi-Sensor Stick – a fancy new all-in-one super sensor suite for environmental, light and movement sensing
Selection of different colored LEDs to get blinky with (including red, yellow, green, blue, white and RGB)
1x Potentiometer (for analog amusements)
3x 12 mm switches with different coloured caps
2x Continuous rotation servos
2x 60 mm wheels for attaching to your servos
1x AAA battery holder (batteries not included)
1x Velcro to stick the battery holder to the back of Explorer
20x Pin to pin and 20x pin to socket jumper wires for making connections on your breadboard
1x Qw/ST cable to plug in the Multi-Sensor Stick
1x Silicon USB-C cable
Downloads
GitHub
Schematic
Inky Frame 4.0' features a vibrant E Ink display with 640 x 400 pixels of tightly packed seven colour goodness – that's almost as many pixels as on the 5.7' Inky Frame, but squished tidily into a smaller footprint. There's five buttons with LED indicators for interacting with the display, two Qw/ST connectors for plugging in breakouts and a micro SD card slot for storage of capybara photos or other vital files.
Every Inky Frame comes with a pair of sleek little metal legs so you can stand it up on your desk. There's also a battery connector so you can power it without annoying trailing wires, and some neato power saving features that mean you can run it from batteries for ages.
Inky Frame 4.0' is great for:
An ultra readable, low power consumption home automation dashboard
Displaying stylised photos, pop art images or favourite comic panels.
Showing cute graphs and readouts from local or wirelessly connected sensors
Displaying fascinating data from online APIs.
Features
Raspberry Pi Pico W Aboard
Dual Arm Cortex M0+ running at up to 133 Mhz with 264 kB of SRAM
2 MB of QSPI flash supporting XiP
Powered and programmable by USB micro-B
2.4 GHz wireless
4.01' EPD display (640 x 400 pixels)
E Ink Gallery Palette 4000 ePaper
ACeP (Advanced Color ePaper) 7-color with black, white, red, green, blue, yellow, orange.
Ultra wide viewing angles
Ultra low power consumption
Dot pitch – 0.135 x 0.135 mm
5x Tactile buttons with LED indicators
Two Qw/ST connectors for attaching breakouts
microSD card slot
Dedicated RTC chip (PCF85063A) for deep sleep/wake
Fully assembled (no soldering required)
C/C++ and MicroPython libraries
Schematic
Included
1x Inky Frame 4.0' (incl. Pico W)
2x Metal legs
Downloads
MicroPython
(Learn) Getting Started with Inky Frame
(Readme) Installing MicroPython
(Readme) MicroPython FAQs (and troubleshooting)
Download pirate-brand MicroPython (you'll want the Inky Frame.uf2)
MicroPython examples
PicoGraphics function reference
C/C++
C examples
Picographics function reference
Inventor 2040 W is a multi-talented board that does (almost) everything you might want a robot, prop or other mechanical thing to do. Drive a couple of fancy motors with encoders attached? Yep! Add up to six servos? Sure? Attach a little speaker so you can make noise? No problem! It's also got a battery connector so you can power your inventions from AA/AAA or LiPo batteries and carry your miniature automaton/animated top hat/treasure chest that growls at your enemies around with you untethered.You also get a ton of options for hooking up sensors and other gubbins – there's two Qw/ST connectors (and an unpopulated Breakout Garden slot) for attaching breakouts, three ADC pins for analog sensors, photoresistors and such, and three spare digital GPIO you could use for LEDs, buttons or digital sensors. Speaking of LEDs, the board features 12 addressable LEDs (AKA Neopixels) – one for each servo and GPIO/ADC channel.Features
Raspberry Pi Pico W Aboard
Dual Arm Cortex M0+ running at up to 133 Mhz with 264 kB of SRAM
2 MB of QSPI flash supporting XiP
Powered and programmable by USB micro-B
2.4 GHz wireless
2 JST-SH connectors (6 pin) for attaching motors
Dual H-Bridge motor driver (DRV8833)
Per motor current limiting (425 mA)
Per motor direction indicator LEDs
2 pin (Picoblade-compatible) connector for attaching speaker
JST-PH (2 pin) connector for attaching battery (input voltage 2.5-5.5 V)
6 sets of header pins for connecting 3 pin hobby servos
6 sets of header pins for GPIO (3 of which are ADC capable)
12x addressable RGB LEDs/Neopixels
User button
Reset button
2x Qw/ST connectors for attaching breakouts
Unpopulated headers for adding a Breakout Garden slot
Fully assembled
No soldering required (unless you want to add the Breakout Garden slot).
C/C++ and MicroPython libraries
Schematic
Downloads
Download pirate-brand MicroPython
Getting Started with Raspberry Pi Pico
Motor function reference
Servo function reference
MicroPython examples
C++ examples
Add colors to your projects with this collection of red, green, yellow, blue and white LEDs. They come with various current limiting resistors in order to protect the parts and control the brightness.Included
10 mm LEDs
1x red
1x green
1x yellow
1x blue
1x white
5 mm LEDs
5x red
5x green
5x yellow
5x blue
5x white
3 mm LEDs
5x red
5x green
5x yellow
5x blue
5x white
25x 330 Ω resistors
10x 1 kΩ resistors
10x 10 kΩ resistors
10x 100 kΩ resistors
10x 1 MΩ resistors
Add super-fast storage to your Raspberry Pi 5 allowing for lightning fast boots, NAS use, and snappy applications!
NVMe Base is a PCIe extension board for Raspberry Pi 5. Simply populate it with the included 500 GB M-Key NVMe SSD (2230 to 2280 sizes supported) and mount it under your RPi for a compact and fast storage solution.
It's the perfect solution for turning your Raspberry Pi 5 into a file server, media centre, reverse proxy, etc.
Included
NVMe Base PCB with M.2 Slot (M-Key)
'PCIe Pipe' Flat Flex Cable
4x Rubber feet
M2 bolt and 2x nuts for SSD mounting
4x 7 mm M2.5 standoffs for base mounting
8x short M2.5 bolts for base mounting
4x long M2.5 bolts for 'pass-thru' mounting with a HAT
500 GB NVMe SSD
Downloads
Documentation
Unlock your inner Mozart with Piano HAT, a mini musical companion for your Raspberry Pi!
Piano HAT is inspired by Zachary Igielman's PiPiano and made with his blessing. It has taken his fabulous idea for a dinky piano add-on for the Raspberry Pi, made it touch-sensitive and added barrels of our trademark Pimoroni polish.
Play music in Python, control software synths on your Pi, and take control of hardware synthesizers!
Features
16 capacitive touch pads (link each to their own Python function!)
13 piano keys (a full octave)
Octave up/down buttons
Instrument cycle button (great for use with synthesizers)
16 bright white LEDs (let them light automagically, or take control with Python)
2x Microchip CAP1188 capacitive touch driver chips
Use it to control software or hardware synths over MIDI
Compatible with all 40-pin header Raspberry Pi models
Comes fully assembled
Downloads
Python library
Pinout
The slim, hackable and attractive case for Raspberry Pi 5.
Pibow 5 lets you access all the ports and connectors on your Raspberry Pi and even has a clever little tab that will let you push the Pi 5's brand new power button whilst it's safely ensconced in its case. The case is designed to fit neatly around Raspberry Pi's Active Cooler.
Features
Compatible with Raspberry Pi 5 Official Active Cooler
Super-slimline profile
Fully HAT/pHAT compatible
Protects your Raspberry Pi 5
Clear top leaves Raspberry Pi 5 visible (so you can gaze upon its wonder).
GPIO cut-out
Leaves all ports and connectors accessible
External Power Button Nubbin via compliant mechanism magic
Mounting holes on the base that will accommodate M2.5 screws/bolts and the studs on popular Danish ABS construction blocks
Made from lightweight high-quality cast acrylic
Great for hacking and tinkering
Crafted out of five unique layers including a transparent top that leaves your Raspberry Pi visible inside. Each layer is laser-cut from colourful high-quality cast acrylic and once stacked they securely contain a Raspberry Pi 5 while leaving the primary ports and GPIO accessible.
This case is lightweight and ideal for mounting to any surface. No tools are required for assembly or disassembly!
Pimoroni Pico LiPo is powered and programmable via USB-C and comes with 16 MB of QSPI (XiP) flash. With the Qwiic/STEMMA QT connector you can hook up a whole host of different sensors and breakouts, and a debug connector for if you want to do your programming using a SWD debugger. There is an on/off button and a BOOTSEL button, which can also be used as a user switch.Pimoroni Pico LiPo also has onboard LiPo/LiIon battery management – the inbuilt charging circuitry means charging your battery is as easy as plugging your Pimoroni Pico Lipo in via USB. Two indicator LEDs connected to the battery circuit keep you informed of on/off state and charging status and it's compatible with any of our LiPo, LiIon and high capacity LiPo batteries.Programmable with C++, MicroPython or CircuitPython, Pimoroni Pico LiPo is the perfect powerhouse for your portable projects.Features
Powered by RP2040
Dual ARM Cortex M0+ running at up to 133 Mhz
264 kB of SRAM
16 MB of QSPI flash supporting XiP
MCP73831 charger with 215 mA charging current (datasheet)
XB6096I2S battery protector (datasheet)
USB-C connector for power, programming, and data transfer
4 pin Qw-ST (Qwiic / STEMMA QT) connector
3 pin debug connector (JST-SH)
2-pole JST PH battery connector, with polarity marked on the board
Switch for basic input (doubles up as DFU select on boot)
Power button
Power, charging and user LED indicators
On-board 3V3 regulator (max regulator current output 600mA)
Input voltage range 3 - 5.5 V
Compatible with Raspberry Pi Pico add-ons
Measurements: approx 53 x 21 x 8 mm (L x W x H, including connectors)
Downloads
CircuitPython
Getting started with CircuitPython guide
You could use Pirate Audio Headphone Amp to build a tidy, pocket-sized player for local audio files (MP3, FLAC, etc) or for streaming music from online services like Spotify. To help get you started, Pimoroni has built plugins for Mopidy that will let you display gorgeous album art, play/pause your tracks and adjust the volume. The DAC and headphone amp will give you crisp digital amplified audio through your wired headphones. Pirate Audio is a range of all-in-one audio boards for Raspberry Pi, with high-quality digital audio, beautifully-crisp IPS displays for album art, tactile buttons for playback control, and a custom Pirate Audio software and installer to make setting it all up a breeze. Features Amplified digital audio (24-bit / 192KHz) over I2S PAM8908 headphone amplifier chip Low-gain / high-gain switch (high-gain boosts by 12dB) PCM5100A DAC chip 3.5mm stereo jack 1.3' IPS colour LCD (240x240px) (ST7789 driver) Four tactile buttons Mini HAT-format board Fully-assembled Compatible with all 40-pin header Raspberry Pi models
Dimensions: 65x30.5x9.5mm Software The Pirate Audio software and installer installs the Python library for the LCD, configures the I2S audio and SPI, and then installs Mopidy and the custom Pirate Audio plugins to display album art and track info, and to use the buttons for playback control. Here's how to get started: Set an SD card up with the latest version of Raspberry Pi OS. Connect to Wi-Fi or a wired network. Open a terminal and type the following:git clone https://github.com/pimoroni/pirate-audiocd pirate-audio/mopidysudo ./install.sh
Reboot your Pi Downloads PAM8908 Datasheet PCM5100A Datasheet Pirate Audio software
Pico Breakout Garden Base sits underneath your Pico and lets you connect up to six of our extensive selection of Pimoroni breakouts to it. Whether it's environmental sensors so you can keep track of the temperature and humidity in your office, a whole host of little screens for important notifications and readouts, and, of course, LEDs. Scroll down for a list of breakouts that are currently compatible with our C++/MicroPython libraries!As well as a labelled landing area for your Pico, there's also a full set of broken out Pico connections, in case you need to attach even more sensors, wires, and circuitry. We've thrown in some rubber feet to keep the base nice and stable and to stop it from scratching your desk, or there are M2.5 mounting holes at the corners so that you can bolt it onto a solid surface if you prefer.The six sturdy black slots are edge connectors that connect the breakouts to the pins on your Pico. There's two slots for SPI breakouts, and four slots for I²C breakouts. Because I²C is a bus, you can use multiple I²C devices at the same time, providing they don't have the same I²C address (we've made sure that all of our breakouts have different addresses, and we print them on the back of the breakouts so they're easy to find).As well as being a handy way to add functionality to your Pico, Breakout Garden is also very useful for prototyping projects without the need for complicated wiring, soldering, or breadboards, and you can grow or change up your setup at any time.Features
Six sturdy edge-connector slots for breakouts
4x I²C slots (5 pins)
2x SPI slot (7 pins)
Landing area with female headers for Raspberry Pi Pico
0.1” pitch, 5 or 7 pin connectors
Broken-out pins
Reverse polarity protection (built into breakouts)
99% assembled – just need to stick on the feet!
Compatible with Raspberry Pi Pico