Showing posts with label Jam Digital/Counter. Show all posts
Showing posts with label Jam Digital/Counter. Show all posts

Thursday, May 13, 2010

Rangkaian RTC Berbasis AT89C4051

Rangkaian RTC Berbasis AT89C4051

This is a circuit diagram for the digital clock. Port 1 of the controller (AT89C4051) is Used as the data lines for the 20 x 4 lines LCD display.

The source code for the project is written in C-language, and compiled using Keil C compiler, Can you download the c-code, schematic, and if you do not have a cross compiler then you burn the cans directly on to the HEX file your chips here

Rangkaian RTC Berbasis AT89C4051Skema Rangkaian RTC Berbasis AT89C4051

RTC with Costume fonts Demo

If you think that 'there is a problem in the of availability of the chips mentioned in the schematic, then you cans use AT89C51/AT89C52 Also, make sure That you are using the Same port for the LCD and switches Which are there in the C- files or in the schematic.

in the image above as you cans see the digits are Bigger than the normal size. For this purpose I'm maiking use of the CGRAM of the LCD, Which gives to the user the flexibility to define user defined characters. so to create a character We first need to get the Which values are to be written into the CGRAM area. The CGRAM area starts from address 0x40 and for Every character Which there are eight locations are to be written.

Figure below shows the custom character creation. so Pls We get the values for all the pixels. These values We write to the CGRAM. The Digits 0-9 Can be created with the help of eight custom characters and Standard and Poor.

user defined character

NOTE: You Can only create upto 8 custom characters.

Source

READMORE...

Sunday, September 06, 2009

Rangkaian Frekuensi Counter Digital

With a microcontroller system AT89c2051 and an LCD display we can create a digital frequency counter which can measure frequencies up to 250KHz. LCD is used LM16200.

LCD LM16200LM16200 LDC Pic
Table LM16200.Pin LCD LM16200

Scheme of frequency counter digital using AT89c2051 are as follows:
Frekuensi Counter DigitalSkema Rangkaian Frekuensi Counter Digutal

AT89c2051 to program, we use the Bascom 8051, the following programs Frequency caunter Digital Using AT89c2051:


'--------------------------------------------------------
' file: efy20fm24.BAS 25-12-05
' Frequency Meter Program using AT89c2051 micro controller
' written using bascom-51 from www.mcselec.com holland
' an embedded visual basic compiler for 8051 micro
' controllers
' by K.S.Sankar Web: www.mostek.biz
'------------------------------------------------------
' Connect the timer0 input P3.4 to a frequency generator
' with 24 mhz xtal accuracy ok upto 250khz
' define crystal speed and include file
$regfile = "89c2051.dat"
$crystal = 24000000
' define variables used
Dim A As Byte
Dim C As Long , D As Long
Dim Count As Word
Dim T0ic As Long
Dim Delayword As Word

' Initialize variables
Count = 0
T0ic = 0
D = 0
' initialize ports
P1 = 0
P3 = 255
' configure lcd display
Config Lcd = 16 * 2
Config Lcdpin = Pin , Db4 = P1.4 , Db5 = P1.5 , Db6 = P1.6 , Db7 = P1.7 , E = P1.3 , Rs = P1.2
Cls
'clear the LCD display
Lcd " EFY Freq Meter "
' define timer0
Config Timer0 = Counter , Gate = Internal , Mode = 1
'Timer0 = counter : timer0 operates as a counter
'Gate = Internal : no external gate control
'Mode = 1 : 16-bit counter
' set t0 internal interrupt
On Timer0 Timer_0_overflow_int
' interrupt will be generated on every 65536 count
Priority Set Timer0
Enable Interrupts
Enable Timer0

