Hello everybody, let me start by saying that I'm a complete newbie to the world of programming and microcontrollers in general and also new to this Element14 community. I'm here to ask for your help and YOU are my last hope. I am working on a project where a laser distance sensor(precisely the Wenglor PNBC006) will be placed over a car tyre ( at about 200mm) and it will be moving through a slide controlled by a stepper motor along the width of the tyre; this laser basically has to "reproduce" the tyre treading profile by measuring the distance over the tyre treading itself; my question is : HOW IN THE WORLD DO I GET THE SENSOR READINGS FROM RASPBERRY PI 4 and plot those readings in such a way that I get a continuous line plotted that reproduces the tyre treading profile scanned?
I have been through the documentation of the laser and it mentions that it support 2 kind of connections: M12 8pins cable AND an Ethernet one; from my understanding (based on the docs on the web) i can connect the sensor to a specific Ethernet switch and access the "control panel interface" of the sensor with an IP address which is provided in the Wenglor docs; till I'm ok; but how do I get the readings from the sensor straight to Raspberry pi?!?
Please help me out or point in the right direction! I'm quite disperate since I've also blasbt a couple of emails to the Wenglor assistance 2 weeks ago and did not get any answer back(probably i will never get one because of 'stupid and useless ' question exposing my ignorance! ..what a frustration!! I really appreciate any information, anything that could potentially point into the right direction.
Here is the sensor
Here is the official doc
www.wenglor.com/.../__secure__
PLEASE HELP ME OUT
THANK YOU SO MUCH ALL