|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] GASoline sensor |
Date: | Mon, 7 Oct 2013 15:40:03 +0200 |
I ordered from rapid online.
http://www.rapidonline.com/Electronic-Components/B-I-O-TECH-e-K-Aggressive-Chemical-Low-Flow-Flowmeter-0-015-0-8-L-min-50-0028
i pay 28U$ each sensor.
From: address@hidden
To: address@hidden
Date: Sun, 6 Oct 2013 12:23:45 +0300
Subject: Re: [Paparazzi-devel] GASoline sensor_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-develHi Eduardo,
Where did you buy your sensor? What is the price of it? We also need a gasoline sensor.
From: paparazzi-devel-bounces+refiksever=address@hidden [mailto:paparazzi-devel-bounces+refiksever=address@hidden] On Behalf Of Eduardo lavratti
Sent: Sunday, October 6, 2013 1:15 AM
To: Paparazzi developer forum
Subject: [Paparazzi-devel] GASoline sensor
Well, my gasoline sensor come today.
The sensor output 10000 impulse/liter in TTL level.
Some time ago i asked about how can i read the sensor that output pulses and somebody pointed me to XTEND_RSSi and EXTERNAL TRIGGER but this 2 modules are for read a pulse width.
I can use the external_trigger module with some modification but its waste of code and capture module.
I need a simple external interrupt.
Here are my question: can i use an arch code like the code used for MAX1168 EOC interrupt ?
My idea is to use the DRDY pin (TWOG BOARD) connected to sensor output so i can receive the pulses as interrupt.
When interrupt occur i increment a counter and read the counter in module periodic.
Each pulse is equal to 1/10000liter so i will integrate to get how much gasoline the motor used.
Can some one talk about ? its possible with eint0 ?
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |