Latest Post
(ARM,Cortex-M3, STM32F207)Mango-M32F2 Humidity Sendor(온습도센서, HTU21)테스트

1.    Humidity Sendor(온습도센서, HTU21)테스트



l  Mango-M32F2 Main Board 구매

l  Humidity Sensor (온습센서 HTU21)

l  이미지 Write 하기

l  Source 로드

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

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

Press menu key

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

0> System Information

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

1> Test LED

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

3> Test Light BH1600

4> Test 3-AXIS BMA150

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

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

x> quit

 

h is selected

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

Sensor의 값이 출력된다.

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

Press menu key

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

1> Get Temperature Data

2> Get Humidity Data

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

x> quit

 

11 is selected

 

data[0]: 0x6B, data[1]: 0x3C, data[2]: 0xF7

data16Val: 0x6B3C, Temperature: 26.756346

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

Press menu key

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

1> Get Temperature Data

2> Get Humidity Data

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

x> quit

 

22 is selected

 

data[0]: 0x5E, data[1]: 0x76, data[2]: 0xD4

data16Val: 0x5E76, Humidity: 40.123505

 

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 입니다.