닫기
전체카테고리
  • 반도체/수동소자
    반도체/수동소자
  • 임베디드하드웨어
    임베디드하드웨어
  • 교육용키트
    교육용키트
  • 센서모듈
    센서모듈
  • 입출력모듈
    입출력모듈
  • 전원/파워/배터리
    전원/파워/배터리
  • 기타 하드웨어
    기타 하드웨어
  • 특가상품/리퍼상품
    특가상품/리퍼상품
  • 반도체/수동소자
    반도체/수동소자
  • 임베디드하드웨어
    임베디드하드웨어
  • 교육용키트
    교육용키트
  • 센서모듈
    센서모듈
  • 입출력모듈
    입출력모듈
  • 전원/파워/배터리
    전원/파워/배터리
  • 기타 하드웨어
    기타 하드웨어
  • 특가상품/리퍼상품
    특가상품/리퍼상품
아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration) 이미지 확대 보기
  • 아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)

아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)

공유
VAT 포함 가격입니다.
판매가
4,400원 (부가세 포함)
구매혜택
할인 : 적립 마일리지 :
상품코드
8400
제조사
OEM
구매제한
옵션당 최소 1개
아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)
0원
총 상품금액
총 할인금액
총 합계금액
사용예제입니다.



아두이노 소스코드입니다. I2C를 사용하기 때문에 사용하시는 보드에 맞게 핀설정을 하신 후에 다음의 소스코드를 이용하실 수 있습니다.


// MMA7455 Accelerometer
// ---------------------
//
// By arduino.cc user "Krodal".
// May 2012
// Open Source / Public Domain
//
// Fixes to union and type conversions by Arduino.cc user "Afroviking"
// August 2014
//
// Using Arduino 1.0.1
// It will not work with an older version, since Wire.endTransmission() 
// uses a parameter to hold or release the I2C bus.
//
// Documentation:
//     - The Freescale MMA7455L datasheet 
//     - The AN3468 Application Note (programming).
//     - The AN3728 Application Note (calibrating offset).
// 
// The MMA7455 can be used by writing and reading a single byte, 
// but it is also capable to read and write multiple bytes.
//
// The accuracy is 10-bits.
// 

#include 


// Register names according to the datasheet.
// Register 0x1C is sometimes called 'PW', and sometimes 'PD'.
// The two reserved registers can not be used.
#define MMA7455_XOUTL 0x00      // Read only, Output Value X LSB
#define MMA7455_XOUTH 0x01      // Read only, Output Value X MSB
#define MMA7455_YOUTL 0x02      // Read only, Output Value Y LSB
#define MMA7455_YOUTH 0x03      // Read only, Output Value Y MSB
#define MMA7455_ZOUTL 0x04      // Read only, Output Value Z LSB
#define MMA7455_ZOUTH 0x05      // Read only, Output Value Z MSB
#define MMA7455_XOUT8 0x06      // Read only, Output Value X 8 bits
#define MMA7455_YOUT8 0x07      // Read only, Output Value Y 8 bits
#define MMA7455_ZOUT8 0x08      // Read only, Output Value Z 8 bits
#define MMA7455_STATUS 0x09     // Read only, Status Register
#define MMA7455_DETSRC 0x0A     // Read only, Detection Source Register
#define MMA7455_TOUT 0x0B       // Temperature Output Value (Optional)
#define MMA7455_RESERVED1 0x0C  // Reserved
#define MMA7455_I2CAD 0x0D      // Read/Write, I2C Device Address
#define MMA7455_USRINF 0x0E     // Read only, User Information (Optional)
#define MMA7455_WHOAMI 0x0F     // Read only, "Who am I" value (Optional)
#define MMA7455_XOFFL 0x10      // Read/Write, Offset Drift X LSB
#define MMA7455_XOFFH 0x11      // Read/Write, Offset Drift X MSB
#define MMA7455_YOFFL 0x12      // Read/Write, Offset Drift Y LSB
#define MMA7455_YOFFH 0x13      // Read/Write, Offset Drift Y MSB
#define MMA7455_ZOFFL 0x14      // Read/Write, Offset Drift Z LSB
#define MMA7455_ZOFFH 0x15      // Read/Write, Offset Drift Z MSB
#define MMA7455_MCTL 0x16       // Read/Write, Mode Control Register 
#define MMA7455_INTRST 0x17     // Read/Write, Interrupt Latch Reset
#define MMA7455_CTL1 0x18       // Read/Write, Control 1 Register
#define MMA7455_CTL2 0x19       // Read/Write, Control 2 Register
#define MMA7455_LDTH 0x1A       // Read/Write, Level Detection Threshold Limit Value
#define MMA7455_PDTH 0x1B       // Read/Write, Pulse Detection Threshold Limit Value
#define MMA7455_PD 0x1C         // Read/Write, Pulse Duration Value
#define MMA7455_LT 0x1D         // Read/Write, Latency Time Value (between pulses)
#define MMA7455_TW 0x1E         // Read/Write, Time Window for Second Pulse Value
#define MMA7455_RESERVED2 0x1F  // Reserved

// Defines for the bits, to be able to change 
// between bit number and binary definition.
// By using the bit number, programming the MMA7455 
// is like programming an AVR microcontroller.
// But instead of using "(1<
3축 가속도센서 LI3DH / SparkFun Triple Axis Accelerometer Breakout - LIS3DH
8,500원 12,000원 29%
품절
자유도 센서 GY-86 ( MS5611+ HMC5883L+ MPU6050 )
자유도 센서 GY-86 ( MS5611+ HMC5883L+ MPU6050 )
37,400원
3축 자기장센서 / 나침반센서 / GY271,QMC5883 Magnetometer Compass
4,400원
품절
GY-282 3축 지자계 센서모듈 / 나침판 센서 / HMC5983
7,700원
품절
아두이노 호환 3축 가속도센서 모듈 MMA845X / GY45 / GY-45
6,600원
품절

장바구니 담기

상품이 장바구니에 담겼습니다.
바로 확인하시겠습니까?

찜 리스트 담기

상품이 찜 리스트에 담겼습니다.
바로 확인하시겠습니까?

이미지 확대보기아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)

아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)
  • 아두이노 3축 가속도 센서 MMA7455 (MMA7455 3 axis accelerometer acceleration)
닫기

비밀번호 인증

글 작성시 설정한 비밀번호를 입력해 주세요.

닫기

장바구니 담기

상품이 장바구니에 담겼습니다.
바로 확인하시겠습니까?

찜 리스트 담기

상품이 찜 리스트에 담겼습니다.
바로 확인하시겠습니까?

  • 장바구니
  • 최근본상품
  • 위로
  • 아래로

최근 본 상품

0/2
우측 배너
고객센터

053-588-4080평일상담 : 10:00 ~ 17:00 | 점심시간 : 12:00 ~ 13:00
주말 및 공휴일 휴무

계좌안내

신한은행100-032-613560
예금주 : (주)메카솔루션