Block diagram reduction techniques in control systems.ppt
ย
Blinky 101 with Arduino v1.0b3 (FastLED)
1. Blinky
101
with
Arduino
v1.0
Beta
3
Mark
Kriegsman
October
29,
2013
(revised)
2. Before
You
Start,
First
Learnโฆ
โข Addi5ve
color
(light)
model
โข Trichroma5c
color
percep5on
โข Red/Green/Blue
(RGB)
colorspace
โข Non-ยญโlinear
brightness
percep5on
โข Raw
Spectra
vs.
โRainbowsโ
โข Inherent
brightness
(re:
yellow)
โข 24-ยญโbit
RGB
color
representa5on
โข Refresh
rate,
persistence
of
vision
โข LED
opera5onal
basics
โข Pulse-ยญโwidth
modula5on
โข Basic
computer
anima5on
โข Double
buffering
โข Electrical
and
breadboarding
basics
โข Digital
logic
basics
โข Clocked
serial
communica5on
(SPI)
โข Microcontroller
basics
(e.g.,
no
OS,
etc.)
โข Arduino
basics
(setup/loop,
preprocessor)
โข gcc
4.3.x
toolchain
โข C++
classes
&
methods
โข C++
memory,
pointers,
structs
&
arrays
โข C++
operator
overloading
(e.g.
%=)
โข Inline
assembly
language
โข Harvard
vs.
von
Neumann
architectures
โข AVR/ATmega
MCU
architecture
โข 8-ยญโbit
MCU
issues
(e.g.
int
=
16
bits)
โข Satura5ng
arithme5c
&
ISO/IEC
N1169
โข ATmega
328
port-ยญโto-ยญโpin
mappings
โข Disassembly
of
compiler
output
โข Cycle
coun5ng
for
required
5mings
โข โprine
debuggingโ
3. On
Second
Thought,
Letโs
Just
Play:
1. Connect
Arduino,
run
test
code
(โcookbookโ)
-ยญโ
USB
connec5on,
Arduino
IDE,
basic
โBlinkโ
sketch
2. Hook
up
LED
strip,
sample
code
(โcookbookโ)
-ยญโ
Run
code,
see
LEDs
on
strip
light
up.
Woo!
3. Receive
your
mission
instruc5ons
-ยญโ
Play
with
der
Blinkenlights.
8. References
and
Resources
โข Arduino.cc:
good
docs
&
great
forums
โข Where
to
shop:
Adafruit.com,
Sparkfun.com
โข FastLED
hjp://fastled.io
Google
Plus
โFastLED
Usersโ
group
hjp://fastled.io/+
โข DL-ยญโBlinkenlights