Building iPhone and iPad Electronic Projects - Mike Westerfield

Building iPhone and iPad Electronic Projects

Real-World Arduino, Sensor, and Bluetooth Low Energy Apps in techBASIC
Buch | Softcover
334 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-6350-5 (ISBN)
26,90 inkl. MwSt
Why simply play music or go online when you can use your iPhone or iPad for some really fun projects, such as building a metal detector, hacking a radio control truck, or tracking a model rocket in flight?

Learn how to build these and other cool things by using iOS device sensors and inexpensive hardware.
Why simply play music or go online when you can use your iPhone or iPad for some really fun projects, such as building a metal detector, hacking a radio control truck, or tracking a model rocket in flight? Learn how to build these and other cool things by using iOS device sensors and inexpensive hardware such as Arduino and a Bluetooth Low Energy (LE) Shield.

This hands-on book shows you how to write simple applications with techBASIC, an Apple-approved development environment that runs on iOS devices. By using code and example programs built into techBASIC, you’ll learn how to write apps directly on your Apple device and have it interact with other hardware.
  • Build a metal detector with the iOS magnetometer
  • Use the HiJack hardware platform to create a plant moisture sensor
  • Put your iPhone on a small rocket to collect acceleration and rotation data
  • Hack a radio control truck with Arduino and Bluetooth LE
  • Create an arcade game with an iPad controller and two iPhone paddles
  • Control a candy machine with an iOS device, a micro servo, and a WiFi connection

Mike Westerfield 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 Physics from the University of Denver, and was Working on a Ph.D. when he started making more money from his sideline software company than from the Air Force. Since then Mike has developed numerous compilers and interpreters, software for mission-critical physics packages for military satellites, plasma physics simulations for Z-pinch experiments, multimedia authoring tools for grade schoolers, disease surveillance programs credited with saving lives of hurricane Katrina refugees, advanced military simulations that protect our nation's most critical assets, and technical computing software for iOS. Mike currently runs the Byte Works, an independent software publishing and consulting firm. He is a PADI scuba instructor who lives in Albuquerque with his wife and cat, enjoying being an empty nester and spoiling his grandchildren.

Chapter 1 Getting Familiar with techBASIC and Built-in Sensors
Your Own Tricorder
A Crash Course in techBASIC
The Accelerometer
Chapter 2 Accessing the Other Built-in Sensors
The Gyroscope
The Magnetometer
Faster Sensor Response
Heading
Location
Your Own Tricorder
Chapter 3 Creating a Metal Detector
The iPhone/iPad Magnetometer
The Earth’s Magnetic Field
Using the iPhone or iPad as a Metal Detector
Finding Out More
Chapter 4 HiJack
What Is HiJack?
Building the Sensor
External Power for HiJack
Hello HiJack
When Things Go Wrong
A Better HiJack Program
For More Information
Chapter 5 Creating a Moisture Meter with HiJack
Adding a Moisture Meter to the Tricorder
Assembling the Moisture Meter
Calibration
Better Software
Chapter 6 Bluetooth Low Energy
What Is Bluetooth Low Energy?
The TI SensorTag
The Accelerometer
The Barometer
The Gyroscope
The Magnetometer
The Humidity Sensor (Hygrometer)
The Thermometer
Further Explorations
Chapter 7 Bluetooth Low Energy iPhone Rocket
A Bit of Rocket Science
Parts Lists
Why Use a SensorTag?
Construction
The Data Collection Program
SensorTag 8G Software
Flight Tips
The Data
What We Found
Chapter 8 Hacking a Radio-Controlled Truck with Bluetooth Low Energy and Arduino
Controlling a Truck with BLE
Selecting a Truck
Hacking the Truck
Controlling the Arduino Uno
The Software
Start Your Engines!
Chapter 9 Peer-to-Peer Bluetooth Low Energy
Bluetooth Low Energy Slave Mode
BLE Chat
Chapter 10 Paddles: A Bluetooth Pong Tribute
The Classic Game of Pong
The Paddles Game
The Paddle Software
The Paddles Console Software
Chapter 11 WiFi
Worldwide Sensors
WiFly
WiFi Arduino
Chapter 12 WiFi Servos
Servos: They’re Where the Action Is
Halloween Hijinks
Push and Pull with Servos
Pomp and Circumstance

Index
Colophon

Zusatzinfo black & white illustrations, figures
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 535 g
Einbandart kartoniert
Themenwelt Sachbuch/Ratgeber Freizeit / Hobby
Informatik Software Entwicklung Mobile- / App-Entwicklung
Informatik Weitere Themen Smartphones / Tablets
Technik Elektrotechnik / Energietechnik
ISBN-10 1-4493-6350-4 / 1449363504
ISBN-13 978-1-4493-6350-5 / 9781449363505
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

Buch | Hardcover (2023)
Rheinwerk (Verlag)
89,90
Das große Handbuch zum JavaScript-Framework

von Christoph Höller

Buch | Hardcover (2022)
Rheinwerk (Verlag)
39,90