售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning IoT with Particle Photon and Electron
Learning IoT with Particle Photon and Electron
Credits
About the Authors
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
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
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
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
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
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
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