Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Application Notes
Water Level Indicator
Introduction
An Water Level Indicator may be
four
reservoir.
wires
are
connected
to the
program
output.
logic
inside
the
Take
segments
of
insulated
Level4
Level3
Level2
Level1
Power
Application Notes
Components
The Components required for building the
water level indicator application are:
Embedded Application Board
LED board
Jumpers
Water
Water Beaker
Salt (optional)
Transistor (BC548)
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
Application Notes
Block Diagram
Block level representation of the different components of the water level indicator
application.
Level
Sensor
Level
Indicator
EAB
Amplifier
Schematic Diagram
The Schematic diagram illustrates the circuit connections for designing the application.
Rb
Re
SD02
SDI2
Rb
Re
EAB
SCK2
Level4
Rb
nSS2
RC0 RA5 RB4 RC5
Re
Level3
Level2
Level1
Power
Vcc
LED
1
Rb
LED
2
LED
3
Re
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
LED
4
Application Notes
Connection Description
Here, each of the wires of the sensor is
respectively.
resistor
is
connected
in-between
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
Application Notes
Code Flow Chart
Start
Main Function()
1.
2.
while(1)
Read All the Required Port Bits
If
SS2=SCK2=SDI2=SDO2
=0
Yes
RC0= Blink
RA5=RB4=RC5=0
No
If
SS2=1,
SCK2=SDI2=SDO2=0
Yes
RC0= 1
RA5=RB4=RC5=0
No
If
SS2=SCK2=1,
SDI2=SDO2=0
Yes
RC0=RA5= 1
RB4=RC5=0
No
If
SS2=SCK2=SDI2=1,
SDO2=0
Yes
RC0=RA5=RB4=1,
RC5=0
No
If
SS2=SCK2=SDI2=SDO2
=1
Yes
RC0=RA5=RB4=RC5=
Blink
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
Application Notes
Source Code
The Source code shown below is the
firmware
to
microcontroller
be
of
flashed
the
in
the
Embedded
details
on
how
program(Source
microcontroller
the user.
Application Board.
to
Code)
of
the
Flash(burn)
in
the
Embedded
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
Application Notes
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.
Application Notes
How to Operate
Output
start
filling
the
reservoir,
the
them.
More Projects
Various other applications can be built
using
Alarm systems
Water
Level
Sensor
and
Copyright: Brigosha reserves all rights in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third
parties. Brigosha is the registered trademark of Brigosha Technologies Pvt. Ltd. Specifications within this document are preliminary and subject to change
without notification. Document is not intended for publication.