Atmel At90S2313 Countermeasures


Posted on Feb 7, 2014

This is another project which fullfills a need. I once built a frequency counter using plain TTL chips. That was long before the CMOS HC versions, even before LS was available. It uses only 4 chips - 3 HC TTL`s and an Atmel At90S2313 microcontroller. It has a 5 digit LED display plus one used as a band indicator. Even with the LED display, the cur


 Atmel At90S2313 Countermeasures
Click here to download the full size of the above Circuit.

rent consumption is less than 50 mA. It counts up to at least 52 MHz. I couldn`t find any signal source in the lab that could supply more than 52 MHz, so it may go a bit higher, but the fClock(typ) for the HC590 is about 35-40 MHz, so you shouldn`t really count (no pun intended) on more. I got the idea from an article I saw on the net. I think it was a Circuit Cellar article. I had a look at the code, and it sounded like a quick and simple counter solution. I don`t know what chips it used, as I never saw the schematic, but here`s my implementation : A 8-bit "databus" is constructed from the lower 4 bits of PORTD and the upper 4 bits of PORTB on the 2313. This peculiar arrangement is necessary, as we need the OC1 output on PB3 for gating the counter stage. The displays are 3-digit 7-segment common-cathode displays. They are multiplexed by supplying the segment data from the databus, and selecting the current digit with a `HC138 dataselector, which is controlled by 3 I/O lines from the 2313. The two `HC590 counters are counting the input pulses and supplies the count to the 2313 on the databus. Each counter can be read separately using the OE_L and OE_H lines. The counters are cleared using the CLR signal. The counters are gated using the OC1 (Output Compare 1) signal from the 2313. By varying the duration of the gate time, the counter can be made autoranging, and handle a large frequency span. The software for the counter is...




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Stepper Motor controller with HC11
Model rocket launcher
Strain-gauge-instrumentation-amplifier
Capacitor-discharge-high-voltage-generator
Potentiometer-Position V/F Converter
Mini Audio Mixer circuit
Micromouse Sensors
Random Flasher for 8 LEDs Project
Midnight Security Light Circuit Schematic
ASTABLE MULTIVIBRATOR USING OP AMP
X’Mas LED Decoration circuit



Top