[Top][All Lists]

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

Re: [Paparazzi-devel] ETS Airspeed Sensor with YAPA2 on I2C

From: Helge Walle
Subject: Re: [Paparazzi-devel] ETS Airspeed Sensor with YAPA2 on I2C
Date: Wed, 19 Jun 2013 20:08:56 +0200

Hi Jorge,
According to the wiki the YAPA will accept the same airframe files as the TWOG.
If you would attach your airframe file in a post to the mailing list, I can test it with my hardware.

2013/6/19 GalapagosUAV <address@hidden>
Hi Helge,

Thank you for your kind help. I tried what you suggested but still with no luck.

I was checking the YAPA2 diagrams and found that there is an optional I2C that can be used and this makes me think if I am trying to access the sensor on the correct port. According to the diagram shown here ( this is the I2C0 port. How can I make sure in the code that I am pointing at the correct I2C port? This is my configuration on the airframe file:

<define name="USE_I2C0"/>

<load name="airspeed_ets.xml"/>

Thanks to your advice I have switched to 3.3V instead of 5V now. I am getting the 3.3V and GND from the adjacent ADC1 as shown here (

Anymore ideas?

Best Regards,

On 18/06/2013, at 15:44, Helge Walle <address@hidden> wrote:

Hi Jorge.
I am not sure if this is going to help, but here is how I connected my equipment.
Note I have a TWOG, but I suppose on the YAPA the equipment should be connected the same way.
- Airspeed sensor supplied with +3.3V and GND from the autopilot board
- One pullup resistor 4.7k connected between SDA and +3.3V
- One pullup resistor 4.7k connected between SCL and +3.3V
In my case the two resistors are located on the Sparkfun IMU board like here
2013/6/18 GalapagosUAV <address@hidden>
Dear all,

I have been trying to connect the ETS Airspeed Sensor through the I2C port of my YAPA2 with no luck. Can anyone please explain me the correct process to do it? I am no expert on electronics but I do have some working knowledge about it. Here are some questions that I have:

- I have connected 2 external pull-up resistors to the ETS sensor of 4.7k each the following way: 2 ends of the resistors to Ground and the other 2 ends to SDA and SCL respectively. This is in parallel. Am I using the correct values for the pull-up resistors? I have seen that when I connect the resistors to 5V instead of ground the YAPA stops working, the same happens when I connect resistors with other values.

- Do I need to solder anything else to the YAPA to get the I2C port working? Like other resistors for example? Please see the attached picture of my set up and let me know if there is anything wrong.

- I have been using the configuration that I found on the wiki ( on my airframe file for Measurement Only. So the only thing that I have added on my airframe file is the module airspeed_ets.xml and <define name="SENSOR_SYNC_SEND"/> as explained on the wiki. I do this and don't see the AIRSPEED_ETS lines on the log file. Do I need to add something else on my airframe file to get it to work?

Best Regards,

Sent from my iPad

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

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