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

    LoPy Antenna Setup / Installation

    Scheduled Pinned Locked Moved LoPy
    27 Posts 13 Posters 15.6k Views 12 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.
    • T Offline
      te-bachi
      last edited by

      Hi,

      I received my LoPy just recently and would like to play with it.

      But I haven't received any documentation. I read https://docs.pycom.io/lopy/lopy/general.html but there is no section on how to install an external antenna. Is it mandatory or not? Only Lora external antenna mandatory? How can I switch from the Wifi internal antenna to the external antenna? Just plug the pigtail cable onto the LoPy module or are further steps need?

      From "other devices" I know that setting up the RF-part is important. If someone powers up this device without installing an antenna, the RF-part could be destroyed!

      Please write something about the antenna installation...

      Regards,

      Andreas

      L B 2 Replies Last reply Reply Quote 0
      • L Offline
        LoneTech @te-bachi
        last edited by LoneTech

        @te-bachi There is an internal wifi antenna and two connectors for external antennae, both U.FL. The one near the LED and reset button is for LoRa, the white block in the other end is the WiFi antenna. LoRa's longer wavelengths require the use of an antenna such as the one at Pycom's webshop. Without it, the radio still works but the long range (measured in kilometers!) is reduced to a few centimeters; but the store page also recommends not trying this, apparently it really can harm the radio. You can select WiFi antenna (the internal one is used by default) with the network.WLAN().antenna() method.

        A 1 Reply Last reply Reply Quote 0
        • E Offline
          Eriond
          last edited by

          This information should really be somewhere among the "things you should do before starting your board" -stuff.

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

            running without antenne might break your radio! never turn on without antenna!

            B bmarkusB 2 Replies Last reply Reply Quote 0
            • B Offline
              bartvandeenen @bartvrancken
              last edited by

              @bartvrancken
              Ok, I did run lorawan, without the antenna (well it was actually on the wrong connector!).

              So can I tell if the radio chip is broken ? wifi runs fine, is this the same hardware? Does wifi interfere with the lora radio? Where can I find this info?

              Greetings

              X 1 Reply Last reply Reply Quote 0
              • X Offline
                Xykon administrators @bartvandeenen
                last edited by

                @bartvandeenen According to the specification sheet LoRa is using a Semtech LoRa transceiver SX1272 while Wifi/BT is using Espressif ESP32 Dual Core Microcontroller,

                Not sure how the Semtech transceiver can be tested other than sending data between two LoRa devices.

                Christian Ehlers

                bmarkusB 1 Reply Last reply Reply Quote 0
                • bmarkusB Offline
                  bmarkus @bartvrancken
                  last edited by

                  @bartvrancken said in LoPy Antenna Setup / Installation:

                  running without antenne might break your radio! never turn on without antenna!

                  I don't think transmitting without antenna you can break the LoRa transceiver. I'm using gateways and devices without antenna many times for testing or just by accident with no issues (not LoPy but others with the same Sx127x chips).

                  1 Reply Last reply Reply Quote 0
                  • bmarkusB Offline
                    bmarkus @Xykon
                    last edited by bmarkus

                    @Xykon said in LoPy Antenna Setup / Installation:

                    @bartvandeenen According to the specification sheet LoRa is using a Semtech LoRa transceiver SX1272 while Wifi/BT is using Espressif ESP32 Dual Core Microcontroller,

                    Not sure how the Semtech transceiver can be tested other than sending data between two LoRa devices.

                    If you want to see the transmitted signals on the physical level you can go for an SDR (software defined radio) with a free SdrSharp software and a cheap DVB-T USB stick (RTL)., see http://airspy.com/

                    For LoRa test you need a proven, working LoRa device instead of two LoPy, at least in this stage. There are many vendors, e.g. Microchip's http://www.microchip.com/wwwproducts/en/RN2483 This module requires only a serial terminal and you can configure, send, receive with simple text commands. There are evaluation boards also with sensors and USB interface with this chip to connect to Linux, Windows via USB serial. Or the mikroelektronika click module http://www.mikroe.com/click/lora/

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      borjam @te-bachi
                      last edited by

                      @te-bachi RF stuff requires some care. So I would recommend you to always install a proper antenna. Some transmitters can be damaged without one, or some circuits can misbehave due to interference. At the end of the day, the way to avoid unpleasant accidents and paranormal phenomena is to keep the simple rule: antenna always connected.

                      If you don't want to install an antenna, use a cheap 50 ohm terminator with a SMA connector. I would tell you to verify that it supports the transmitter power, but 14 or 20 dBm won't be an issue :)

                      Hint to Pycom: it would be a good idea to sell an accessory kit with, say, a couple of terminators, a couple of good quality coax cables terminated in SMA connectors and an assortment of attenuators. There are cheap 20, 30 or 60 dB attenuators available nowadays, and in case of doubt it can be really helpful to find out wether interference or bad software is causing problems.

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        rskoniec
                        last edited by

                        Just wondering - what if I'm not using network.LoRa in my project - connected LoRa antenna requirement is still an issue?

                        The machine is working as good as it's code.

                        B L 2 Replies Last reply Reply Quote 0
                        • B Offline
                          borjam @rskoniec
                          last edited by

                          @rskoniec said in LoPy Antenna Setup / Installation:

                          Just wondering - what if I'm not using network.LoRa in my project - connected LoRa antenna requirement is still an issue?

                          It won't transmit if you don't use it, so it shouldn't be an issue. Still, it is good practice to always "keep holes properly plugged" ;)

                          Just a healthy habit.

                          R S 2 Replies Last reply Reply Quote 0
                          • L Offline
                            LoneTech @rskoniec
                            last edited by

                            @rskoniec That should be fine. You can shut the LoRa radio down with network.LoRa(power_mode=network.LoRa.SLEEP), but it should be OK to just not transmit.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rskoniec @borjam
                              last edited by

                              @borjam @LoneTech Thanx :-)

                              The machine is working as good as it's code.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                SakshamaGhoslya @borjam
                                last edited by

                                @borjam "Using the LoPy hardware without antenna can harm"
                                Can you please elaborate it little bit?
                                What kind of signals can harm the hardware?
                                How will they harm it?

                                L B 2 Replies Last reply Reply Quote 0
                                • L Offline
                                  livius @SakshamaGhoslya
                                  last edited by livius

                                  @SakshamaGhoslya
                                  Starting without an antenna may damage the hardware

                                  think about people first, then computers

                                  bmarkusB 1 Reply Last reply Reply Quote 0
                                  • bmarkusB Offline
                                    bmarkus @livius
                                    last edited by

                                    @livius said in LoPy Antenna Setup / Installation:

                                    @SakshamaGhoslya
                                    Starting without an antenna may damage the hardware

                                    Regarding the LoRa part (SX127x), transmitting w/o antenna will not damage the device. Even it is necessary to use it w/o antenna if you are experimenting two LoRa devices close to each other to avoid loss packets, overriding receivers.

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

                                      @bmarkus
                                      this was on Pycom documentation - i do not remember the exact place

                                      think about people first, then computers

                                      bmarkusB 1 Reply Last reply Reply Quote 0
                                      • bmarkusB Offline
                                        bmarkus @livius
                                        last edited by

                                        @livius said in LoPy Antenna Setup / Installation:

                                        @bmarkus
                                        this was on Pycom documentation - i do not remember the exact place

                                        And it is my personal experience working with Lora devices and gateways :)

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          borjam @SakshamaGhoslya
                                          last edited by borjam

                                          @SakshamaGhoslya

                                          Some wireless hardware can suffer damage when transmitting without a proper termination impedance. Also, it's possible to suffer some unexpected interference in other parts of the circuit due to stray RF.

                                          For instance, a coworker had problems with a router last month. Its GbE port wouldn't work at 1 Gbps. It turned out the culprit was a 5 GHz wireless interface which didn't have an antenna connected. It wasn't being used but it wasn't disabled either, and its default transmission power was 30 dBm (1 W).

                                          Although you won't likely damage the LoPy by operating it without an antenna. As a general rule, always keep healthy habits when dealing with RF equipment. So, use an antenna or a 50 ohm terminator It will never hurt, and you will make sure that your test results are reproducible. And you will avoid paranormal phenomena.

                                          If you have overload problems try separating the units a couple of meters, use an attenuator and/or lower transmission power.

                                          Regarding damage: when a radio transmitter is not properly terminated, part of the transmitted energy is "reflected" towards the transmitting circuit instead of being absorbed and radiated by the antenna. If the reflected energy is too much it can really damage the transmitter. As a minimum it can cause overheating.

                                          I insist: even if the transmitter won't be damaged, develop the habit of keeping the holes plugged.

                                          bmarkusB 1 Reply Last reply Reply Quote 3
                                          • bmarkusB Offline
                                            bmarkus @borjam
                                            last edited by

                                            @borjam said in LoPy Antenna Setup / Installation:

                                            @SakshamaGhoslya

                                            Some wireless hardware can suffer damage when transmitting without a proper termination impedance. Also, it's possible to suffer some unexpected interference in other parts of the circuit due to stray RF.

                                            For instance, a coworker had problems with a router last month. Its GbE port wouldn't work at 1 Gbps. It turned out the culprit was a 5 GHz wireless interface which didn't have an antenna connected. It wasn't being used but it wasn't disabled either, and its default transmission power was 30 dBm (1 W).

                                            Although you won't likely damage the LoPy by operating it without an antenna. As a general rule, always keep healthy habits when dealing with RF equipment. So, use an antenna or a 50 ohm terminator It will never hurt, and you will make sure that your test results are reproducible. And you will avoid paranormal phenomena.

                                            If you have overload problems try separating the units a couple of meters, use an attenuator and/or lower transmission power.

                                            While you are right in general, my answer was specific to SX127x.

                                            B 1 Reply Last reply Reply Quote 1

                                            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
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom