ESP8266-01 sharing my enthusiasm


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: ESP8266-01 sharing my enthusiasm

    If you don't have an easy way to connect your PC to the wifi (as opposed to a LapTop which should have built in wifi)... I have had good success with one of these...
    http://www.amazon.com/Edimax-EW-7811...words=usb+wifi
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  2. #2

    Default Re: ESP8266-01 sharing my enthusiasm

    I had a quick look and was surprised to see an OTA method. I guess it works like a bootloader, with the usual potential to overwrite the bootload code when you're flashing?

    George

  3. #3
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: ESP8266-01 sharing my enthusiasm

    towlerg,

    Once you get the BASIC OS flashed into the device then ALL code programming is done OTA via the hosted IDE inside the module.
    The only reason to use the serial connection would be to gain additional information via feedback from the module.
    Some of that feedback includes...
    >attempts to connect to whatever wifi you have given it credentials for
    >the newly acquired IP address if a successful connection is made
    >if a wifi connection is not successful then you will see the fact that the device is reverting back to an AP so you can connect to it directly to modify configuration
    >after 30 seconds from most recent reset/poweron it will tell you it is starting to run the default program code (which is any code saved with out a specific file name)
    >other serial data, depending on code statements like "print" or "serialprint" that direct the module to send data to the serial pins tx/rx

    But once you have the BASIC OS loaded there really is no danger(that I have experienced) of overwriting or corrupting that OS from the IDE.
    You just write/save your ESPBASIC code in the IDE and then click the run button at the top of the IDE webpage.

    The serial feedback is just additional helpful information but not a necessary requirement to continue working with the module, changing/editing code, etc.

    In my example, where the module is displaying time of day, the only way for the module to get that time is to be in STATION mode, connected to my home wifi and the www.
    If the module is in the AP mode where you would connect to it directly (192.168.4.1) then it would not have access to any NTP server to get the time of day.

    The real power of this module (for me), and the connection to PIC BASIC on this forum, is to easily be able to interface to a PIC of your choosing and interface via the serial RX/TX and have your PIC running it's own program and have easy access to wifi and the www

    I hope this helps
    good luck
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

    Default Re: ESP8266-01 sharing my enthusiasm

    Dwight, I saw your project posted on the ESP8266 Forum and decided to add it to my NIXIE clock I built a few years ago. Here is the clock... I built them with some old salvaged VM100 tubes and sockets from a couple of Allen Bradley DRO's.
    Attached Images Attached Images      
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Replies: 1
    Last Post: - 19th July 2015, 03:38
  2. ESP8266 Memory Upgrade
    By MichelJasmin in forum Ethernet
    Replies: 0
    Last Post: - 19th July 2015, 03:35
  3. Sharing Crystal with 2 IC's
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th January 2013, 13:33
  4. sharing 3-wire eeprom
    By tishri in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2008, 04:23
  5. Sharing a USART
    By Ron Marcus in forum Serial
    Replies: 1
    Last Post: - 7th September 2005, 14:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts