>>> Microcontroller Interfacing and Real-Time Applications
Name: Neil Robert Membreve, M.Eng.
Date:
Department of Electrical Engineering
[~]$ [1/42]
,Figure: Micro-controllers are used to communicate with other devices, such as
sensors, motors, switches, keypads, displays, memory, and even other
microcontrollers. In a very simplistic form, a microcontroller system can be viewed
as a system that reads from (monitors) inputs, performs processing, and writes to (
controls ) outputs.
[1. Microcontroller Interfacing]$ [2/42]
,>>> Microcontroller Interface Types
[2. Microcontroller Interfacing]$ [3/42]
, >>> Driving a low-power load
Figure: It is possible to drive low-power loads directly from the port pins. Note
that we usually need a resistor between the supply and the port pin. This resistor
is required to limit the current flow to the port. Remember that each I/O pin can
sink or source a maximum current of 40mA. Although each pin can sink or source 40mA
current, it must be ensured that the current sourced or sunk from all the ports
combined should not exceed 200mA.
[3. Microcontroller Interfacing]$
[4/42]