- Obecnie brak na stanie
Produkty
Kategorie
- Kategorie główne
-
- ARDUINO
- AUTOMATYKA
- CYBERBEZPIECZEŃSTWO
- DRUK 3D
- EDUKACJA
- ELEKTRONIKA
- Akcesoria PC
- Chłodzenie
- Czujniki
- Czujniki 6DOF/9DOF/10DOF
- Czujniki ciśnienia
- Czujniki gazów
- Czujniki Halla
- Czujniki jakości cieczy
- Czujniki jakości powietrza
- Czujniki magnetyczne (kompasy)
- Czujniki medyczne
- Czujniki nacisku
- Czujniki odbiciowe
- Czujniki odległości
- Czujniki PH
- Czujniki podczerwieni
- Czujniki poziomu cieczy
- Czujniki położenia
- Czujniki prądu
- Czujniki przepływu
- Czujniki przyspieszenia (akcelerometry)
- Czujniki ruchu
- Czujniki światła i koloru
- Czujniki temperatury
- Czujniki wibracji
- Czujniki wilgotności gleby
- Czujniki wilgotności powietrza
- Żyroskopy
- Drukarki
- Elementy pasywne
- Gadżety
- GPS
- Inteligentne ubrania
- Kamery i akcesoria
- Karty pamięci i inne nośniki danych
- Komunikacja
- LED - diody, wyświetlacze, paski
- Materiały przewodzące
- Moduły elektroniczne
- Akcesoria JTAG
- Audio
- Czytniki kart pamięci
- Czytniki kodów paskowych
- Czytniki linii papilarnych
- Ekspandery linii I/O
- Enkodery
- Generatory DDS/PLL
- Klawiatury, przyciski
- Konwertery CAN
- Konwertery napięć
- Konwertery RS485
- Konwertery USB - I2C / 1-Wire / SPI
- Konwertery USB - UART / RS232
- Moduły HMI
- Moduły pamięci
- Moduły RTC
- Moduły z wyjściami mocy
- Moduły zasilające
- Obraz i wideo
- Odbiorniki podczerwieni TSOP
- Potencjometry cyfrowe
- Przetworniki A/C i C/A
- Rejestratory danych (data logger)
- Sterowniki LED
- Sterowniki serw
- Sterowniki silników
- Półprzewodniki
- Button
- Czujniki
- Czujniki dotykowe (Touch)
- Diody
- Energy harvesting
- Generatory PLL
- Inne
- Konwertery logiczne
- Liczniki energii
- Mikrokontrolery
- Mikroprocesory DSP
- Mostki prostownicze
- Optotriaki i transoptory
- Pamięci
- Przetworniki a/c (ADC)
- Przetworniki c/a (DAC)
- Sterowniki i mostki IGBT
- Sterowniki LED
- Sterowniki silników
- Syntezery DDS
- Timery
- Tranzystory
- Układy analogowe
- Układy audio
- Układy cyfrowe
- Układy interfejsowe
- Układy programowalne
- Układy RF
- Układy RTC
- Układy SoC
- Układy zasilające
- Układy zerujące
- Zabezpieczenia ESD
- Przekaźniki
- Przetworniki dźwięku
- Przewody
- Przewody świecące i akcesoria
- Przełączniki i przyciski
- Płytki prototypowe
- Wyświetlacze
- Złącza
- Adaptery USB PD do laptopów
- Gniazda do kart pamięci
- Gniazdka RJ-45
- Igły testowe (pogo pin)
- Konektory
- Podstawki
- Szybkozłącza
- Zworki
- Złącza ARK (Terminal Block)
- Złącza FFC / FPC ZIF
- Złącza goldpin
- Złącza IDC
- Złącza inne
- Złącza Jack
- Złącza JST
- Złącza koncentryczne (RF)
- Złącza krokodylkowe
- Złącza obrotowe
- Złącza szufladowe D-Sub
- Złącza USB
- Złącza zasilania DC
- Akcesoria PC
- KSIĄŻKI
- MECHANIKA
- MINIKOMPUTERY (SBC)
- PRZYRZĄDY POMIAROWE
- RASPBERRY PI
- Akcesoria do Raspberry Pi
- Chłodzenie do Raspberry Pi
- Kamery do Raspberry Pi
- Karty pamięci do Raspberry Pi
- Moduły rozszerzające do Raspberry Pi
- Obudowy do Raspberry Pi
- Prototypowanie Raspberry Pi
- Przewody audio-wideo do Raspberry Pi
- Raspberry Pi 3 model A+
- Raspberry Pi 3 model B
- Raspberry Pi 3 model B+
- Raspberry Pi 4 model B
- Raspberry Pi 400
- Raspberry Pi 5
- Raspberry Pi Compute Module
- Raspberry Pi model A/B+/2
- Raspberry Pi Pico
- Raspberry Pi Zero
- Raspberry Pi Zero 2 W
- Wyświetlacze do Raspberry Pi
- Zasilanie do Raspberry Pi
- WARSZTAT
- Chemia
- Elektronarzędzia
- Igły dozownicze
- Imadła
- Kleje i klejarki
- Listwy zasilające
- Lutowanie
- Akcesoria do lutowania
- Akcesoria SMD
- Chemia lutownicza
- Cyna
- Gąbki i czyściki
- Groty do lutownic
- Grzałki oraz kolby lutownicze
- Kulki BGA
- Laminaty
- Lutownice kolbowe
- Lutownice przenośne
- Maty i akcesoria antystatyczne (ESD)
- Myjki ultradźwiękowe
- Odsysacze do usuwania cyny
- Opalarki
- Pasty lutownicze
- Pędzle i szczotki ESD
- Plecionki do usuwania cyny
- Podgrzewacze
- Podstawki pod lutownice
- Silikonowe maty do lutowania
- Stacje lutownicze
- Tygle lutownicze
- Uchwyty, lupy
- Mikroskopy
- Miniwiertarki, miniszlifierki
- Narzędzia
- Noże i nożyczki
- Okulary ochronne
- Organizery
- Pęsety
- Plotery i Frezarki CNC
- Rurki termokurczliwe
- Ściągacze izolacji
- Taśmy
- Zaciskarki
- Zasilacze laboratoryjne
- Chemia
- WYCOFANE Z OFERTY
- WYPRZEDAŻ
- ZASILANIE
- ZESTAWY URUCHOMIENIOWE
- Atmel SAM
- Atmel Xplain
- AVR
- DFRobot FireBeetle
- ESP32
- ESP8266
- Feather / Thing Plus
- Freedom (Kinetis)
- Google Coral
- Inne zestawy uruchomieniowe
- M5Stack
- micro:bit
- Moduły peryferyjne
- Nordic nRF
- OPROGRAMOWANIE
- Particle Photon
- PIC
- Programatory Segger
- Programatory uniwersalne
- Raspberry Pi RP2040
- RFID
- RISC-V
- Seeed Studio LinkIt
- Sparkfun MicroMod
- STM32
- STM32 Discovery
- STM32 MP1
- STM32 Nucleo
- STM8
- Teensy
- WRTNode
- XIAO/Qt PY
- Atmel SAM
- ZESTAWY URUCHOMIENIOWE FPGA
- ARDUINO
Nowości
Nowości
LSM303DLHC 3D Compass and Accelerometer Carrier with Voltage Regulator
Wysyłka gratis
darmowa wysyłka na terenie Polski dla wszystkich zamówień powyżej 500 PLN
Wysyłka tego samego dnia
Jeśli Twoja wpłata zostanie zaksięgowana na naszym koncie do godz. 11:00
14 dni na zwrot
Każdy konsument może zwrócić zakupiony towar w ciągu 14 dni bez zbędnych pytań
LSM303DLHC 3D Compass and Accelerometer Carrier with Voltage Regulator
The LSM303DLHC combines a digital 3-axis accelerometer and 3-axis magnetometer into a single package that is ideal for making a tilt-compensated compass. The six independent readings, whose sensitivities can be set in the ranges of Âą2 to Âą16 g and Âą1.3 to Âą8.1 gauss, are available through an IÂ?C interface. The carrier board operates from 2.5 to 5.5 V and has a 0.1" pin spacing.
Clearance: This board is being replaced by the newer LSM303D carrier.
Clearance: This board is being replaced by the newer LSM303D carrier, which offers several improvements over this product, including a wider magnetic sensing range and the option of using an SPI interface rather than IÂ?C. The LSM303D carrier is not pin-compatible with earlier LSM303 carriers like the LSM303DLHC and LSM303DLM.
Overview
This board is a compact (0.5" A— 0.8") breakout board for ST’s LSM303DLHC 3-axis accelerometer and 3-axis magnetometer; we therefore recommend careful reading of the LSM303DLHC datasheet (629k pdf) before using this product. The LSM303DLHC is a great IC, but its small package makes it difficult for the typical student or hobbyist to use. It also operates at voltages below 3.6 V, which can make interfacing difficult for microcontrollers operating at 5 V. This carrier board addresses these issues by incorporating additional electronics, including a 3.3 V voltage regulator and level-shifting circuits, while keeping the overall size as compact as possible. The board ships fully populated with its SMD components, including the LSM303DLHC, as shown in the product picture.
Compared to the LSM303DLH and LSM303DLM used on our original compass and accelerometer carrier boards, the LSM303DLHC features improved magnetic sensing resolution and a wider acceleration measurement range (Âą2g to Âą16g). This LSM303DLHC carrier is 0.1" shorter than the earlier boards while remaining pin-compatible, although changes in IÂ?C addresses and configuration registers mean that code written to interface with an LSM303DLH or LSM303DLM might need to be modified to work with an LSM303DLHC.
The LSM303DLHC has many configurable options, including dynamically selectable sensitivities for the accelerometer and magnetometer, a choice of output data rates, and two independently-programmable external inertial interrupt pins. The magnetometer and accelerometer can be individually turned on and off to save power. The six independent magnetic and acceleration readings (sometimes called 6DOF) are available through an IÂ?C/TWI interface and can be used for many applications, including making a tilt-compensated compass that can be used to determine headings regardless of how the board is inclined (ST provides an application note (1MB pdf) that explains the details of making one).
The carrier board includes a low-dropout linear voltage regulator that provides the 3.3 V required by the LSM303, which allows the sensor to be powered from a 2.5–5.5 V supply. The regulator output is available on the VDD pin and can supply almost 150 mA to external devices. The breakout board also includes a circuit that shifts the IÂ?C clock and data lines to the same logic voltage level as the supplied VIN, making it simple to interface the board with 5 V systems, and the board’s 0.1" pin spacing makes it easy to use with standard solderless breadboards and 0.1" perfboards.
For sensor fusion applications, our MinIMU-9 v2 and AltIMU-10 inertial measurement units combine the LSM303DLHC with an L3GD20 3-axis gyro on a single board, providing nine independent readings that can be used to calculate an absolute orientation. The AltIMU-10 also includes an LPS331AP pressure sensor that can be used to calculate altitude.
Specifications
- Dimensions: 0.5" A— 0.8" A— 0.1" (13 A— 20 A— 3 mm)
- Weight without header pins: 0.6 g (0.02 oz)
- Operating voltage: 2.5 to 5.5 V
- Supply current: 10 mA
- Output format (IÂ?C):
- Accelerometer: one 12-bit reading (left-justified) per axis
- Magnetometer: one 12-bit reading (right-justified) per axis
- Sensitivity range (configurable):
- Accelerometer: Âą2, Âą4, Âą8, or Âą16 g
- Magnetometer: Âą1.3, Âą1.9, Âą2.5, Âą4.0, Âą4.7, Âą5.6, or Âą8.1 gauss
Included components
An 8A—1 strip of 0.1" header pins and an 8A—1 strip of 0.1" right-angle header pins are included, as shown in the picture below. You can solder the header strip of your choice to the board for use with custom cables or solderless breadboards, or you can solder wires directly to the board itself for more compact installations.
Using the LSM303DLHC
Connections
A minimum of four connections are necessary to use the LSM303DLHC: VIN, GND, SCL, and SDA. VIN should be connected to a 2.5–5.5 V source, GND to 0 volts, and SCL and SDA should be connected to an I�C bus operating at the same logic level as VIN. (Alternatively, if you are using the board with a 3.3 V system, you can leave VIN disconnected and bypass the built-in regulator by connecting 3.3 V directly to VDD.)
|
|
Pinout
PIN | Description |
---|---|
VDD | 3.3 V regulator output or low-voltage logic power supply, depending on VIN. When VIN is supplied and greater than 3.3 V, VDD is a regulated 3.3 V output that can supply up to approximately 150 mA to external components. Alternatively, when interfacing with a 2.5–3.3 V system, VIN can be left disconnected and power can be supplied directly to VDD. Never supply voltage to VDD when VIN is connected, and never supply more than 3.6 V to VDD. |
VIN | This is the main 2.5–5.5 V power supply connection. The SCL and SDA level shifters pull the I�C bus high bits up to this level. |
GND | The ground (0 V) connection for your power supply. Your IÂ?C control source must also share a common ground with this board. |
SCL | Level-shifted IÂ?C clock line: HIGH is VIN, LOW is 0 V |
SDA | Level-shifted IÂ?C data line: HIGH is VIN, LOW is 0 V |
DRDY | Magnetometer data ready indicator, a 3.3V-logic-level output. HIGH (3.3 V) indicates magnetometer data can be read. LOW (0 V) indicates the magnetometer is writing new data to the data registers. This output is not level-shifted. |
INT1 | Inertial interrupt 1, a 3.3V-logic-level output. This output is not level-shifted. |
INT2 | Inertial interrupt 2, a 3.3V-logic-level output. This output is not level-shifted. |
Schematic Diagram
The above schematic shows the additional components the carrier board incorporates to make the LSM303 easier to use, including the voltage regulator that allows the board to be powered from a single 2.5–5.5 V supply and the level-shifter circuit that allows for I�C communication at the same logic voltage level as VIN.
IÂ?C Communication
The LSM303DLHC readings can be queried and the device can be configured through the IÂ?C bus. The module acts as two chained IÂ?C slave devices, with the accelerometer and magnetometer clock and data lines tied together to the same IÂ?C bus to ease communication. Additionally, level shifters on the IÂ?C clock (SCL) and data lines (SDA) enable IÂ?C communication with microcontrollers operating at the same voltage as VIN (2.5–5.5V). A detailed explanation of the protocol can be found in the LSM303DLHC datasheet (629k pdf), and more detailed information about IÂ?C in general can be found in NXP’s IÂ?C-bus specification (371k pdf).
The accelerometer and the magnetometer have separate 7-bit slave addresses on the IÂ?C bus. The magnetometer’s slave address is fixed to 0011110b and the accelerometer’s slave address is fixed to 0011001b.
In our tests of the board, we were able to communicate with the chip at clock frequencies up to 400 kHz; higher frequencies might work but were not tested. The chip itself and carrier board do not meet of some requirements to make the device compliant with IÂ?C fast-mode. It is missing 50 ns spike suppression on the clock and data lines, and additional pull-ups on the clock and data lines might also be necessary to achieve compliant signal timing characteristics.
Sample Code
- Arduino: We have written a basic Arduino library for this LSM303 carrier board that makes it easy to interface this sensor with an Arduino. The library makes it simple to read the raw accelerometer and magnetometer data, and it has a function for computing the tilt-compensated heading for those looking to use this sensor as a tilt-compensated compass.
- mbed: There is a library for using the similar LSM303DLH with the ARM mbed development board. This library was not written and is not maintained by Pololu, and it needs to be modified slightly to work with the LSM303DLHC.
Protocol Hints
The datasheet provides all the information you need to use this sensor, but picking out the important details can take some time. Here are some pointers for communicating with and configuring the LSM303DLHC that we hope will get you up and running a little bit faster:
- The magnetometer and accelerometer are off by default. You have to turn them on by setting the correct configuration registers.
- The magnetometer will not update its data until all 6 data bytes have been read during a single IÂ?C transfer. All the bytes can be read in the same transfer using the magnetometer’s automatic subaddress updating feature (this feature is enabled by default).
- The accelerometer also has an automatic subaddress updating feature, if you assert the most significant bit of the subaddress. The accelerometer does not require you to read all of the output bytes before updating by default.
- The accelerometer and magnetometer both output readings in a 16-bit format (obtained by combining the values in two 8-bit registers for each axis), but they contain a maximum of 12 bits of precision. For the accelerometer, at least the lowest 4 bits of the output values are always 0, and for the magnetometer, the highest 4 bits of the output values are always 0.
- The accelerometer gives low-resolution 10-bit readings by default (the lowest 6 bits of the output are always 0). To get the full 12-bit resolution, you must set the HR (high resolution) bit in the CTRL_REG4_A register.
- The accelerometer and magnetometer combined in this IC originate from different manufacturers, so there are fairly significant differences in their features, functionality, and interfaces.
People often buy this product together with:
L3GD20 3-Axis Gyro Carrier with Voltage Regulator |
MinIMU-9 v2 Gyro, Accelerometer, and Compass (L3GD20 and LSM303DLHC Carrier) |
Female Crimp Pins for 0.1" Housings 100-Pack |
Produkty z tej samej kategorii (16)
Interfejs USBUART (RS232) z układem układ FT232BM firmy FTDI
Brak towaru
Sieciowy zasilacz impulsowy 5V, 2A, kabel zakończony wtykiem micro-USB. Może służyć jako zasilacz lub ładowarka wszelkich urządzeń wyposażonych w gniazda micro-USB. RoHS
Brak towaru
Płytka rozwojowa z sensorami MEMS umożliwiająca zmierzenie ruchu, wysokości nad ziemią, ciśnienia, temperatury, pola magnetycznego oraz pozycji. Pozwala na demonstacje możliwosci czujników Feescale Xtrinsic. Zestaw współpracuje z nastepujacymi platformami:
Brak towaru
Brak towaru
Brak towaru
Zestaw AVT do samodzielnego montażu syreny dla pojazdów uprzywilejowanych. AVT789 B
Brak towaru
HK Turnigy Heat Shrink Tube 40mm Red (1mtr) (13834)
Brak towaru
Dwukanałowy sterownik silników DC, do sterowania dowma silnikami DC lub jednym silnikiem krokowym, zbudowany na układzie L293D z dodatkowym zabezpieczeniem ESD
Brak towaru
Brak towaru
T1 (3mm) Green LED with Green Diffused Lens
Brak towaru
Brak towaru
Brak towaru
Brak towaru
Brak towaru
Listwa montażowa ARK 3-pinowa o rastrze 3,5 mm, rozłączalna. 381-3.5-03P-14-00AH
Brak towaru
Brak towaru