Latest Post
(ARM,Cortex-M3, STM32F207)Mango-M32F2 Barometric Pressure Sensor(대기압, LPS25)테스트

1.    Barometric Pressure Sensor(대기압, LPS25)테스트


l  Mango-M32F2 Main Board 구매

l  서 LPS25H

l  Mango-M32F2 이미지 Write

l  Source

l  프로그램을 다운로드하고 실행 시키면 터미널 창에서 아래와 같은 화면을 볼 수 있습니다.

---------------------

Press menu key

---------------------

0> System Information

---------------------

1> Test LED

---------------------

3> Test Light BH1600

4> Test 3-AXIS BMA150

a> Test 3-AXIS BMA280

5> Test Pressure BMP085

6> Test Gyro L3G4200DH

7> Test Remocon ROM-WT138

8> Test GPS

9> Test Light BH1721

o> Test OLED

h> Test Humidity HTU21

p> Test Barometric Pressure Sensor LPS25

---------------------

x> quit

 

p is selected

 

LPS25H_CTRL_REG1_ADDR init read : 0xCD

LPS25H_RES_CONF_ADDR init read : 0x0F

 

---------------------

Press menu key

---------------------

0> Get Device ID

1> Get Pressure Data

2> Get Temperature Data

---------------------

x> quit

실행을 하면 아래와 같은 화면을 볼 수 있습니다.

Sensor의 값이 출력된다.

Press menu key

---------------------

0> Get Device ID

1> Get Pressure Data

2> Get Temperature Data

---------------------

x> quit

 

00 is selected

 

Device id : 0xBD

 

---------------------

Press menu key

---------------------

0> Get Device ID

1> Get Pressure Data

2> Get Temperature Data

---------------------

x> quit

 

22 is selected

 

buffer[0]: 0x40, buffer[1]: 0xE0

data16Val: 0xE040, Temperature: 25.566668°C

 

---------------------

Press menu key

---------------------

0> Get Device ID

1> Get Pressure Data

2> Get Temperature Data

---------------------

x> quit

 

11 is selected

 

Pressure: 1002.84 hPa

Pressure: 1003.61 hPa

 

 

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.