热搜关键词: 电路基础ADC数字信号处理封装库PLC

pdf

Arduino Learning

  • 1星
  • 2015-04-22
  • 7.65MB
  • 需要1积分
  • 0次下载
标签: Arduino

Arduino

Arduino的官方教程

Arduino
Buy
|
Download
|
Getting Started
|
Learning
|
Reference
|
Hardware
|
FAQ
Learning
Examples
|
Foundations
|
Hacking
|
Links
search
Blog »
|
Forum »
|
Playground »
Examples
See the
foundations page
for in-depth description of core concepts of the Arduino hardware and software; the
hacking
page
for information on extending and modifying the Arduino hardware and software; and the
links page
for other
documentation.
Examples
Simple programs that demonstrate the use of the Arduino
board. These are included with the Arduino environment; to
open them, click the Open button on the toolbar and look in
the
examples
folder. (If you're looking for an older
example, check the
Arduino 0007 tutorials page.)
Digital I/O
Blink:
turn an LED on and off.
Blink Without Delay:
blinking an LED without using
the delay() function.
Button:
use a pushbutton to control an LED.
Debounce:
read a pushbutton, filtering noise.
Loop:
controlling multiple LEDs with a loop and an
array.
Analog I/O
Analog Input:
use a potentiometer to control the
blinking of an LED.
Fading:
uses an analog output (PWM pin) to fade an
LED.
Knock:
detect knocks with a piezo element.
Smoothing:
smooth multiple readings of an analog
input.
Communication
These examples include code that allows the Arduino to talk
to Processing sketches running on the computer. For more
information or to download Processing, see
processing.org.
ASCII Table:
demonstrates Arduino's advanced serial
output functions.
Dimmer:
move the mouse to change the brightness
of an LED.
Graph:
sending data to the computer and graphing it
in Processing.
Physical Pixel:
turning on and off an LED by sending
data from Processing.
Virtual Color Mixer:
sending multiple variables from
Arduino to the computer and reading them in
Processing.
EEPROM Library
Other Examples
These are more complex examples for using particular
electronic components or accomplishing specific tasks. The
code is included on the page.
Miscellaneous
TwoSwitchesOnePin:
Read two switches with one I/O
pin
Read a Tilt Sensor
Controlling an LED circle with a joystick
3 LED color mixer with 3 potentiometers
Timing & Millis
Stopwatch
Complex Sensors
Read an ADXL3xx accelerometer
Read an Accelerometer
Read an Ultrasonic Range Finder (ultrasound sensor)
Reading the qprox qt401 linear touch sensor
Sound
Play Melodies with a Piezo Speaker
Play Tones from the Serial Connection
MIDI Output
(from
ITP physcomp labs)
and
from
Spooky Arduino
Interfacing w/ Hardware
Multiply the Amount of Outputs with an LED Driver
Interfacing an LCD display with 8 bits
LCD interface library
Driving a DC Motor with an L293
(from
ITP
physcomp labs).
Driving a Unipolar Stepper Motor
Build your own DMX Master device
Implement a software serial connection
RS-232 computer interface
Interface with a serial EEPROM using SPI
Control a digital potentiometer using SPI
Multiple digital outs with a 595 Shift Register
X10 output
control devices over AC powerlines using
X10
EEPROM Clear:
clear the bytes in the EEPROM.
EEPROM Read:
read the EEPROM and send its values
to the computer.
EEPROM Write:
stores values from an analog input to
the EEPROM.
Stepper Library
Motor Knob:
control a stepper motor with a
potentiometer.
Edit Page
|
Page History
|
Printable View
|
All Recent Site Changes
Arduino
Buy
|
Download
|
Getting Started
|
Learning
|
Reference
|
Hardware
|
FAQ
Learning
Examples
|
Foundations
|
Hacking
|
Links
search
Blog »
|
Forum »
|
Playground »
Foundations
This page contains explanations of some of the elements of the Arduino hardware and software and the concepts behind
them.
Page Discussion
Basics
Sketch:
The various components of a sketch and how they work.
Microcontrollers
Digital Pins:
How the pins work and what it means for them to be configured as inputs or outputs.
Analog Input Pins:
Details about the analog-to-digital conversion and other uses of the pins.
PWM:
How the analogWrite() function simulates an analog output using pulse-width modulation.
Memory:
The various types of memory available on the Arduino board.
Arduino Firmware
Bootloader:
A small program pre-loaded on the Arduino board to allow uploading sketches.
Programming Technique
Variables:
How to define and use variables.
Port Manipulation:
Manipulating ports directly for faster manipulation of multiple pins
Edit Page
|
Page History
|
Printable View
|
All Recent Site Changes
Arduino
Buy
|
Download
|
Getting Started
|
Learning
|
Reference
|
Hardware
|
FAQ
Learning
Examples
|
Foundations
|
Hacking
|
Links
search
Blog »
|
Forum »
|
Playground »
Links
Arduino examples, tutorials, and documentation elsewhere on the web.
Books and Manuals
Community Documentation
Tutorials created by the Arduino community. Hosted on the
publicly-editable
playground wiki.
Board Setup and Configuration:
Information about the
components and usage of Arduino hardware.
Interfacing With Hardware:
Code, circuits, and instructions
for using various electronic components with an Arduino
board.
Output
Input
Interaction
Storage
Communication
Making Things Talk
(by Tom Igoe): teaches you how to get
your creations to communicate with one another by forming
networks of smart devices that carry on conversations with
you and your environment.
Interfacing with Software:
how to get an Arduino board
talking to software running on the computer (e.g.
Processing, PD, Flash, Max/MSP).
Code Library and Tutorials:
Arduino functions for performing
specific tasks and other programming tutorials.
Electronics Techniques:
tutorials on soldering and other
electronics resources.
Other Examples and Tutorials
Learn electronics using Arduino:
an introduction to
programming, input / output, communication, etc. using
Arduino. By
ladyada.
Lesson 0:
Pre-flight check...Is your Arduino and
computer ready?
Lesson 1:
The "Hello World!" of electronics, a simple
blinking light
Lesson 2:
Sketches, variables, procedures and
hacking code
Lesson 3:
Breadboards, resistors and LEDs,
schematics, and basic RGB color-mixing
Lesson 4:
The serial library and binary data - getting
chatty with Arduino and crunching numbers
Lesson 5:
Buttons & switches, digital inputs, pull-up
and pull-down resistors, if/if-else statements,
debouncing and your first contract product design.
Tom Igoe's Physical Computing Site:
lots of information on
electronics, microcontrollers, sensors, actuators, books, etc.
Arduino Booklet (pdf):
an illustrated guide to the philosophy
and practice of Arduino.
Example labs from ITP
Spooky Arduino:
Longer presentation-format documents
introducing Arduino from a Halloween hacking class taught
by TodBot:
class 1 (getting started)
class 2 (input and sensors)
class 3 (communication, servos, and pwm)
class 4 (piezo sound & sensors, arduino+processing,
stand-alone operation)
Bionic Arduino:
another Arduino class from TodBot, this one
focusing on physical sensing and making motion.
Wiring electronics reference:
circuit diagrams for connecting
a variety of basic electronic components.
Schematics to circuits:
from Wiring, a guide to transforming
circuit diagrams into physical circuits.
Examples from Tom Igoe
Examples from Jeff Gray
Edit Page
|
Page History
|
Printable View
|
All Recent Site Changes
展开预览

猜您喜欢

评论

登录/注册

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
×