Tag Archives: rasberry pi

Fuel Totaliser Specification

SPECIFICATION:

Need to measure the amount of fuel used using an accurate flow meter and display this inside the car.

  • Flow meter has a reed switch output for a given flow, which is 200 pulses = 1 litre
  • ¬†Measure up to 100 litres, so need to count 20,000 pulses
  • Display the current consumption total on an in car display to 1 decimal place
  • When refuelling, need to be able to reset the total by a push button held down for approx. 3 seconds.
  • The count needs to be non-volatile if power is lost.
  • Upload the total to an FTP site / HTTP POST site with a configurable frequency (approx. 1-10 times per minute) – (either dedicated MiFi or phone hotspot)
  • Future requirement : output a voltage level depending on current total so this can be fed into an external data logger

INPUTS

  • Pulse from flow meter, 200 pulses = 1 litre
  • Push button – 3 second push to reset count

OUTPUTS

  • Total litres used on display (BIG FONT)
  • Total pulses (SMALL FONT) (If using LCD)
  • Write current total/pulses/time to file
  • Upload total litres/pulses/time to FTP/HTTP site
  • Voltage output – level depending on litre total

OPTIONS

  • Rasberry Pi as compute device
  • Andriod as compute device
  • Phidget VINT hub as input/output interface
  • Phidget Graphic LCD for ‘posh’ out – allows more scope for future?
  • 7 segment LCD display – cheaper option – could be clearer in car?
  • Andriod option such as Samsumng Note would have power/display – could use on-the-go usb interface to VINT hub?
  • phyton option for Rasberry
  • java option for Andriod

REFERENCE

Flow Meter details
https://www.bellflowsystems.co.uk/v…-1-50-max-80-litre-hr–1.html?category_id=75

Future Data Logger connections
http://www.race-technology.com/wiki/index.php/RTLive/Connections

Discret Components
https://forum.allaboutcircuits.com/threads/fuel-used-indicator-with-reset.145636/#post-1255575

Raspberry Pi GPIO Explained
https://www.element14.com/community/docs/DOC-78315/l/raspberry-pi-gpio-explained

Raspberry Pi: Launch Python Script on Startup
http://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/

Rasberry Pi emulator
https://www.pcsteps.com/1199-raspberry-pi-emulation-for-windows-qemu/

Controlling a 7 segment 4 digit display with a Raspberry Pi
https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=91796

How To Autorun A Python Script On Raspberry Pi Boot
https://www.raspberrypi-spy.co.uk/2015/02/how-to-autorun-a-python-script-on-raspberry-pi-boot/

How to drive a 7 segment display directly on Raspberry Pi in Python
http://raspi.tv/2015/how-to-drive-a-7-segment-display-directly-on-raspberry-pi-in-python

Official Raspberry Pi 7″ Touchscreen Display
https://thepihut.com/collections/raspberry-pi-screens/products/official-raspberry-pi-7-touchscreen-display

Connecting a Push Switch
http://razzpisampler.oreilly.com/ch07.html

Run Phidgets on the Raspberry Pi
https://www.phidgets.com/?view=articles&article=GetStartedPhidgetsRaspberry

Connect Phidgets to Raspberry Pi
https://www.phidgets.kcom/?view=articles&article=FourProjectsPhidgetsRaspberry

Extenal 3g antenna
http://cpc.farnell.com/siretta/tango14-3m-smam-s-s-24/antenna-4band-3g-loprf-bolt-3m/dp/RF00569?mckv=XJ0tgy5v_dc|pcrid|74629370918390|kword||match||plid||pid|RF00569|&CMP=KNC-MUK-CPC-SHOPPING&msclkid=588707fc94d81ebffc1c5cdb5c75f7f5&utm_source=bing&utm_medium=cpc&utm_campaign=M-440-Shopping-Electrical%20and%20Lighting&utm_term=4578228982951501&utm_content=Wireless%20Systems

Nano > normal sim adapter
https://www.amazon.co.uk/Nano-Micro-Standard-Adapter-iPhone/dp/B009CVEBVC