Baro MS5611-01BA01

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Baro MS5611-01BA01

Árni Þorvaldsson
Hi
I am still trying to get messages from my baro without any luck.
My  git version 1.7.9.5
I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
my wiring is as follow:
vdd-5v
gnd-gnd
SDI/SDA-SDA
SCLK-SCL

If anyone has an idea what to try to fix this, please tell me:)

Here is my firmware part:

<!DOCTYPE airframe SYSTEM "airframe.dtd">

<airframe name="Funjet Tiny 2.11">

  <firmware name="fixedwing">
    <define name="SENSOR_SYNC_SEND"/>
    <define name="USE_AIRSPEED"/>
    <target name="sim"             board="pc"/>

    <target name="ap"             board="tiny_2.11">
      <define name="USE_I2C0"/>
      <define name="USE_I2C1"/>
    </target>

    <subsystem name="radio_control" type="ppm"/>
    <subsystem name="joystick"/>

    <!-- Communication -->
    <subsystem name="telemetry" type="transparent"/>
    <subsystem name="imu" type="ppzuav"/>


    <!-- Actuators are automatically chosen according to board-->
    <subsystem name="control"/>
    <!-- Sensors -->
    <subsystem name="ahrs"     type="float_dcm"/>
    <subsystem name="gps"      type="ublox"/>
    <subsystem name="ins"      type="alt_float"/>
    <subsystem name="navigation"/>


  </firmware>

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

  <firmware name="setup">
    <target name="tunnel"             board="tiny_2.11"/>
    <target name="setup_actuators"     board="tiny_2.11"/>
  </firmware>


regards Arni

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

agressiva
first of all,  where you get your sensor ?
The address used are correct ?

second, i think you pass the version of GIT program not the version of REPO

> From: [hidden email]

> To: [hidden email]
> Date: Tue, 5 Feb 2013 18:06:44 +0000
> Subject: [Paparazzi-devel] Baro MS5611-01BA01
>
> Hi
> I am still trying to get messages from my baro without any luck.
> My git version 1.7.9.5
> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
> my wiring is as follow:
> vdd-5v
> gnd-gnd
> SDI/SDA-SDA
> SCLK-SCL
>
> If anyone has an idea what to try to fix this, please tell me:)
>
> Here is my firmware part:
>
> <!DOCTYPE airframe SYSTEM "airframe.dtd">
>
> <airframe name="Funjet Tiny 2.11">
>
> <firmware name="fixedwing">
> <define name="SENSOR_SYNC_SEND"/>
> <define name="USE_AIRSPEED"/>
> <target name="sim" board="pc"/>
>
> <target name="ap" board="tiny_2.11">
> <define name="USE_I2C0"/>
> <define name="USE_I2C1"/>
> </target>
>
> <subsystem name="radio_control" type="ppm"/>
> <subsystem name="joystick"/>
>
> <!-- Communication -->
> <subsystem name="telemetry" type="transparent"/>
> <subsystem name="imu" type="ppzuav"/>
>
>
> <!-- Actuators are automatically chosen according to board-->
> <subsystem name="control"/>
> <!-- Sensors -->
> <subsystem name="ahrs" type="float_dcm"/>
> <subsystem name="gps" type="ublox"/>
> <subsystem name="ins" type="alt_float"/>
> <subsystem name="navigation"/>
>
>
> </firmware>
>
> <modules>
> <load name="infrared_adc.xml"/>
> <load name="baro_ms5611_i2c.xml"/>
> <load name="airspeed_ets.xml"/>
> </modules>
>
> <firmware name="setup">
> <target name="tunnel" board="tiny_2.11"/>
> <target name="setup_actuators" board="tiny_2.11"/>
> </firmware>
>
>
> regards Arni
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Árni Þorvaldsson
Hi sorry my mistake, the version is Paparazzi version v4.9_devel-419-gc2d60af
I got the sensors from http://sander-electronic.de/be00067.html

How do I check if the adress is correct?

Regards Arni
________________________________
Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
Sent: 5. febrúar 2013 20:19
To: Paparazzi developer forum
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

