Controlling Arduino Mega via PC without cable connection

Hello,
I have an Arduino project that has been ongoing for a couple of months. To summarize my project I can say that me and my friends designed an electric vehicle for rough terrains. We have built most of our system but we have been wondering ways to communicate to the Arduino while it operates. We have two inputs that are determined by us for our system to operate on our desired velocity value and a few data retrieved from our encoders and accelerometer. To sum up we need a component that can be manipulated by our PC and can send data to us for monitoring.

Thank you kindly.

And your question is ?

I assume you are looking at WiFi technology?
what distance are you talking about? e.g.

  1. Bluetooth couple of metres
  2. WiFi 10 metres - more with good antenna or if you have a mesh
  3. HC-12 - 10's of metres
  4. LoRa point-to-point 100's of metres

0-15 meters of connection distance is required. I have seen examples of bluetooth and wifi modules on the forum but the examples that I have seen are commonly projects with controller boards that are connected to PC. The difference between our project and the others is that our Arduino Mega is mounted on a vehicle so we can not use it with cable.

if you have good WiFi coverage in the area try using a ESP-01 ESP8266 based WiFi module
it could run a WebServer which the PC could connect too using a WevClient to issue commands, e.g. have a look at esp32-web-server-slider-pwm

1 Like

@horace's ideas is a good solution.
Alternatively, you could use two ESP32s modules and use the ESPNOW protocol.

You will of course have to write the code for the PC with a suitable application , eg Labview.

I guess you could run macros in Putty as a starter

I think you have to design a shield like this: Wireless Programming Shield - YouTube

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