Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arduino for Kids

You're reading from  Arduino for Kids

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781785884818
Pages 218 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Rishi Gaurav Bhatnagar Rishi Gaurav Bhatnagar
Profile icon Rishi Gaurav Bhatnagar
Vijay Varada Vijay Varada
Profile icon Vijay Varada
View More author details

Table of Contents (18) Chapters

Arduino for Kids
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. The World around Us 2. Systems and Logic 3. Components and Connections 4. The Magic Wand 5. Hello World! 6. Safety Box 7. Make a Friend 8. Save Energy 9. High 5! 10. Plant, Meet Arduino!

Hi Computer, I’m Arduino! - Using serial communication to make your Arduino talk


The Arduino is no baby that just crawls around and blinks LED’s. You can program it to speak!

We will see how to use the Arduino’s Serial library to have the Arduino talk to the computer over the USB port.

Let’s begin by making it clear that we aren’t talking about tasty breakfast while talking about Serial. Serial communication is a type of “protocol” or a procedure by which information and data is sent one after another “bit by bit” instead of all at once. A bit is the fundamental building block of digital data, consisting of a 0 or a 1.

You need not to worry about the inner working of the protocol itself, but the end-result it can accomplish: Sending messages and data back and forth from the Arduino to a computer or even other hardware and Arduinos. Let us consider communicating between a computer and Arduino for now since we will be using it extensively in the book.

Let us understand Serial Communication Library...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}