first of all,  where you get your sensor ?
The address used are correct ?

second, i think you pass the version of GIT program not the version of REPO

> From: [hidden email]
> To: [hidden email]
> Date: Tue, 5 Feb 2013 18:06:44 +0000
> Subject: [Paparazzi-devel] Baro MS5611-01BA01
>
> Hi
> I am still trying to get messages from my baro without any luck.
> My git version 1.7.9.5
> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
> my wiring is as follow:
> vdd-5v
> gnd-gnd
> SDI/SDA-SDA
> SCLK-SCL
>
> If anyone has an idea what to try to fix this, please tell me:)
>
> Here is my firmware part:
>
> <!DOCTYPE airframe SYSTEM "airframe.dtd">
>
> <airframe name="Funjet Tiny 2.11">
>
> <firmware name="fixedwing">
> <define name="SENSOR_SYNC_SEND"/>
> <define name="USE_AIRSPEED"/>
> <target name="sim" board="pc"/>
>
> <target name="ap" board="tiny_2.11">
> <define name="USE_I2C0"/>
> <define name="USE_I2C1"/>
> </target>
>
> <subsystem name="radio_control" type="ppm"/>
> <subsystem name="joystick"/>
>
> <!-- Communication -->
> <subsystem name="telemetry" type="transparent"/>
> <subsystem name="imu" type="ppzuav"/>
>
>
> <!-- Actuators are automatically chosen according to board-->
> <subsystem name="control"/>
> <!-- Sensors -->
> <subsystem name="ahrs" type="float_dcm"/>
> <subsystem name="gps" type="ublox"/>
> <subsystem name="ins" type="alt_float"/>
> <subsystem name="navigation"/>
>
>
> </firmware>
>
> <modules>
> <load name="infrared_adc.xml"/>
> <load name="baro_ms5611_i2c.xml"/>
> <load name="airspeed_ets.xml"/>
> </modules>
>
> <firmware name="setup">
> <target name="tunnel" board="tiny_2.11"/>
> <target name="setup_actuators" board="tiny_2.11"/>
> </firmware>
>
>
> regards Arni
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Avinash Rao-2
Hi Arni,

The datasheet says you need to pull the protocol select pin PS high to put it into I2C mode rather than SPI. Have you done this? You didn't mention it in your wiring description.

Regards,

Avinash.

______________________
Avinash Rao
+(64) 27 429 1159
_______________________


On 6/02/2013, at 9:34, Árni Þorvaldsson <[hidden email]> wrote:

> Hi sorry my mistake, the version is Paparazzi version v4.9_devel-419-gc2d60af
> I got the sensors from http://sander-electronic.de/be00067.html
>
> How do I check if the adress is correct?
>
> Regards Arni
> ________________________________
> Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
> Sent: 5. febrúar 2013 20:19
> To: Paparazzi developer forum
> Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01
>
> first of all,  where you get your sensor ?
> The address used are correct ?
>
> second, i think you pass the version of GIT program not the version of REPO
>
>> From: [hidden email]
>> To: [hidden email]
>> Date: Tue, 5 Feb 2013 18:06:44 +0000
>> Subject: [Paparazzi-devel] Baro MS5611-01BA01
>>
>> Hi
>> I am still trying to get messages from my baro without any luck.
>> My git version 1.7.9.5
>> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
>> my wiring is as follow:
>> vdd-5v
>> gnd-gnd
>> SDI/SDA-SDA
>> SCLK-SCL
>>
>> If anyone has an idea what to try to fix this, please tell me:)
>>
>> Here is my firmware part:
>>
>> <!DOCTYPE airframe SYSTEM "airframe.dtd">
>>
>> <airframe name="Funjet Tiny 2.11">
>>
>> <firmware name="fixedwing">
>> <define name="SENSOR_SYNC_SEND"/>
>> <define name="USE_AIRSPEED"/>
>> <target name="sim" board="pc"/>
>>
>> <target name="ap" board="tiny_2.11">
>> <define name="USE_I2C0"/>
>> <define name="USE_I2C1"/>
>> </target>
>>
>> <subsystem name="radio_control" type="ppm"/>
>> <subsystem name="joystick"/>
>>
>> <!-- Communication -->
>> <subsystem name="telemetry" type="transparent"/>
>> <subsystem name="imu" type="ppzuav"/>
>>
>>
>> <!-- Actuators are automatically chosen according to board-->
>> <subsystem name="control"/>
>> <!-- Sensors -->
>> <subsystem name="ahrs" type="float_dcm"/>
>> <subsystem name="gps" type="ublox"/>
>> <subsystem name="ins" type="alt_float"/>
>> <subsystem name="navigation"/>
>>
>>
>> </firmware>
>>
>> <modules>
>> <load name="infrared_adc.xml"/>
>> <load name="baro_ms5611_i2c.xml"/>
>> <load name="airspeed_ets.xml"/>
>> </modules>
>>
>> <firmware name="setup">
>> <target name="tunnel" board="tiny_2.11"/>
>> <target name="setup_actuators" board="tiny_2.11"/>
>> </firmware>
>>
>>
>> regards Arni
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

