| |
| |
Preface | |
| |
| |
| |
Getting Familiar with techBASIC and Built-in Sensors | |
| |
| |
Your Own Tricorder | |
| |
| |
A Crash Course in techBASIC | |
| |
| |
techBASIC Sampler | |
| |
| |
Running Your First Program | |
| |
| |
Creating a Program | |
| |
| |
The Accelerometer | |
| |
| |
| |
Accessing the Other Built-in Sensors | |
| |
| |
The Gyroscope | |
| |
| |
Radians or Degrees? | |
| |
| |
The Magnetometer | |
| |
| |
Faster Sensor Response | |
| |
| |
Heading | |
| |
| |
Location | |
| |
| |
Your Own Tricorder | |
| |
| |
| |
Creating a Metal Detector | |
| |
| |
The iPhone/iPad Magnetometer | |
| |
| |
The Earth's Magnetic Field | |
| |
| |
Using the iPhone or iPad as a Metal Detector | |
| |
| |
Converting the Magnetometer Sample into a Metal Detector | |
| |
| |
Using the Metal Detector | |
| |
| |
Finding Out More | |
| |
| |
| |
HiJack | |
| |
| |
What Is Hijack? | |
| |
| |
Building the Sensor | |
| |
| |
External Power for Hijack | |
| |
| |
Hello Hijack | |
| |
| |
When Things Go Wrong | |
| |
| |
A Better Hijack Program | |
| |
| |
For More Information | |
| |
| |
| |
Creating a Moisture Meter with Hijack | |
| |
| |
Adding a Moisture Meter to the Tricorder | |
| |
| |
Assembling the Moisture Meter | |
| |
| |
Calibration | |
| |
| |
Collecting the Calibration Data | |
| |
| |
Moving Datafiles to and from techBASIC | |
| |
| |
Using the Calibration Data | |
| |
| |
Better Software | |
| |
| |
The Complete Moisture Meter Source | |
| |
| |
| |
Bluetooth Low Energy | |
| |
| |
What Is Bluetooth Low Energy? | |
| |
| |
The TI Sensor Tag | |
| |
| |
Writing Bluetooth Low Energy Programs | |
| |
| |
The Accelerometer | |
| |
| |
What's an Accelerometer? | |
| |
| |
Accessing the Accelerometer | |
| |
| |
Using the Accelerometer | |
| |
| |
The Source | |
| |
| |
The Barometer | |
| |
| |
Accessing the Barometer | |
| |
| |
The Source | |
| |
| |
The Gyroscope | |
| |
| |
Accessing the Gyroscope | |
| |
| |
Using the Gyroscope | |
| |
| |
The Source | |
| |
| |
The Magnetometer | |
| |
| |
Accessing the Magnetometer | |
| |
| |
Using the Magnetometer | |
| |
| |
The Source | |
| |
| |
The Humidity Sensor (Hygrometer) | |
| |
| |
Accessing the Hygrometer | |
| |
| |
The Source | |
| |
| |
The Thermometer | |
| |
| |
Accessing the Thermometer | |
| |
| |
Using the Thermometer | |
| |
| |
The Source | |
| |
| |
Further Explorations | |
| |
| |
| |
Bluetooth Low Energy iPhone Rocket | |
| |
| |
A Bit of Rocket Science | |
| |
| |
Parts Lists | |
| |
| |
ST-1 | |
| |
| |
ST-2 | |
| |
| |
Other Items for Both Rockets | |
| |
| |
Why Use a SensorTag? | |
| |
| |
Construction | |
| |
| |
ST-2: The iPhone/SensorTag Rocket | |
| |
| |
ST-1: The SensorTag Rocket | |
| |
| |
The Data Collection Program | |
| |
| |
SensorTag 8G Software | |
| |
| |
Flight Tipss | |
| |
| |
Engines | |
| |
| |
Parachutes | |
| |
| |
Flight Conditions | |
| |
| |
Power Up! | |
| |
| |
The Data | |
| |
| |
Analyzing the Data | |
| |
| |
Rocket Data Analysis | |
| |
| |
Velocity and Altitude | |
| |
| |
Rotation and Pressure | |
| |
| |
What We Found | |
| |
| |
ST-1 Results | |
| |
| |
ST-2 Results | |
| |
| |
| |
Hacking a Radio-Controlled Truck with Bluetooth Low Energy and Arduino | |
| |
| |
Controlling a Truck with BLE | |
| |
| |
Selecting a Truck | |
| |
| |
Disassembly | |
| |
| |
Hacking the Truck | |
| |
| |
The H Bridge | |
| |
| |
The TI Chip | |
| |
| |
Wiring the Complete Circuit | |
| |
| |
Controlling the Arduino Uno | |
| |
| |
Installing Arduino | |
| |
| |
Downloading Firmata | |
| |
| |
The Software | |
| |
| |
Pulse Width Modulation | |
| |
| |
Back to the Software | |
| |
| |
Start Your Engines! | |
| |
| |
| |
Peer-to-Peer Bluetooth Low Energy | |
| |
| |
Bluetooth Low Energy Slave Mode | |
| |
| |
BLE Chat | |
| |
| |
Setting Up the Services | |
| |
| |
Using the Services | |
| |
| |
| |
Paddles: A Bluetooth Pong Tribute | |
| |
| |
The Classic Game of Pong | |
| |
| |
The Paddles Game | |
| |
| |
The Paddle Software | |
| |
| |
The Paddles Console Software | |
| |
| |
| |
WiFi ! | |
| |
| |
Worldwide Sensors | |
| |
| |
HTTP, FTP, and TCP/IP | |
| |
| |
WiFly | |
| |
| |
The Circuit | |
| |
| |
Establishing a Network Connection | |
| |
| |
Communication with TCP/IP | |
| |
| |
A Simple Terminal Program | |
| |
| |
WiFi Arduino | |
| |
| |
Loading Software onto the Arduino | |
| |
| |
The Circuit | |
| |
| |
Communication Using the Terminal Program | |
| |
| |
| |
WiFi Servos | |
| |
| |
Servos: They're Where the Action Is | |
| |
| |
The Pololu Serial Servo Controller | |
| |
| |
The Circuit | |
| |
| |
Halloween Hijinks | |
| |
| |
The Software | |
| |
| |
Take It for a Spin | |
| |
| |
Push and Pull with Servos | |
| |
| |
Pomp and Circumstance | |
| |
| |
Index | |