Amateur Data Interchange Format (ADIF) File
- Details
- Written by: Jim Cessna - AC0KN
The purpose of the ADIF file format is to provide a standard format for amateur data. The standard format of the data can then be shared between various amateur programs and contests.
ADIF file syntax consists of four components; field-name, field-length, field-type, and its field-value. For example, field-name of “DATE”, has a field-length of “8” characters, has a field-type of date (yyyymmdd), and has a field-value of “20160625”. E.g., 20160123
The field-name may include the characters A-Z, 0-9, and _, but must begin with a letter. The field-type is optional. E.g., 20160123
The following is an actual ADIF file record from our KS DAY special event. We used our club’s copy of N3FJP software and just happens to be from the CW station on 40m. It contains header information (occurs 1 time), and a record which contain a group of fields for each QSO contacted. A record consists of all the fields between and including “CALL” and “EOR” (End of Record). So, if you had 30 QSOs, you’d have 30 records plus a header.
ADIF file starts here…
ADIF Export from N3FJP's Amateur Contact Log 5.2
Written by G. Scott Davis
www.n3fjp.com
Log exported on: 1/24/2016 6:50:50 PM
N3FJP's Amateur Contact Log
5.2
N3FJP's Amateur Contact Log
5.2
AA5SKV
20160123
163700
163800
40M
KS0KS
NA
USA
291
KS,Johnson
04
7.044
JRC
07
CW
CW
John
KS0KS
100
AA5
N
N
599
599
LA
LA
KS0KS
The above record information is repeated for each QSO made. I hope this clarifies any mysteries surrounding the ADIF file.
SDRplay Dual SDR Receiver
- Details
- Written by: G Wolfe - KI0KK
For those interested in experimenting with SDR technology or in need of a higher quality SDR receiver, SDRplay has a new RSPduo device.
This new device has two full receivers/tuners using 14 bit technology for higher receiver dynamic range. The number of bits in the ADC (Analog to Digital) converter will set the maximum dynamic range of the resulting data stream. This is approximately SNR=6dB×Bits+4.8dB (for a full scale input sine wave).
Each tuner can operate individually anywhere between 1kHz and 2GHz with up to 10MHz of bandwidth or both tuners can operate simultaneously anywhere between 1kHz and 2GHz with up to 2MHz of bandwidth per tuner. Additionally this SDR has a high stability reference and option for external clocking. The device is intended for industrial, scientific and educational applications. Price is around $300.
For those needing the high quality device but without the higher cost dual receiver the RSP1A is a excellent alternative.
The RSP1A offers similar performance but at a lower cost of just over $100. With a 10MHz visible bandwidth and the companion SDRuno software the RSP1A has all the popular ham bands and shortwave broadcast bands as “presets” for instant set-up. This device may also be used as an low cost spectrum analyzer or portable receiver for tracking down interference sources..
Theses receivers offer a significant improvement in performance, as compared to the low end SDR dongle type of SDR, for a small increase in cost.
Cabrillo
- Details
- Written by: Jim Cessna - AC0KN
The Cabrillo file format is laid out different than the ADIF file, but contains the same information. The Cabrillo file format is laid out so it is easier to visually read. It still has Header information and then multiple QSO records just like the ADIF file. This information was copied from the ARRL database information. The database contains multiple other mode templates not shown here. I only copied the CW template.
For more information, please see www.arrl.org web site: CW TEMPLATE
Single Op Low Power CW (Precedence “A”: 150 watts or less)
START-OF-LOG: 3.0
CONTEST: ARRL-SS-CW
CALLSIGN: W1AW
LOCATION: CT
CLUB: ARRL
OPERATORS: W1AW
CATEGORY-OPERATOR: SINGLE-OP
CATEGORY-TRANSMITTER: ONE
CATEGORY-ASSISTED: NON-ASSISTED
CATEGORY-BAND: ALL
CATEGORY-POWER: LOW
CATEGORY-MODE: CW
CATEGORY-STATION: FIXED
CLUB: ARRL
NAME: Hiram Maxim
ADDRESS: 225 Main St.
ADDRESS: Newington, CT 06111
QSO DATA TEMPLATE:
Guide:A B C D E F G H I J K L M N
QSO: 14000 CW 2009-11-07 2100 W1AW 1 M 38 CT K8MM 1 Q 92 MI
QSO: 14000 CW 2009-11-07 2101 W1AW 2 M 38 CT K3TX 1 A 59 EPA
QSO: 14000 CW 2009-11-07 2104 W1AW 3 M 38 CT W4DAN 1 A 77 TN
QSO: 14000 CW 2009-11-07 2106 W1AW 4 M 38 CT K1BG 2 U 68 WMA
QSO: 14000 CW 2009-11-07 2106 W1AW 5 M 38 CT K5AF 10 A 60 STX
END-OF-LOG:
A= Operating frequency. Use the following generic abbreviations:
1800
3500
7000
14000
21000
28000
B= Mode. In the CW Sweepstakes, use CW; in the Phone Sweepstakes, use PH.
C= Date, in YYYY-MM-DD format. November 7, 2009 is typed as 2009-11-07.
D= Time, in UTC format.
E= Your call.
F= Your QSO #.
G= Your precedence.
H= Your check (the last two numbers of the year you were first licensed).
I= Your ARRL Section
J= The call of the station you worked.
K= Their QSO number to you.
L= Their precedence.
M= Their check.
N = Their ARRL Section.
LED Circuits
- Details
- Written by: By: Wikipedia
In electronics, an LED circuit or LED driver is an electrical circuit used to power a light-emitting diode (LED). The circuit must provide sufficient current to light the LED at the required brightness, but must limit the current to prevent damaging the LED. The voltage drop across an LED is approximately constant over a wide range of operating current; therefore, a small increase in applied voltage greatly increases the current. Very simple circuits are used for low-power indicator LEDs. More complex, current source circuits are required when driving high-power LEDs for illumination to achieve correct current regulation.
Basic Circuit
The simplest circuit to drive an LED consists of a voltage source and two components connected in series: a current limiting resistor, sometimes called the ballast resistor, and an LED. Optionally, a switch may be introduced to open and close the circuit. Although simple, this circuit is not the most energy efficient circuit to drive an LED, since energy is lost in the resistor. More complicated circuits improve the energy efficiency.
An LED has a voltage drop specified at the intended operating current. Ohm's law and Kirchhoff's circuit laws are used to calculate the appropriate resistor value to obtain the desired current. The value is computed by subtracting the LED voltage drop from the supply voltage and dividing by the desired operating current. If the supply voltage is equal to the LED's voltage drop, no resistor is needed.
This basic circuit is used in a wide range of applications, including many consumer appliances such as mobile phone chargers.
Power Source Considerations
The voltage versus current characteristics of an LED are similar to any diode. Current is approximately an exponential function of voltage according to the Shockley diode equation, and a small voltage change may result in a large change in current. If the voltage is below or equal to the threshold no current flows and the result is an unlit LED. If the voltage is too high the current exceeds the maximum rating, overheating and potentially destroying the LED.
As an LED heats up, its voltage drop decreases (band gap decrease). This can encourage the current to increase.
It is therefore important that the power source provides an appropriate current. LEDs should only be connected to constant-current sources. Series resistors are a simple way to passively stabilize the LED current. An active constant current regulator is commonly used for high power LEDs, stabilizing light output over a wide range of input voltages which might increase the useful life of batteries. Low drop-out (LDO) constant current regulators also allow the total LED voltage to be a higher fraction of the power supply voltage. Switched-mode power supplies are used in some LED flashlights and household LED lamps.
Series Resistor
Series resistors are a simple way to stabilize the LED current, but energy is wasted in the resistor.
Miniature indicator LEDs are normally driven from low voltage DC via a current-limiting resistor. Currents of 2 mA, 10 mA and 20 mA are common. Sub-mA indicators may be made by driving ultrabright LEDs at very low current. Efficiency tends to reduce at low currents], but indicators running on 100 μA are still practical.
In coin cell powered keyring-type LED lights, the resistance of the cell itself is usually the only current limiting device. The cell should not therefore be replaced with a lower resistance type.
LEDs can be purchased with built-in series resistors. These can save printed circuit board space and are especially useful when building prototypes or populating a PCB in a way other than its designers intended. However, the resistor value is set at the time of manufacture, removing one of the key methods of setting the LED's intensity.
Series Resistor Calculation
Both V and the maximum recommended value for I are obtained from the LED manufacturer's specifications, such as 20 mA. Many circuits operate LEDs at less than the recommended maximum current, to save power, to permit the use of a standard resistor value, or to reduce brightness.
Typically, the forward voltage of an LED is between 1.8 and 3.3 volts. It varies by the color of the LED. A red LED typically drops 1.8 volts, but voltage drop normally rises as the light frequency increases, so a blue LED may drop from 3 to 3.3 volts.
LED Arrays
Strings of multiple LEDs are normally connected in series. In one configuration, the source voltage must be greater than or equal to the sum of the individual LED voltages; typically the LED voltages add up to around two-thirds of the supply voltage. A single current-limiting resistor may be used for each string.
Parallel operation is also possible but can be more problematic. Parallel LEDs must have closely matched forward voltages (Vf) in order to have similar branch currents and, therefore, similar light output.
Variations in the manufacturing process can make it difficult to obtain satisfactory operation when connecting some types of LEDs in parallel.[2]
LED Display
LEDs are often arranged in ways such that each LED (or each string of LEDs) can be individually turned on and off.
Direct drive is the simplest-to-understand approach—it uses many independent single-LED (or single-string) circuits. For example, a person could design a digital clock such that when the clock displays "12:34" on a seven-segment display, the clock would turn on the appropriate segments directly and leave them on until something else needs to be displayed.
However, multiplexed display techniques are more often used than direct drive, because they have lower net hardware costs. For example, most people who design digital clocks design them such that when the clock displays "12:34" on a seven-segment display, at any one instant the clock turns on the appropriate segments of one of the digits—all the other digits are dark. The clock scans through the digits rapidly enough that it gives the illusion that it is "constantly" displaying "12:34" for an entire minute. However, each "on" segment is actually being rapidly pulsed on and off many times a second. Such multiplexed displays have net lower hardware costs, but the resulting pulsed operation makes the display inevitably dimmer than directly driving the same LEDs independently.
An extension of this technique is Charlieplexing where the ability of some microcontrollers to tri-state their output pins means larger numbers of LEDs can be driven, without using latches. For N pins, it is possible to drive n2-n LEDs
Polarity
Unlike incandescent light bulbs, which illuminate regardless of the electrical polarity, LEDs will only light with correct electrical polarity. When the voltage across the p-n junction is in the correct direction, a significant current flows and the device is said to be forward-biased. If the voltage is of the wrong polarity, the device is said to be reverse biased, very little current flows, and no light is emitted. LEDs can be operated on an alternating current voltage, but they will only light with positive voltage, causing the LED to turn on and off at the frequency of the AC supply.
Most LEDs have low reverse breakdown voltage ratings, so they will also be damaged by an applied reverse voltage above this threshold. The cause of damage is overcurrent resulting from the diode breakdown, not the voltage itself. LEDs driven directly from an AC supply of more than the reverse breakdown voltage may be protected by placing a diode (or another LED) in inverse parallel.
The manufacturer will normally advise how to determine the polarity of the LED in the product datasheet.[3]
Pulsed LED Operation
Many systems pulse LEDs on and off, by applying power periodically or intermittently. So long as the flicker rate is greater than the human flicker fusion threshold, and the LED is stationary relative to the eye, the LED will appear to be continuously lit. Varying the on/off ratio of the pulses is known as pulse-width modulation. In some cases PWM-based drivers are more efficient than constant current or constant voltage drivers.[4][5][6] It is also done to allow digital intensity control without a more complex digital-to-analog converter. Several types of microprocessor boards use this technique to control the on-board LED, such as the Arduino and the Texas Instruments MSP430 LaunchPad.
Most LED data sheets specify a maximum DC current that is safe for continuous operation. Often they specify some higher maximum pulsed current that is safe for brief pulses, as long as the LED controller keeps the pulse short enough and then turns off the power to the LED long enough for the LED to cool off.
LED as Light Sensor
In addition to emission, an LED can be used as a photodiode in light detection. This capability may be used in a variety of applications including ambient light detection and bidirectional communications.
As a photodiode, an LED is sensitive to wavelengths equal to or shorter than the predominant wavelength it emits. For example, a green LED is sensitive to blue light and to some green light, but not to yellow or red light.
This implementation of LEDs may be added to designs with only minor modifications in circuitry. An LED can be multiplexed in such a circuit, such that it can be used for both light emission and sensing at different times.
Tech Night - Arduino Presentation
- Details
- Written by: G Wolfe - KI0KK
Arduino Basics presentation by Larry Hall (KD0RIU),
SFT ARC Tech Night November 2015.