Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Title Page Copyright and Credits
Internet of Things Programming Projects
Humble Bundle Packt Upsell
Why subscribe? Packt.com
Contributors
 About the author About the reviewer Packt is searching for authors like you
Preface
Who this book is for What this book covers To get the most out of this book
Download the example code files Download the color images Conventions used
Get in touch
Reviews
Installing Raspbian on the Raspberry Pi
A brief history of the Raspberry Pi A look at operating systems for the Raspberry Pi Project overview Getting started Installing the Raspbian OS
Formatting a microSD card for Raspbian Copying the NOOBS files to the microSD RAM Running the installer
A quick overview of the Raspbian OS
The Chromium web browser The home folder The Terminal Mathematica Sonic Pi Scratch and Scratch 2.0 LibreOffice
Summary Questions Further reading
Writing Python Programs Using Raspberry Pi
Project overview Technical requirements Python tools for Raspberry Pi
The Terminal Integrated Development and Learning Environment Thonny
Using the Python command line Writing a simple Python program
Creating the class Creating the object Using the object inspector Testing your class Making the code flexible
Example one Example two
Summary Questions Further reading
Using the GPIO to Connect to the Outside World
Project overview Technical requirements Python libraries for the Raspberry Pi
picamera Pillow  sense-hat and sense-emu
Accessing Raspberry Pi's GPIO
Pibrella RPi.GPIO GPIO zero
Setting up the circuit
Fritzing Building our circuit
Hello LED
Blink LED using gpiozero Morse code weather data
Summary Questions Further reading
Subscribing to Web Services
Prerequisites Project overview Getting started Cloud services for IoT
Amazon Web Services IoT IBM Watson platform Google Cloud platform Microsoft Azure Weather Underground
A basic Python program to pull data from the cloud
Accessing the web service Using the Sense HAT Emulator
Summary Questions Further reading
Controlling a Servo with Python
Knowledge required to complete this chapter Project overview Getting started Wiring up a servo motor to the Raspberry Pi
Stepper motors DC motors Servo motors Connecting the servo motor to our Raspberry Pi
Control the servo through the command line Write a Python program to control the servo Summary Questions Further reading
Working with the Servo Control Code to Control an Analog Device
Knowledge required to complete this chapter Project overview Getting started Accessing weather data from the cloud Controlling the servo using weather data
Correcting for servo range Changing the position of the servo based on weather data
Enhancing our project
Printing out the main graphic Adding the needle and LED
Summary Questions Further reading
Setting Up a Raspberry Pi Web Server
Knowledge required to complete this chapter Project overview Getting started Introducing CherryPy – a minimalist Python web framework
What is CherryPy?
Who uses CherryPy?
Installing CherryPy
Creating a simple web page using CherryPy
Hello Raspberry Pi! Say hello to myFriend What about static pages? HTML weather dashboard
Summary Questions Further reading
Reading Raspberry Pi GPIO Sensor Data Using Python
Project overview Getting started Reading the state of a button
Using GPIO Zero with a button Using the Sense HAT emulator and GPIO Zero button together Toggling an LED with a long button press
Reading the state from an infrared motion sensor
What is a PIR sensor? Using the GPIO Zero buzzer class Building a basic alarm system
Modifying Hello LED using infrared sensor
Configuring a distance sensor Taking Hello LED to another level
Summary Questions Further reading
Building a Home Security Dashboard
Knowledge required to complete this chapter Project overview Getting started Creating our dashboard using CherryPy
Using the DHT11 to find temperature and humidity Using the Pi camera to take a photo Creating our dashboard using CherryPy
Displaying sensory data on our dashboard
Home security dashboard with a temperature sensor Home security dashboard with quick response
Summary Questions Further reading
Publishing to Web Services
Project overview Getting started Publishing sensory data to cloud-based services
Install the MQTT library Set up an account and create a device Reading sensory data and publishing to ThingsBoard Creating a dashboard in ThingsBoard Sharing your dashboard with a friend
Setting up an account for text message transmission
Setting up a Twilio account Installing Twilio on our Raspberry Pi Sending a text through Twilio Creating a new home security dashboard
Summary Questions Further reading
Creating a Doorbell Button Using Bluetooth
Project overview Getting started Introducing Blue Dot
Installing the bluedot library on the Raspberry Pi Pairing Blue Dot with your Raspberry Pi
Wiring up our circuit
What is an RGB LED? Testing our RGB LED Completing our doorbell circuit 
Reading our button state using Bluetooth and Python
Reading button information using Python Creating a Bluetooth doorbell Creating a secret Bluetooth doorbell
Summary Questions Further reading
Enhancing Our IoT Doorbell
Project overview Getting started Sending a text message when someone is at the door
Creating a simple doorbell application with text messaging Creating a secret doorbell application with text messaging
Summary Questions Further reading
Introducing the Raspberry Pi Robot Car
The parts of the robot car Building the robot car
Step 1 – Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi Step 2 – Wiring up the motors Step 3 – Assembling the servo camera mount Step 4 – Attaching the head Step 5 – Assembling the DC motor plate Step 6 – Attaching the motors and wheels Step 7 – Wiring up the motors Step 8 – Attaching the camera mount, Raspberry Pi, and Adafruit servo board Step 9 – Attaching the buzzer and voltage divider Step 10 – Wiring up T.A.R.A.S
Learning how to control the robot car
Configuring our Raspberry Pi Python library for Adafruit Servo HAT
Summary Questions
Controlling the Robot Car Using Python
Knowledge required to complete this chapter Project overview Getting started Taking a look at the Python code
Controlling the drive wheels of the robot car Moving the servos on the robot car Taking a picture Making a beep noise Making the LEDs blink
Modifying the robot car Python code
Move the wheels Move the head Make sounds
Enhancing the code
Stitching our code together
Summary Questions Further reading
Connecting Sensory Inputs from the Robot Car to the Web
Knowledge required to complete this chapter Project overview Getting started Identifying the sensor on the robot car
Taking a closer look at the HC-SR04
Reading robot car sensory data with Python Publishing robot car sensory data to the cloud Create a ThingsBoard device Summary Questions Further reading
Controlling the Robot Car with Web Service Calls
Knowledge required to complete this chapter Project overview Technical requirements Reading the robot car's data from the cloud
Changing the look of the distance gauge Changing the range on the distance gauge Viewing the dashboard outside of your account
Using a Python program to control a robot car through the cloud
Adding a switch to our dashboard Controlling the green LED on T.A.R.A.S Using the internet to make T.A.R.A.S dance
Summary Questions Further reading
Building the JavaScript Client
Project overview Getting started Introducing JavaScript cloud libraries
Google Cloud AWS SDK for JavaScript Eclipse Paho JavaScript client
Connecting to cloud services using JavaScript
Setting up a CloudMQTT account Setting up an MQTT Broker instance Writing the JavaScript client code Running the code Understanding the JavaScript code Publishing MQTT messages from our Raspberry Pi
Summary Questions Further reading
Putting It All Together
Project overview Getting started Building a JavaScript client to connect to our Raspberry Pi
Writing the HTML code Writing the JavaScript code to communicate with our MQTT Broker
Creating a JavaScript client to access our robot car's sensory data
Writing the code for T.A.R.A.S Livestreaming videos from T.A.R.A.S
Enhancing our JavaScript client to control our robot car
Nipple.js HTML5 Gamepad API Johnny-Five
Summary Questions Further reading
Assessments
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18
Other Books You May Enjoy
Leave a review - let other readers know what you think
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion