Common Microcontroller Peripherals

fiercebunΗλεκτρονική - Συσκευές

2 Νοε 2013 (πριν από 3 χρόνια και 9 μήνες)

97 εμφανίσεις

Common Microcontroller Peripherals

Digital Inputs / Digital Outputs (DIO)

Digital inputs and outputs treat the world as binary, either a 1 or 0 indicating that voltage
is present or voltage is not present. A digital input lets the microcontroller read i
n values
from the real world, while a digital output lets the microcontroller send a value into the
real world. Most microcontrollers let you do either from a single pin.

to Digital Converter

, Analog Input

ADCs are a way to look at the worl
in more detail than 1 or 0. It senses the voltage and
converts it into a digital value. Instead of ‘1
bit’ (1 or 0), you can get 8
bit, 10
bit, 16
bit… We’ll be using mostly 8
bit, which gives 0
255 corresponding to the minimum
and maximum vol
tage possible.

USART Aka Serial Port

The microcontroller uses its serial port to communicate with other

intelligent devices and with the computer. We will be using a serial

to USB converter because modern computers don't have serial ports.

PWM Outputs

width modulation is used to control the speed of motors and

frequency of beepers.

Also useful:

circuit reprogramming, self
reprogramming over serial (Bootloader)

Other serial data methods (SPI, I2C, bit banging, etc.)

Real Time Clock (RTC) / tim
er input

Other mysterious Timer/Counter functions

More Electronics Slang:

VDD, VCC, ‘5V’, ‘3.3V’

Power going into a chip


Power leaving a chip


A wire or logical connection between pins of different devices