How would i use an arduino uno and a node mcu esp8266 to communicate with my computer?

I have an arduino uno and esp8266 and I cant seem to find any tutorials on how to link the two together so i could have like a wifi arduino. I dont have the esp8266 wifi module by itself but i have the nodemcu esp8266 and Im wondering if i could use it just for the wifi. Thanks.

Why not use just the NodeMCU for the project ?

What will the Uno be doing in your project ?

Uno has more gpio pins

It has more pins, but what will you be using it for ?

i have 5 servo motors and one l298n motor controller with 3 motors

Load up MQTT Broker onto your computer. https://mosquitto.org/

Load up PubSubClient onto your MCU and code the data exchange.

https://randomnerdtutorials.com/?s=mqtt

will i need to buy anything extra to do this?

I think you'd want to buy 6 100mAh LiFePo4's and several 2000Watt inverters along with 20 100watt solar cells. How the heck am I supposed to know what you got on hand?

nah mate i dont have any of that except for one lifepo4 battery, i was asking because in the tutorials that you sent over they were also using a raspberry pi, which i dont have. I think im gonna have to just use the esp because it turns out there would be enough pins if i didnt use the en pins for my motors. thanks anyway i might try this later

You can load MQTT Broker onto your PC.

will i still need the stuff that you said before?

No.

I've heard from the MQTT broker now. I myself have a Nodemcu with ioBroker that runs on a RaspberryPi. This makes sense, because if data is also to be sent at night, the PC is usually not on. But if the RaspberryPi is somewhere, you don't hear it, it's much quieter and doesn't consume as much power. With the ioBroker you can then integrate an ESP8266 via MQTT, for example, and then control the motors.
I hope I could help you
Nice greetings,
cloudDev

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