Programming-Arduino (1) - Pages-19
Programming-Arduino (1) - Pages-19
This Is Arduino
Microcontrollers
The heart of your Arduino is a microcontroller. Pretty much everything else on
the board is concerned with providing the board with power and allowing it to
communicate with your desktop computer.
A microcontroller really is a little computer on a chip. It has everything and
more than the first home computers had. It has a processor, a kilobyte or two of
random access memory (RAM) for holding data, a few kilobytes of erasable
programmable read-only memory (EPROM) or flash memory for holding your
programs and it has input and output pins. These input/output (I/O) pins link the
microcontroller to the rest of your electronics.
Inputs can read both digital (is the switch on or off?) and analog (what is the
voltage at a pin?). This opens up the opportunity of connecting many different
types of sensor for light, temperature, sound, and more.