Hi, thanks for very good help in the past.
I am a beginner trying to connect a 6 axis gyroscope / accelerometer GY N601 N1 to an ESP32 S3 development board. The green LED is on and I can find the sensor on I2C scan. But that is all. I see nothing on UART and can not retreive anything over I2C.

I have also made one earlier try of reading over UART to an Arduino R3 via a Logical Level Shifter. No data arrived. That was via SoftwareSerial which I had used before. I am all new on this ESP32 and "RXD2, TXD2".
The sensor can deliver better processed data over UART (Euler angles) that I would prefer, but to start with I also try to read acceleration data over I2C.
I have not learnt to draw wiring diagrams yet, so I believe a photo is better and possible mistakes more easily detected.
Why cant I get data via I2C and why doesnt it give data over UART
color of wires leaving the ESP32, from right to left:
green/blue: Gnd/3.3V feed to IMU
white: 3.3V feed to pull up resistors for I2C
ESP32 grey(pin 11)/violet(pin 10):
11->IMU-Rx;
IMU-Tx->10
#define RXD2 10
#define TXD2 11
Serial2.begin(BAUD_RATE, SERIAL_8N1, RXD2, TXD2);
ESP blue(pin 9)/grey(pin 8):
9 <-> IMU SCL
8 <-> IMU SDA
Pin 9 and 8 connected to 3.3 V via pull up resistors (9.1 K Ohm).
The solitary white on pin 5 is for testing the LED that blinks as expected
Some say the IMU will start feeding data over UART as soon as it receives power.
In the sketch it receives a wake up call. (I have naturally tried different variants and also without wake up call.)
Some say a fixed green LED can mean it is waiting for satellite connection. But this IMU has no GPS as far as I know.
I have naturally moved the IMU while reading.
The I2C scan also detects one more connection which seems to be some kind of "ghost device".
/*
16:12:20.019 -> Scanning...
16:12:20.060 -> I2C device found at address 0x68 !
16:12:20.060 -> I2C device found at address 0x7E !
16:12:20.060 -> done
*/
// for I2C
#include <Wire.h>
// #define WIRE Wire
#define I2C_SDA 8
#define I2C_SCL 9
const int MPU_ADDR = 0x68;
// for UART:
#define RXD2 10
#define TXD2 11
#define BAUD_RATE 115200
void setup() {
// USB
Serial.begin(9600);
Serial.println("start program");
// I2C:
Wire.begin(I2C_SDA, I2C_SCL); // Initialize I2C with specific pins
Wire.beginTransmission(MPU_ADDR);
Wire.write(0x6B); // Power Management Register
Wire.write(0); // Set to zero to wake up
Wire.endTransmission(true);
Serial.println("I2C initialized");
// UART:
Serial2.begin(BAUD_RATE, SERIAL_8N1, RXD2, TXD2);
}
void loop() {
// I2C:
Wire.beginTransmission(MPU_ADDR);
Wire.write(0x3B); // Starting register for data (ACCEL_XOUT_H)
Wire.endTransmission(false);
Wire.requestFrom(MPU_ADDR, 6, true); // Request 6 registers
// Read data
int16_t ax = Wire.read() << 8 | Wire.read();
int16_t ay = Wire.read() << 8 | Wire.read();
int16_t az = Wire.read() << 8 | Wire.read();
Serial.print("AccX: ");
Serial.print(ax);
Serial.print(" | AccY: ");
Serial.print(ay);
Serial.print(" | AccZ: ");
Serial.println(az);
// UART:
if (Serial2.available()) {
Serial.print("UART:");
Serial.print(Serial2.read());
Serial.println();
}
delay(500);
}
IMU
Controller
Where the IMU was bought












