Skip to content

Building IPhone and IPad Electronic Projects Real-World Arduino, Sensor, and Bluetooth Low Energy Apps in TechBASIC

Best in textbook rentals since 2012!

ISBN-10: 1449363504

ISBN-13: 9781449363505

Edition: 2013

Authors: Mike Westerfield

List price: $23.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

Want to combine iPhone, iPad, and iPod touch sensors with external electronic gadgets? This hands-on book helps you build several projects, using these built-in magnetic, light, and proximity sensors with inexpensive boards such as Arduino and a Bluetooth Low Energy Shield. And you’ll tackle these projects by writing programs in techBASIC, an Apple-approved development environment that runs directly on these iOS devices.That’s right. You’ll quickly learn how to build metal detector, moisture sensing meter, and a rocket-bound iPhone without using Objective-C and Cocoa to access Apple’s sensors and without having to enroll in Apple’s iOS developer program. With just a few lines of BASIC code,…    
Customers also bought

Book details

List price: $23.99
Copyright year: 2013
Publisher: O'Reilly Media, Incorporated
Publication date: 9/27/2013
Binding: Paperback
Pages: 334
Size: 7.00" wide x 9.19" long x 0.70" tall
Weight: 1.254
Language: English

Mike started programming on a PDP-8 using a teletype terminal. As the personal computer revolution got going he sold his car and rode a bike for several months to raise cash to buy an Apple II computer. He wanted to write a chess program but couldn't find a good assembler, so he took a summer off to write his own. Two years later he finished ORCA/M, which went on to become Apple Programmer's Workshop, the Apple-labeled development environment for the Apple IIGS.Born the same year as Steve Jobs and Bill Gates, Mike made the mistake of getting an education instead of getting rich. A slow learner, he graduated from the U.S. Air Force Academy in 1977 with a degree in Physics, earned an M.S. in…    

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