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

    Designing a board for the OEM modules

    Scheduled Pinned Locked Moved Discussion
    bugsw01oemboard layoutimpedance match
    20 Posts 6 Posters 5.0k Views 7 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.
    • L Offline
      littlebat @jmarcelino
      last edited by

      @jmarcelino the chip output is 30+j10 but the module output should be 50. If you look at the baseboard schematic it just goes through 2 caps to the ipex connector.

      R J 2 Replies Last reply Reply Quote 0
      • R Offline
        Richard @littlebat
        last edited by

        @littlebat are the 2 caps in the schematic for the antenna switch (the datasheet of the switch recommends capacitors, there) or actually for the connector?

        1 Reply Last reply Reply Quote 0
        • J Offline
          jmarcelino @littlebat
          last edited by

          @littlebat
          Well that is interesting because the output of the module is just a simple micro strip from the ESP32 pin.

          0_1502801197174_IMG_2580.jpg

          R L 2 Replies Last reply Reply Quote 0
          • R Offline
            Richard @jmarcelino
            last edited by

            @jmarcelino are there maybe differences between the OEM module and this one on the dev-board? They are also different in RAM memory (from the specs).

            T 1 Reply Last reply Reply Quote 0
            • L Offline
              littlebat @jmarcelino
              last edited by

              @jmarcelino hmm that is a bit unexpected

              1 Reply Last reply Reply Quote 0
              • T Offline
                this.wiederkehr @Richard
                last edited by

                @Richard said in Designing a board for the OEM modules:

                are there maybe differences between the OEM module and this one on the dev-board?

                As I see, another difference is, that on the dev-boards an internal pin (GPIO16) is used to control the antenna switch whereas on the baseboard design it's controlled by P12 GPIO21. So if you wan't to use the external switch you are loosing one IO with the oem module compared to the dev-board.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  Richard @jmarcelino
                  last edited by

                  @jmarcelino is there a way to make it work with an 50 Ohm external antenna without going into a lab for impedance matching? Is there a reference Layout for this? From the photo that you have postet, the dev-board seems not really optimized for the external antenna, or am i wrong?
                  Thank you for your replies so far!

                  J 1 Reply Last reply Reply Quote 0
                  • R Offline
                    Richard @this.wiederkehr
                    last edited by

                    @this.wiederkehr thanks, good point. Luckily i am not going to use the antenna switch.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmarcelino @Richard
                      last edited by jmarcelino

                      @Richard
                      Is this going to be a commercial product? If so I recommend having it done professionally, otherwise any problem may become more much more expensive in certification.

                      If it's more a hobby thing then you could try without a matching network (or add one but just bridged with 0 ohm resistors or /unpopulated) You'll probably suffer range/bandwidth issues, but you'll be in good company with thousands of other products :-)

                      The third option is to try and learnt if for yourself using something like the miniVNA. Warning this is a challenging - but rewarding - path.

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        Richard @jmarcelino
                        last edited by

                        @jmarcelino Thanks, the third option sounds reasonable, since it may become a commercial product, when it's ready :-)
                        I also found this statement in the ESP32 datasheet https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf in section 3.4.2:

                        The use of digital calibration further improves the linearity of the power amplifier, enabling state-of-the-art performance of
                        delivering +20.5 dBm of average power for 802.11b transmission and +17 dBm for 802.11n transmission.
                        Additional calibrations are integrated to cancel any imperfections of the radio, such as:
                        • Carrier leakage
                        • I/Q phase matching
                        • Baseband nonlinearities
                        • RF nonlinearities
                        • Antenna matching
                        These built-in calibration routines reduce the amount of time required for product test and render test equipment
                        unnecessary.

                        Does that mean, that the antenna will adjust itself a bit to the board?

                        J I 2 Replies Last reply Reply Quote 0
                        • J Offline
                          jmarcelino @Richard
                          last edited by

                          @Richard said in Designing a board for the OEM modules:

                          Does that mean, that the antenna will adjust itself a bit to the board?

                          May well be true, but I think I see an antenna matching network inside Espressif's own module so I guess - even if true - it can only do so much.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Richard @jmarcelino
                            last edited by

                            @jmarcelino said in Designing a board for the OEM modules:

                            You do need impedance matching because the ESP32's output impedance is 30 + j 10 Ω, not 50 Ω.

                            The datasheet Datasheet states that it is 30 + j 10 Ohm, but in the Hardware Design Guidelines i found this in section 3.2.1.4 RF

                            The characteristic RF impedance must be 50Ω

                            This is confusing ^^ What does that mean in practice?
                            Is it a contradiction that the output impedance is 30 + j10 Ohm, but a 50 Ohm antenna should be used?

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmarcelino @Richard
                              last edited by jmarcelino

                              @Richard
                              Yes ESP32 documentation can be confusing - to everyone! :-)
                              My interpretation is: if you look at the version history of the datasheet you can see it has been updated with the new value (30+j10Ω) from the original 50Ω back in May so someone must have realised that it was incorrect.

                              The impedance of the ESP8266 was also a weird 39+j6 Ω so non-standard RF impedances are nothing new to Espressif.

                              It's possible that that the phrase you quoted from the hardware design guide hasn't been changed to reflect this. The hardware design guide strongly suggests that you use a pi matching network anyway.

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                Richard @jmarcelino
                                last edited by

                                @jmarcelino okay, thank you very much for your detailed answers, I appreciate this!

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  iotmaker @Richard
                                  last edited by

                                  @Richard @jmarcelino

                                  that miniVNA looks really good... I should have paid more attention to that class. I remember messing with the smith chart..

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Richard
                                    last edited by

                                    BTW, is the WiPy OEM module bluetooth certified? :-)
                                    The Bluetooth listing may be affordable, but whole certification is far more expensive...

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      danielm
                                      last edited by

                                      @jmarcelino
                                      Is there any recommended design of pi matching network for external WiFi antenna connected through u.Fl connector?

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jmarcelino @danielm
                                        last edited by

                                        @danielm
                                        Not that I know of. Personally - but I'm no RF expert - I'd just stick the known values into an online calculator such as https://www.eeweb.com/toolbox/pi-match

                                        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