Elektroda.com
Elektroda.com
X

D1 mini module - ESP8266 WIFI launch, start from IoT, Blynk, Thingspeak

TechEkspert 30618 43
This content has been translated flag-pl » flag-en View the original version here.
  • #31
    TechEkspert
    Editor
    I checked it in a scenario where the module was connected to a router that was a Wi-Fi AP sharing the internet.
  • #32
    TDA2593
    Level 9  
    I do not have much experience in this topic. Does the WiFi module need to see the router's network? What exactly does AP abbreviation mean? Sometimes I connect to the Raspberry, with a dedicated soft directly via a cell ... Regards.
  • #33
    inot
    Level 32  
    Quote:
    Does the WiFi module need to see the router's network?

    It's rather the opposite. The module should register with the router.

    See how the module reports through the serial port (USB).
    AP = access point.
  • #34
    TechEkspert
    Editor
    AP, i.e. a WiFi access point that provides internet connection, such as in hotels or at McDonald's, to which you connect, for example, with a smartphone or laptop. If you log into the router with the AP, you can see what the module does in the log. Information from the module's serial console (via USB) can also be useful.
  • #35
    blazrech
    Level 3  
    Hello. Can this be extended to say 4 relays? And to enable each separately. And control from app like this one way. Thanks in advance for your answer.
  • #36
    TechEkspert
    Editor
    Can be.
    Let's see what AI has to say.

    @ElektrodaBot Write the code for Arduino on the ESP8266 board that will control 4 relays through the blynk application on your smartphone.
  • #37
    blazrech
    Level 3  
    Thanks a lot for your answer. How should I understand the code I will write a bot?
  • #38
    TechEkspert
    Editor
    We'll see what he writes, you can compare it with the code from the first post.
  • #39
    blazrech
    Level 3  
    What does this line in the code mean?
    char auth[] = "Your_authorization_code";
    What do you need to enter here?
  • #40
    TechEkspert
    Editor
    The token for blynk, after installing the application and entering the e-mail, comes to the inbox.

    @ElektrodaBot how to get a token for the blynk application that allows you to control IoT devices and what are the limitations of the free blynk version?
  • #41
    blazrech
    Level 3  
    Hello. Thank you for your help. Everything works ok. The question is, is it possible to somehow set the application so that a given switch is turned on for 20 minutes and then turns off by itself? If so, how to set it up.
  • #42
    TechEkspert
    Editor
    I don't know in the application, but maybe in the program code it would be possible to change the output state after a certain time?
    I just don't know if it can be synced with the app...