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…mehr
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 connectionHinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.
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 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.
Inhaltsangabe
Preface Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Acknowledgments Credits Chapter 1: Getting Familiar with techBASIC and Built-in Sensors 1.1 Your Own Tricorder 1.2 A Crash Course in techBASIC 1.3 The Accelerometer Chapter 2: Accessing the Other Built-in Sensors 2.1 The Gyroscope 2.2 The Magnetometer 2.3 Faster Sensor Response 2.4 Heading 2.5 Location 2.6 Your Own Tricorder Chapter 3: Creating a Metal Detector 3.1 The iPhone/iPad Magnetometer 3.2 The Earth's Magnetic Field 3.3 Using the iPhone or iPad as a Metal Detector 3.4 Finding Out More Chapter 4: HiJack 4.1 What Is HiJack? 4.2 Building the Sensor 4.3 External Power for HiJack 4.4 Hello HiJack 4.5 When Things Go Wrong 4.6 A Better HiJack Program 4.7 For More Information Chapter 5: Creating a Moisture Meter with HiJack 5.1 Adding a Moisture Meter to the Tricorder 5.2 Assembling the Moisture Meter 5.3 Calibration 5.4 Better Software Chapter 6: Bluetooth Low Energy 6.1 What Is Bluetooth Low Energy? 6.2 The TI SensorTag 6.3 The Accelerometer 6.4 The Barometer 6.5 The Gyroscope 6.6 The Magnetometer 6.7 The Humidity Sensor (Hygrometer) 6.8 The Thermometer 6.9 Further Explorations Chapter 7: Bluetooth Low Energy iPhone Rocket 7.1 A Bit of Rocket Science 7.2 Parts Lists 7.3 Why Use a SensorTag? 7.4 Construction 7.5 The Data Collection Program 7.6 SensorTag 8G Software 7.7 Flight Tips 7.8 The Data 7.9 What We Found Chapter 8: Hacking a Radio-Controlled Truck with Bluetooth Low Energy and Arduino 8.1 Controlling a Truck with BLE 8.2 Selecting a Truck 8.3 Hacking the Truck 8.4 Controlling the Arduino Uno 8.5 The Software 8.6 Start Your Engines! Chapter 9: Peer-to-Peer Bluetooth Low Energy 9.1 Bluetooth Low Energy Slave Mode 9.2 BLE Chat Chapter 10: Paddles: A Bluetooth Pong Tribute 10.1 The Classic Game of Pong 10.2 The Paddles Game 10.3 The Paddle Software 10.4 The Paddles Console Software Chapter 11: WiFi 11.1 Worldwide Sensors 11.2 WiFly 11.3 WiFi Arduino Chapter 12: WiFi Servos 12.1 Servos: They're Where the Action Is 12.2 Halloween Hijinks 12.3 Push and Pull with Servos 12.4 Pomp and Circumstance Index Colophon
Preface Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Acknowledgments Credits Chapter 1: Getting Familiar with techBASIC and Built-in Sensors 1.1 Your Own Tricorder 1.2 A Crash Course in techBASIC 1.3 The Accelerometer Chapter 2: Accessing the Other Built-in Sensors 2.1 The Gyroscope 2.2 The Magnetometer 2.3 Faster Sensor Response 2.4 Heading 2.5 Location 2.6 Your Own Tricorder Chapter 3: Creating a Metal Detector 3.1 The iPhone/iPad Magnetometer 3.2 The Earth's Magnetic Field 3.3 Using the iPhone or iPad as a Metal Detector 3.4 Finding Out More Chapter 4: HiJack 4.1 What Is HiJack? 4.2 Building the Sensor 4.3 External Power for HiJack 4.4 Hello HiJack 4.5 When Things Go Wrong 4.6 A Better HiJack Program 4.7 For More Information Chapter 5: Creating a Moisture Meter with HiJack 5.1 Adding a Moisture Meter to the Tricorder 5.2 Assembling the Moisture Meter 5.3 Calibration 5.4 Better Software Chapter 6: Bluetooth Low Energy 6.1 What Is Bluetooth Low Energy? 6.2 The TI SensorTag 6.3 The Accelerometer 6.4 The Barometer 6.5 The Gyroscope 6.6 The Magnetometer 6.7 The Humidity Sensor (Hygrometer) 6.8 The Thermometer 6.9 Further Explorations Chapter 7: Bluetooth Low Energy iPhone Rocket 7.1 A Bit of Rocket Science 7.2 Parts Lists 7.3 Why Use a SensorTag? 7.4 Construction 7.5 The Data Collection Program 7.6 SensorTag 8G Software 7.7 Flight Tips 7.8 The Data 7.9 What We Found Chapter 8: Hacking a Radio-Controlled Truck with Bluetooth Low Energy and Arduino 8.1 Controlling a Truck with BLE 8.2 Selecting a Truck 8.3 Hacking the Truck 8.4 Controlling the Arduino Uno 8.5 The Software 8.6 Start Your Engines! Chapter 9: Peer-to-Peer Bluetooth Low Energy 9.1 Bluetooth Low Energy Slave Mode 9.2 BLE Chat Chapter 10: Paddles: A Bluetooth Pong Tribute 10.1 The Classic Game of Pong 10.2 The Paddles Game 10.3 The Paddle Software 10.4 The Paddles Console Software Chapter 11: WiFi 11.1 Worldwide Sensors 11.2 WiFly 11.3 WiFi Arduino Chapter 12: WiFi Servos 12.1 Servos: They're Where the Action Is 12.2 Halloween Hijinks 12.3 Push and Pull with Servos 12.4 Pomp and Circumstance Index Colophon
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826