Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Please..Help me..Clock signal from the outside with the TMR0 Clock Making? (T0CKI)

Status
Not open for further replies.

vasili35

Newbie level 4
Joined
Apr 13, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,354
Friends .. 555 square circuit with the signal received by the signal clk T0CKİ end of an hour trying to make a simple halves .. But it does not work ...Did heI shared my code and circuit file. help, not Constantinople...
External clock signal for clock signal generating you have another suggestion?
(A brother-wave producing circuit 555 seconds)

Code:
Device = 16F876

Config WDT_OFF


ALL_DIGITAL   =TRUE
Declare LCD_TYPE 0
Declare LCD_DTPIN PORTC.4   
Declare LCD_ENPIN PORTC.3   
Declare LCD_RSPIN PORTC.2   
Declare LCD_INTERFACE 4     
Declare LCD_LINES 2

INTCON     = %11100100
OPTION_REG = %00100000
TMR0=0

Dim say    As Byte
say = 0

ON_HARDWARE_INTERRUPT GoTo Cut

GoTo Main

Cut:

say=say+1

INTCON.2=0

Context Restore


Main:
Print At 1,1,DEC2 say        
GoTo Main


 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,972
Helped
2,784
Reputation
5,566
Reaction score
2,691
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
104,220
Your post mentions 555 twice...

And the left-hand part of your circuit has components arranged to resemble a 555 IC oscillator circuit.

However your pins are not numbered the same as the 555 chip.

It won't give you a clock signal.
 

vasili35

Newbie level 4
Joined
Apr 13, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,354
So using the external clock signal, where do I get the signal for the TMR0? What advice?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top