Internet of Things Programming Projects
eBook - ePub

Internet of Things Programming Projects

Build modern IoT solutions with the Raspberry Pi 3 and Python

Colin Dow

Buch teilen
  1. 436 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Internet of Things Programming Projects

Build modern IoT solutions with the Raspberry Pi 3 and Python

Colin Dow

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

A practical project-based guide to help you build and control your IoT projects

Key Features

  • Leverage the full potential of IoT with the combination of Raspberry Pi 3 and Python
  • Build complex Python-based applications with IoT
  • Work on various IoT projects and understand the basics of electronics

Book Description

The Internet of Things (IOT) has managed to attract the attention of researchers and tech enthusiasts, since it powerfully combines classical networks with instruments and devices.

In Internet of Things Programming Projects, we unleash the power of Raspberry Pi and Python to create engaging projects. In the first part of the book, you'll be introduced to the Raspberry Pi, learn how to set it up, and then jump right into Python programming. Then, you'll dive into real-world computing by creating a"Hello World" app using flash LEDs.

As you make your way through the chapters, you'll go back to an age when analog needle meters ruled the world of data display. You'll learn to retrieve weather data from a web service and display it on an analog needle meter, and build a home security system using the Raspberry Pi. The next project has a modern twist, where we employ the Raspberry Pi to send a signal to a web service that will send you a text when someone is at the door. In the final project, you take what you've learned from the previous two projects and create an IoT robot car that you can use to monitor what your pets are up to when you are away.

By the end of this book, you will be well versed in almost every possible way to make your IoT projects stand out.

What you will learn

  • Install and set up a Raspberry Pi for IoT development
  • Learn how to use a servo motor as an analog needle meter to read data
  • Build a home security dashboard using an infrared motion detector
  • Communicate with a web service that sends you a message when the doorbell rings
  • Receive data and display it with an actuator connected to the Raspberry Pi
  • Build an IoT robot car that is controlled through the internet

Who this book is for

Internet of Things Programming Projects is for Python developers and programmers who are interested in building their own IoT applications and IoT-based projects. It is also targeted at IoT programmers and developers who are looking to build exciting projects with Python.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Internet of Things Programming Projects als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Internet of Things Programming Projects von Colin Dow im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Home Automation. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2018
ISBN
9781789131383

Introducing the Raspberry Pi Robot Car

I would like to introduce you to T.A.R.A.S, the robot car. T.A.R.A.S is actually a backronym; I took the name from a business mentor of mine who helped me get started. After scratching my head trying to come up with something, I finally figured out how to turn my friend Taras into T.A.R.A.S, this Amazing Raspberry-Pi Automated Security agent. As you can probably tell from the name, T.A.R.A.S will monitor things for us and act as an automated security guard.
T.A.R.A.S will use Raspberry Pi for a brain and motor driver boards to control both the movement of its camera gimbal and wheels. T.A.R.A.S will also have sensory inputs as well as LED and buzzer outputs. T.A.R.A.S will be an aggregation of the skills we have acquired throughout this book.
We will spend this chapter building T.A.R.A.S and writing code to control it.
The following topics will be covered in this chapter:
  • The parts of the robot car
  • Building the robot car

The parts of the robot car

I designed T.A.R.A.S to be as simple to put together as possible. T.A.R.A.S consists of a laser cut hardboard chassis, 3D printed wheel, and camera mount parts (there is an option to use laser cut wheel mounts, too). In order for you to build T.A.R.A.S, I have provided SVG files for the chassis and STL files for the 3D printed parts. All other parts may be purchased online. The following is a photo of T.A.R.A.S. before assembly:
  1. Servo camera mount (shown assembled)—search www.aliexpress.com for a camera platform anti-vibration camera mount
  2. 3D printed bracket (camera brace)
  3. DC motors for wheels (shown with motor wires and extension wires attached)—search www.aliexpress.com for a smart car robot plastic tire wheel
  4. Wheel mounts (3D printed)
  5. LEDs
  6. LED holderssearch www.aliexpress.com for a lamp LED holder black clip
  7. Camera mount brace (laser cut)
  8. Active buzzersearch www.aliexpress.com for a 5V active buzzer
  9. Distance sensor (HC-SR04)search www.aliexpress.com for an HC-SR04
  10. Alternative wheel mounts (laser cut)
  1. Raspberry Pi camera (long lens version, shown without cable)search www.aliexpress.com
  2. Motor driver plate (laser cut)
  3. Wheelssearch www.aliexpress.com for a smart car robot plastic tire wheel
  4. Robot car chassis (laser cut)
  5. Motor driver boardsearch www.aliexpress.com for an L298N motor driver board module
  6. DC barrel jack (shown with wires attached)www.aliexpress.com
  7. Adafruit 16-Channel PWM/Servo HAThttps://www.adafruit.com/product/2327
  8. Raspberry Pi
  9. 40-pin single-row male pin header connector strip (not shown)—www.aliexpress.com
  10. Various loose wires and breadboard jumper wires (not shown)—it's a good idea to buy many different wires and breadboard jumper wires; you can search www.aliexpress.com for breadboard jumper wires
  11. Heat shrink (not shown)
  12. 7.4V rechargeable battery with DC jack (not shown)search www.aliexpress.com for a 7.4V 18650 Li-ion lithium ion rechargeable battery pack (be sure to pick one that fits with the DC barrel jack in 16)
  13. Alternatively to part 22, you may use an AA sized power battery storage case box instead of parts 16 and 22www.aliexpress.com
  14. Mini breadboard (not shown)search www.aliexpress.com for an SYB-170 mini solderless prototype experiment test breadboard
  15. Various standoffs (not shown)—it should be able to have a standoff height of at least 40 mm; it's a good idea to have as many standoffs as you can as they always seem to come in handy, and you can search www.aliexpress.com for standoffs in electronics
  16. 330 and 470 Oh...

Inhaltsverzeichnis