Hardware is not working as per software

Status
Not open for further replies.

inner_ideas

Newbie level 3
Joined
Oct 28, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
27
Dear All,
I have write code in MikroC Pro for PIC16F628A micro controller. I have programmed this code in Proteous simulation. It is working fine , Unfortunately when I burn this software in Micro controller, Micro controller is not showing anything.


When I press button , It turns ON LED. If I press button for longer time. It turns ON another LED. But in hardware it is not functioning while pressing button. Please guide. What can be the problem.


I have the same frequency oscillator in simulation and externally. That is 20MHz. Thanks for your quick response.
 

Why, I need to use 4 MHz crystall. because I am doing timer based decesion. so that is why 20MHz is worth while.
 

Dear I will try to use 4 MHz crystal. but please explain me why we need to put 4MHz crystall? what is the difference betweem both.?
 

Hi:
I have used 4MHz crystall. System is working. One thing that is annoying me is when I put analgoue meter -ve terminal on ground and put +ve terminal on any pin of micr controller. LED turns off automatically. Please guide
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…