paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Sensirion SHT75 on APOGEE


From: philipan
Subject: Re: [Paparazzi-devel] Sensirion SHT75 on APOGEE
Date: Sun, 18 May 2014 21:42:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi all,

thanks a lot for information!
Felix, I will report on testing the new code next week, thanks a lot so
far!

Cheers,
Andreas

Am 17.05.2014 00:13, schrieb Felix Ruess:
> Hi,
> 
> quickly converted it to the gpio interface, ready to test:
> https://github.com/paparazzi/paparazzi/pull/721
> 
> Cheers, Felix
> 
> 
> On Fri, May 16, 2014 at 11:07 PM, Felix Ruess <address@hidden> wrote:
> 
>> Hi,
>>
>> if the timing of the bitbanging is not a problem it should be fairly easy
>> to rewrite the driver to use mcu_periph/gpio (which is the same on lpc21
>> and stm32) instead of direct register access...
>>
>> Cheers, Felix
>>
>>
>> On Fri, May 16, 2014 at 11:01 PM, Martin Mueller <address@hidden> wrote:
>>
>>> Hi,
>>>
>>> the SHT75 driver would need some changes to work with any non-LPC based
>>> autopilot. It uses the LPCs GPIO registers directly in humid_sht.h as the
>>> SHT75 only supports a proprietary serial protocol, close but not exactly
>>> I2C. You can use the SHT25 which is genuine I2C.
>>>
>>> Martin
>>>
>>>
>>> On 05/16/2014 09:55 AM, Gautier Hattenberger wrote:
>>>
>>>> Hi,
>>>>
>>>> This module is only for LPC based boards (umarim, tiny). You can try to
>>>> use humid_sht_i2c.xml which seems to be for SHT25, no idea if it also
>>>> works on SHT75.
>>>>
>>>> Gautier
>>>>
>>>>
>>>> Le 16/05/2014 09:00, Andreas Philipp a écrit :
>>>>
>>>>>
>>>>> Dear list,
>>>>>
>>>>> trying to compile an air frame file for the APOGEE including the
>>>>> module humid_sht.xml (for the Sensirion SHT75 humidity and temperature
>>>>> sensor described at
>>>>> http://wiki.paparazziuav.org/wiki/Module/Sensirion_SHT75) like this:
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> <modules>
>>>>> [...]
>>>>>    <load name="humid_sht.xml"/>
>>>>> </modules>
>>>>>
>>>>> <firmware name="fixedwing">
>>>>>     <target name="sim" board="pc"/>
>>>>>     <target name="ap" board="apogee_1.0_chibios"/>
>>>>> [...]
>>>>>  </firmware>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>>
>>>>> ends in:
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> [...]
>>>>> Compiling humid_sht.c
>>>>> modules/meteo/humid_sht.c:10:21: fatal error: LPC21xx.h: No such file
>>>>> or directory
>>>>>  #include "LPC21xx.h"
>>>>>                      ^
>>>>> compilation terminated.
>>>>> make[1]: ***
>>>>> [/home/philipan/paparazzi/var/aircrafts/es_apogee/ap/obj/
>>>>> modules/meteo/humid_sht.o]
>>>>> Error 1
>>>>> make[1]: Leaving directory `/home/philipan/paparazzi/sw/airborne'
>>>>> make: *** [ap.compile] Error 2
>>>>> make: Leaving directory `/home/philipan/paparazzi'
>>>>>
>>>>> FAILED 'make -C /home/philipan/paparazzi -f Makefile.ac
>>>>> AIRCRAFT=es_apogee ap.compile' with code 2
>>>>> ---------------------------------------------------------------------
>>>>>
>>>>> Please find the air-frame file and the complete compile log in the
>>>>> attachments. It seems it uses special files for boards with the LPC21
>>>>> processor. Is it possible to run this module plugged in at AUX on the
>>>>> Apogee board (as it is done on the Umarim as described at
>>>>> http://wiki.paparazziuav.org/wiki/SUMO/prepare_electronics ) ?
>>>>>
>>>>> Thanks for any help!
>>>>>
>>>>> Andreas
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
> 

-- 
---------------------------------------
Dr. Andreas Philipp
Institute of Geography
University of Augsburg
Universitaetsstrasse 10
D - 86135 Augsburg
Germany

Phone:  ++49/821/598-2266
Fax:    ++49/821/598-2264
Email:  address@hidden
http://www.geo.uni-augsburg.de/lehrstuehle/phygeo/personal/philipp/
---------------------------------------



reply via email to

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