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 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.
|