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

Condividi libro
  1. 436 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Internet of Things Programming Projects

Build modern IoT solutions with the Raspberry Pi 3 and Python

Colin Dow

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Internet of Things Programming Projects è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Internet of Things Programming Projects di Colin Dow in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Home Automation. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2018
ISBN
9781789131383
Edizione
1

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...

Indice dei contenuti