Welcome to our site! EDAboard.com is an international Electronics 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.
Thanks raco, for replying me.
I put the value in osccal= 0xfc(11111100), but still it won't work.
Here is my code: It just blink an led using 16f676 with internal oscillator
void main(){
PORTC = 0x00;
TRISC = 0x00;
OSCCAL = 0xfc;
while(1)
{
PORTC = ~ PORTC;
Delay_ms(100);
}
}
witing for...
Hello every one!!
I am using pic16f676. i want to use internal 4mhz oscillator, can any one tell me how can i configure internal oscillator settings. I mean which value i have to store in oscall register?
I am using mikroc and programing in c.
hello every one!!
I want to make 0-100 up counter using 4digit 7segment display. Can any one give me c code.
I am using pic16f877a and mikroc software.
Thanks to all for replying me........
And also to boyguitar1.........my lots of problems solved with your code.
Can you plz tell me what relation of voltage divider i have to use when measure voltages in milli volts.
Actually i want to make a voltmeter that will display milli volts on LCD...
Hello every one!!
I want to make milli voltmeter using pic16f877a, which will measure up to 0.001volts.
My code can only measures 0.01volts accurately. Here is the code:
I am using Mikroc.
Please help me.
unsigned char *text,a1,a2,a3,a4,a5;
unsigned long adc_res;
#define print_V...
Re: pic16f877 voltmeter
Hello every one!!
I want to measure mili volts from pic and want to display on lcd. can any one help me.
I am using mikroc and pic16f877a.
My code can measure voltages upto 0.05 but not upto 0.005v.
Here is my code in c:
unsigned long adc_value;
unsigned char...
hello!!
every one,
I need to convert analog input voltage into corresponding digital value.
Can any one tell me which ic or method i have to use?
I cant use micro controller, as it is not the requirement of application.
thanks
@tahmid thanks.
I generated PWM on portc and motor rotates well.
My problem is that i am using an NPN transistor as a switch on PORTB.0. and want that if value of NPN switch is 1 the motor starts and if its value is 0, motor stops.
I tried so much but once motor starts it dont stop weather i...
Re: ir transmitter by 8051
hi everyone!
I want to start and stop pwm(which drives a motor) according to the value of switch.
Motor is on portc(RC2) and switch is on RB0.
I am using pic16f877a and software is mikroc.
Can anybody help me in writing c code?
hi everyone!
I want to start and stop pwm(which drives a motor) according to the value of switch.
Motor is on portc(RC2) and switch is on RB0.
I am using pic16f877a and software is mikroc.
Can anybody help me in writing c code?
hello! everyone,
I wanted to store the value of keypressed from keypad into an array. value of keypressed is defined as kp. and then compare the value with another array. i am doing this in mikroc and pic16f877a. but it wont works. can anyone help me? am using following code.
int i;
int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.