Arduino Programming Tutorial

Arduino Programming Tutorial Free App

Rated 0.00/5 (0) —  Free Android application by Metamorfosis

Advertisements

About Arduino Programming Tutorial

1. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Installing the Integrated Development Environment (IDE) 4
1.2 Setting Up the Arduino Board 6
1.3 Using the Integrated Development Environment (IDE) to Prepare
an Arduino Sketch 8
1.4 Uploading and Running the Blink Sketch 11
1.5 Creating and Saving a Sketch 13
1.6 Using Arduino 15
2. Making the Sketch Do Your Bidding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1 Structuring an Arduino Program 20
2.2 Using Simple Primitive Types (Variables) 21
2.3 Using Floating-Point Numbers 23
2.4 Working with Groups of Values 25
2.5 Using Arduino String Functionality 28
2.6 Using C Character Strings 30
2.7 Splitting Comma-Separated Text into Groups 32
2.8 Converting a Number to a String 34
2.9 Converting a String to a Number 36
2.10 Structuring Your Code into Functional Blocks 38
2.11 Returning More Than One Value from a Function 41
2.12 Taking Actions Based on Conditions 44
2.13 Repeating a Sequence of Statements 45
2.14 Repeating Statements with a Counter 47
2.15 Breaking Out of Loops 49
2.16 Taking a Variety of Actions Based on a Single Variable 50
2.17 Comparing Character and Numeric Values 52
2.18 Comparing Strings 54
2.19 Performing Logical Comparisons 55
v
2.20 Performing Bitwise Operations 56
2.21 Combining Operations and Assignment 58
3. Using Mathematical Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.1 Adding, Subtracting, Multiplying, and Dividing 61
3.2 Incrementing and Decrementing Values 62
3.3 Finding the Remainder After Dividing Two Values 63
3.4 Determining the Absolute Value 64
3.5 Constraining a Number to a Range of Values 65
3.6 Finding the Minimum or Maximum of Some Values 66
3.7 Raising a Number to a Power 67
3.8 Taking the Square Root 68
3.9 Rounding Floating-Point Numbers Up and Down 68
3.10 Using Trigonometric Functions 69
3.11 Generating Random Numbers 70
3.12 Setting and Reading Bits 72
3.13 Shifting Bits 75
3.14 Extracting High and Low Bytes in an int or long 77
3.15 Forming an int or long from High and Low Bytes 78
4. Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
4.1 Sending Debug Information from Arduino to Your Computer 86
4.2 Sending Formatted Text and Numeric Data from Arduino 89
4.3 Receiving Serial Data in Arduino 92
4.4 Sending Multiple Text Fields from Arduino in a Single Message 95
4.5 Receiving Multiple Text Fields in a Single Message in Arduino 98
4.6 Sending Binary Data from Arduino 101
4.7 Receiving Binary Data from Arduino on a Computer 105
4.8 Sending Binary Values from Processing to Arduino 107
4.9 Sending the Value of Multiple Arduino Pins 109
4.10 How to Move the Mouse Cursor on a PC or Mac 112
4.11 Controlling Google Earth Using Arduino 115
4.12 Logging Arduino Data to a File on Your Computer 121
4.13 Sending Data to Two Serial Devices at the Same Time 124
4.14 Receiving Serial Data from Two Devices at the Same Time 128
4.15 Setting Up Processing on Your Computer to Send
and Receive Serial Data 131

Never Miss An Update!

Follow Android Blip on Facebook / Google+


Download / Install

Download and install Arduino Programming Tutorial version 1.0 on your Android device!
Downloaded N/A times, content rating: Everyone
Android package: id.dev.metamorfosis.Arduino.Cookbook.Programming.Tutorial.Arduino.App.Book, download Arduino Programming Tutorial.apk

All Application Badges

Free
downl.
Android
4.2+
For everyone
Android app


Oh snap! No comments are available for Arduino Programming Tutorial at the moment. Be the first to leave one!

Share The Word!


Rating Distribution

RATING
0.05
0 users

5

4

3

2

1