Raspberry Pi 5 IoT In C (I/O Press)
Wednesday, 05 March 2025

This book demonstrates how to interact with the hardware using Linux drivers and via Gpio5, a new open source IoT library created by Harry Fairhead that provides direct access to the Pi 5’s hardware. As the Pi 5 uses the RP1 chip to implement its peripherals, it does not work with the usual IoT libraries such as Wiring Pi, bcm2835, pigpio and so on. Gpio5, is designed to replace them and provide direct access to GPIO, PWM, I2C, SPI and more. This makes the Pi 5 much more capable of IoT applications.

<ASIN:1871962943>

The book also looks at the electronics needed for simple IoT applications. Harry also describes 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 two standard buses, I2C and SPI, are covered in a set of chapters on using both drivers and direct access via Gpio5. The book also looks at the hardware monitoring system, hwmon, and Industrial I/O, IIO. The penultimate chapter introduces the PIO first introduced by the Raspberry Pi Pico, a unique way to interface the Pi 5 to the outside world without the need to use the CPU, and the final chapter takes drivers to the next level, showing you how to create your own custom overlays by writing fragments of the Device Tree.

Author: Harry Fairhead
Publisher: I/O Press
Date: March 2025
Pages: 408
ISBN: 978-1871962949
Print: 1871962943
Audience: C programmers using the Raspberry Pi
Level: Intermediate
Category: Hardware platforms

CIoTPi5360

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


The Rust Programming Language, 2nd Ed

Author: Steve Klabnik and Carol Nichols
Publisher: No Starch Press
Date: June 2023
Pages: 560
ISBN: 978-1718503106
Print: 1718503105
Kindle: B0B7QTX8LL
Audience: Systems programmers
Rating: 4.8
Reviewer: Mike James

There's a new edition of what has become the standard text on Rust. Has it matured along with [ ... ]



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?


More Reviews