agressiva
How you connected the sensor to ppz hardware ? The sensor come you breakout board ?
look at PS pin as Arni say and look as CSB pin too.

CSB define the i2c address.


> From: [hidden email]

> Date: Wed, 6 Feb 2013 09:45:50 +1300
> To: [hidden email]
> Subject: Re: [Paparazzi-devel] Baro MS5611-01BA01
>
> Hi Arni,
>
> The datasheet says you need to pull the protocol select pin PS high to put it into I2C mode rather than SPI. Have you done this? You didn't mention it in your wiring description.
>
> Regards,
>
> Avinash.
>
> ______________________
> Avinash Rao
> +(64) 27 429 1159
> _______________________
>
>
> On 6/02/2013, at 9:34, Árni Þorvaldsson <[hidden email]> wrote:
>
> > Hi sorry my mistake, the version is Paparazzi version v4.9_devel-419-gc2d60af
> > I got the sensors from http://sander-electronic.de/be00067.html
> >
> > How do I check if the adress is correct?
> >
> > Regards Arni
> > ________________________________
> > Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
> > Sent: 5. febrúar 2013 20:19
> > To: Paparazzi developer forum
> > Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01
> >
> > first of all, where you get your sensor ?
> > The address used are correct ?
> >
> > second, i think you pass the version of GIT program not the version of REPO
> >
> >> From: [hidden email]
> >> To: [hidden email]
> >> Date: Tue, 5 Feb 2013 18:06:44 +0000
> >> Subject: [Paparazzi-devel] Baro MS5611-01BA01
> >>
> >> Hi
> >> I am still trying to get messages from my baro without any luck.
> >> My git version 1.7.9.5
> >> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
> >> my wiring is as follow:
> >> vdd-5v
> >> gnd-gnd
> >> SDI/SDA-SDA
> >> SCLK-SCL
> >>
> >> If anyone has an idea what to try to fix this, please tell me:)
> >>
> >> Here is my firmware part:
> >>
> >> <!DOCTYPE airframe SYSTEM "airframe.dtd">
> >>
> >> <airframe name="Funjet Tiny 2.11">
> >>
> >> <firmware name="fixedwing">
> >> <define name="SENSOR_SYNC_SEND"/>
> >> <define name="USE_AIRSPEED"/>
> >> <target name="sim" board="pc"/>
> >>
> >> <target name="ap" board="tiny_2.11">
> >> <define name="USE_I2C0"/>
> >> <define name="USE_I2C1"/>
> >> </target>
> >>
> >> <subsystem name="radio_control" type="ppm"/>
> >> <subsystem name="joystick"/>
> >>
> >> <!-- Communication -->
> >> <subsystem name="telemetry" type="transparent"/>
> >> <subsystem name="imu" type="ppzuav"/>
> >>
> >>
> >> <!-- Actuators are automatically chosen according to board-->
> >> <subsystem name="control"/>
> >> <!-- Sensors -->
> >> <subsystem name="ahrs" type="float_dcm"/>
> >> <subsystem name="gps" type="ublox"/>
> >> <subsystem name="ins" type="alt_float"/>
> >> <subsystem name="navigation"/>
> >>
> >>
> >> </firmware>
> >>
> >> <modules>
> >> <load name="infrared_adc.xml"/>
> >> <load name="baro_ms5611_i2c.xml"/>
> >> <load name="airspeed_ets.xml"/>
> >> </modules>
> >>
> >> <firmware name="setup">
> >> <target name="tunnel" board="tiny_2.11"/>
> >> <target name="setup_actuators" board="tiny_2.11"/>
> >> </firmware>
> >>
> >>
> >> regards Arni
> >>
> >> _______________________________________________
> >> Paparazzi-devel mailing list
> >> [hidden email]
> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Árni Þorvaldsson
Thanks alot, only thing I am now thinking about is do I need to wire CSB pin to both GND and VDD?

