Uploaded October 2019 | Updated September 2026, 2 weeks ago
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
youtube.com/c/mobilefish/about
This is part 38 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this tutorial I will explain what a NEC antenna modelling software is and how to use the 4NEC2 antenna modelling software.
On Internet and YouTube you can find tutorials how to build certain antennas.
But often I wonder what is the performance of these antennas?
What if I use a slightly different wire diameter or slightly change the length of a particular wire?
Will these changes impact the antenna performance significantly of not at all?
Using an antenna modelling software can help you to answer these questions without having to build the actual antenna right away.
NEC (Numerical Electromagnetics Code) is a popular antenna modelling system for wire and surface antennas and simulates the electromagnetic response of antennas and metal structures.
The accuracy of the calculation depends on how well you model the antenna and the information you provide with regard to the ground and wire conductivity.
But be aware, in the real world using the actual antenna, the result will be slightly different compared to the simulation.
This is caused by reflections, weather conditions, where the antenna is mounted etc.
Here are a few NEC antenna modelling software:
EZNEC
Available for Windows.
It has a free and a paid version.
The free version has a 20 segments limit.
eznec.com
4NEC2
Available for Windows and its free.
This tool has many options.
qsl.net/4nec2
cocoaNEC
Available for MAC OSX and its free.
This tool has limited options.
w7ay.net/site/Applications/cocoaNEC
The previous mentioned 3 antenna modelling software uses the NEC-2 (Numerical Electromagnetics Code) engine which does all the calculations.
NEC was developed by the Lawrence Livermore National Laboratory in the 1970s and is an antenna modelling system for wire and surface antennas.
More information about NEC-2: nec2.org
The NEC2 documentation is composed of three sections:
Part I: NEC Program Description - Theory
nec2.org/other/nec2prt1.pdf
Part II: NEC Program Description - Code
radio-bip.qc.ca/NEC2/nec2prt2.pdf
Part III: NEC User's Guide
nec2.org/other/nec2prt3.pdf
NEC2 quick reference:
mobilefish.com/download/lora/nec2_quick_reference.pdf
The length of each segment must be between 5% and 10% of the wavelength.
If the ratio of segment length to wire radius is greater than 8 the NEC engine simulates the current flow in the wire as a very thin current thread.
The NEC engine uses the default "Thin Wire Kernel" (Do not use EK card)
If the ratio is between 2 and 8 the NEC engine should simulate the current to be evenly distributed on the circumference of the wire for a more accurate result.
In this situation you should use the EK card (Extended Thin Wire Kernel).
Never make the ratio go below 2.
4NEC2 software allows inline comments (single quotes) and SYmbol (SY) cards but these are 4NEC2 specific and is NOT part of the NEC2 specification.
Other software such as cocoaNEC will not run when they encounter SY cards.
This card deck can not be run in cocoaNEC because it uses SY cards and inline commands:
mobilefish.com/download/lora/collinear_868mhz_4nec2.nec.txt
You can use arithmetic operators, trigonometric functions, mathematical functions and predefined identifiers in the Symbol cards.
Do not cross wires.
Do not model elements below the ground (z=0).
cocoaNEC has several limitations which other antenna modelling software does not have.
For example: You can not model helixes in the spreadsheet, and helixes are not displayed in the 3D model.
It is important to see all your antenna elements in 3D to verify if your antenna is correctly modelled.
In cocoaNEC and 4NEC2 wire radius can be entered in American Wire Gauge format.
For example: #12
mobilefish.com/download/lora/awg2metric.pdf
More information about 4NEC2:
qsl.net/4nec2
Check out all my other LoRa/LoRaWAN tutorial videos:
youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
youtube.com/c/mobilefish/about
This is part 38 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this tutorial I will explain what a NEC antenna modelling software is and how to use the 4NEC2 antenna modelling software.
On Internet and YouTube you can find tutorials how to build certain antennas.
But often I wonder what is the performance of these antennas?
What if I use a slightly different wire diameter or slightly change the length of a particular wire?
Will these changes impact the antenna performance significantly of not at all?
Using an antenna modelling software can help you to answer these questions without having to build the actual antenna right away.
NEC (Numerical Electromagnetics Code) is a popular antenna modelling system for wire and surface antennas and simulates the electromagnetic response of antennas and metal structures.
The accuracy of the calculation depends on how well you model the antenna and the information you provide with regard to the ground and wire conductivity.
But be aware, in the real world using the actual antenna, the result will be slightly different compared to the simulation.
This is caused by reflections, weather conditions, where the antenna is mounted etc.
Here are a few NEC antenna modelling software:
EZNEC
Available for Windows.
It has a free and a paid version.
The free version has a 20 segments limit.
eznec.com
4NEC2
Available for Windows and its free.
This tool has many options.
qsl.net/4nec2
cocoaNEC
Available for MAC OSX and its free.
This tool has limited options.
w7ay.net/site/Applications/cocoaNEC
The previous mentioned 3 antenna modelling software uses the NEC-2 (Numerical Electromagnetics Code) engine which does all the calculations.
NEC was developed by the Lawrence Livermore National Laboratory in the 1970s and is an antenna modelling system for wire and surface antennas.
More information about NEC-2: nec2.org
The NEC2 documentation is composed of three sections:
Part I: NEC Program Description - Theory
nec2.org/other/nec2prt1.pdf
Part II: NEC Program Description - Code
radio-bip.qc.ca/NEC2/nec2prt2.pdf
Part III: NEC User's Guide
nec2.org/other/nec2prt3.pdf
NEC2 quick reference:
mobilefish.com/download/lora/nec2_quick_reference.pdf
The length of each segment must be between 5% and 10% of the wavelength.
If the ratio of segment length to wire radius is greater than 8 the NEC engine simulates the current flow in the wire as a very thin current thread.
The NEC engine uses the default "Thin Wire Kernel" (Do not use EK card)
If the ratio is between 2 and 8 the NEC engine should simulate the current to be evenly distributed on the circumference of the wire for a more accurate result.
In this situation you should use the EK card (Extended Thin Wire Kernel).
Never make the ratio go below 2.
4NEC2 software allows inline comments (single quotes) and SYmbol (SY) cards but these are 4NEC2 specific and is NOT part of the NEC2 specification.
Other software such as cocoaNEC will not run when they encounter SY cards.
This card deck can not be run in cocoaNEC because it uses SY cards and inline commands:
mobilefish.com/download/lora/collinear_868mhz_4nec2.nec.txt
You can use arithmetic operators, trigonometric functions, mathematical functions and predefined identifiers in the Symbol cards.
Do not cross wires.
Do not model elements below the ground (z=0).
cocoaNEC has several limitations which other antenna modelling software does not have.
For example: You can not model helixes in the spreadsheet, and helixes are not displayed in the 3D model.
It is important to see all your antenna elements in 3D to verify if your antenna is correctly modelled.
In cocoaNEC and 4NEC2 wire radius can be entered in American Wire Gauge format.
For example: #12
mobilefish.com/download/lora/awg2metric.pdf
More information about 4NEC2:
qsl.net/4nec2
Check out all my other LoRa/LoRaWAN tutorial videos:
youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan
![LoRa/LoRaWAN tutorial 1: IoT, LPWAN, Semtech, LoRa
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
https://www.youtube.com/c/mobilefish/about
This is part 1 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this video I will explain why LoRa is used in IoT projects.
The Internet of Things, or IoT, is a network of physical devices that are connected to the Internet and are able to talk to each other.
The prediction is that by 2020 there will be over 25 billion devices connected to the Internet.
There are many wireless technologies you can use to connect these devices to the Internet, such as:
- Short-range wireless communication
- Cellular communication
- LPWAN communication
In this video series I will be using equations and other information taken from several sources.
In my presentations these sources are referenced by the label [ref no].
1. Semtech: AN1200.22 - LoRa Modulation Basics (Revision 2, May 2015)
https://www.semtech.com/uploads/documents/an1200.22.pdf
2. Semtech: SX1276/77/78/79 Datasheet (Rev. 5, August 2016)
https://www.semtech.com/uploads/documents/DS_SX1276-7-8-9_W_APP_V5.pdf
3. Semtech: AN1200.13 - SX1272/3/6/7/8 LoRa Modem Design Guide (Revision 1, July 2013)
https://www.semtech.com/uploads/documents/LoraDesignGuide_STD.pdf
4. LoRa Alliance, Inc: LoRaWAN specification
https://lora-alliance.org/lorawan-for-developers
All my presentations used in this video series can be found here:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
LPWAN stands for Low Power Wide Area Network and this type of wireless communication is designed for sending small data packages over long distances, operating on a battery.
There are a number of competing technologies in the LPWAN space such as: Narrowband IoT (NB-IoT), Sigfox, LoRa and others.
In this video series I will only be focussing on LoRa.
The LoRa wireless technology was developed by a French start-up company Cycleo which developed the LoRa modulation technology.
In 2012 the Semtech Corporation (NASDAQ: SMTC) acquired Cycleo.
The LoRa radio and modulation part is patented and its source is closed.
Semtech has licensed its LoRa intellectual property (ip) to other chip manufacturers, such as HopeRF, Microchip, Dorji, etc.
The word LORA is a trademark of Semtech Corporation, filed in 2015.
More information about Semtech:
https://www.semtech.com/lora
The range between LoRa sender and receiver depends on the environment the equipment operates in.
Indoor coverage largely depends on the type of building material used.
Some notable records:
Andreas Spiess, ground to ground connection: 212 km (= 131.73 miles)
Weather balloon to ground connection: 702.67 km (= 436.61 miles)
Few use cases using LoRa technology:
- Smart utilities
Power transformer monitoring
Water level monitoring
Utility meter
Fuel monitoring (monitoring fuel levels in fuel tanks for heating houses)
- Health & Hygiene
Temperature / humidity monitoring
Environmental monitoring
Waste management (monitoring waste level in waste bins)
- Safety
Smart lightning
Water level monitoring
Radioactivity level monitoring
Dike monitoring (prevent peat dikes from drying out)
- Efficiency
Asset management (e.g. tracking containers, pallets, etc.)
Fleet management (e.g. tracking cars, vans, trucks, etc.)
- Agriculture
Monitoring animal welfare
Monitoring plant growing conditions
Check out all my other LoRa/LoRaWAN tutorial videos:
https://www.youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
https://www.youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan LoRa/LoRaWAN tutorial 1: IoT, LPWAN, Semtech, LoRa](https://i.ytimg.com/vi/cUhAyyzlv2o/mqdefault.jpg)









