One step further in attempt to make a wireless system between the base rover station and the spinning Laser module.

 

In a Nutshell :-

Using an ESP8266 with attached (i2c)Time of Flight laser module VL53L0X , loaded with "PainlessMesh" program.

The base station rover ESP32 is also loaded with the "PainlessMesh" program.

Then they search and find each other and a channel is opened to transmit packages of live data over its kinda adhoc Wifi path.

What this means is that there will be no physical wires between the two modules, so you can spin the TOF ESP8266 without fear of wires tangling or noisy spin contact couplers.

 

 

GroG

5 years 7 months ago

Awesome Gareth !! 

Brilliant, you've made a RF Slip Ring !

Pefrect for fast spinny electronic things like Lidar Scanners 

WOOH !

"Slip Ring" escaped me when I was trying to remember the mechanical variant.

After this video I started to wind up the speed of the data transfer (debug was turned on by default ... which was also transfered over the mesh network - the RX counter was doing overtime, killing debug gave just the pure data TX - phew).

Unfortunately inclusion of "delay(xxxx)"  in the Laser Time of Flight code killed the continuity of the data transfer ..Gahh, somewhere in the TOF libraries there must be a delay(xxxx) element putting a bent spanner in the works.

Sending pure variables over the mesh network presents no problems !!!

So now working on Plan B and a Plan C :-

Plan B :- Run the mesh network code on one core of the ESP32 and the TOF on the second core.

Plan C :- I will do this anyway for fun...

  1. The top spinning ESP32/ESP8266 will TX data into an IR LED.
  2. The Bottom ESP32 will have an IR detector (LED!!!)
  3. My stepper has a hollow drive shaft.
  4. Shine the TX LED through the Shaft and the RX will pick the serial data.
  5. Its an enclosed system (lightwise) so I think I can get away with just LEDs.

Looks like I have quickly plumped for  Plan "C"

Basically TX_ing data over IR link through the hollow Stepper shaft.

As calculated because the system (hollow stepper shaft) is not exposed to ambient light and there is maybe 2cm gap between IR TX and IR RX sensor there is a massive signal, and definite logic level swing.

Credit goes to the MRL Elves...