418 Threads found on edaboard.com: Pic 16f877
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
Microcontrollers :: 05-04-2016 10:55 :: derser :: Replies: 0 :: Views: 320
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
Microcontrollers :: 03-16-2016 02:00 :: pjmelect :: Replies: 10 :: Views: 766
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
Microcontrollers :: 03-01-2016 03:40 :: janosandi :: Replies: 8 :: Views: 594
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
Microcontrollers :: 01-19-2016 16:09 :: kasamiko :: Replies: 1 :: Views: 645
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)
Microcontrollers :: 10-24-2015 08:10 :: Kripton2035 :: Replies: 1 :: Views: 497
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 (...)
Microcontrollers :: 05-20-2015 18:16 :: brain8300 :: Replies: 0 :: Views: 376
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
Microcontrollers :: 03-16-2015 18:09 :: mugheesnawaz :: Replies: 8 :: Views: 876
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.
Microcontrollers :: 02-28-2015 22:00 :: milan.rajik :: Replies: 7 :: Views: 1324
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:
Either use on off switch instead of push button switch, in that case based upon binary combinations pos
Microcontrollers :: 01-26-2015 16:19 :: AdityaRajNayak :: Replies: 1 :: Views: 876
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
Microcontrollers :: 01-13-2015 08:26 :: zuisti :: Replies: 2 :: Views: 2519
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
PCB Routing Schematic Layout software and Simulation :: 09-16-2014 19:29 :: ZS1BFE :: Replies: 1 :: Views: 2013
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
Microcontrollers :: 09-12-2014 15:12 :: vnsbudhe :: Replies: 2 :: Views: 956
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,
this is my schema
and my program code :
unsigned int niv_bac1;
unsigned int niv_bac2;
unsigned char i,j;
Microcontrollers :: 05-30-2014 23:23 :: zapollon :: Replies: 6 :: Views: 1554
Zip and post your CCS C project files and Proteus file. Don't use MAX232 in Proteus. Connect COMPIM directly to pic.
Microcontrollers :: 05-11-2014 20:03 :: milan.rajik :: Replies: 5 :: Views: 845
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
Microcontrollers :: 03-17-2014 16:46 :: rascal_141 :: Replies: 2 :: Views: 726
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
Microcontrollers :: 02-25-2014 08:03 :: FvM :: Replies: 8 :: Views: 901
I want to display float value on LCD display in pic16f877 using Hi-tech C compiler.
Can anybody help me???
Microcontrollers :: 02-18-2014 04:44 :: ecaits :: Replies: 4 :: Views: 4213
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
Microcontrollers :: 02-17-2014 06:19 :: lovefool :: Replies: 1 :: Views: 1096
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???
#define RS RE0 //L
Microcontrollers :: 01-27-2014 07:41 :: ecaits :: Replies: 2 :: Views: 1425
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;
Microcontrollers :: 11-20-2013 13:46 :: SASSI Sam :: Replies: 12 :: Views: 861