paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Jorge Pantoja
Subject: [Paparazzi-devel] ETS Airspeed Sensor with YAPA2 on I2C
Date: Wed, 19 Jun 2013 17:28:39 -0500

Hello Helge and Eduardo,



Thank you so much for your reply. Please, find attached the airframe file I am using. I tried what Eduardo suggested and this is what I am getting: The autopilot board turns on and after a second it freezes as seen in the picture I attached. As you can see, the airspeed sensor and the board are turned on and only the autopilot board is frozen.


Also, I tried switching the I2C0 port to I2C1 on the code by adding under the airspeed_ets.xml module:

<define name="AIRSPEED_ETS_I2C_DEV" value="i2c1"/>

And under the firmware:

<define name="USE_I2C1"/>


This change made that the autopilot and the sensor to appear to be working fine. I mean, once I used the I2C1 instead of the I2C0 port the autopilot didn't freeze but I still didn't get the AIRSPEED_ETS message on my log file. Also, changing to the I2C1 port didn't require the pull-up resistors. This makes me wonder if I am using the correct I2C port again.


Please let me know your thoughts.

JPEG image


Best Regards,
--
Jorge Pantoja
Program Manager/Liaison
Phone: +593-989458127
 

Attachment: PiqueroUAV.xml
Description: Text Data


reply via email to

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