Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Where's the Fire

<^< Equivalent Circuit | Course Index | Set up the Flowchart >^>

The scenario!

A large building has a number of heat sensors in its fire alarm system.

When there is a fire, the fire brigade needs to know where the fire is. In other words, they need to know which heat sensor has triggered the alarm.

The system is controlled by a PICmicro microcontroller. There are five heat sensors. These are connected as inputs to Port A. Port B is set up as the output port, and connected to a set of five LED's. If a heat sensor detects a fire, the corresponding LED lights up.

<^< Equivalent Circuit | Course index | Set up the Flowchart >^>

Print - Search - Login

Page last modified on May 03, 2013, at 12:36 PM