SCA61T

/media/uploads/Veino/sca61t.jpg

SCA61T is a single axis inclinometer, accessible via a digital SPI. It is available in two models with different measuring ranges. Both models are supported by the library, although SCA61T-FA1H1G is untested.

  • SCA61T-FAHH1G, range ±30°
  • SCA61T-FA1H1G, range ±90°

Hello World!

» Import this program

00001 #include "mbed.h"
00002 #include "SCA61T.h"
00003 
00004 SCA61T sca61t(p11,p12,p13,p21,0);                   // MOSI, MISO, SCLK, CSB, device selection
00005                                                     // 0=SCA61T-FAHH1G, 1=SCA61T-FA1H1G 
00006 Serial pc(USBTX, USBRX);
00007 
00008 int main(void)
00009 {
00010     while(1)
00011     {
00012         pc.printf("%i [C]\r\n",sca61t.ReadTemp());  // Writes the temperature to serial port.
00013         pc.printf("%.1f [deg]\r\n",sca61t.ReadX()); // Writes the angle to serial port.
00014         wait(1);                                    // Waits for one second and repeats.
00015     }
00016 }

Wiring

Wiring used in example program:

SCA61T PinMbed Pin
SCKp13
MISOp12
MOSIp11
GNDGND
CSBp21
STNC
OutNC
VDDVU

Voltage divider from 5V to 3.3V on MISO recommended (not used in picture below).

Hello World Wiring

Library

» Import this library into a program

Public Member Functions

float  ReadX ()
  Reads the angle.
int8_t  ReadTemp ()
  Reads the temperature.
void  MeasMode ()
  Sets the sensor to measurement mode.
uint8_t  ReadStatus ()
  Reads the status register.
void  ReloadNV ()
  Reloads NV.
void  SelfTest ()
  Sets the sensor to self test mode.

Reference





3 comments:

10 Jul 2012

what is the the measuring frequency of this inclinometer?( I mean how many measurements can be made in a second?). And What is the maximum rate of change of angle per second(Degrees/S) this chip can measure. Thanks in advance

02 Oct 2012

user harsha abeykoon wrote:

what is the the measuring frequency of this inclinometer?( I mean how many measurements can be made in a second?). And What is the maximum rate of change of angle per second(Degrees/S) this chip can measure. Thanks in advance

Sorry for the late reply. I updated the datasheet link. Datasheet states that the frequency response is 8-24 Hz. Please refer to the datasheet, unfortunately I don't have more to add.

26 Nov 2012

Forgive my ignorance, but how did you connect the SCA61T, which is SMT, onto your breadboard? It looks like its connected to 2 small pin strips. What are these called, and can you solder the SCA61T onto these with a normal fine-tipped soldering iron? Thanks in advance.