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
 


Beautiful Code: Leading Programmers Explain How They Think

Editors: Andy Oram and Greg Wilson
Publisher: O'Reilly, 2007
Pages: 618
ISBN: 978-0596510046
Print: 0596510047
Kindle: B0026OR2NG
Audience: Anyone who has an interest in programming
Rating: 4.5
Reviewer: Mike James

This collection of essays is approaching its 10th anniversary. It isn't [ ... ]



Data Structures and Algorithms with JavaScript

Author:  Michael McMillan
Publisher: O'Reilly
Date: March 24, 2014
Pages: 246
ISBN: 978-1449364939
Print: 1449364934
Kindle: B00IV3J23Y
Audience: Intermediate JavaScript programmers
Rating: 3.5
Reviewer: Ian Elliot

A book explaining the standard data structures in the worlds most popul [ ... ]


More Reviews