villTech wrote:you should know how the SerialEvent example from arduino and how ESP module AT Command work for a start.
Now:
- Connect esp module to arduino
a lot of good tutorials for that
- Connect ESP module to an AP
AT+CWMODE=3
AT+CWJAP="ssid","password"
- Start tcp server on esp module
AT+CIPMUX=1
AT+CIPSERVER=1,80
- Run a tcp client to connect/send data to esp module
Hercules on Windows
telnet on mac Terminal
TCP Test Tool on ipad/iphone
- esp will tx below data to arduino when client send '1'
+IPD,0,1:1
OK
client send '2'
+IPD,0,1:2
OK
client send '3'
+IPD,0,1:3
OK
- parse data on arduino using arduino SerialEvent sample as a reference
toggle arduino IO respectively.
That is some really good information but i'm looking for someone that can kind of teach me the basics and walk me through what i'm doing. I'm really just beginning with this kind of stuff. none of the tutorials say the same thing it seems like.