Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Code to count pulses for fuel dispenser

Discussion forum for the BasicX family of microcontroller chips.

Code to count pulses for fuel dispenser - allynroe - Jan 8 4:49:34 2008

I have a private fuel dispenser that I plan on using a BX-24 or -35 to
control. I plan on using the processor to allow a user to enter in a
gallon amount of fuel they need and then have it shut off the pump when
it reaches this amount. I'll be driving a relay to the pump solenoid
to handle the shutoff task but I need help on counting the gallons. We
have a Veeder Root pulser (connected to the dispenser analog meter)
which sends 100 pulses for each revolution it makes. I need help on
having the processor count these pulses since it can do up to 2000
pulses per minute. Anyone have some example code that could help me
out?

Best regards,
Allyn



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )