Search Engine www.edaboard.com

Pic 16f877

Add Question

418 Threads found on edaboard.com: Pic 16f877
Hello Friends. I am trying to control PWM from the beginning I load-CCPR1L with value,that produce-8uS output impuls.When I press button I add value 0x14 that must produce 16uS output impuls.But the output impuls is not 16uS,it is about 100uS.I cannot find mistake in code.Where is mistake? I add sample of the code where-firs I load two r
I don't think that the absence of a ground plane is your problem, as I have built similar circuits using the pic16f877A on Vero board. Try running your circuit at 4Mhz and see if it works, please add the decoupling on the supply rails. Are you sure that you have set the configuration bits correctly, the watch dog timer to off and set the correct os
hello Guys i had some problems with trying pic 16f877 for first time but now its ok with help of you i've built a new board to test my project but now it works good only when i touch the negative line by hand. do i have to connect the unused pins to GND or Else ? any idea guys thx for ur help
Hi, I'm simulating this circuit of battery charger in Proteus and wondering how to convert the result into decimal numbers. Like 14.42 V instead of 14420 mV. pic Simulator IDE code: 'PROGRAM TO CHARGE LEAD ACID BATTERIES WITH SOLAR PANEL 'USES pic 16f877 AT 4 MHZ 'AUTHOR SANTHOSH JAYARAJAN 'NOTES: '*********************
pic 16f877 ADC is 10 bits only. it won't be sufficient for mpx4115 which returns you 0 to 5 volts to measure 0 to 1150mbar pressure you will get at best less than a mbar resolution ( not counting on noise and interferences) you need another ADC (like MCP3421 18bits) or you need an analog circuit to interface the mpx to the pic (with 2 op amps)
Can anyone help with the below question? a) i) In appendix-A a block diagram of pic 16f877 is depicted. Modify this diagram to illustrate the Harvard architecture nature of the pic. ii) State the features that allow the pic to be also described as a RISC type machine. b)Many embedded microcomputer (...)
i am using pic 16f877a and i want to use pwm to control my output voltage using buck converter and i have sucessfully tested pwm and lcd (separately) and it works fine but when i start pwm(PortC) and lcd on PortD then pwm works sucessfully but lcd doesnt display anything. kindly help me in mentioning what is worng 115530
mikroC PRO pic code attached. I have used pic16f877A. PWM is used for speed control of motor. What are you trying to do ? Solar Tracking ? If yes, use stepper motor.
Hi, It seems difficult to handle the 4 switches i.e B1, B2, B3, B4 (assuming the image shows push button switches) through 2 pins of the pic. However this problem can be resolved can be attemepted by following 2 ways: Approach 1: Either use on off switch instead of push button switch, in that case based upon binary combinations pos
Hi; First of all: - both IC you are using (HC595 and HC164) are serial-to-parallel converters but only for outputs. For parallel-to-serial converting (ie for inputs) have to use for example a CD4021 like in my old project. See the picture and the attached Proteus simulation. Its program was written in mikroC (not in CCS C) so does not atta
I would also like to read temp & press from BMP085. I cannot understand the datasheet(not so much into digital comms) and could not find suitable help on the web. I use 16f877 and pic C language. As from this and related posts there are very few info shared and seems that non of these users are ever complete their projects. Any help will be welcom
I am a new learner. I have built temperature and Humidity indicator using pic 16f877a (LM35 +SH20). I Have following two problems. 1) If I program to read only Temperature or only Humidity it shows correct. But when I select Temperature + Humidity - Both shows erratic reading ( RA1 and RA2). Request to suggest solution. 2) When I am rea
hello , I am new to this forum and I do not speak much anglai, here is my setup is a pic 16f877 connected a variable resistor 2 and 2 and a bargraph LCD 16 * 2 to display the liquid level, 105899 this is my schema and my program code : unsigned int niv_bac1; unsigned int niv_bac2; unsigned char i,j; unsi
Zip and post your CCS C project files and Proteus file. Don't use MAX232 in Proteus. Connect COMPIM directly to pic.
hi..i got two inputs from the led..and output as lcd display..if the 1st led lights up,the lcd will display 'in' and 2nd led lights up,lcd will display 'out',if both led lights up at the same time the lcd will show blank display n every displayed result will be reset after 10 using pic16f877. this is the coding for lcd display [sy
I cannot perform multiplication and division with integer number in pic 16f877 using hi-tech c compiler. You didn't tell a word about the observed problem. I expect this results t=12 b=24 k=4 j=12.000
Hi friends, I want to display float value on LCD display in pic16f877 using Hi-tech C compiler. Can anybody help me???
Hi all, I know ICD2 is obsolete and we can buy ICD3 at less than $200 now. BTW, I needed to debug my code on 16F1827 and most of parts were on hand, I had decided to build a ICD2 clone and a 8.5V Vpp limitter. (poyoto rev.B?, using transistors) It took a few days from etching PCB to soldering, now it works fine with old pics like 16f877A. (erase
On above subject, I can successfully compile the code but cannot getting output in real pic simulator. I am taking input in A port and wanted output in LED as well as LCD. Code is given below. Plz suggest me which is the missing portion??? #include #include<pic.h> #include #include #define RS RE0 //L
Hi every body, I try to drive a DC Motor depending on temperature, this is my program with MikroC, but always the Motor is working with the same speed (duty), could some one pleaaase help me where is the problem!! thanks.. //////// sbit LCD_RS at RB1_bit; sbit LCD_EN at RB2_bit; sbit LCD_D7 at RB7_bit; sbit LCD_D6 at RB6_bit;