No wifi of lopy
-
i can't get the wifi of my lopy to connect it to my computer and use FTP to download the boot.py and main.py. It worked well before. how can i fix it ?
-
-
Hi @bucknall to establish a serial connection we need an adapter USB/TTL or juste micro USB cable ?
-
Hi @bucknall thanks for your help, but I could not do it because I do not have a serial USB cable.
-
Thanks @livius It worked well with this solution
in current situation try:
https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html#boot-modes-and-safe-boot
-
@assia Ok - lets try to get a serial connection working to diagnose the WiFi problem.
I'm on a Mac right now but it should be fairly similar -
What do you see if you enter the command:
$ ls /dev/ttyUSB*
Also have you used Serial to USB devices before? If not you may need to install the correct FTDI drivers for them to work - have a look here https://docs.pycom.io/pycom_esp32/pycom_esp32/getstarted.html?highlight=driver#connecting-a-board-using-pymakr-plugin
There's a note about the FTDI drivers which links you to this page http://www.ftdichip.com/Drivers/D2XX.htm
Let me know if that helps!
-
@bucknall
yes i am on Linux and i never managed to open a serial connection befor, so i used FTP.
-
@assia
in current situation try:
https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html#boot-modes-and-safe-bootI suppose you have script which change mode to STA
Better is changing it to WLAN.STA_AP in developement
and also have some developement check like Pin()==1 to enter in some mode, likeif Pin()==1: execfile('wifi_ap.py') else: execfile('wifi_sta.py')
-
@assia I'm assuming that you are on Linux? Also have you managed to open a serial connection before and now it has stopped working?
-
@bucknall
I have already tried it, and it did not work with serial connection using:
$ screen /dev/tty.usbmodem* 115200
i get: no such file or directory
-
@assia Hmm, can you open a serial connection with the board, i.e. connect to the board using USB and see what it prints out to the screen?
Thanks,
Alex
-
Hi @bucknall thanks for your response
it is not appearing at all
-