Getting familiar with the screen and the gyroscope
The screen has arrived, and I started to familiarise myself with it's features.
I checked it's datasheet and rewied the gyroscopes features as well. Most of the time the way it's supposed to be wired is only indicated for an arduino uno, so I also have to check the pins of my ESP32 in order to understand how to wire my system.
Helpful website for the screen:
ESP32: TFT Touchscreen - 2.8 inch ILI9341 (Arduino) | Random Nerd Tutorials
Helpful website for ESP32 and screen:
Exploiter 1,8 pouce TFT sur ESP-32 Dev Kit C (az-delivery.de)
Pins:
Gyroscope:
- Gyroscope VCC to ESP32 3V pin.
- Gyroscope GND to any GND pin on the ESP32.
- Gyroscope SCL to pin 12, 13, 25, 26, or 27 on the ESP32 (choose one of these available GPIO pins).
- Gyroscope SDA to pin 12, 13, 25, 26, or 27 on the ESP32 (choose a different pin than the one used for SCL).
ESP32 and RB-TFT1.8 Screen
- Power Connections:
- VCC to 3V on the ESP32.
- GND to any G
- I2C Connections (for SCL and SDA):
- SCL to Pin 22
- SDA to Pin 21
- SPI Connections (for the screen and SD card):
- DC to Pin 17
- RES (Reset) to Pin 2
- CS to Pin 15
- MISO to Pin 32
- SCLK to Pin 33
- MOSI to Pin 25
- CS to Pin 26
Schematic:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.