[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] GASoline sensor

From: Eduardo lavratti
Subject: Re: [Paparazzi-devel] GASoline sensor
Date: Sun, 6 Oct 2013 16:08:50 -0300

I ordered from rapid online.

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

Hi Eduardo,


Where did you buy your sensor? What is the price of it? We also need a gasoline sensor.


From: address@hidden [mailto: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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]