Shop OBEX P1 Docs P2 Docs Learn Events
Testing ESP-01s wifi module — Parallax Forums

Testing ESP-01s wifi module

Maybe this has been done 100 times before?
Anyway, getting feet wet with the dirt cheap ESP-01s wifi modules...

This example will let you type "AT" in PST and get "OK" back from ESP-01a (hey it's a start!)

One hurdle was that ESP wants CR+LF, so have to manually add LF when CR input detected from PST.

Besides power, just need to hook up RX, TX, and PD pins.

Have it working in putty too. That may be useful in future...

One issue seems to be a relatively small receive buffer in fullduplex serial.
Going to switch now to a 4-port serial driver (found in OBEX 2549) to fix that...

Comments

  • RaymanRayman Posts: 16,404
    edited 2026-05-24 11:39

    This version is better... Uses 4-port serial object from Tracy Allen (OBEX 2523) so not wasting cogs...
    Note: The one in OBEX 2549, didn't work here, not sure why...

    Did copy some functions like DEC from 2549 version to 2523 version though.
    Also, increased RX buffer for output from WiFi module in the driver.

    The increased buffer allows the "AT+GMR" command to give good data. Seems was overloading RX buffer before.

    This works with PST after code adds LF when sees CR in input from terminal.
    tying in "AT" should reply with "OK" and "AT+GMR" gives info on firmware...

Sign In or Register to comment.