Skip to content
Scan a barcode
Scan
Added to your cart
Paperback Raspberry Pi IoT In C Book

ISBN: 1871962463

ISBN13: 9781871962468

Raspberry Pi Iot in C

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.

Recommended

Format: Paperback

Condition: New

$19.50
50 Available
Ships within 2-3 days

You Might Also Enjoy

Steve Jobs
Steve Jobs
Walter Isaacson

from: $4.05

HTML and CSS: Design and Build Websites
HTML and CSS: Design and Build Websites
Jon Duckett

from: $6.09

Super Deluxe Essential Handbook (Pokémon): The Need-to-Know Stats and Facts on Over 800 Characters
Super Deluxe Essential Handbook (Pokémon): The Need-to-Know Stats and Facts on Over 800 Characters
Scholastic Inc.

from: $4.69

Surveillance Valley: The Secret Military History of the Internet
Surveillance Valley: The Secret Military History of the Internet
Yasha Levine

from: $32.18

JavaScript and jQuery: Interactive Front-End Web Development
JavaScript and jQuery: Interactive Front-End Web Development
Jon Duckett

from: $5.89

Tribal Leadership: Leveraging Natural Groups to Build a Thriving Organization
Tribal Leadership: Leveraging Natural Groups to Build a Thriving Organization
John King, Dave Logan, Halee Fischer-Wright

from: $4.39

The Innovators: How a Group of Inventors, Hackers, Geniuses and Geeks Created the Digital Revolution
The Innovators: How a Group of Inventors, Hackers, Geniuses and Geeks Created the Digital Revolution
Walter Isaacson

from: $5.09

Weapons of Math Destruction: How Big Data Increases Inequality and Threatens Democracy
Weapons of Math Destruction: How Big Data Increases Inequality and Threatens Democracy
Cathy O'Neil

from: $6.09

The Pleasures of the Damned: Poems, 1951-1993
The Pleasures of the Damned: Poems, 1951-1993
Charles Bukowski

from: $12.59

Windows 10 for Seniors for Dummies
Windows 10 for Seniors for Dummies
Peter Weverka

from: $5.39

Crushing it!
Crushing it!
Gary Vaynerchuk

from: $4.49

iPhone for Seniors for Dummies
iPhone for Seniors for Dummies
Nancy C. Muir

from: $5.19

Automotive Computer Network Repair: Diagnostic Strategies of Modern Automotive Systems
Automotive Computer Network Repair: Diagnostic Strategies of Modern Automotive Systems
Mandy Concepcion

from: $28.74

Vintage Laptop Computers: First Decade: 1980-89
Vintage Laptop Computers: First Decade: 1980-89
James E. Wilson

from: $14.54

iGen: Why Today’s Super-Connected Kids Are Growing Up Less Rebellious, More Tolerant, Less Happy--and Completely Unprepared for Adulthood--and What That Means for the Rest of Us
iGen: Why Today’s Super-Connected Kids Are Growing Up Less Rebellious, More Tolerant, Less Happy--and Completely Unprepared for Adulthood--and What That Means for the Rest of Us
Jean M. Twenge

from: $4.39

Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012
Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012
Kalman Toth

from: $29.95

A Digital Bundle: Protecting and Promoting Indigenous Knowledge Online
A Digital Bundle: Protecting and Promoting Indigenous Knowledge Online
Jennifer Wemigwans

from: $24.95

Ten Arguments for Deleting Your Social Media Accounts Right Now
Ten Arguments for Deleting Your Social Media Accounts Right Now
Jaron Lanier

from: $4.19

A Comprehensible Guide to Controller Area Network
A Comprehensible Guide to Controller Area Network
Wilfried Voss

from: $13.99

Practical VIM: Edit Text at the Speed of Thought
Practical VIM: Edit Text at the Speed of Thought
Drew Neil

from: $22.19

Customer Reviews

0 customer rating | 0 review
There are currently no reviews. Be the first to review this work.
Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured