Arduino Spooky Projects Class 3.pdf
(
9023 KB
)
Pobierz
Spooky Projects
Introduction to Microcontrollers with Arduino
Class 3
21 Oct 2006 - machineproject - Tod E. Kurt
What’s For Today
•
Controlling Arduino from a computer
•
Controlling a computer from Arduino
•
Servomotors
•
R,G,B LED color mixing
Remove ProtoShield
First half of class, we don’t need it
And we want to observe the Arduino board
“Shields down, cap’n!”
Recap: Programming
Edit
Compile
Reset
Upload
Remember: always start from a known working system
Communicating
with Others
•
Arduino can use same USB cable for
programming and to talk with computers
•
Talking to other devices uses the “
Serial
”
commands
•
Serial.begin()
– prepare to use serial
•
Serial.print()
– send data to computer
•
Serial.read()
– read data from computer
Can talk to not just computers.
Most things more complex than simple sensors/actuators speak serial.
Plik z chomika:
Amiga7878
Inne pliki z tego folderu:
Arduino Spooky Projects Class 3.pdf
(9023 KB)
Arduino Spooky Projects Class 2.pdf
(5846 KB)
Arduino Spooky Projects Class 1.pdf
(2353 KB)
Arduino Spooky Projects Class 4.pdf
(4362 KB)
Inne foldery tego chomika:
Bionic Arduino Classes
Zgłoś jeśli
naruszono regulamin