Description: Power input is to a 7805 5 volt regulator. A pair of LEDs is connected between the 5 volt supply and ground, with current limiting resistors in series and one pin on the AT90S2313 shunts the current through one LED or the other. When one LED is on, the device is "ready", that is not generating pulses on the output and not measuring input frequency. When the other LED is on, the device is actively generating pulses or measuring frequency. As a consequence, one of the LEDs is on at a time allowing quick visual confirmation that power is applied and the state of the device. The serial interface is the AT90S2313's internal UART connected to the outside world via RS-232 using a Maxim MAX232 interface chip, which derives RS-232 drive voltages from the 5 volt supply. The output of the pulse generator is via a resistor ladder network. Pin 9 doubles as an input and output pin, thus it is connected as the MSB of the ladder network so that it can be exposed to the full amplitude input signal (without attenuation). To provide a measure of protection against electrostatic discharge and clumsy handling of test leads, a reverse biased emitter-base junction of a bipolar transistor is used. The junction will avalanche when the voltage exceeds at high positive voltages and enters forward conduction when the voltage swings negative. The collector of the transistor is left floating. The frequency meter was consistently within two counts of the output of frequency reference that was being measured. You can build this without needing a printed circuit board, though it you really are anxious to, it sure would look neat. Layout isn't really critical, except that its a good idea to put the crystal and its load capacitors next to their associated pins on the AT90S2313, and its also a good idea to keep the I/O circuitry clear of the crystal circuitry. This should fall our naturally since, with the expectation of pin 9, the output pins are on the opposite side of the chip from the oscillator.
The circuit design begins with a 7805 voltage regulator, which provides a stable 5V output from a higher voltage input. This regulated voltage serves as the primary power supply for the entire circuit. Two light-emitting diodes (LEDs) are connected in parallel between the 5V supply and ground, each accompanied by a current-limiting resistor to prevent excessive current flow. The AT90S2313 microcontroller controls which LED is illuminated by shunting current through one LED at a time, indicating the operational state of the device. One LED signifies that the system is in a standby state, while the other indicates active operation, providing immediate visual feedback to the user.
The microcontroller also incorporates a built-in Universal Asynchronous Receiver-Transmitter (UART) for serial communication. This UART interfaces with the external environment through an RS-232 connection, facilitated by the Maxim MAX232 chip, which converts the 5V logic levels to RS-232 compatible voltage levels, enabling communication with other devices.
The pulse generator output is configured using a resistor ladder network, which allows for the generation of various pulse amplitudes suitable for driving 5V CMOS devices. Pin 9 of the AT90S2313 functions as both an input and output, serving as the most significant bit (MSB) in the ladder network. This configuration ensures that it can handle the full amplitude input signal without any attenuation.
To enhance the robustness of the circuit against electrostatic discharge (ESD) and accidental handling of test leads, a bipolar transistor is incorporated. The emitter-base junction of the transistor is reverse-biased under normal conditions, but it will avalanche when subjected to high positive voltages, providing a protective measure. When the voltage swings negative, the junction enters forward conduction, safeguarding the sensitive components downstream.
The frequency measurement aspect of the circuit is achieved using a frequency reference generated by a 74HCT4060 divider circuit and a 4 MHz crystal oscillator, which is further divided by a 74HCT4040 to achieve the desired frequency outputs. The accuracy of the frequency meter is validated against a known reference, ensuring that it remains within a two-count deviation from the measured output.
While a printed circuit board (PCB) is not strictly necessary for assembly, careful layout considerations are recommended. It is advisable to position the crystal and its load capacitors close to the associated pins on the AT90S2313 to minimize parasitic capacitance. Additionally, keeping the I/O circuitry separate from the crystal circuitry aids in reducing potential interference, which is facilitated by the physical layout of the components.Power input is to a 7805 5 volt regulator. A pair of LEDs is connected between the 5 volt supply and ground, with current limiting resistors in series and one pin on the AT90S2313 shunts the current through one LED or the other. When one LED is on, the device is "ready", that is not generating pulses on the output and not measuring input frequency.
When the other LED is on, the devise is actively generating pulses or measuring frequency. As a consequence, one of the LEDs is on at a time allowing quick visual confirmation that power is applied and the state of the device. The serial interface is the AT90S2313's internal UART connected to the outside world via RS-232 using a Maxim MAX232 interface chip, which derives RS-232 drive voltages from the 5 volt supply.
The output of the pulse generator is via a resistor ladder network. I chose the values I did so that I would have a few low-amplitudes to select from and still be able to drive 5 volt CMOS with the maximum level pulses. If I were to do it over, I would probably just use an R-2R ladder network. Pin 9 doubles as an input and output pin, thus it is connected as the MSB of the ladder network so that it can be exposed to the full amplitude input signal (without attenuation).
To provide a measure of protection against electrostatic discharge and clumsy handling of test leads, a reverse biased emitter-base junction of a bipolar transistor is used. The junction will avalanche when the voltage exceeds at high positive voltages and enters forward conduction when the voltage swings negative.
The collector of the transistor is left floating. I trimmed the frequency meter timing loops by measuring the output of a frequency reference I made with a 74HCT4060 and a 4 MHz crystal and a 74HCT4040 12 stage divider. The fifth harmonic of the '4060 was zero beat with NIST station WWV by padding the capacitance from the crystal terminals to ground.
The frequency meter was consistently within two counts of the output of frequency reference that was being measured. You can build this without needing a printed circuit board, though it you really are anxious to, it sure would look neat.
Layout isn't really critical, except that its a good idea to put the crystal and its load capacitors next to their associated pins on the AT90S2313, and its also a good idea to keep the I/O circuitry clear of the crystal circuitry. This should fall our naturally since, with the expectation of pin 9, the output pins are on the opposite side of the chip from the oscillator.
The serial interface is the AT90S2313's internal UART connected to the outside world via RS-232 using a Maxim MAX232 interface chip, which derives RS-232 drive voltages from the 5 volt supply. The output of the pulse generator is via a resistor ladder network. I chose the values I did so that I would have a few low-amplitudes to select from and still be able to drive 5 volt CMOS with the maximum level pulses.
If I were to do it over, I would probably just use an R-2R ladder network. Pin 9 doubles as an input and output pin, thus it is connected as the MSB of the ladder network so that it can be exposed to the full amplitude input signal (without attenuation). To provide a measure of protection against electrostatic discharge and clumsy handling of test leads, a reverse biased emitter-base junction of a bipolar transistor is used.
The junction will avalanche when the voltage exceeds at high positive voltages and enters forward conduction when the voltage swings negative. The collector of the transistor is left floating.
The 7208 seven-metric system counter is utilized as a frequency meter. It features a latch and multiplexing function and incorporates a direct drive circuit along with a display driver circuit. The 7207 IC divides the output frequency of a 6.5536...
An adjustable pulse generator circuit is presented, which produces a periodic signal with independently adjustable pulse widths. The electrical path allows for modifications to the signal period through the adjustment of RP1. Additionally, RP2 can be altered to change the...
This circuit is quite effective for testing or operating counters and stepping relays, as it eliminates the need for manually setting a switch for the desired number of pulses. By pressing the appropriate switches S1 to S9, one can generate...
This meter displays the frequency of a power generator, which operates at a voltage range of 110V-240V and a frequency range of 10-100Hz. The output sine waves are converted to square waves.
The described frequency meter is designed to accurately measure...
This inexpensive frequency meter circuit is suitable for general use in small laboratories. It is cost-effective, easy to construct, and sufficiently reliable for most electronics enthusiasts. The frequency can be directly read from the meter, with a measurement range from...
Free domains and hosting with up to 1GB of disk space, unlimited transfer, and access to PHP as well as 5 MySQL databases. The maximum size of a single file is not limited.
This service offers a robust web hosting solution...
As shown in the figure, D187 is a universal asynchronous receiver-transmitter (UART). Its RX/TX signals are received through optocouplers N21, N22, and N29, facilitating RS-485 communication. The interface receiver/transmitter D28 and microprocessor D211 are completely optically isolated. D197 serves as...
A technique for measuring frequencies across a wide range with acceptable accuracy using a PC is described. This method involves measuring the period of a complete wave at low frequencies to calculate frequency from the measured time period. Cascaded binary...
This is a 7-digit frequency meter measuring frequency from 10 Hz up to 1300 MHz. It is based on ideas of PIC16F84 based frequency meter. The measuring range is divided into two subranges: 10Hz - 25MHz and 25 MHz -...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more