Thursday, November 22, 2012

AVR Atmega hall effect water flow sensor FS300A

FS300A is an hall-effect based water flow sensor.


When water flows a rotor rolls and a hall sensor emit the corrisponding pulse signal.
This library implements a way to read the pulse signal and convert it to Litre\Hour.
You have to setup some timer parameters to make this library works.
Setup parameters in fs300a.h


Most of the code taken from http://www.seeedstudio.com/wiki/G3/4_Water_Flow_sensor

This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 1MHz.

Code

Notes
  • read risk disclaimer
  • excuse my bad english

14 comments:

  1. Hey . Can you help me? I'm not running this program. Do you know why?

    ReplyDelete
  2. hello sir,
    what changes to do with 8Mhz crystal?

    ReplyDelete
    Replies
    1. Hello. Here I'm using the internal 8Mhz internal RC oscillator. So I've set the low fuse to E4, look at this page as a fuse helper settings: http://www.engbedded.com/fusecalc/

      Delete
  3. This is excellent information. Thanks for sharing.
    Manasmicro is best flow meter supplier in pune India. We supply Electromgnetic flow meter, Industrial flow meter, water flow meter, Portable water flow meter, Digital flow meter, and digital water flow meter.
    industrial flow meter - Manasmicro

    ReplyDelete
  4. Thanks for posting the useful information.
    Manasmicro.com is best magnetic flow supplier in all over India. It is the best magnetic flow meter manufacturers company in pune India.
    magnetic flow meter - Manasmicro

    ReplyDelete
  5. Thanks for posting the useful information.
    Manasmeter supply flow meter at affordable price. We sale best gas flow meter, digital gas flow meter, and steam flow meter at cheap cost.
    gas flow meter - Manasmicro
    digital gas flow meter – Manasmicro


    ReplyDelete
  6. Thanks for posting the useful information.
    Manasmicro supply best btu meter, btu meter for chilled water in all over india at affordable price. It is the best btu meter manufacturer in pune. Battery operated flow meter
    btu meter - Manasmicro
    btu meter manufacturer - Manasmicro

    ReplyDelete
  7. Manasmicro is best Magnetic Flow Meter Manufacture in pune. We supply best Magnetic Flow Meter at best price. It is the best Magnetic Flow Meter contractor, Magnetic Flow Meter Exports in pune. Magnetic flow meters measure the velocity of conductive liquids in pipes
    magnetic flow meter - Manasmicro

    ReplyDelete
  8. Thanks for posting the useful information.
    Manasmicro is one of the best Electromagnetic flow meter manufacturer in pune India. We supply best electromagnetic water flow meter at best price
    Electromagnetic flow meter

    ReplyDelete
  9. Thanks for posting the useful information.
    Manasmicro is best Ultrasonic flow meter and ultrasonic water flow meter supplier in pune India.
    ultrasonic flow meter – Manasmicro

    ReplyDelete
  10. Thanks for posting the useful information.
    Manasmicro is one of the best Electromagnetic flow meter manufacturer in pune India. We supply best electromagnetic water flow meter at best price
    Electromagnetic flow meter

    ReplyDelete
  11. Thanks for posting the useful information.
    Manasmicro.com is best magnetic flow supplier in all over India. It is the best magnetic flow meter manufacturers company in pune India.
    magnetic flow meter - Manasmicro

    ReplyDelete
  12. Thanks for posting the useful information.
    Manasmicro is one of the best Electromagnetic flow meter manufacturer in pune India. We supply best electromagnetic water flow meter at best price
    Electromagnetic flow meter

    ReplyDelete