So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By kumouni
#78939 Hi, I'm a newbie and in a desperate need of help.
I want to send data (from adxl335 accelerometer) to my computer (Arduino IDE's serial monitor) wirelessly, using two esp8266-01.

I have a few Arduino UNO boards - to program esp8266, and for getting data from the sensor (accelerometer).
The idea is, having a set of Arduino UNO & esp8266 & accelerometer talk to a set of Arduino UNO & esp8266, that's connected to my computer.

I want to know what would be the best way to do this, without using the Internet / router?? and how??

I heard that a thing called ESP-Now (is this a library?) might be able to do this, but is this the right way to go??
Or can you think of other better ways?

Thanks in advance.
User avatar
By Thomas Patrick
#78958 I think your Arduino IDE serial monitor will only monitor what is coming through your COM port that it is monitoring.

"The idea is, having a set of Arduino UNO & esp8266 & accelerometer talk to a set of Arduino UNO & esp8266, that's connected to my computer."

This may be wrong but this is how I would approach your project with my moderate web background.

I would set up a Apache web server google WAMP (Windows. Apache. MySQL. PHP). Have the ESP sending GET or POST data to the web page you set up on your server for this project. I would have each UNO and ESP with a NRFL01 transceiver, so all devices can talk to the ESP (and each other. and the ESP talk to your computers web server.

This is how I would try with what tools im comfortable with.

Good Luck.
User avatar
By kumouni
#79001
Thomas Patrick wrote:I think your Arduino IDE serial monitor will only monitor what is coming through your COM port that it is monitoring.

"The idea is, having a set of Arduino UNO & esp8266 & accelerometer talk to a set of Arduino UNO & esp8266, that's connected to my computer."

This may be wrong but this is how I would approach your project with my moderate web background.

I would set up a Apache web server google WAMP (Windows. Apache. MySQL. PHP). Have the ESP sending GET or POST data to the web page you set up on your server for this project. I would have each UNO and ESP with a NRFL01 transceiver, so all devices can talk to the ESP (and each other. and the ESP talk to your computers web server.

This is how I would try with what tools im comfortable with.

Good Luck.


Hi Thomas,
Thank you very much for your reply.
Wow - ok, you are WAY ahead of me!! I'm sorry I'm such a beginner. I'll try to decode what you're teaching me - so,

1) I'd have to set up a web server on the first ESP8266,
2) Make a webpage on the server,
3) Send GET/POST data to the webpage,
4) Get two NRFL01 transceivers, one for each ESP8266.

Am I right?
I have 2 questions though -
For step 3), what is the difference between GET and POST?? Which one is easier / faster?
For step 4), what is transceiver? What do I need this exactly for in this setup??


Now, I have been googling and came across this tutorial:

https://robotzero.one/sending-data-esp8266-to-esp8266/

Is this basically the same thing as you've suggested? I've tried it out, and it works - but do you think the method you suggested is easier than this?