OnDoc
| sign
in
up
~
pub
|
pdf
txt
html
toc
url
|
<<
>>
1
~
153
154
155
156
157
158
159
~
172
Table of Contents
Getting Started
What is a Microcontroller?
Install the Software
The Integrated Development Environment (IDE)
Our first circuit
Updated Circuit
Our First Program
Comments
Gotchas
Exercises
Making Light Patterns
``Blinky''
IF Statements
ELSE Statements
WHILE statements
What is truth(true)?
Combinations
FOR statements
Our New Circuit
Introducing Arrays
Exercises
Input
Pushbuttons
Potentiometers
RGB LEDs
Exercises
Sound
Our Circuit
Simple note
Music
Music with functions
Exercises
Making a digital thermometer
Serial Monitor
Measuring the temperature
Hooking up the LCD
Talking to the LCD
Bringing it all together
Exercises
Graphics (Pictures) on our LCD
Binary and Hex
Using graphics
Making a Chart
Exercises
Sensors Galore
Introduction
Photo Cell (Light Sensor)
Tilt Sensor
Reed Switch (Magnetic Field Detector)
Piezo Element (Vibration sensor)
Exercises
Making a rubber band gun
One Servo
Joystick
Pan/Tilt bracket
Adding a firing mechanism
Exercises
Make your own project!
Next Steps
Arduino Reference
Structure
Variables
Functions
PCD8544 (LCD Controller) Library
Parts in Kit
First used in Chapter 1
First used in Chapter 2
First used in Chapter 3
First used in Chapter 4
First used in Chapter 5
First used in Chapter 6
First used in Chapter 7
First used in Chapter 8
Sample Solutions to Selected Exercises
Chapter 1 Solutions
Chapter 2 Solutions
Chapter 3 Solutions
Chapter 4 Solutions
Chapter 5 Solutions
Chapter 6 Solutions
Chapter 7 Solutions
Chapter 8 Solutions