Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    No wifi of lopy

    Scheduled Pinned Locked Moved LoPy
    lopywifi
    13 Posts 3 Posters 2.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      assia
      last edited by

      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 ?

      1 Reply Last reply Reply Quote 0
      • B Offline
        bucknall
        last edited by

        Hi @assia

        Can you see the SSID of the wifi access point or is it not appearing at all?

        Thanks,

        Alex

        Developer Evangelist - Pycom

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          assia @bucknall
          last edited by

          Hi @bucknall thanks for your response
          it is not appearing at all

          B L 2 Replies Last reply Reply Quote 0
          • B Offline
            bucknall @assia
            last edited by

            @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

            Developer Evangelist - Pycom

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              assia @bucknall
              last edited by

              @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

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bucknall @assia
                last edited by

                @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?

                Developer Evangelist - Pycom

                A 1 Reply Last reply Reply Quote 0
                • L Offline
                  livius @assia
                  last edited by livius

                  @assia
                  in current situation try:
                  https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html#boot-modes-and-safe-boot

                  I 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, like

                  if Pin()==1:
                     execfile('wifi_ap.py')
                  else:
                    execfile('wifi_sta.py')
                  

                  think about people first, then computers

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    assia @bucknall
                    last edited by

                    @bucknall
                    yes i am on Linux and i never managed to open a serial connection befor, so i used FTP.

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      bucknall @assia
                      last edited by

                      @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!

                      Developer Evangelist - Pycom

                      A 2 Replies Last reply Reply Quote 0
                      • A Offline
                        assia @livius
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          assia @bucknall
                          last edited by

                          Hi @bucknall thanks for your help, but I could not do it because I do not have a serial USB cable.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            assia @bucknall
                            last edited by

                            Hi @bucknall to establish a serial connection we need an adapter USB/TTL or juste micro USB cable ?

                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              livius @assia
                              last edited by

                              @assia said in No wifi of lopy:

                              adapter USB/TTL

                              Yes, you need converter

                              think about people first, then computers

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1 / 1
                              • First post
                                Last post

                              Pycom on Twitter

                              Pycom