Raspberry Pi IoT in C (I/O Press)
Monday, 10 October 2016

The Raspberry Pi makes an ideal match for the Internet of Things. But to put it to good use in IoT you need two areas of expertise, electronics and programming and because of the way hardware and software engineering tend to occupy separate niches you may need help with combining the two. This book teaches you to think like an IoT programmer. After reading it you will be in a better position to tackle interfacing anything-with-anything without the need for custom drivers and prebuilt hardware modules.

<ASIN:1871962463>

Author: Harry Fairhead
Publisher: I/O Press
Date: October 2, 2016
Pages: 292
ISBN: 978-1871962468
Print: 1871962463

Category: IoT; Electronics

piiotccover

 

 

Harry Fairhead takes a practical approach, helping readers to understand electronic circuits and datasheets and translate this to code, specifically using the C programming language. The main reason for choosing C is speed, a crucial factor when you are writing programs to communicate with the outside world. If you are familiar with another programming language, C shouldn't be hard to pick up. Here it is used in conjunction with NetBeans and with the bcm2835 library.

The main idea in this book is to not simply install a driver, but to work directly with the hardware. So rather than using Raspberry Pi HATs or other expansion boards we use the Pi's GPIO (General Purpose Input Output) and connect off-the-shelf sensors. If you want to know how to work with the GPIO lines directly, how to work with near realtime Linux and generally take control of the Pi this is the book you need. It explains how to use the standard bus types - SPI, I2C, PWM - and with custom protocols including an in-depth exposition of the 1-wire bus. You will also discover how to put the Internet into the IoT using sockets and the low cost ESP8266.

As well as being a regular contributor to I Programmer, Harry Fairhead is the Editor of IoT-Programmer and author of:

Micro:bit IoT In C (I/O Press) 

Exploring Intel Edison (I/O Press) 

 

Visit Book Watch Archive for hundreds more titles.

Subscribe to I Programmer's Books RSS feed 
or follow @bookwatchiprog on Twitter for news addition to Book Watch and for new reviews. Contact  BookWatch@i-programmer.info

Banner
 


Beginning Rust Programming

Author: Ric Messier
Publisher: Wiley
Date: March 2021
Pages: 416
ISBN: 978-1119712978
Print: 1119712971
Kindle: B08WZ2D7WC
Audience: Developers wanting to learn Rust
Rating: 3
Reviewer: Mike James
Everyone seems to want to know what makes Rust special. Does this book give the answers?



Python Distilled (Addison-Wesley)

Author: David Beazley
Publisher: Addison-Wesley
Date: September 2021
Pages: 352
ISBN: 978-0134173276
Print: 0134173279
Rating: 4
Reviewer: Alex Armstrong
Python isn't a big language but it's getting bigger all the time.


More Reviews