통신 > Amp 내장형 (SA1) ±60° 기울기센서 - 128 하이퍼터미널 각도 확인

TODAY335 TOTAL2,694,768
사이트 이용안내
Login▼/회원가입
최신글보기 질문게시판 기술자료 동영상강좌

아두이노 센서 ATMEGA128 PWM LED 초음파 AVR 블루투스 LCD UART 모터 적외선


BASIC4MCU | 통신 | UART,232 | Amp 내장형 (SA1) ±60° 기울기센서 - 128 하이퍼터미널 각도 확인

페이지 정보

작성자 키트 작성일2017-09-01 10:26 조회1,596회 댓글0건

본문

 

[DAS]Amp 내장형 (SA1)

±60° 기울기센서/ 기울기센서 내부에 AMP가 내장되어 외부에 별도의 추가회로가 필요없음 

 

 

Amp 내장형 (SA1)   

3660040649_qpVt1iYA_icon_sub_1.gif

제품설명

기울기센서 내부에 AMP가 내장되어 외부에 별도의 추가회로가 필요없습니다.
DAS의 전자식 SA1기울기센서는 매우 우수하고 저렴한 각도측정 센서입니다.
본 센서는 집적회로가 내장된 전자식 액체충전 방식으로 설계되었으며 장시간 사용해도 변하지않는 매우 안정된 선능을 갖고 있는 매우 낮은 가격대의 기울기 센서입니다.

 

3660040649_qpVt1iYA_icon_sub_1.gif

Features

  • 전자식 액형 방식
  • 단 15x19mm의 작은사이즈
  • 강도 높은 플라스틱 케이스
  • 단 5g 의 무게
  • Application-로보트,3D마우스,완구,기타모션검출

 

3660040649_qpVt1iYA_icon_sub_1.gif

Performance Specification

Measuring range

±60°

Resolution

<0.1 degrees

Non-linearity

<1% FS

Transverse Sensitivity

<0.5% at ±60° tilt

Response Time

<0.5 second

Power supply(Requlated)

5 Vdc

Min.to Max.supply

3 to 6 Vdc

Current consumption 5V

<1 mA

Operating Temperature

-30 to ... +60°C

Storage Temperature

-45 to ... +90°C

Weight

approx. 5 g

Sensitivity

appox 30 mV/°

Zero offset at 5V

2.5±0.2 Volt

Temperature Drift of sensitivity

1%/°C

Temperature Drift of Zero

±0.05mV/°C

Output imdedance

10kOhm

 

 



http://www.devicemart.co.kr/mart7/mall.php?cat=049012000&query=view&no=14502

 

//코드비젼

#include
#include
#include
//
#define Sensitivity  0.03              // 0.03V/1도
#define AVref        5.0               // 5V
#define Span         AVref/Sensitivity
#define Zero         Span/2.0
#define Offset       -0.081459045
#define MaxAngle     60.0              // max -60도 ~ +60도
//
char  buf[50];
int   ADC_I;
float ADC_F;
//
void TX0_CHAR(char ch){ while(!(UCSR0A&0x20)); UDR0=ch; } // 송신함수
//
void main(void){
  int i;
  DDRE=2;                          // TXD0 PORTE.1
  UCSR0B=8; UBRR0H=0; UBRR0L=103;  //9600
  ADCSRA=0xE7;

  while(1){
    delay_ms(100);
    ADC_I=ADCW;
    ADC_F =(float)ADC_I*Span/1023.0;
    ADC_F-=Zero+Offset;

    if(ADC_F<-MaxAngle)ADC_F=-MaxAngle;
    if(ADC_F> MaxAngle)ADC_F= MaxAngle;

    sprintf(buf,"Angle = %5.1f\r\n",ADC_F);
    i=0; while(buf[i])TX0_CHAR(buf[i++]);
  } 
} 

// 

댓글 0

조회수 1,596

등록된 댓글이 없습니다.

통신HOME > 통신 > 전체 목록

게시물 검색

2022년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2021년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2020년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2019년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2018년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
Privacy Policy
MCU BASIC ⓒ 2020
모바일버전으로보기