SMA and U.FL RF Connector: Antenna Cable Guide for Projects
RF (radio frequency) connectors are a specialized class of coaxial connectors designed to maintain controlled impedance at high frequencies — from MHz to GHz. In the maker and electronics engineering world, two RF connector types dominate: SMA for external antennas and cable assemblies, and U.FL (also called IPEX MHF or AMC) for compact board-level connections. Choosing the right connector and cable for your project directly affects wireless range, signal quality, and compliance.
This guide covers SMA and U.FL connectors in detail — their specifications, variants, soldering and installation, cable types, and how to choose the right antenna cable for your IoT, drone, ham radio, or wireless project.
SMA Connector Overview
SMA (SubMiniature version A) is the most common RF connector used in hobby and professional electronics for frequencies from DC to 18 GHz (26.5 GHz for high-performance variants). SMA connectors are threaded (M4 thread) for secure mechanical connection, making them reliable in vibration-prone applications like drones and vehicles.
SMA Specifications
| Parameter | Value |
|---|---|
| Impedance | 50 ohm |
| Frequency range | DC to 18 GHz (standard) |
| Max frequency (precision) | 26.5 GHz |
| Thread | M3.5 x 0.6 (nominal 4mm) |
| VSWR (typical) | <1.15 at 3 GHz |
| Insertion loss | <0.15 dB at 3 GHz |
| Power handling | 0.5W at 18 GHz, 100W at 1 GHz |
| Mating cycles | 500 minimum |
SMA Variants: SMA-Male, SMA-Female, RP-SMA
SMA connector gender naming follows the center contact, not the outer shell:
SMA-Male (Plug)
- Center pin protrudes outward
- Outer thread is on the plug body
- Typically on cable ends and pigtails
- Also called SMA-M or SMA Plug
SMA-Female (Jack)
- Center socket recessed
- Outer thread accepts the plug
- Typically on PCBs, enclosures, and equipment panels
- Also called SMA-F or SMA Jack
RP-SMA (Reverse Polarity SMA)
RP-SMA reverses the center contact: the male connector has a socket, and the female connector has a pin. This creates an incompatibility with standard SMA to prevent accidental connection. RP-SMA is commonly used on:
- WiFi routers (2.4GHz, 5GHz)
- WiFi adapters and access points
- LoRa gateways (some models)
- Some drone and RC equipment
Critical warning: Do not force-connect SMA and RP-SMA — they look similar, thread together, but do not make proper electrical contact. Always verify whether your device uses SMA or RP-SMA before purchasing antennas and cables.
SMA Connector Locations
| Location | Type | Common Use |
|---|---|---|
| PCB edge mount | SMA-F edge launch | Custom PCBs, test boards |
| PCB end launch | SMA-F through-hole | Router boards, ham radio |
| Panel mount | SMA-F bulkhead | Enclosure antennas |
| Cable end | SMA-M crimp or solder | RF cable assemblies |
U.FL (IPEX) Connector Overview
U.FL is a miniature coaxial connector designed for board-to-board and board-to-antenna connections in portable devices. Manufactured by Hirose Electric, it is also sold under the brand names IPEX MHF (for MHF-1, MHF-4), AMC (by TE Connectivity), and W.FL.
U.FL Specifications
| Parameter | Value |
|---|---|
| Impedance | 50 ohm |
| Frequency range | DC to 6 GHz |
| Connector size | 2.0 mm diameter |
| Cable diameter | 0.81 mm (1.13 mm for MHF-4) |
| Insertion loss | <0.4 dB at 3 GHz |
| Mating cycles | 30 (very low — not for frequent mating) |
| Height | 1.0 mm above PCB |
Where U.FL Is Found
- ESP32, ESP8266, and other WiFi/BT module antenna connectors
- Raspberry Pi CM4 and WiFi modules
- GPS modules (u-blox NEO-M8N etc.)
- Laptop and tablet internal WiFi cards (MHF-4 variant)
- 4G/LTE modems and cellular modules
- Drone flight controllers with external antenna options
RF Cable Types
The cable connecting your RF connector to the antenna or equipment matters as much as the connectors. RF cables are coaxial — a center conductor, dielectric insulator, shield, and outer jacket. Loss per unit length increases with frequency.
Common RF Cables for Hobby/Maker Use
| Cable | Diameter | Loss at 1 GHz | Loss at 5 GHz | Application |
|---|---|---|---|---|
| RG-174 | 2.8 mm | 0.82 dB/m | 2.1 dB/m | Pigtails, short runs (<30 cm) |
| RG-316 | 2.5 mm | 0.69 dB/m | 1.7 dB/m | Pigtails, flexible applications |
| LMR-100 | 2.8 mm | 0.67 dB/m | 1.5 dB/m | Better than RG-174, similar size |
| RG-58 | 5.0 mm | 0.40 dB/m | 0.9 dB/m | Medium runs (1-5m) |
| RG-8/LMR-400 | 10 mm | 0.14 dB/m | 0.35 dB/m | Long runs (5-30m), mast cables |
Cable Loss Example
At 2.4 GHz WiFi, using 1m of RG-174:
Loss ≈ 0.82 dB/m * 1.3 (interpolated to 2.4 GHz) = ~1.1 dB
1 dB cable loss = 20% less power to antenna
3 dB = 50% less power
Recommendation: Keep pigtails under 30 cm.
For external installations, use LMR-400 for runs over 2m.
Impedance and Matching
All standard RF connectors (SMA, U.FL, N-type, BNC, MCX) and most antennas are designed for 50-ohm impedance. Using a 50-ohm cable with a 50-ohm connector and a 50-ohm antenna results in a matched system with minimum signal reflection and maximum power transfer.
Why 50 ohm? 50 ohm is a compromise between maximum power handling (33 ohm) and minimum loss (77 ohm). 75 ohm is used in TV/cable/video applications (maximum loss performance), which is why TV coax (RG-6) should NOT be used for RF antenna connections — it is mismatched.
Soldering and Installing SMA Connectors
Soldering SMA to PCB (Through-Hole)
- Insert the through-hole SMA female connector into the PCB holes
- Solder the 4 ground legs first, ensuring the connector sits flush against the PCB
- Solder the center pin to the signal pad
- Inspect for solder bridges between center pin and ground shell
- The RF trace on the PCB should be 50-ohm controlled impedance (calculate trace width for your stackup)
SMA Edge Launch Mounting
Edge launch SMA connectors mount at the PCB edge, with the coaxial axis running parallel to the board. The center pin solders to the signal trace, and the 4 ground clips solder to the ground plane on both sides.
- Critical: The edge launch connector must align precisely with the trace center — use a jig or precision positioning for consistent mounting
- Ground the clips on both top and bottom copper layers
Crimp vs Solder SMA Connectors
- Crimp SMA: Requires a crimp tool matched to the connector/cable combination. More reliable, preferred for production. RG-316 and RG-174 use different die inserts.
- Solder SMA: Solder the center pin and braid to the connector body. Suitable for prototyping. Risk of damaging the dielectric with excessive heat — use low-wattage iron and work quickly.
U.FL Installation and Mating
Connecting a U.FL Cable
- Align the cable connector over the PCB U.FL receptacle — the circular connector snaps in from above
- Apply gentle pressure straight down until it clicks
- Do not apply lateral force during mating — this can deform the center pin
- Verify the connector is fully seated (no gap between connector and PCB)
Disconnecting U.FL
Use a U.FL disconnect tool (a small plastic or metal lever) or carefully pry up the cable connector using a thin flat-blade tool at the edge. Never pull the cable — always pry at the connector body. U.FL is rated for only 30 mating cycles, so handle carefully.
U.FL on ESP32 Modules
Many ESP32 modules (ESP32-WROOM, ESP32-S3-WROOM) include both an onboard PCB antenna and a U.FL socket. To use an external antenna:
- Locate the antenna selection resistor (typically 0 ohm, near the antenna switch)
- Move the resistor from the internal antenna position to the external antenna position (or bridge with solder)
- Attach a U.FL to SMA pigtail cable
- Connect a 2.4GHz external antenna to the SMA end
Wireless Development Boards at Zbotic
For projects requiring RF connectors and external antennas:
- Waveshare ESP32-S3 Nano — WiFi and Bluetooth development board with antenna connector option
- ESP8266 WiFi Relay Module — WiFi-enabled IoT module for wireless control projects
- Arduino UNO R3 — Platform for testing RF module integration via SPI/UART interfaces
Pigtail Cables and Adapters
Common Pigtail Types
| Pigtail Name | One End | Other End | Use Case |
|---|---|---|---|
| U.FL to SMA-F | U.FL | SMA Female | Module to external SMA antenna |
| U.FL to RP-SMA | U.FL | RP-SMA Female | WiFi module to router-type antenna |
| SMA-M to SMA-M | SMA Male | SMA Male | Back-to-back extension (needs adapter) |
| N-F to SMA-M | N Female | SMA Male | Connecting SMA equipment to N-type antenna |
Adapter Losses
Every adapter and connector junction introduces a small additional loss (typically 0.1-0.2 dB per adapter). For long chains of adapters, this accumulates. Prefer direct cable assemblies with the right connector types at each end over chains of adapters.
Antenna Selection Guide
Antenna Types and Their Uses
- Stub antenna (rubber duck): Omnidirectional, 2 dBi gain. Good for short-range, general-purpose WiFi/LoRa/GSM. Standard with most kits.
- Fiberglass omnidirectional: Higher gain (5-9 dBi), omnidirectional. Better range in all directions from a fixed point. Good for base stations.
- Yagi directional: High gain (10-20 dBi) in one direction. Good for point-to-point links. Requires alignment.
- Patch/panel antenna: Flat, medium gain (8-12 dBi), narrow beam. For mounting on walls facing a coverage direction.
- PCB trace antenna: Built into the PCB. Zero additional cost, limited performance. Adequate for short range (<10m).
Sourcing in India
- SMA connectors: Available from Robu.in, Probots, and AliExpress/LCSC. Bulk orders from electronic wholesale markets (Lamington Road, Mumbai; SP Road, Bengaluru).
- U.FL cables: Pre-made U.FL to SMA pigtails widely available. Search “IPEX to SMA pigtail” on Robu.in, Amazon India, or Flipkart.
- RF cables (LMR-400 equivalent): Available from Ham radio suppliers and cable dealers. Brand “Times Microwave LMR” or equivalent “Belden 9913” available via industrial cable suppliers in India.
- Pricing: SMA connectors Rs 30-80 each, U.FL to SMA pigtails Rs 100-200, LMR-400 per meter Rs 200-400.
Frequently Asked Questions
What is the difference between SMA and RP-SMA?
SMA (standard) has a pin in the male connector and a socket in the female connector. RP-SMA (Reverse Polarity) reverses this: the male connector has a socket and the female connector has a pin. They are mechanically compatible (the threads mate) but electrically incompatible (no center contact connection). Use the same type on both ends of your cable. WiFi routers commonly use RP-SMA; test equipment commonly uses SMA.
Can I use RG-6 TV coax cable for antenna connections?
No. TV coax (RG-6) is 75-ohm impedance. RF connectors like SMA, BNC, and N-type are 50-ohm. Connecting mismatched impedances causes signal reflections, increased VSWR, and significantly reduced performance. Always use 50-ohm RF cable (RG-58, RG-174, LMR-400) with standard RF connectors.
How many times can I connect and disconnect a U.FL connector?
U.FL is rated for only 30 mating cycles. This is much lower than SMA (500+ cycles) or BNC (500+ cycles). Design your projects to minimize U.FL mating — use it as a semi-permanent connection. If you need frequent antenna changes, add a pigtail cable with U.FL on the PCB end and SMA on the antenna end, so you only connect/disconnect at the SMA side.
What RF connector should I use for a 2.4GHz WiFi project?
For PCB-mounted antenna connectors, use U.FL if space is critical, or a vertical SMA-F (or RP-SMA-F for compatibility with off-the-shelf WiFi antennas) for ease of antenna swapping. Use RG-316 pigtail cable between the U.FL and external SMA connector. Keep pigtail under 15-20 cm to minimize cable loss at 2.4 GHz.
What does VSWR mean for an antenna?
VSWR (Voltage Standing Wave Ratio) measures how well an antenna is matched to the transmission line. A VSWR of 1.0:1 is perfect (all power transmitted). A VSWR of 2:1 means about 11% of power is reflected back. Good antennas have VSWR below 2:1 across their rated frequency band. High VSWR wastes power and can damage transmitter final amplifiers in high-power applications.
Browse RF and Wireless Project Components
Find development boards and cables for your wireless electronics projects at Zbotic.
Add comment