This paper reports on optical time-of-flight as a detection mode for soft optical deformation sensors. In this work, low-cost miniature light detection and ranging (LiDAR) chips recently developed for consumer mobile device applications perform real-time optical reflectometry at cm scales in soft optical waveguide networks. Our methodscomplement existing work by capturing spatial information that is lost with amplitude-only measurements.

Instructions: 

'''

# This program is to show the histo data from VL53L3CX run on Nucleo.

# Run the ST VL53L3CX Gui first. Select the right sensor ( you can calibrate or not) 

# that connects the optical fibers.( This can also be done with the Realterm) 

# Close the ST VL53L3CX Gui.The Gui will leave either the gui or range channel open.

 

# Open the Realterm (set up wight with all the good parameters )to check the channels.

# Realterm: Check "Display As" and select Ascii (fifth from the bottom), check "New Line mode" and check "Scrollback" at 200.

# Realterm: Change Baud to 460800, and select serial port Necleo is plug in and highligth "open"

# Realterm: Check +CR in the "Send" menu. Use command "ch_list" and hit "Send ASCII" to see channels openings.

# This program is to show the histo data from VL53L3CX run on Nucleo.

# Run the ST VL53L3CX Gui first. Select the right sensor ( you can calibrate or not) 

# that connects the optical fibers.( This can also be done with the Realterm) 

# Close the ST VL53L3CX Gui.The Gui will leave either the gui or range channel open.

 

# Open the Realterm (set up wight with all the good parameters )to check the channels.

# Realterm: Check "Display As" and select Ascii (fifth from the bottom), check "New Line mode" and check "Scrollback" at 200.

# Realterm: Change Baud to 460800, and select serial port Necleo is plug in and highligthed "open"

# Realterm: Check +CR in the "Send" menu. Use command "ch_list" and hit "Send ASCII" to see channels openings.

# Realterm: Use the commands such as "ch_close gui" to close the gui channel and "ch_open histo" to open the histo channel. 

# Realterm: Use "ch_list" to check the channel opening again.

# Realterm: Use "enable" to stream data, and use ^C button to stop streaming data. 

# Realterm: Hit "open" under port to un-highlight and close the port so Python can have access to

# Realterm:the port that you have your Nucleo plugged in, normally shown 1 to 4.

'''

'''

Now this Python program is getting to run and see the Nucleo histo data. Instructions are below.

1. Open a Terminal window on your PC, assuming Python has been installed.

2. Change directory to the program saved in my Documents folder. In this case I enter "cd Documents"

3. Enter "Python First.py" in the terminal to run this program.

4. When the prompt "y" shows up, hit "Enter" a few times until you see the raw histo data showing on the terminal

5. Enter "bar300" to test the histogram graph. The number after bar is the time in seconds

6. Due to some data mis-transmission reasons, it tends to run shorter time than it is set up.

7. You can continue to run "bar3000" for another longer run after your assigned time is up and "y" prompt shows up.

8. Enter "stop" to stop the program when prompted of "y"

9. You can also close the terminal if want to stop the program.

'''

Categories:
132 Views