Second Edition Now Available. 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. In Raspberry Pi IoT in C you will find a practical approach to understanding electronic circuits and datasheets and translating 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. After reading this book you will be in a better position to tackle interfacing anything-with-anything without the need for custom drivers and prebuilt hardware modules. Having written a Blinky program to check that everything we need is installed and working we move on to exploring the basics of using the GPIO and also master memory mapping, pulse width modulation and other more sophisticated bus types. From here we can start connecting sensors, which is a core requirement for IoT. First we’ll meet the ubiquitous I2C bus, next we’ll implement a custom protocol for a one-wire bus, and eventually we’ll add eight channels of 12-bit AtoD with the SPI bus, which involves overcoming some subtle difficulties. Next we look at the traditional serial interface how to use it to communicate with other devices. This paves the way for getting the Pi on the web – after all this is a book about the Internet of Things -using first a USB WiFi adapter and sockets and then the low cost ESP8266, which is particularly useful with the Pi Zero which has only one USB port. Having transformed the Pi into both a web client and a web server we can then use them to exchange information.
60%
Raspberry Pi IoT In C by Harry Fairhead [Paperback]
$25.31 Original price was: $25.31.$15.19Current price is: $15.19.
Meta:
Item Length : 9.2 in
Publication Year : 2016
Subject : Microprocessors, Networking / General, Programming Languages / C
gtin13 : 9781871962468
Item Height : 0.6 in
EAN : 9781871962468
Item Weight : 18 Oz
UPC : 9781871962468
MPN : N/A
Subject Area : Computers
Type : Textbook
Publisher : I/O Press
Author : Harry Fairhead
Item Width : 7.5 in
ISBN : 9781871962468
Recommended Age Range : 0-12 months
Language : English
Number of Pages : 292 Pages
Format : Trade Paperback
Book Title : Raspberry Pi IoT In C by Harry Fairhead [Paperback
Publication Name : Raspberry Pi Iot in C
Publication Year : 2016
Subject : Microprocessors, Networking / General, Programming Languages / C
gtin13 : 9781871962468
Item Height : 0.6 in
EAN : 9781871962468
Item Weight : 18 Oz
UPC : 9781871962468
MPN : N/A
Subject Area : Computers
Type : Textbook
Publisher : I/O Press
Author : Harry Fairhead
Item Width : 7.5 in
ISBN : 9781871962468
Recommended Age Range : 0-12 months
Language : English
Number of Pages : 292 Pages
Format : Trade Paperback
Book Title : Raspberry Pi IoT In C by Harry Fairhead [Paperback
Publication Name : Raspberry Pi Iot in C
Related products
-
Madiba Mindset : Your Own Freedom Charter, Paperback by Fairhead, Tyrrel, Bra…
$15.45Original price was: $15.45.$9.27Current price is: $9.27. -
Mike James Harry Fairhead Master the Raspberry Pi Pico in C (Paperback)
$46.72Original price was: $46.72.$28.03Current price is: $28.03. -
Presidential Elections (Paperback) (Paperback or Softback)
$10.21Original price was: $10.21.$6.13Current price is: $6.13. -
THE CIVIL WAR ALMANAC (Paperback) Illustrated Paperback
$7.04Original price was: $7.04.$4.22Current price is: $4.22. -
* The Anxious Generation :- Paperback * by Jonathan Haidt :- Paperback
$14.07Original price was: $14.07.$8.44Current price is: $8.44. -
We Were the Mulvaneys (Oprah's Book Club) [Paperback] [Paperback]
$9.19Original price was: $9.19.$5.51Current price is: $5.51. -
The Kid Who Ran for President (Paperback) Kid Who (Paperback)
$8.56Original price was: $8.56.$5.13Current price is: $5.13. -
Presidential Elections (Paperback) (Presidents on Parade (Paperback))
$4.83Original price was: $4.83.$2.89Current price is: $2.89. -
Kyland Paperback by Mia Sheridan (Paperback) NEW 📖
$6.83Original price was: $6.83.$4.10Current price is: $4.10. -
The Luxury Collection Epicurean Journeys (Paperback) – Paperback – VERY GOOD
$3.86Original price was: $3.86.$2.31Current price is: $2.31. -
The Eternal Champion (Paperback) – Paperback By Moorcock, Michael – GOOD
$8.34Original price was: $8.34.$5.00Current price is: $5.00. -
The Warrior's Tale Paperback Allan Cole – Excellent paperback.
$5.72Original price was: $5.72.$3.43Current price is: $3.43. -
Arthur's Valentine (Arthur Adventures (Paperback)) – Paperback – GOOD
$3.32Original price was: $3.32.$1.99Current price is: $1.99. -
Doubt (Lion Paperback) – Paperback By Guinness, Os – GOOD
$5.25Original price was: $5.25.$3.15Current price is: $3.15. -
Constructive Living (Kolowalu Books (Paperback)) – Paperback – GOOD
$4.54Original price was: $4.54.$2.72Current price is: $2.72. -
50+ Marvel and DC Trade Paperbacks Trades paperbacks
$2.64Original price was: $2.64.$1.58Current price is: $1.58. -
* The Anxious Generation :- Paperback * by Jonathan Haidt :- Paperback BOOK
$14.63Original price was: $14.63.$8.78Current price is: $8.78. -
The Story of American Freedom (Norton Paperback) – Paperback – GOOD
$4.02Original price was: $4.02.$2.41Current price is: $2.41. -
The Power of Discipline Paperback , English– by Daniel Walter… Paperback
$8.09Original price was: $8.09.$4.85Current price is: $4.85. -
We Were the Mulvaneys (Oprah's Book Club) [Paperback] – – Paperback – Good
$6.59Original price was: $6.59.$3.95Current price is: $3.95.