regards Arni
________________________________
Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
Sent: 5. febrúar 2013 21:06
To: Paparazzi developer forum
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

How you connected the sensor to ppz hardware ? The sensor come you breakout board ?
look at PS pin as Arni say and look as CSB pin too.

CSB define the i2c address.


> From: [hidden email]
> Date: Wed, 6 Feb 2013 09:45:50 +1300
> To: [hidden email]
> Subject: Re: [Paparazzi-devel] Baro MS5611-01BA01
>
> Hi Arni,
>
> The datasheet says you need to pull the protocol select pin PS high to put it into I2C mode rather than SPI. Have you done this? You didn't mention it in your wiring description.
>
> Regards,
>
> Avinash.
>
> ______________________
> Avinash Rao
> +(64) 27 429 1159
> _______________________
>
>
> On 6/02/2013, at 9:34, Árni Þorvaldsson <[hidden email]> wrote:
>
> > Hi sorry my mistake, the version is Paparazzi version v4.9_devel-419-gc2d60af
> > I got the sensors from http://sander-electronic.de/be00067.html
> >
> > How do I check if the adress is correct?
> >
> > Regards Arni
> > ________________________________
> > Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
> > Sent: 5. febrúar 2013 20:19
> > To: Paparazzi developer forum
> > Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01
> >
> > first of all, where you get your sensor ?
> > The address used are correct ?
> >
> > second, i think you pass the version of GIT program not the version of REPO
> >
> >> From: [hidden email]
> >> To: [hidden email]
> >> Date: Tue, 5 Feb 2013 18:06:44 +0000
> >> Subject: [Paparazzi-devel] Baro MS5611-01BA01
> >>
> >> Hi
> >> I am still trying to get messages from my baro without any luck.
> >> My git version 1.7.9.5
> >> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
> >> my wiring is as follow:
> >> vdd-5v
> >> gnd-gnd
> >> SDI/SDA-SDA
> >> SCLK-SCL
> >>
> >> If anyone has an idea what to try to fix this, please tell me:)
> >>
> >> Here is my firmware part:
> >>
> >> <!DOCTYPE airframe SYSTEM "airframe.dtd">
> >>
> >> <airframe name="Funjet Tiny 2.11">
> >>
> >> <firmware name="fixedwing">
> >> <define name="SENSOR_SYNC_SEND"/>
> >> <define name="USE_AIRSPEED"/>
> >> <target name="sim" board="pc"/>
> >>
> >> <target name="ap" board="tiny_2.11">
> >> <define name="USE_I2C0"/>
> >> <define name="USE_I2C1"/>
> >> </target>
> >>
> >> <subsystem name="radio_control" type="ppm"/>
> >> <subsystem name="joystick"/>
> >>
> >> <!-- Communication -->
> >> <subsystem name="telemetry" type="transparent"/>
> >> <subsystem name="imu" type="ppzuav"/>
> >>
> >>
> >> <!-- Actuators are automatically chosen according to board-->
> >> <subsystem name="control"/>
> >> <!-- Sensors -->
> >> <subsystem name="ahrs" type="float_dcm"/>
> >> <subsystem name="gps" type="ublox"/>
> >> <subsystem name="ins" type="alt_float"/>
> >> <subsystem name="navigation"/>
> >>
> >>
> >> </firmware>
> >>
> >> <modules>
> >> <load name="infrared_adc.xml"/>
> >> <load name="baro_ms5611_i2c.xml"/>
> >> <load name="airspeed_ets.xml"/>
> >> </modules>
> >>
> >> <firmware name="setup">
> >> <target name="tunnel" board="tiny_2.11"/>
> >> <target name="setup_actuators" board="tiny_2.11"/>
> >> </firmware>
> >>
> >>
> >> regards Arni
> >>
> >> _______________________________________________
> >> Paparazzi-devel mailing list
> >> [hidden email]
> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Árni Þorvaldsson
Sorry meant either GND or VDD.

