Python Forum
Python_Windows_Wifi/access point - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Networking (https://python-forum.io/forum-12.html)
+--- Thread: Python_Windows_Wifi/access point (/thread-17163.html)



Python_Windows_Wifi/access point - samerou - Mar-31-2019

Hello ,
It's my first day with this comunity , Smile Smile
I have a project that I'm working on it and now I'm in a phase where I need to make things more complicated Angel
My task is about sending messages from sensor to PC via Microcontroller and then I have script that runs from PC to recieve values and copy them into file . the sending requires IP adress provided from PC and it need to be connected to Internet or a specific access point .

So I was wondering if there is away to connect my PC to wifi using Python ?


Any suggestion are welcome Idea

Thank you and have a nice day

Best Resgards ,

Samerou


RE: Python_Windows_Wifi/access point - niala38 - Mar-31-2019

Hi Samerou,
Classical approach is to use Wifi microcontroller (here ESP32 or 8266) as a web server
and exchange data with a navigator thru html.
Here are some links :
https://randomnerdtutorials.com/low-power-weather-station-datalogger-using-esp8266-bme280-micropython/#more-78800
https://randomnerdtutorials.com/esp32-esp8266-micropython-web-server/#more-76664
https://randomnerdtutorials.com/esp32-web-server-with-bme280-mini-weather-station/#more-69087
Rui Santos sells micropython esp32/8266 micropython excellent course :
https://randomnerdtutorials.com/micropython-programming-with-esp32-and-esp8266/
Good luck,
Alain


RE: Python_Windows_Wifi/access point - samerou - Mar-31-2019

(Mar-31-2019, 07:28 PM)niala38 Wrote: Hi Samerou,
Classical approach is to use Wifi microcontroller (here ESP32 or 8266) as a web server
and exchange data with a navigator thru html.
Here are some links :
https://randomnerdtutorials.com/low-power-weather-station-datalogger-using-esp8266-bme280-micropython/#more-78800
https://randomnerdtutorials.com/esp32-esp8266-micropython-web-server/#more-76664
https://randomnerdtutorials.com/esp32-web-server-with-bme280-mini-weather-station/#more-69087
Rui Santos sells micropython esp32/8266 micropython excellent course :
https://randomnerdtutorials.com/micropython-programming-with-esp32-and-esp8266/
Good luck,
Alain

Hi Alain , thank you for your answer ,
I'm trying to connect PC to Wifi not the microcontroller to Wifi , it's look like the same but it's a different approach I think "Micropython" Smile

Here what I'm looking for is a way to make my PC to connect a given Wifi name

Hope you this clarify my needs Big Grin