Không có sản phẩm trong giỏ hàng!
![Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32 Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32](https://static.cytron.io/image/tutorial/interface-lsm9ds1-9dof-imu-with-ttgo-t-display-esp32/ESP32-LSM9DS1.jpg)
Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32
- Idris Zainal Abidin
- 03 Dec 2019
- 1230
Introduction
TTGO T-Display ESP32 is a tiny microcontroller board. It comes with 1.14" LCD, 2 programmable push button, battery connector with a charging circuit. Since it uses ESP32 module, so it has WiFi and Bluetooth capability. Plus, the price is affordable. Yes, I love it. In this tutorial, I will share how to get started with this board and interface LSM9DS1 9DOF IMU sensor module.
Video
This video shows how to get started with TTGO T-Display ESP32 and interface LSM9DS1 9DOF IMU sensor module.
Hardware Preparation
This is the list of items used in the video.
Wiring connection table.
TTGO T-Display ESP32 | LSM9DS1 9DOF IMU |
3.3V | VDD |
GND | GND |
21 | SDA |
22 | SCL |
Sample Program
This is Arduino sample program to read LSM9DS1 data and display to LCD. It requires 2 additional library from Arduino Library Manager:
- TFT_eSPI by Bodmer Version 1.4.16.
- Adafruit LSM9DS1 Library by Adafruit Version 1.0.1
https://gist.github.com/IdrisCytron/096a8534738b88fb9fd023f4f71d0329
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
Related Products
TTGO T-Display ESP32 1.14 Display Module-Presol...
Không có sẵn
USB Type C Cable (1 Meter)
Không có sẵn
Adjustable 60W Soldering Iron (EU Plug)
Không có sẵn