paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Eduardo lavratti
Subject: Re: [Paparazzi-devel] ETS Airspeed Sensor with YAPA2 on I2C
Date: Wed, 19 Jun 2013 16:00:13 -0300

Jorge, on the start of this thread you say when you connect the airspeed your Ap stop work. Its correct ?
On other post you say that cannot see any data in MESSAGES view .. so i think your AP initialize but only the airspeed not work.

some time ago my airspeed not initialize too. I modified the airspeed driver and it never occur anymore.

To make a test, power-on your YAPA and open the message windows.
UPLOAD the firmware to YAPA but not turn-off AP.
Look at message view it airspeed start work.

If yes, i have a mod to you.

regards.


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

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.
 
Helge.


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 (http://paparazzi.enac.fr/wiki/File:Yapa_i2c2.png) 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:

<firmware>
...
<define name="USE_I2C0"/>
</firmware>

<modules>
...
<load name="airspeed_ets.xml"/>
</modules>

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 (http://paparazzi.enac.fr/wiki/File:Yapa_v2_molex_gps.jpg)


Anymore ideas?

Best Regards,
Jorge


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 https://www.sparkfun.com/datasheets/Sensors/IMU/6DOF-Digital-v10.pdf
 
Regards,
Helge.
 
 
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 (paparazzi.enac.fr/wiki/Module/Airspeed_ETS) 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,
Jorge

Sent from my iPad





_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

reply via email to

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