Arduino:
- mid-level microcontroller
- easily programmed to do many things
- based around the Atmega 8 and Atmega 168 microcontrollers
Micro-controller:
Inputs - digital inputs, serial inputs...
- analogue inputs
Outputs - digital outputs, serial output...
- analogue outputs
IDE - Integrated Development Environment
Firmware - Software embedded in a hardware device
Traditionally, programming involved learning assembly language
Atmal developed libraries for programming in C++
Arduino wrote functions for easier programming
Steps for programming:
- Write our firmware
- Compile it
- Fix errors
- Compile it
- Fix errors
- Compile it
- Upload it to Arduino
Once uploaded, the program is kept in the Arduino's memory until it is over-written...
Example: Washing machine -
Inputs
- water temp
- start/stop
- program select
- door state
.....to Microcontroller
Outputs
- motor rotation
- solonoid for water
- drain solonoid
- heater
Coding Arduino:
Compiling:
- select type of Arduino in tools - board
- select serial port in tools - serial port
Some common terms:
N.B. Pins, when not connected, are in an indetermined state ie can be both HIGH or LOW
Performance - aesthetic
Electronics - technical
Critique a peformance:
- understandable/non-understandable
- opaque/transparent
- noise/melodic