|Subject:||Re: [Paparazzi-devel] GASoline sensor|
|Date:||Mon, 7 Oct 2013 15:40:03 +0200|
I ordered from rapid online.
i pay 28U$ each sensor.
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-devel
Where did you buy your sensor? What is the price of it? We also need a 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
|[Prev in Thread]||Current Thread||[Next in Thread]|