BiPOM Turkey BiPOM SpanishBiPOM Italy BiPOM USA BiPOM FranceBiPOM Germany
Home Page Company Custom Development Development / Training Kits Catalog / Ordering Support / FAQ OEM Production Online Forums Contact / Feedback Online CART  
µController Boards
Peripherals
Displays
Development Tools
Emulators
Programmers
Sensors
Dev./Training Kits
WebCat+ Web Server
Instruments

Featured Product
MINI-MAX/51-C2
Atmel 8051 based µController board

AN #14 - How to implement a flow meter using the 80552

The following application note was donated by Mike Crean
The program shows how to use the A/D converter of the 80552.
The sensor for this flow meter was made from a turbine (fan) with 2 * magnets mounted on it separated by 180deg's opposite polarity's out.
A Hall sensor that switches on with one polarity and of with the other was mounted on the out side of a pice of polly pipe.
This signal is then fed to a 4018 chip running in / by 10 mode, it's output is sent to P4.0 as the input signal for the 80C552.

If this setup was to be used in another application it would be wise to use / switches on the 4018 to allow for more calibration.

This code is far from complete or bug free, but it might be useful to you.

P.S. The flow rate is output on the LCD or to a terminal when requested.
Four buttons allow you to scroll menu's on the LCD.

Download source code in an14.zip

Projects




What's Hot?
OLED Development Kit
Easy project development using Organic LED ( OLED ) displays available now

MINI-MAX/AVR-C
highly expandable micro-controller system which is based on the ATMEL ATMEGA2560-16 single-chip Flash micro-controller available now
© BiPOM Electronics, Inc. 1996 - 2007