Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32

Getting Started With TTGO T-Display ESP32.

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 ESP32LSM9DS1 9DOF IMU
3.3VVDD
GNDGND
21SDA
22SCL

Sample Program

This is Arduino sample program to read LSM9DS1 data and display to LCD. It requires 2 additional library from Arduino Library Manager:

  1. TFT_eSPI by Bodmer Version 1.4.16.
  2. Adafruit LSM9DS1 Library by Adafruit Version 1.0.1

Thank You

References:

  • TTGO T-Display ESP32 Quick Start Guide – GitHub
  • Adafruit LSM9DS1 Arduino Library – GitHub

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Control LED Strip Using ESP32 and Blynk App
Display Covid19 Data (Malaysia) on Dot Matrix Using ESP32
Microbit Smart Home Kit: Auto Plant Watering System
3D Printer-Snapmaker Helps to Fight COVID-19
Microbit Smart Home Kit: Timer Alarm
Scroll to Top