<div dir="ltr"><div><div>Success! It did indeed need more power, and the tx pin on the ESP had to be wired to the rx pin of the Sparkfun FTDI
 board, which is opposite of other serial adapters I've seen.<br><br></div>For those interested, I got the 'AT OK' response with 9600 baud and NL + CR line ending.<br><br></div><div>Thanks for the help,<br></div><div>~Nathan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 1:19 PM, Pete Soper via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    This is nice information.<br>
    <br>
    I looked at it a bit and one thing that jumped out and swatted me on
    the nose is the fact that the radio board 3.3v power supply current
    draw can greatly exceed the current an FTDI chip can put out. The
    "usual" FTDI chips (and it appears Sparkfun is using a vanilla
    FT232RL) can only source about 50ma at 3.3 volts from their internal
    regulators. The ESP8266 board has typical (i.e. possibly far from
    "worst case") current requirements looking like this (from the table
    on the web site linked to below):<br>
    <br>
    
    802.11b, CCK 1Mbps, POUT=+19.5dBm 215mA<br>
    802.11b, CCK 11Mbps, POUT=+18.5dBm197mA<br>
    802.11g, OFDM 54Mbps, POUT=+16dBm145mA<br>
    802.11n, MCS7, POUT =+14dBm135mA<br>
    802.11b, packet size of 1024 bytes, -80dBm60mA<br>
    802.11b, packet size of 1024 bytes, -70dBm60mA<br>
    802.11b, packet size of 1024 bytes, -65dBm62mA<br>
    Standby0.9uA<br>
    Deep sleep10mA<br>
    Saving mode DTIM 1 1.2mA<br>
    Saving mode DTIM 3 0.86mA<br>
    Shutdown0.5uA<br>
    <br>
    So a lot of the time you're basically trying to kill the FTDI chip.
    I personally let the smoke out of one of these by accidentally
    telling it to try to supply a motor controller (off by an inch with
    the wire in the breadboard and hit the wrong power rail). They will
    die if tortured enough.<br>
    <br>
    So plan on the FTDI's 5v line driving an outboard 3.3v regulator
    with proper capacitors on both sides. An oscilloscope could confirm
    the radio is getting a proper supply and that it's not being yanked
    down by sudden changes in current demand.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    -Pete</font></span><div><div class="h5"><br>
    <br>
    <br>
    <div>On 05/19/2015 11:00 AM, Christian
      Lilley via TriEmbed wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">All of the information on the ESP8266 can be <a href="https://nurdspace.nl/ESP8266" target="_blank">found
          here.</a>
        <div><br>
        </div>
        <div>According to the wiki the baud rate should be <span>57600.
            Sparkfun does mention that a level shifter should be used
            and that it should not be connected directly to 5V sources. </span></div>
        <div><span><br>
          </span></div>
        <div><font color="#000000" face="Verdana, Arial, Trebuchet MS"><span style="font-size:12.3199996948242px;line-height:18.4799995422363px"><a href="http://allaboutee.com/2014/12/27/esp8266-arduino-code-and-circuit/" target="_blank">Here
                is an example </a>using the Arduino's software serial
              to communicate with the ESP and the normal serial lines to
              communicate with the FTDI board. This guy uses a 9600 baud
              rate but I don't know if that is a custom setting he uses.</span></font></div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>
            <div dir="ltr">
              <div style="font-family:arial,helvetica,sans-serif"><font style="font-family:arial,sans-serif" color="#444444">Christian
                  Lilley | Electrical Engineer</font><br style="font-family:arial,sans-serif">
                <div style="font-family:arial,sans-serif">
                  <div>
                    <div dir="ltr">
                      <p style="margin:0in 0in 0.0001pt;font-family:Calibri,sans-serif;font-size:11pt"><b><i><span style="font-size:8pt"> </span></i></b><span style="font-size:11pt;color:windowtext"><a href="http://www.gomohu.com/" style="color:blue;font-size:11pt" target="_blank"><img alt="images" type="image/png" border="0" height="32" width="200"></a></span></p>
                      <p style="margin:0in 0in 0.0001pt;font-family:Calibri,sans-serif;font-size:11pt"><span style="color:rgb(68,68,68)"><a value="+19198801283" style="color:rgb(17,85,204)">919.794.8627
                            ext 129</a></span></p>
                      <p style="margin:0in 0in 0.0001pt;font-family:Calibri,sans-serif;font-size:11pt"><span style="color:rgb(68,68,68)"><span style="color:rgb(255,255,0)"><a href="mailto:christian.lilley@gomohu.com" style="color:rgb(17,85,204)" target="_blank">christian.lilley@gomohu.com</a></span></span><span style="color:rgb(255,255,0)"><span style="font-size:13px;font-family:Verdana,sans-serif"></span></span></p>
                      <span style="color:rgb(255,255,0)"></span></div>
                  </div>
                  <span style="color:rgb(255,255,0)"><br>
                  </span></div>
                <div style="font-family:arial,sans-serif"><span style="color:rgb(255,255,0)"><a href="http://www.gomohu.com/" style="color:rgb(17,85,204)" target="_blank">www.gomohu.com</a></span></div>
              </div>
              <div style="font-family:arial,helvetica,sans-serif"><font><br>
                </font></div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Tue, May 19, 2015 at 10:44 AM,
          Nathan Yinger via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>
                    <div>
                      <div>So, I have an ESP8266, a new serial adapter (<a href="https://www.sparkfun.com/products/9873" target="_blank">https://www.sparkfun.com/products/9873</a>),
                        and I'm trying to get them to communicate.<br>
                        <br>
                      </div>
                      When I power up the ESP8266, it creates a wifi
                      network where I can join and ping it, but as far
                      as I can tell, reprogramming it requires a serial
                      connection.<br>
                      <br>
                    </div>
                    When the ESP8266 is powered on, the 'tx' light on
                    the serial adapter flashes continuously, which I
                    assume means the ESP8266 is transmitting something.
                    Nothing appears in my serial monitor though, not
                    even gibberish.<br>
                    <br>
                    I'm using the serial monitor that comes with the
                    Arduino IDE, with various baud rates and line
                    endings. I haven't found any documentation about the
                    byte length, parity, or character encoding used by
                    ESP8266. I get a TTYUSB device in /dev when I plug
                    in the serial adapter, so it appears to be doing
                    something.<br>
                    <br>
                  </div>
                  Does anyone know what's required to make the chips do
                  something? Or have a working setup they could bring to
                  the next meeting?<br>
                  <br>
                </div>
                Thanks,<br>
              </div>
              ~Nathan<br>
            </div>
            <br>
            _______________________________________________<br>
            Triangle, NC Embedded Computing mailing list<br>
            <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
            <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
            TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Triangle, NC Embedded Computing mailing list
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>