My wiring now is:
100nf capacitor between gnd and 3.3v
10kohm pullup resistor to 3.3 v from SDA and from SCL
PS pulled up with 3.3 v

it's just like on the datasheet but i am not sure what to do with CSB pin.

regards Arni
________________________________________
Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir h&#246;nd Árni Þorvaldsson [[hidden email]]
Sent: 5. febrúar 2013 21:38
To: [hidden email]
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

Thanks alot, only thing I am now thinking about is do I need to wire CSB pin to both GND and VDD?

regards Arni
________________________________
Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
Sent: 5. febrúar 2013 21:06
To: Paparazzi developer forum
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

How you connected the sensor to ppz hardware ? The sensor come you breakout board ?
look at PS pin as Arni say and look as CSB pin too.

CSB define the i2c address.


> From: [hidden email]
> Date: Wed, 6 Feb 2013 09:45:50 +1300
> To: [hidden email]
> Subject: Re: [Paparazzi-devel] Baro MS5611-01BA01
>
> Hi Arni,
>
> The datasheet says you need to pull the protocol select pin PS high to put it into I2C mode rather than SPI. Have you done this? You didn't mention it in your wiring description.
>
> Regards,
>
> Avinash.
>
> ______________________
> Avinash Rao
> +(64) 27 429 1159
> _______________________
>
>
> On 6/02/2013, at 9:34, Árni Þorvaldsson <[hidden email]> wrote:
>
> > Hi sorry my mistake, the version is Paparazzi version v4.9_devel-419-gc2d60af
> > I got the sensors from http://sander-electronic.de/be00067.html
> >
> > How do I check if the adress is correct?
> >
> > Regards Arni
> > ________________________________
> > Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir hönd Eduardo lavratti [[hidden email]]
> > Sent: 5. febrúar 2013 20:19
> > To: Paparazzi developer forum
> > Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01
> >
> > first of all, where you get your sensor ?
> > The address used are correct ?
> >
> > second, i think you pass the version of GIT program not the version of REPO
> >
> >> From: [hidden email]
> >> To: [hidden email]
> >> Date: Tue, 5 Feb 2013 18:06:44 +0000
> >> Subject: [Paparazzi-devel] Baro MS5611-01BA01
> >>
> >> Hi
> >> I am still trying to get messages from my baro without any luck.
> >> My git version 1.7.9.5
> >> I am only trying to get the messages from the sensor displayed in messages tool (not use it during the flight). I don't get any errors, just no message from the sensor.
> >> my wiring is as follow:
> >> vdd-5v
> >> gnd-gnd
> >> SDI/SDA-SDA
> >> SCLK-SCL
> >>
> >> If anyone has an idea what to try to fix this, please tell me:)
> >>
> >> Here is my firmware part:
> >>
> >> <!DOCTYPE airframe SYSTEM "airframe.dtd">
> >>
> >> <airframe name="Funjet Tiny 2.11">
> >>
> >> <firmware name="fixedwing">
> >> <define name="SENSOR_SYNC_SEND"/>
> >> <define name="USE_AIRSPEED"/>
> >> <target name="sim" board="pc"/>
> >>
> >> <target name="ap" board="tiny_2.11">
> >> <define name="USE_I2C0"/>
> >> <define name="USE_I2C1"/>
> >> </target>
> >>
> >> <subsystem name="radio_control" type="ppm"/>
> >> <subsystem name="joystick"/>
> >>
> >> <!-- Communication -->
> >> <subsystem name="telemetry" type="transparent"/>
> >> <subsystem name="imu" type="ppzuav"/>
> >>
> >>
> >> <!-- Actuators are automatically chosen according to board-->
> >> <subsystem name="control"/>
> >> <!-- Sensors -->
> >> <subsystem name="ahrs" type="float_dcm"/>
> >> <subsystem name="gps" type="ublox"/>
> >> <subsystem name="ins" type="alt_float"/>
> >> <subsystem name="navigation"/>
> >>
> >>
> >> </firmware>
> >>
> >> <modules>
> >> <load name="infrared_adc.xml"/>
> >> <load name="baro_ms5611_i2c.xml"/>
> >> <load name="airspeed_ets.xml"/>
> >> </modules>
> >>
> >> <firmware name="setup">
> >> <target name="tunnel" board="tiny_2.11"/>
> >> <target name="setup_actuators" board="tiny_2.11"/>
> >> </firmware>
> >>
> >>
> >> regards Arni
> >>
> >> _______________________________________________
> >> Paparazzi-devel mailing list
> >> [hidden email]
> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Tilman Baumann-3
On 06/02/13 11:33, Árni Þorvaldsson wrote:
> Sorry meant either GND or VDD.
>
> My wiring now is:
> 100nf capacitor between gnd and 3.3v
> 10kohm pullup resistor to 3.3 v from SDA and from SCL
> PS pulled up with 3.3 v
>
> it's just like on the datasheet but i am not sure what to do with CSB pin.

