售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Arduino by Example
Table of Contents
Arduino by Example
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Arduino
Prerequisites
Materials needed
Note
Setting up
Downloading and installing the software
Windows
Mac OS X
Linux (Ubuntu 12.04 and above)
Connecting the Arduino
Windows
Mac OS X
Linux
The Arduino IDE
Hello World
Writing a simple print statement
LED blink
Summary
2. Digital Ruler
Prerequisites
A bit about the sensor
Hooking up an LCD to the Arduino
Best of both worlds
Summary
3. Converting Finger Gestures to Text
Prerequisites
What is a capacitive touch sensor?
An introduction to Processing
Tic-tac-toe with touch
Arduino and Processing
The result
Pattern recognition
Summary
4. Burglar Alarm – Part 1
What is a passive infrared sensor?
A mini PIR-Arduino alarm
Testing the camera
Installing the camera on the network
Setting up the mugshot URL
Putting it together
An introduction to Python
Hooking up the Bluetooth module
Summary
5. Burglar Alarm – Part 2
Dealing with the image
Sending a notification to a smart device
Putting the pieces together
Summary
6. Home Automation – Part 1
Prerequisites
Connecting the Wi-Fi module
The CC3000 Arduino shield
Testing the shield
Using relays to control appliances
Understanding the basics of the relay
Diving deeper into relay functionality
Programming a relay
Testing the relay with a light bulb
Communicating through a terminal
Summary
7. Home Automation – Part 2
Communicating via a smart phone
Android devices
iOS (Apple) devices
Implementing speech recognition
The software
Configuring the software
Creating a voice schema
Testing out the software
Making a more reliable schema
Upgrading the home automation system
Controlling multiple appliances
Via the terminal
Via the smart phone (Android)
Via the smart phone (iOS)
Via the speech recognition software (BitVoicer)
Complete home automation
Summary
8. Robot Dog – Part 1
Prerequisites
Introducing Arduino MEGA 2560
The microcontroller
Testing MEGA
Understanding servos
Servo 101
Testing a servo
Programming a servo
Using multiple servos
Understanding power requirements
Limitations of Arduino MEGA 2560
Choosing the right power source
Using the right power source(s)
Building the chassis
Using prior art
Summary
9. Robot Dog – Part 2
Building the chassis
Sticks and servos
Completing the circuit
Labeling the servos
Building a tiny circuit
Putting it all together
Summary
10. Robot Dog – Part 3
Programming the robot
Weight distribution
Test one
The walking gait
Test two
Developing personality
Circuit upgrade
Body upgrade
Sensors
The switch
Coding the personality
Implementing speech control
Connecting the HC-06 module
Programming the Arduino
Setting up BitVoicer
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