Learn how to program and use Arduino boards with a series of engaging examples, illustrating each core concept
- Use Arduino boards in your own electronic hardware & software projects
- Sense the world by using several sensory components with your Arduino boards
- Create tangible and reactive interfaces with your computer
- Discover a world of creative wiring and coding fun!
Physical computing allows us to build interactive physical systems by using software & hardware in order to sense and respond to the real world. C Programming for Arduino will show you how to harness powerful capabilities like sensing, feedbacks, programming and even wiring and developing your own autonomous systems.
C Programming for Arduino contains everything you need to directly start wiring and coding your own electronic project. You’ll learn C and how to code several types of firmware for your Arduino, and then move on to design small typical systems to understand how handling buttons, leds, LCD, network modules and much more.
After running through C/C++ for the Arduino, you'll learn how to control your software by using real buttons and distance sensors and even discover how you can use your Arduino with the Processing framework so that they work in unison. Advanced coverage includes using Wi-Fi networks and batteries to make your Arduino-based hardware more mobile and flexible without wires. If you want to learn how to build your own electronic devices with powerful open-source technology, then this book is for you.
What you will learn from this book
- Understand what an Arduino board is
- Sense the world through a variety of digital inputs
- Feel the world with analog sensors
- Design a visual output feedback system
- Use Max6 and Processing with Arduino
- Connect your Arduino to wired and wireless networks
- Add GPS localisation modules to your Arduino
Written as a practical Packt book brimming with engaging examples, C Programming for Arduino will help those new to the amazing open source electronic platform so that they can start developing some great projects from the very start.
Who this book is written for
This book is great for people who want to learn how to design & build their own electronic devices. From interaction design art school students to the do-it-yourself hobbyist, or even simply people who want to learn electronics, this book will help by adding a new way to design autonomous but connected devices.
Table of Contents
Chapter 1: Let's Plug Things
Chapter 2: First Contact with C
Chapter 3: C Basics – Making You Stronger
Chapter 4: Improve Programming with Functions, Math, and Timing
Chapter 5: Sensing with Digital Inputs
Chapter 6: Sensing the World – Feeling with Analog Inputs
Chapter 7: Talking over Serial
Chapter 8: Designing Visual Output Feedback
Chapter 9: Making Things Move and Creating Sounds
Chapter 10: Some Advanced Techniques
Chapter 11: Networking
Chapter 12: Playing with Max 6 Framework
Chapter 13: Improving your C Programming and Creating Libraries