How do I make data from LiDAR sensor wirelessly transfer it's data to vibration motors?

Hello!

The LiDAR sensor and and the multiple vibration motors are both going to be connected to a RPiPico but hear me out.

Esentially, I want the LiDAR to sense an obstacle and send a signal to the Vibration motor and make it vibrate. I wanted the range to be 5-8 meters as the LiDAR I am using has a range of 8 meters. I know bluetooth might be one of the options (even that I am going to have a difficult time coding because I have low experience) if I am using a RPiPico but just wanted to know if there's any alternatives to this, even with an arduino perhaps.

I think you can already tell I have very low experience with any of these devices but I am willing to try.

Hope someone can help!

With two ESP32's or ESP8266 you could use the ESP-Now protocol that's very simple to use.
With Pico or Arduino and a 433MHz transmitter/receiver pair you could use the Radiohead library. Also pretty easy.

You could use BLE as you mentioned, but that's probably the hardest way to do it.

there is the Raspberry Pi Pico W which has built in 2.4GHz 802.11n WiFi connectivity
using a pair

  1. you could connect to a local WiFi network and use TCP/IP client/server to transfer the data
  2. one could act as an access point running a TCP server with a client connecting too it

or as @cedarlakeinstruments recommends use a pair of ESP32/ESP8266 microcontrollers transferring data using WiFi TCP/IP or ESP-NOW

both the RP2040 Pico W and ESP devices are supported by the Arduino IDE with libraries for connecting to WiFi networks, setting up client/servers, etc

if you with to use BLE the ESP32 has onboard WiFi, Bluetooth Classic and BLE - but as @cedarlakeinstruments mentions BLE is none trivial to use

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.