I have: 2 arduinos UNO, 2 ESP01 transivers. But if that's not enough, I'm ready to buy something else I need to use one of Arduinos as a wifi hot spot, and the second as a modem. They should just be connected to each other :) P.S. This is for my school project! Subsequently, I will put some obstacles between the Arduinos to see how much the signal strength degrades.
-
what research have you done for your school project?jsotola– jsotola2023-02-12 16:53:29 +00:00Commented Feb 12, 2023 at 16:53
-
1Have you googled for how to use these with an Uno? Have you searched for libraries, that make it easier? Have you tried writing a program for the Uno? Have you searched for tutorials on how to setup an access point and how to connect to an access point?chrisl– chrisl2023-02-12 18:35:13 +00:00Commented Feb 12, 2023 at 18:35
-
Thank you very much for corrective questions. I'm from Russia, so I wanted to find content that could help me in the most accessible way - in Russian. But, on the Russian-speaking Internet, there are very small amount of people who are really interested in this topic. Most of the tutorials rested on controlling the Arduino with a phone via wifi, but this is not exactly what I needed :)smkzya– smkzya2023-02-14 12:59:03 +00:00Commented Feb 14, 2023 at 12:59
1 Answer
Here is the ESP8266 WiFi library:
https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi
In there You'll find an example for a WiFi access point:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiAccessPoint/WiFiAccessPoint.ino
And an example for WiFi client:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino
That should provide enough information for you to build your project.
To get the signal strength without connecting, you can use WiFiScan:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiScan/WiFiScan.ino
-
Thanks a lot a lot a lot!!! Do you have any information about how to correctly connect modules with arduinos?smkzya– smkzya2023-02-14 13:04:49 +00:00Commented Feb 14, 2023 at 13:04
-
google.com/search?q=esp8266+arduino+wiringRoman– Roman2023-02-14 15:24:12 +00:00Commented Feb 14, 2023 at 15:24