Counter0 = 0
'clear counter
Start Counter0
'enable the counter to count
Do
'set up a 1 sec accurate DO NOTHING loop
Enable Interrupts
'wait 1 as per BASCOM-51 is not accurate
For Delayword = 1 To 45440
Next Delayword
Disable Interrupts
C = Counter0
'get counter value
D = T0ic * 65536
Lowerline
C = C + D
T0ic = 0
Lcd " "
Lowerline
' show the frequency
Lcd "f=" ; C ; " Hz"
Waitms 255
Waitms 255
C = 0
Counter0 = 0
Start Counter0
're-start it because it was stopped by accessing the COUNTER
Loop

' timer0 int subroutine
Timer_0_overflow_int:
Rem timer0 overflow ( 65535 ) interrupt comes here
' increment the variable
Incr T0ic
Return
End
' end of program
' uses 1106 bytes of program memory

READMORE...

Sunday, August 09, 2009

Rangkaian Stop Watch Digital Tampilan 7 Segmen

A digital stop watch built around timer LM555 and 4-digit counter MM74C926 with multiplexed 7-segment LED display. MM74C926 consists of a 4-digit counter, an internal output latch, npn output sourcing drivers for common cathode, 7-segment display and an internal multiplexing circuitry with four multiplexing outputs. The counter advances on negative edge of the clock. The clock is generated by timer LM555. The circuit works off a 5V power supply. It can be easily assembled on a general-purpose PCB. Enclose the circuit in a metal box

with provisions for four 7-segment displays, rotary switch S1, start/stop switch S2 and reset switch S3

First, reset the circuit by pressing S3 so that the display shows "000". Now open switch S2 for the stop watch to start counting the time. If you want to stop the clock, close S2. Rotary switch S1 is used to select the different time periods at the output of the astable multivibrator.

Circuit Diagram of Digital Stop Watch


Skema Rangkaian Stop Watch Digital Tampilan 7 Segmen

7 segment

Seven Segment is 8 pieces of LED array is arranged in such a way that was shaping up to 7 segments and 1 point that can be used to show the pattern numbers and some letters. there are two types of seven-segment LED Seven segment of the Common Anode (CA) and Common Cathode (CC).

Seven Segment

On picture above is the layout, naming seven segment each segment and 8 illustrate the fruit is packed as the LED array LED Common Anoda (CA) and an array of LED Common Cathode (CC). segemen seven controllers can be done directly, or through a pattern such as a driver IC 74LS47 to seven segment CA and 74LS48 to seven segment CC.


READMORE...

Friday, August 07, 2009

Rangkaian Counter Up|Down Dengan seven segment

Counter up/Down Dengan seven segment Desimal

This circuit can be used for many purposes. Applications ranging from simple bottles in the belt, display a number in the queue physician practices, the timer display for competition pool, until a little complicated to show the amount of rotation in one minute lap machine.


Important components in the Circuit is the following simple counter 74LS192, and have display driver IC 74LS47 (BCD to 7 segment driver) and the indicator 7 segment LED display common anode. In fact there are other census, such as 4-bit binary counter which can be up to 16 tattoo, but here is the census that is used 10 (decade counter) would be made because the tool is the census decimal.

Main component is an IC 74LS192 up / down decade counter, which is a component that can make a census to 10 (0 to 9) up and down. Component 16 is quite a lot of pins can be found in electronics parts stores. 74LS192 built with some of JK flip-flop and gate-gate logic. Logic transition from 0 to 1 (Low to High) at the UP pin (pin 14), the output BCD (binary code decimal) QA, QB, QC and QD Ascending 1 digits.

Similarly if there is a logic transition on the 0 to 1 DN pin (pin 4), the BCD output down 1 digit. It is a good idea if you explained a little about the rules of the BCD, as there is on the table. This is shown in the table 4-bit binary code QD .. QA-me representasikan code decimal from 0 to 9.

So that can be understood by those who view it, binary code is converted to a 7-segment LED drive by using the IC 74LS47 component. Thus, this Circuit can display the corresponding decimal number. This Circuit is used in the 7 segment LED Anoda Common, where all anoda of each LED segment is connected to one and the Vcc supply. To turn one segment, 7 segment LED pins that must be sinks (short) to ground through a resistor. Resistor that is used is 100 Ohm, and this is enough light to light this LED segment.
Counter Up|Down CircuitSkema Rangkaian Counter up/Down 7 segment Desimal


