
Raspberry Pi Compute Module 5 IoT In C: Using Linux Drivers and Gpio5, (Paperback)
(No ratings yet)
Key item features
- Raspberry Pi Compute Module 5 IoT In C: Using Linux Drivers and Gpio5, (Paperback)
- Author: I/O Press
- ISBN: 9781871962956
- Format: Paperback
- Publication Date: 2025-04-11
- Page Count: 444
Specs
Publication date, April, 2025
Author, I/O Press
Book format, Paperback
Genre, Computing & Internet
Pages, 444
Age group, Adult
Publication date
April, 2025
Author, I/O Press
Author
I/O Press
Book format, Paperback
Book format
Paperback
Genre, Computing & Internet
Genre
Computing & Internet
Pages, 444
Pages
444
Age group, Adult
Age group
Adult
About this item
Product details
The Raspberry Pi Compute Module 5, CM5, is designed specifically to be used in IoT and embedded applications, but differs considerably from other IoT devices you might be familiar with. The key difference is that it has enough power to run an operating system, usually Linux. This makes it ideal for use in complex IoT scenarios requiring access to sensors and actuators and running multiple programs at the same time, but this is made difficult due to a lack of documentation. The problems are exacerbated by the use of the RP1 chip to implement the CM5's peripherals which means it doesn't work with the usual IoT libraries such as Wiring Pi, bcm2835, pigpio and so on. This book demonstrates how to interact with the hardware both using Linux drivers, the accepted way of accessing external devices, and via Gpio5, a new open source IoT library specifically for the Raspberry Pi 5 and CM5, that provides direct access to the CM5's hardware, with functions for working with GPIO, PWM, I2C, SPI and more. Discovering, installing and using drivers is the topic of early chapters of this book. Having seen how to work with drivers we move on to direct access to the hardware via the Gpio5 library, which is developed and enhanced throughout the book.
Next comes a lightning tour of the electronics needed for simple IoT applications. This is followed by a digression into the Device Tree and overlays, using the DHT22 temperature and humidity sensor as a practical example, before tackling PWM both via a driver and directly using Gpio5. The same treatment is applied to the two standard buses, I2C and SPI and also the 1-wire bus. We then look at two attempts to impose a higher organization, the hardware monitoring system, hwmon, and Industrial I/O, IIO. We next come to the PIO, the Programmable Input Output, first introduced by the Raspberry Pi Pico, a unique way to interface the CM5 to the outside world without the need to use the CPU. After covering the basics, we look at three examples of the most sophisticated PIO programs you are likely to encounter.
The penultimate chapter takes drivers to the next level, showing you how to create your own custom overlays by writing fragments of the device tree, and the final chapter is about advanced scheduling and dealing with problems encountered in running a real-time system. Harry Fairhead has worked with microprocessors and electronics for many years and is an enthusiastic proponent of the IoT. C is his programming language of choice and he is the author of Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux. His Raspberry Pi books include Raspberry Pi 5 IoT In C: Drivers and Gpio5, the companion volume to this book, Raspberry Pi IoT In C, 3rd Ed; Raspberry Pi IoT in C With Linux Drivers, 2nd Ed and Programming the Raspberry Pi Pico/W in C, 2nd Ed.
Next comes a lightning tour of the electronics needed for simple IoT applications. This is followed by a digression into the Device Tree and overlays, using the DHT22 temperature and humidity sensor as a practical example, before tackling PWM both via a driver and directly using Gpio5. The same treatment is applied to the two standard buses, I2C and SPI and also the 1-wire bus. We then look at two attempts to impose a higher organization, the hardware monitoring system, hwmon, and Industrial I/O, IIO. We next come to the PIO, the Programmable Input Output, first introduced by the Raspberry Pi Pico, a unique way to interface the CM5 to the outside world without the need to use the CPU. After covering the basics, we look at three examples of the most sophisticated PIO programs you are likely to encounter.
The penultimate chapter takes drivers to the next level, showing you how to create your own custom overlays by writing fragments of the device tree, and the final chapter is about advanced scheduling and dealing with problems encountered in running a real-time system. Harry Fairhead has worked with microprocessors and electronics for many years and is an enthusiastic proponent of the IoT. C is his programming language of choice and he is the author of Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux. His Raspberry Pi books include Raspberry Pi 5 IoT In C: Drivers and Gpio5, the companion volume to this book, Raspberry Pi IoT In C, 3rd Ed; Raspberry Pi IoT in C With Linux Drivers, 2nd Ed and Programming the Raspberry Pi Pico/W in C, 2nd Ed.
- Raspberry Pi Compute Module 5 IoT In C: Using Linux Drivers and Gpio5, (Paperback)
- Author: I/O Press
- ISBN: 9781871962956
- Format: Paperback
- Publication Date: 2025-04-11
- Page Count: 444
info:
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here, and we have not verified it.
Specifications
Publication date
April, 2025
Author
I/O Press
Book format
Paperback
Genre
Computing & Internet
Warranty
Warranty information
Please be aware that the warranty terms on items offered for sale by third party Marketplace sellers may differ from those displayed in this section (if any). To confirm warranty terms on an item offered for sale by a third party Marketplace seller, please use the 'Contact seller' feature on the third party Marketplace seller's information page and request the item's warranty terms prior to purchase.
Similar items you might like
Based on what customers bought
Raspberry Pi IoT In C (Paperback) $19.50
$1950current price $19.50Raspberry Pi IoT In C (Paperback)
Microcontrollers: 8051 & MSP430 Microcontrollers Family Architecture, Programming, Interfacing & Applications, (Paperback) $45.35
$4535current price $45.35Microcontrollers: 8051 & MSP430 Microcontrollers Family Architecture, Programming, Interfacing & Applications, (Paperback)
AVR Register Level Programming: Master Microcontroller Architecture, Peripheral Control, and Bare-Metal Embedded Systems, (Paperback) $29.99
$2999current price $29.99AVR Register Level Programming: Master Microcontroller Architecture, Peripheral Control, and Bare-Metal Embedded Systems, (Paperback)
Computing with the Raspberry Pi: Command Line and GUI Linux, (Paperback) $35.86
$3586current price $35.86Computing with the Raspberry Pi: Command Line and GUI Linux, (Paperback)
Raspberry Pi IoT In Python Using GPIO Zero, 2nd Edition (Paperback) $32.64
$3264current price $32.64Raspberry Pi IoT In Python Using GPIO Zero, 2nd Edition (Paperback)
Raspberry Pi for Python Programmers Cookbook, Second Edition $48.29
$4829current price $48.29Raspberry Pi for Python Programmers Cookbook, Second Edition
ESP32 Projects for Beginners 2026: A Step-by-Step Guide to Arduino Programming, Wi-Fi, Bluetooth, Sensors, IoT, and Smar, (Paperback) $21.96
$2196current price $21.96ESP32 Projects for Beginners 2026: A Step-by-Step Guide to Arduino Programming, Wi-Fi, Bluetooth, Sensors, IoT, and Smar, (Paperback)
Mini PC Home Servers: FROM RASPBERRY PI TO INTEL N100 AND PROXMOX: Self-Host Jellyfin, Nextcloud, Pi-hole, and Docker St, (Paperback) $34.99
$3499current price $34.99Mini PC Home Servers: FROM RASPBERRY PI TO INTEL N100 AND PROXMOX: Self-Host Jellyfin, Nextcloud, Pi-hole, and Docker St, (Paperback)
Embedded Essentials Rust-Powered Pi Systems Programming with Raspberry Pi 5: Harnessing Efficient and Secure Low-Level Programming, Book 4, (Paperback) $29.99
$2999current price $29.99Embedded Essentials Rust-Powered Pi Systems Programming with Raspberry Pi 5: Harnessing Efficient and Secure Low-Level Programming, Book 4, (Paperback)
Getting Started with Arduino: The Open Source Electronics Prototyping Platform, (Paperback) $16.95
$1695current price $16.95Getting Started with Arduino: The Open Source Electronics Prototyping Platform, (Paperback)
Internet of Things Programming Projects: Build modern IoT solutions with the Raspberry Pi 3 and Python, (Paperback) $31.93
$3193current price $31.93Internet of Things Programming Projects: Build modern IoT solutions with the Raspberry Pi 3 and Python, (Paperback)
Raspberry Pi IoT In C Using Linux Drivers, 2nd Edition (Paperback) $35.05
$3505current price $35.05Raspberry Pi IoT In C Using Linux Drivers, 2nd Edition (Paperback)
Raspberry Pi IoT In C (Paperback) $32.64
$3264current price $32.64Raspberry Pi IoT In C (Paperback)
Programming the ESP32 In C Using the Arduino Library, (Paperback) $32.64
$3264current price $32.64Programming the ESP32 In C Using the Arduino Library, (Paperback)
Programming The Raspberry Pi Pico/W In C, Second Edition, (Paperback) $40.69
$4069current price $40.69Programming The Raspberry Pi Pico/W In C, Second Edition, (Paperback)
Programming The Raspberry Pi Pico In C (Paperback) $36.69 26.0 ¢/lb
$3669current price $36.6926.0 ¢/lbProgramming The Raspberry Pi Pico In C (Paperback)
Micro: bit IoT In C Second Edition, (Paperback) $32.64
$3264current price $32.64Micro: bit IoT In C Second Edition, (Paperback)
Applying C For The IoT With Linux (Paperback) $29.99
$2999current price $29.99Applying C For The IoT With Linux (Paperback)
All of Iot Starting With the Latest Raspberry Pi from Beginner to Advanced : Mastering the Internet of Things at a Stretch, Starting from Raspberry Pi Introduction, Going Through Linux, Apache, Mysql, $40.00
$4000current price $40.00All of Iot Starting With the Latest Raspberry Pi from Beginner to Advanced : Mastering the Internet of Things at a Stretch, Starting from Raspberry Pi Introduction, Going Through Linux, Apache, Mysql,
Next Level Technology Raspberry Pi 5 & Raspberry Pi Pico 2: Bridging Linux-Based Single Board Computers with Bare-Metal RISC-V Microcontroller, (Paperback) $35.00
$3500current price $35.00Next Level Technology Raspberry Pi 5 & Raspberry Pi Pico 2: Bridging Linux-Based Single Board Computers with Bare-Metal RISC-V Microcontroller, (Paperback)
Customer ratings & reviews
0 out of 5 stars
This item does not have any reviews yet
Current price is USD$46.07
Price when purchased online
Free Holiday returns until Jan 31
How do you want your item?
Ships to
Arrives between Dec 11 - Dec 15
|Shipping fee $9.98
Sold and shipped by Best Prices & Service
4.459752321981425 out of 5 stars
Extended holiday returns
Free Holiday returns until Jan 31