Raspberry Pi Compute Module 5 IoT In C: Using Linux Drivers and Gpio5 (I/O Press)
Wednesday, 23 April 2025

This book demonstrates how to interact with the Raspberry Pi Compute Module 5, CM5. Harry Fairhead shows both the use of 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.

<ASIN:1871962951>

Beginning with how to work with drivers, Harry then moves on to direct access to the hardware via the Gpio5 library, which is developed and enhanced throughout the book. Other chapters include the Device Tree and overlays, using the DHT22 temperature and humidity sensor as a practical example, and PWM both via a driver and directly using Gpio5. Later chapters look at the two standard buses, I2C and SPI and also the 1-wire bus;  the hardware monitoring system, hwmon, and Industrial I/O, IIO. The PIO, the Programmable Input Output, is covered with three examples of the most sophisticated PIO programs you are likely to encounter. Finally Harry looks at how to create your own custom overlays by writing fragments of the device tree, and advanced scheduling and dealing with problems encountered in running a real-time system.

Author: Harry Fairhead
Publisher: I/O Press
Date: April 2025
Pages: 442
ISBN: 978-1871962956
Print: 1871962951
Kindle: B0F4NMXRJN
Audience: C programmers using the Raspberry Pi Compute Module
Level: Intermediate
Category: Hardware platforms

CIoTCM5360

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner


Learn Enough JavaScript to Be Dangerous

Author: Michael Hartl
Publisher: Addison-Wesley
Date: June 2022
Pages: 304
ISBN: 978-0137843749
Print: 0137843747
Kindle: B09RDSVV7N
Audience: Would-be JavaScript developers
Rating: 2
Reviewer: Mike James
To be dangerous? Is this a good ambition?



Classic Computer Science Problems in Python

Author: David Kopec
Publisher: Manning
Date: March 2019
Pages: 224
ISBN: 978-1617295980
Print: 1617295981
Kindle: ‎ ‎ B09782BT4Q
Level: Intermediate
Audience: Python developers
Category: Python
Rating: 4
Reviewer: Mike James
Classic algorithms in Python - the world's favourite language.


More Reviews