IC 74LS192 also equipped with a CO output pin (Carry Out) and BO (borrow Out) that each is normally high and work separately. Decimal output transition from 0 to 9 (counting up) will trigger pin CO-issued credit 0 to 1 (Low to High). On the transition from decimal 0 to 9 (counting down), a trigger pin BO-issued credit 0 to 1. Thus, the two outputs can be used as a clock trigger level for the next census. As an example in the Circuit-1 below, 2 units in the IC 74LS192-Cascade to make a census of tens of value and unit. Readers can easily stay on if the census level necessary to create value for the next hundreds, thousands and so on.

Rangkaian Couter Desimal of census work if akan CLR pin = 0 (low). For the input port RESET must be given in the ground or logic 0 in normal circumstances. Reset (display shows the decimal number 0) applies if the CLR pin (pin 14) is a transition from logic 0 to 1. Similarly with the pin and pin UP DN, akan work (counter rise / down) only if there is a transition from 0 to 1 on this pin. Readers need to add aCircuit of switch (key) to a trigger-counter (up / down) and Reset.

READMORE...

Sunday, May 17, 2009

Jam Digital berbasis Mikrokontroler AT89s51

Rangkaian Jam Digital berbasis Mikrokontroler AT89s51

Digital hours to make this not too difficult. This series is not my original project, I trace the series of files and program from the internet, there is no chance the program listing. After I download the file to its hex-hour direct way. This clock only displays hours and minutes, to seconds However you can install the led associated with a series of I Hz oscillator formed from IC 555 (which I do, because I do not know the program listing), 2 led in parallel and installed as a bookmark seconds. Led to two installed in the middle of the hours and minutes. Although with the way that seconds and minutes if observed (calculated) decline slightly but I'm not the problem, Moreover people will not know about it. Digital hours following scheme:
Circuit digital watch

To me its PCB design itself, of course are still using my favorite software, PCB designer. Next the PCB layout (look up) :
PCB layout of digital watch


  • PCB file can download it here.
  • Hex file. can be downloaded here.

READMORE...

Friday, February 06, 2009

JAM DIGITAL Menggunakan Gerbang Dasar

Rangkaian jam digital dibentuk dari rangkaian pencacah serta pembangkit detak 1 detik. Pulsa-pulsa dengan lebar 1 detik dicacah oleh pencacah yang bertingkat dari detik satuan, detik puluhan, menit satuan, menit puluhan, jam satuan serta jam puluhan. Setiap hasil cacahan kemudian ditampilkan menggunakan led tujuh ruas. Gambar 1 berikut adalah rangkaian pencacah untuk besaran detik dan menit.

Gambar Rangkaian pencacah besaran detik


Rangkaian pencacah detik dan menit bekerja untuk menghitung banyaknya detik dan menit. Rangkaian ini terdiri dari dua tingkat yaitu satuan dan puluhan menggunakan komponen utama IC 74LS393. Untuk tingkat satuan, pencacah bekerja pada modulo 10, sedangkan untuk tingkat puluhan, pencacah bekerja pada modulo 6.

Gambar Rangkaian pencacah besaran jam.

Untuk rangkaian pencacah jam, rangkaian ini terdiri dari dua tingkat pencacah yaitu untuk pencacah jam satuan serta puluhan menggunakan komponen utama IC 74LS197. IC ini merupakan pencacah biner yang dapat dimuati dengan nilai awal. Kedua tingkat pencacah ini bekerja pada modulo 12, dengan nilai terendah adalah 1 serta nilai tertinggi adalah 12. Kondisi ini dapat dicapai dengan memuati pencacah dengan nilai 0 1 ketika hasil cacahan pada angka 13.

READMORE...
 
Skema Rangkaian Elektronika