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.

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


C# Programming, 3rd Ed (In Easy Steps)

Author: Mike McGrath
Publisher: Easy Steps
Date: April 2022
Pages: 192
ISBN: 978-1840789737
Print: 1840789735
Kindle: B09WPBZZCV
Audience: C# developers
Rating: 5
Reviewer: Mike James
An easy guide to C# - what could be better.



Seriously Good Software

Author: Marco Faella
Publisher: Manning
Date: March 2020
Pages: 328
ISBN: 978-1617296291
Print: 1617296295
Kindle: B09782DKN8
Audience: Relatively experienced Java programmers
Rating: 4.5
Reviewer: Mike James
Don't we all want to write seriously good software?


More Reviews