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.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
Harry Fairhead has been working with microprocessors, and electronics in general, for many years. He is author of Explore Intel Edison, micro: bit IoT in C and The 386/486 Personal Computer: A Power User's Guide. He is editor of IoT-Programmer.com and a regular contributor to I-Programmer.info, where he covers all aspects of hardware.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: New. Bestandsnummer des Verkäufers 28460141-n
Anzahl: Mehr als 20 verfügbar
Anbieter: BargainBookStores, Grand Rapids, MI, USA
Paperback or Softback. Zustand: New. Raspberry Pi Iot in C. Book. Bestandsnummer des Verkäufers BBS-9781871962468
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: As New. Unread book in perfect condition. Bestandsnummer des Verkäufers 28460141
Anzahl: Mehr als 20 verfügbar
Anbieter: AwesomeBooks, Wallingford, Vereinigtes Königreich
paperback. Zustand: Very Good. Raspberry Pi IoT In C This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. . Bestandsnummer des Verkäufers 7719-9781871962468
Anzahl: 1 verfügbar
Anbieter: Bahamut Media, Reading, Vereinigtes Königreich
paperback. Zustand: Very Good. Shipped within 24 hours from our UK warehouse. Clean, undamaged book with no damage to pages and minimal wear to the cover. Spine still tight, in very good condition. Remember if you are not happy, you are covered by our 100% money back guarantee. Bestandsnummer des Verkäufers 6545-9781871962468
Anzahl: 1 verfügbar
Anbieter: GreatBookPricesUK, Woodford Green, Vereinigtes Königreich
Zustand: As New. Unread book in perfect condition. Bestandsnummer des Verkäufers 28460141
Anzahl: Mehr als 20 verfügbar
Anbieter: GreatBookPricesUK, Woodford Green, Vereinigtes Königreich
Zustand: New. Bestandsnummer des Verkäufers 28460141-n
Anzahl: Mehr als 20 verfügbar
Anbieter: THE SAINT BOOKSTORE, Southport, Vereinigtes Königreich
Paperback / softback. Zustand: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days. Bestandsnummer des Verkäufers C9781871962468
Anzahl: Mehr als 20 verfügbar
Anbieter: AHA-BUCH GmbH, Einbeck, Deutschland
Taschenbuch. Zustand: Neu. Neuware - Second Edition Now Available. Bestandsnummer des Verkäufers 9781871962468
Anzahl: 2 verfügbar