Your shopping cart is empty!
Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32
- Idris Zainal Abidin
- 03 Dec 2019
- 1541
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.
- TTGO T-Display ESP32 1.14 Display Module
- LSM9DS1 9DOF Accel/Mag/Gyro/Temp Sensor Module
- USB C to Type A Cable (1 Meter)
- Jumper Wire
- Adjustable 60W Soldering Iron (EU Plug)
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
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.