- Connect Micro USB (Type B) to SST-NodeMCU Project Board and USB (Type A) to USB Port of Computer.
- Connect VCC of Ultrasonic sensor to 3.3 V of Project Board.
- Connect GND of Ultrasonic sensor to GND of Project Board.
- Connect Trigger PIN to GPIO12 and Echo PIN to GPIO14.
- Download the NewPing here.
- Launch the Arduino IDE
- Install the NewPing in your Arduino IDE: go to Sketch >> Include Library >> Add. ZIP library and select the library you’ve just downloaded
- Click on Ok.
- Write the Program using Arduino-IDE and Verify(compile) and upload the code to the Board.
- Observe the OUTPUT on Serial Monitor and LCD.