logo elektroda
logo elektroda
X
logo elektroda

[Solved] Connecting Multiple Phones to Arduino via ESP8266 for Data Communication

Kiboooo 738 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17727642
    Kiboooo
    Level 3  
    Can I connect more than one phone to the arduino with the esp8266 and send information to the arduino?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #3 17733348
    Kiboooo
    Level 3  
    And how to do it, because I have an esp 8266 module, but I haven't used it yet so I don't know how it works or how to program it.
  • ADVERTISEMENT
  • #4 17733894
    LChucki
    Level 31  
    Kiboooo wrote:
    I haven't used it yet so I don't know how it works or how to program it.

    C++ do you know?

    Added after 1 [minute]:

    Kiboooo wrote:
    connect more than one phone and send information to the arduino
    .
    Specifically what information?
    Which phone?
    What communication medium?
  • ADVERTISEMENT
  • #5 17733953
    Kiboooo
    Level 3  
    However, I am having trouble finding how to control the arduino with a smartphone using the esp8266 how to program the app in mit app inventor and what code to load into the arduino.
  • #6 17734232
    LChucki
    Level 31  
    Kiboooo wrote:
    and what code to load into the arduino.
    .
    So start with a C++, Arduino course from flashing an LED to more and more elaborate projects.
  • #7 17748699
    Kiboooo
    Level 3  
    I've been with arduino for a good two years now and I don't need either the basics of programming or even more the basics of c++ because I've been programming games, apps etc for a good 4 years now.
    I've just never had to deal with the esp8266, or any other network module so I don't know how to connect it, what code to use and how to make in mit app invator an application that communicates with this module.
  • #8 17749068
    khoam
    Level 42  
    Kiboooo wrote:
    I just never had to deal with the esp8266
    .
    And what specific model of ESP8266 module do you have? There are quite a few out there.
  • ADVERTISEMENT
  • #9 17753480
    Kiboooo
    Level 3  
    Esp8266 01.
  • #10 17753700
    kolgreen
    Level 16  
    Kiboooo wrote:
    I've been with arduino for a good two years now and I don't need either the basics of programming or even more the basics of c++ as I've been programming games, apps etc for a good 4 years now.
    I just never had to deal with esp8266, or any other network module so I don't know how to connect it, what code to use and how to make in mit app invator an application that communicates with this module.
    .


    If you are familiar with Arduino, you can program the ESP8266 in it too. Exactly the same environment, only you have to use the board manager to add something with ESP8266.
    See the article Uploading firmware to the ESP8266 section 3.3.
  • #11 17753733
    khoam
    Level 42  
    kolgreen wrote:
    Esp8266 01
    .
    You can also use the ESP-01 as a "WiFi modem" by connecting it over RX/TX to the Arduino. There are many examples on the web that describe such a mode of operation for the ESP-01.
  • #12 17753801
    Kiboooo
    Level 3  
    Well, that's the problem: I don't know where to find such articles.
  • #13 17753804
    khoam
    Level 42  
    Kiboooo wrote:
    Well, the problem is that I don't know where to find such articles.


    Link .
  • #14 17754024
    Kiboooo
    Level 3  
    Thanks to everyone for their help!

Topic summary

Connecting multiple phones to an Arduino via an ESP8266 module for data communication is feasible by configuring the ESP8266 as a WiFi server capable of handling up to five simultaneous connections. The ESP8266 can be programmed using the Arduino IDE after adding the appropriate board manager. The ESP-01 model can operate either as a standalone WiFi server or as a WiFi modem connected to the Arduino via serial RX/TX lines. Programming requires knowledge of C++ and networking concepts. For app development, tools like MIT App Inventor can be used to create smartphone applications that communicate with the ESP8266 module. Resources and tutorials on uploading firmware and setting up the ESP8266 server mode are available online to assist with implementation.
Summary generated by the language model.
ADVERTISEMENT