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: GalapagosUAV
Subject: Re: [Paparazzi-devel] ETS Airspeed Sensor with YAPA2 on I2C
Date: Tue, 18 Jun 2013 18:03:36 -0500

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

reply via email to

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