Build robust, intelligent machines that combine Raspberry Pi computing power with LEGO components.
The Raspberry Pi Build HAT provides four connectors for LEGO Technic motors and sensors from the SPIKE Portfolio. The available sensors include a distance sensor, a color sensor, and a versatile force sensor. The angular motors come in a range of sizes and include integrated encoders that can be queried to find their position.
The Build HAT fits all Raspberry Pi computers with a 40-pin GPIO header, including – with the addition of a ribbon cable or other extension device — Raspberry Pi 400. Connected LEGO Technic devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as a camera module.
Features
Controls up to 4 motors and sensors
Powers the Raspberry Pi (when used with a suitable external PSU)
Easy to use from Python on the Raspberry Pi
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
The Raspberry Pi Pico 2 W is a microcontroller board based on the RP2350 featuring 2.4 GHz 802.11n wireless LAN and Bluetooth 5.2. It gives you even more flexibility in your IoT or smart product designs and expanding the possibilities for your projects.
The RP2350 provides a comprehensive security architecture built around Arm TrustZone for Cortex-M. It incorporates signed boot, 8 KB of antifuse OTP for key storage, SHA-256 acceleration, a hardware TRNG, and fast glitch detectors.
The unique dual-core, dual-architecture capability of the RP2350 allows users to choose between a pair of industry-standard Arm Cortex-M33 cores and a pair of open-hardware Hazard3 RISC-V cores. Programmable in C/C++ and Python, and supported by detailed documentation, the Raspberry Pi Pico 2 W is the ideal microcontroller board for both enthusiasts and professional developers.
Specifications
CPU
Dual Arm Cortex-M33 or dual RISC-V Hazard3 processors @ 150 MHz
Wireless
On-board Infineon CYW43439 single-band 2.4 GHz 802.11n wireless Lan and Bluetooth 5.2
Memory
520 KB on-chip SRAM; 4 MB on-board QSPI flash
Interfaces
26 multi-purpose GPIO pins, including 4 that can be used for AD
Peripherals
2x UART
2x SPI controllers
2x I²C controllers
24x PWM channels
1x USB 1.1 controller and PHY, with host and device support
12x PIO state machines
Input power
1.8-5.5 V DC
Dimensions
21 x 51 mm
Downloads
Datasheet
Pinout
Schematic
Designed for overclockers and other power users, this fan keeps your Raspberry Pi 4 at a comfortable operating temperature even under heavy load. The temperature-controlled fan delivers up to 1.4 CFM of airflow over the processor, memory, and power management IC. The bundled heatsink (18 x 8 x 10 mm) with self-adhesive pad improves heat transfer from the processor. The Raspberry Pi 4 Case Fan works with Raspberry Pi 4 and the official Raspberry Pi 4 case.
The Raspberry Pi Bumper is a snap-on silicone cover that protects the bottom and edges of the Raspberry Pi 5.
Features
One-piece flexible silicone rubber bumper
Enables easy access to the power button
Mounting holes remain accessible underneath the bumper
Downloads
Datasheet
Program and Build Raspberry Pi 5 Based Ham Station Utilities with the RTL-SDR
The RTL-SDR devices (V3 and V4) have gained popularity among radio amateurs because of their very low cost and rich features. A basic system may consist of a USB based RTL-SDR device (dongle) with a suitable antenna, a Raspberry Pi 5 computer, a USB based external audio input-output adapter, and software installed on the Raspberry Pi 5 computer. With such a modest setup, it is possible to receive signals from around 24 MHz to over 1.7 GHz.
This book is aimed at amateur radio enthusiasts and electronic engineering students, as well as at anyone interested in learning to use the Raspberry Pi 5 to build electronic projects. The book is suitable for both beginners through experienced readers. Some knowledge of the Python programming language is required to understand and eventually modify the projects given in the book. A block diagram, a circuit diagram, and a complete Python program listing is given for each project, alongside a comprehensive description.
The following popular RTL-SDR programs are discussed in detail, aided by step-by-step installation guides for practical use on a Raspberry Pi 5:
SimpleFM
GQRX
SDR++
CubicSDR
RTL-SDR Server
Dump1090
FLDIGI
Quick
RTL_433
aldo
xcwcp
GPredict
TWCLOCK
CQRLOG
klog
Morse2Ascii
PyQSO
Welle.io
Ham Clock
CHIRP
xastir
qsstv
flrig
XyGrib
FreeDV
Qtel (EchoLink)
XDX (DX-Cluster)
WSJT-X
The application of the Python programming language on the latest Raspberry Pi 5 platform precludes the use of the programs in the book from working on older versions of Raspberry Pi computers.
When you experiment with the Raspberry Pi on a regular basis and you connect a variety of external hardware to the GPIO port via the header you may well have caused some damage in the past. The Elektor Raspberry Pi Buffer Board is there to prevent this! The board is compatible with Raspberry Pi Zero, Zero 2 (W), 3, 4, 5, 400 and 500.
All 26 GPIOs are buffered with bi-directional voltage translators to protect the Raspberry Pi when experimenting with new circuits. The PCB is intended to be inserted in the back of Raspberry Pi 400/500. The connector to connect to the Raspberry Pi is a right angled 40-way receptacle (2x20). The PCB is only a fraction wider. A 40-way flat cable with appropriate 2x20 headers can be connected to the buffer output header to experiment for instance with a circuit on a breadboard or PCB.
The circuit uses 4x TXS0108E ICs by Texas Instruments. The PCB can also be put upright on a Raspberry Pi.
Downloads
Schematics
Layout
World’s Most Popular ROS Platform TurtleBot is the most popular open source robot for education and research. The new generation TurtleBot3 is a small, low cost, fully programmable, ROS based mobile robot. It is intended to be used for education, research, hobby and product prototyping. Affordable Cost TurtleBot was developed to meet the cost-conscious needs of schools, laboratories and companies. TurtleBot3 is the most affordable robot among the SLAM-able mobile robots equipped with a 360° Laser Distance Sensor LDS-01. ROS Standard The TurtleBot brand is managed by Open Robotics, which develops and maintains ROS. Nowadays, ROS has become the go-to platform for all the roboticists around the world. TurtleBot can be integrated with existing ROS-based robot components, but TurtleBot3 can be an affordable platform for whom want to get started learning ROS. Extensibility TurtleBot3 encourages users to customize its mechanical structure with some alternative options: open source embedded board (as a control board), computer and sensors. TurtleBot3 Waffle Pi is a two-wheeled differential drive type platform but it is able to be structurally and mechanically customized in many ways: Cars, Bikes, Trailers and so on. Extend your ideas beyond imagination with various SBC, sensors and motors on a scalable structure. Modular Actuator for Mobile Robot TurtleBot3 is able to get a precise spatial data by using 2 DYNAMIXEL’s in the wheel joints. DYNAMIXEL XM series can be operated by one of 6 operating modes (XL series: 4 operating modes): Velocity control mode for wheels, Torque control mode or Position control mode for joint, etc. DYNAMIXEL can be used even to make a mobile manipulator which is light but can be precisely controlled with velocity, torque and position control. DYNAMIXEL is a core component that makes TurtleBot3 perfect. It is easy to assemble, maintain, replace and reconfigure. Open Control Board for ROS The control board is open-sourced in hardware wise and in software wise for ROS communication. The open source control board OpenCR1.0 is powerful enough to control not only DYNAMIXEL’s but also ROBOTIS sensors that are frequently being used for basic recognition tasks in cost effective way. Various sensors such as Touch sensor, Infrared sensor, Color sensor and a handful more are available. The OpenCR1.0 has an IMU sensor inside the board so that it can enhance precise control for countless applications. The board has 3.3 V, 5 V, 12 V power supplies to reinforce the available computer device lineups. Open Source The hardware, firmware and software of TurtleBot3 are open source which means that users are welcomed to download, modify and share source codes. All components of TurtleBot3 are manufactured with injection molded plastic to achieve low cost, however, the 3D CAD data is also available for 3D printing. Specifications Maximum translational velocity 0.26 m/s Maximum rotational velocity 1.82 rad/s (104.27 deg/s) Maximum payload 30 kg Size (L x W x H) 281 x 306 x 141 mm Weight (+ SBC + Battery + Sensors) 1.8 kg Threshold of climbing 10 mm or lower Expected operating time 2h Expected charging time 2h 30m SBC (Single Board Computers) Raspberry Pi 4 (2 GB RAM) MCU 32-bit ARM Cortex-M7 with FPU (216 MHz, 462 DMIPS) Remote Controller RC-100B + BT-410 Set (Bluetooth 4, BLE) Actuator XL430-W210 LDS (Laser Distance Sensor) 360 Laser Distance Sensor LDS-01 or LDS-02
Camera Raspberry Pi Camera Module v2.1 IMU Gyroscope 3 AxisAccelerometer 3 Axis Power connectors 3.3 V/800 mA5 V/4 A12 V/1 A Expansion pins GPIO 18 pinsArduino 32 pin Peripheral 3x UART, 1x CAN, 1x SPI, 1x I²C, 5x ADC, 4x 5-pin OLLO DYNAMIXEL ports 3x RS485, 3x TTL Audio Several programmable beep sequences Programmable LEDs 4x User LED Status LEDs 1x Board status LED1x Arduino LED1x Power LED Buttons and Switches 2x Push buttons, 1x Reset button, 2x Dip switch Battery Lithium polymer 11.1 V 1800 mAh / 19.98 Wh 5C PC connection USB Firmware upgrade via USB / via JTAG Power adapter (SMPS) Input: 100-240 VAC 50/60 Hz, 1.5 A @maxOutput: 12 VDC, 5 A Downloads ROS Robot Programming GitHub E-Manual Community
Specifications
Dual ARM Cortex-M0+ @ 133 MHz
264 kB on-chip SRAM in six independent banks
Support for up to 16 MB of off-chip Flash memory via dedicated QSPI bus
DMA controller
Fully-connected AHB crossbar
Interpolator and integer divider peripherals
On-chip programmable LDO to generate core voltage
2x on-chip PLLs to generate USB and core clocks
30x GPIO pins, 4 of which can be used as analogue inputs
Peripherals
2x UARTs
2x SPI controllers
2x I²C controllers
16x PWM channels
USB 1.1 controller and PHY, with host and device support
8x PIO state machines
What you'll get
10x bare RP2040 chips
A comprehensive course that will teach you how to build a modern IoT application This book will take you on a whirlwind tour of full-stack web application development using Raspberry Pi. You will learn how to build an application from the ground up. You will gain experience and know-how of technologies including: The Linux operating system and command line. The Python programming language. The Raspberry Pi General Purpose Input Output pins (GPIOs). The Nginx web server. Flask Python web application microframework. JQuery and CSS for creating user interfaces. Dealing with time zones. Creating charts with Plotly and Google Charts. Data logging with Google Sheet. Developing applets with IFTTT. Securing your application with SSL. Receiving SMS notifications to your phone using Twilio. This book will also teach you how to set up a remote wireless Arduino sensor node and collect data from it. Your Raspberry Pi web application will be able to process Arduino node data in the same way it processes data from its onboard sensor. Raspberry Pi Full Stack will teach you many skills essential to building Web and Internet of Things applications. The application you will build in this project is a platform that you can extend upon. This is just the start of what you can do with a Raspberry Pi and the software and hardware components that you will learn about. This book is supported by the author via a dedicated discussion space.
This book is about advanced programming of the Raspberry Pi computer using the Python programming language. The book explains in simple terms and with examples:
How to configure the Raspberry Pi computer;
How to install and use the Linux operating system and the desktop;
How to write advanced programs using the Python programming language;
How to use graphics in our programs;
How to develop hardware based projects using the Raspberry Pi.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary accessories and installing and operating the Linux operating system in command mode. The network interface of the RPi is explained in simple steps, demonstrating how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language in detail, including advanced topics such as operating system calls, multitasking, interprocess synchronization and interprocess communication techniques. The important topic of network programming using UDP and TCP protocols is described with working examples. The Tkinter graphical user interface module (GUI) is described in detail with example widgets and programs.
The last part of the book includes hardware projects based on using the advanced programming topics such as multitasking and interprocess communication techniques. All the projects given in the book have been fully tested and are working. Complete program listings of all projects are provided with detailed explanations.
Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.