NodeMCU V2 and TFmini lidar ; issues with receiving sensor data

Hi,

I just bought a new NodeMCU to try and connect my sensordata from TFmini to the cloud.
But before networking, Im having trouble with reading the sensor-data from the NodeMCU.
I have no issues with uploading the code.

Here is my items:

NodeMCU: VMA107: NODEMCU V2 LUA BASED ESP8266 DEVELOPMENT BOARD – Velleman – Wholesaler and developer of electronics

TFmini Lidar:TFMini - Micro LiDAR Module Hookup Guide - learn.sparkfun.com

I have read a thread about this issue without getting results here: TFMini not compatible with ESP8266 / NodeMCU 12E · Issue #6 · opensensinglab/tfmini · GitHub

- Picture of my connection is attached.

- picture of what Im reading from my COM-Port attached.

- My bord option is also fine i think (picture attached)

Thanks for the help guys.

Arduino code:

#include <Arduino.h>
#include <SoftwareSerial.h>
#include "TFMini.h"

// Setup software serial port
SoftwareSerial mySerial(5, 4);      // connection to TFMini
TFMini         tfmini;              // tfmini access
unsigned long  previousMillis = 0;  // access time
const long interval = 10;           // interval at which to measure (milliseconds)

/*
-----------------S E T U P-----------------
*/
void setup() {
  // Step 1: Initialize hardware serial port (serial debug port)
  Serial.begin(115200);
  // wait for serial port to connect. Needed for native USB port only
  while (!Serial);

  // Step 2: Initialize the data rate for the SoftwareSerial port
  mySerial.begin(TFMINI_BAUDRATE);  // default boudrate is 115200
  delay(10);

  // Step 3: Initialize the TF Mini sensor
  tfmini.begin(&mySerial);
  Serial.println ("Initializing Serial and mySerial finished");
}


/*
-----------------L O O P-----------------
*/
void loop() {
  // we will not use an delay...
  // but we wait some short time before taking the next measurement
  unsigned long currentMillis = millis();
  if (currentMillis - previousMillis >= interval) {
    // save the last measure time
    previousMillis = currentMillis;
    // Take one TF Mini distance measurement
    uint16_t dist = tfmini.getDistance();
    uint16_t strength = tfmini.getRecentSignalStrength();
    // Display the measurement
    Serial.print(dist);
    Serial.print(" cm   Signal: ");
    Serial.println(strength);
  }
}