+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Newbie level 2
    Points: 20, Level: 1

    Join Date
    Apr 2019
    Posts
    2
    Helped
    0 / 0
    Points
    20
    Level
    1

    Why don't these ESP8266 boards work / do anything as-bought?

    I bought a wifi-controlled relay from a chinese vendor through ebay. It seems to be called a "ESP8266 ESP-01S" by most vendors. I thought all I'd have to do was power it up, see its wifi connection and connect to it, access a rudimentary gui using a browser, and configure it to connect to my wifi network, give it a static IP, gateway, etc.

    I see it's wifi network name is Farylink_somenumber. I connect to it. It's IP is 192.168.4.1 and my PC gets 192.168.4.2. I use my browser on it - and get nothing. I port-scan it (all 64k port) - nothing. I scan the entire 192.168.4.0/24 network to see if it's using a second IP for configuration. I get nothing. One other small detail - the board seems to have a single LED, but it doesn't come on, not even when I have a wifi connection to it.

    I bought 3 of these wifi relays, and each comes as 2 boards, one board is the relay and the other is the ESP8266 board. I've tried 2 of the ESP boards so far, and both behave as I've just described above. I've powered just the ESP8266 board by itself (I have lab power supply with plenty of current) so I know the power supply is fine (and used 3.3 volts).

    I start digging and learn about this whole esp8266 world. I really didn't want to have to learn about this world. I thought this thing would work "out of the box" and do what I wanted - which was to control a dumb relay over a wifi connection.

    So what I'm here to ask about is - why are these things sold with some sort of firmware that apparently does nothing? Is there anything known about the default functionality these boards have as shipped?

    I suppose I now have to cobble together a programming IDE, suitable firmware, and serial interface just to make this thing work as advertised?

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 81,409, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,346
    Helped
    4456 / 4456
    Points
    81,409
    Level
    69

    Re: Why don't these ESP8266 boards work / do anything as-bought?

    Show us a link or at least a photograph of the relay board.
    ESP8266 normally come with 'something' programmed into them but what that is depends on the manufacturer. They are programmable devices so the code and IP address is likely to be different from one product to another. It probably has DHCP enabled so try scanning your default network (probably 192.168.1.xxx) and see if it finds something. The LED is usually to show a connection has been established but again, it depends on what the code in the IC tells it to do.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 260,224, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,441
    Helped
    13826 / 13826
    Points
    260,224
    Level
    100

    Re: Why don't these ESP8266 boards work / do anything as-bought?

    Depending on the configuration and your network parameters, you may need a serial connection for the initial setup.



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 2
    Points: 20, Level: 1

    Join Date
    Apr 2019
    Posts
    2
    Helped
    0 / 0
    Points
    20
    Level
    1

    Re: Why don't these ESP8266 boards work / do anything as-bought?

    Here is a photo link direct from ebay:
    https://i.ebayimg.com/images/g/-mQAA...0t0/s-l300.jpg



  5. #5
    Super Moderator
    Points: 81,409, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,346
    Helped
    4456 / 4456
    Points
    81,409
    Level
    69

    Re: Why don't these ESP8266 boards work / do anything as-bought?

    Looking at identical products on Ebay they suggest you have to program the ESP8266 yourself. All you have bought is a relay driver board and a generic ESP8266 module.

    Don't despair, programming them is VERY easy, especially when there are only two programmable pins on the ESP8266-1. There are lots of examples on the Internet if you search for "esp8266 relay module programming". You will need a compiler, I suggest using Arduino IDE because it is free and very simple to use. Just download the example code, change the WiFi SSID and password to suit your system and hit go.

    You will need a gadget to program the ESP8266 module, they are very inexpensive. You plug the module into the programmer and the programmer into a USB socket, the IDE does the rest. Example:
    https://www.ebay.co.uk/itm/New-ESP01...e0a8f49337038c

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



--[[ ]]--