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.
pwm using pic16f877a 4mhz
sorry for delay bungee- and thank you yes i was ultrasonic and got stuck i converted to infrared , but if you can give your circuit diagram :)
IR interfacing
I want to signal condition a photodiode line sensor output to a digital input.
Although I am using the PIC16F877a chip,
I have designed, built and tested a bank of 8 IR Transmitter/ Photodiodes pairs.
They all return 1.2 to 4.2 volts depending on a light or dark surface below...
pic 40khz
void main()
{
PORTC = 0;
TRISC = 0;
PR2 = 0b00011000 ;
T2CON = 0b00000100 ;
CCPR1L = 0b00001100 ;
CCP1CON = 0b00011100 ;
}
the problem is Pwm port is 5v all the time, is there another way to obtain 40khz without pwm
Re: pic 16f877a problem
i have programmed pic with mikroc blink led example and it worked fine once but now all pic ports 5v even mclr i bought another and still does the same thing :(( any help plz
Added after 2 hours 19 minutes:
any body answer plzzzzzzzzzzzzz!!!!!!!!!!!! i got project to do
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.