A02 A02YYUW ultrasonic waterproof ranging module

  • Step 1: Write code for your chosen microcontroller to read and process the sensor data. This will depend on the specific sensor you’re using and the programming language and tools you prefer.

  • Step 2: Send this processed data serially from the controller to your computer using a protocol that suits your needs, such as USB. You’ll need to specify a baud rate for communication.

  • Step 3: Create a SerialPort node in VL Gamma. Configure it to receive data at the same baud rate you specified in your controller’s code. This will allow your computer to read the serial data sent by the microcontroller.

  • Step 4: If the sensor data is in a specific format (e.g. comma separated values), you may need to use the Tokenizer node to split and parse this data into individual values that can be used within VL Gamma.

This topic has been discussed many times, so check the forum for information.

1 Like