
Learning IoT with Particle Photon and Electron
Beschreibung
Alle Preise
Weitere Details
Weitere Ausgaben
Person
Ajith Vasudevan is an electronics, computer, and IoT enthusiast who likes to apply his knowledge in these fields to make modern living easy for himself and others around him. He has a bachelor's of technology degree in electrical and electronics engineering. He was interested in automation and IoT even before the term IoT became commonplace. He designed and built an automatic overhead-tank motor operator using $1 worth of electronic parts back in 1995, which is operating at his parents home to this day. He has automated and made it simple and efficient to operate many household appliances, for example, an automatic geyser switch that turns itself off after 10 minutes, saving electricity. It can be set to switch on at any specified time or can be controlled from anywhere. Today, even his friends and neighbors use this system. Ajith has worked in the heavy electrical industry before joining his current employer, Infosys Technologies Limited, in the year 2000. He is presently a senior computer scientist at EdgeVerve Systems, a subsidiary of Infosys. At work, he enjoys programming and has done so for over a decade and a half.
Inhalt
- Cover
- Copyright
- Credits
- About the Authors
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Introducing IoT with Particle Photon and Electron
- Evolution of the IoT
- Why the IoT has become a household word now
- Hardware and software in the IoT ecosystem
- Essential terminology
- Network protocols
- Market survey of IoT development boards and cloud services
- IoT development boards
- Cloud services (PaaS, BaaS, M2M)
- What is Particle?
- The journey of Particle
- Why Particle?
- What does Particle offer?
- Photon, Electron, and Core
- Spark Core
- Particle Photon
- Particle Electron
- Comparison
- Summary
- Chapter 2: Fire Up Your Kit
- Essentials of FreeRTOS and hardware resources
- Flow diagram for the Twitter project
- Getting the Photon online
- Setting up the Photon or Core
- Software and hardware requirements
- Software setup
- Connecting Particle Photon or Core
- The Web IDE
- Twitter and e-mail interaction project
- Setting up a Twitter developer account
- Sending web requests using Particle webhooks
- Creating a webhook
- Listing and deleting webhooks
- Putting it all together
- Setting up the Twitter and e-mail webhook
- How to sense motion?
- Sensing button presses - programming the buttons
- Tweets and e-mail
- Troubleshooting
- Summary
- Chapter 3: P2P and Local Server
- Client-server versus P2P networks ÂÂ
- Traditional client-server architecture
- Peer-to-peer network architecture
- Client-server versus P2P
- Advantages and disadvantages of P2P networking
- Setting up a P2P network for Particle devices
- Flash the VoodooSpark firmware
- Connect the Particle board with VoodooSpark
- Controlling your Particle board using the keyboard
- Local server setup
- Advantages and disadvantages of Particle local server
- Installing Particle server on a local machine
- Configuring the local server
- Alternate protocols for IoT
- MQTT
- CoAP
- Summary
- Chapter 4: Connecting the Sensors
- Overview of the project
- Hardware components and setup
- RFID reader module RC522-RFID and RFID tags
- PIR motion sensor
- Data flow diagrams
- Communication between the Photons
- Sample code
- Photon with the RFID reader
- Photon with the motion sensor
- Data storage on the cloud
- Cloud data analysis and SMS notification
- Troubleshooting
- Summary
- Chapter 5: Of Cars and Controllers
- Building the model car - hardware components
- Wheels
- L293D motor driver
- 65 RPM DC Right Angled motor
- Chassis
- Power supply and Li-Po battery
- Breadboard and jumper wires
- Building the model car - prerequisites
- Putting it all together and controlling the car
- The code
- Running the program and controlling the car
- Moving the car with gestures
- How it works
- The code
- Programming the car with the Electron
- Putting it all together (again)
- The code
- Troubleshooting
- Summary
- Chapter 6: Hacking the Firmware
- What is firmware?
- A bit of history
- Obtaining and flashing firmware
- Obtaining firmware
- Obtaining firmware by direct download
- Obtaining firmware by building from source
- ARM GCC
- Make
- Git
- Getting the firmware source code
- Compiling the code
- Burning firmware onto the device
- Burning firmware using the OTA method
- Burning firmware using Particle-CLI
- Burning firmware using the DFU-Util method
- Installing DFU-Util
- Flashing firmware
- Custom firmware
- Summary
- Index
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.