Chat freely about anything...

User avatar
By spencer_
#4103
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.
User avatar
By hwiguna
#4104
spencer_ wrote:
hwiguna wrote:I know how frustrating it could get sometime. :( There is a lot to learn. So, I made some videos as I figured things out. I've made 5 videos on the ESP8266 so far. Feel free to post questions on my videos or here. No need to pay me. I will do my best to help. :geek:



i'm confused about your wiring of the device in the video because it differs from this tutorial.

http://www.madebymarket.com/blog/dev/ge ... p8266.html

are you absolutely sure about those gpio2 and gpio0 connecting like that?


Since at the time, I was only interested in the "AT" commands. It did not matter. If you want to actually read a button or control an LED, of course you would not connect those I/O pins straight to 3.3V. Also remember that if GPIO 0 is connected to ground DURING POWER UP, the module will be waiting for new firmware instead of running what's on the module.
User avatar
By villTech
#4108
hwiguna wrote:

'love what you did with your esp8266 test breadboard and with how you manage to expose all pins to breadboard.
and love it more when i saw your reflection from your lcd. :D :D :D

here is what i have on a mini breadboard too.
Image
ESP-03
Silab usb to serial
switch on GPIO12
led on GPIO2

not really sure if its impossible to power the ESP with FT232RL 3.3v/50ma output (lowest i tried is 150ma),
but if later you will see problem like unable to connect to AP, not complete boot up, boot loop, mostly this are power related issue.
you might want to change your power supply. but 5V from usb is still good to use.