From the datasheet:
> I2C MODE
> The external microcontroller clocks in the data through the input SCLK (Serial CLocK) and SDA (Serial DAta).
> The sensor responds on the same pin SDA which is bidirectional for the I2C bus interface. So this interface type
> uses only 2 signal lines and does not require a chip select, which can be favorable to reduce board space. In
> I2C-Mode the complement of the pin CSB (Chip Select) represents the LSB of the I2C address. It is possible to
> use two sensors with two different addresses on the I2C bus. The pin CSB shall be connected to VDD or GND
> (do not leave unconnected!).


So, it needs to be connected to EITHER GND or VDD. Which you choose
determines which i2c device address that device will have.

> TheMS5611-01BA address is 111011Cx, where C is the complementary value of the pin CSB.

So if CSB is high, the address will be 1110110 if it is low it will be
1110111. That is binary of course.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Baro MS5611-01BA01

Árni Þorvaldsson
Thanks alot, I changed the address and it works very well now.

regards Arni
________________________________________
Frá: paparazzi-devel-bounces+arnitho10=[hidden email] [paparazzi-devel-bounces+arnitho10=[hidden email]] fyrir h&#246;nd Tilman Baumann [[hidden email]]
Sent: 6. febrúar 2013 12:04
To: [hidden email]
Efni: Re: [Paparazzi-devel] Baro MS5611-01BA01

On 06/02/13 11:33, Árni Þorvaldsson wrote:
> Sorry meant either GND or VDD.
>
> My wiring now is:
> 100nf capacitor between gnd and 3.3v
> 10kohm pullup resistor to 3.3 v from SDA and from SCL
> PS pulled up with 3.3 v
>
> it's just like on the datasheet but i am not sure what to do with CSB pin.

From the datasheet:
> I2C MODE
> The external microcontroller clocks in the data through the input SCLK (Serial CLocK) and SDA (Serial DAta).
> The sensor responds on the same pin SDA which is bidirectional for the I2C bus interface. So this interface type
> uses only 2 signal lines and does not require a chip select, which can be favorable to reduce board space. In
> I2C-Mode the complement of the pin CSB (Chip Select) represents the LSB of the I2C address. It is possible to
> use two sensors with two different addresses on the I2C bus. The pin CSB shall be connected to VDD or GND
> (do not leave unconnected!).


So, it needs to be connected to EITHER GND or VDD. Which you choose
determines which i2c device address that device will have.

> TheMS5611-01BA address is 111011Cx, where C is the complementary value of the pin CSB.

So if CSB is high, the address will be 1110110 if it is low it will be
1110111. That is binary of course.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel