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
 


Learn to Program with Scratch

Author: Majed Marji
Publisher: No Starch Press
Pages: 288
ISBN: 9781593275433
Print: 1593275439
Kindle: B00IE94WY4
Audience: Anyone who wants to learn programming as well as about Scratch
Rating: 5
Reviewer: Lucy Black

Scratch is such an easy language to learn, surely you can't really need a book [ ... ]



Learn Windows PowerShell in a Month of Lunches (3rd Edition)

Author: Donald W. Jones & Jeffrey D. Hicks
Publisher: Manning Publications
Pages: 384
ISBN: 978-1617294167
Print: 1617294160
Audience: Admins and devs
Rating: 5
Reviewer: Ian Stirk

This book aims to teach you PowerShell in around 25 hours, how does it fare?


More Reviews