Hi;
I have some esp01 clients and esp01 server. I uploaded code to directly to esp01. Now i need to send commands to arduino from my server. Server esp01 connected to arduino by tx, rx and other necessary pins. All samples and libraries i found about how to send command to esp01 from arduino.. But i need opposite of it... Is there any library or sample that you can advice?
dadrocker:
Now i need to send commands to arduino from my server.
That's way too vague to give any good recommendations. Please specify the kinds of commands you're talking about.
Take a look at Robon2's Serial Input Basics.
Pieter
My Clients has sr04 sensors. They read value and send to the server esp01. Through the values, i want to blink some leds by using digital pins of Arduino board. At first i had bypassed arduino board to create the webserver. Now i can't control the leds that connected to arduino board.
You could use something like this:
https://github.com/tttapa/Projects/tree/master/Arduino/Serial/Input Parsing/Binary-Protocol