Search Engine www.edaboard.com

52 Threads found on edaboard.com: 16f877a Led
Dear member any one who know how to interface gsm modem with pic16f877a to turn on/off led because I have trying to program a code for this stuff by using mikroC compiler but i doesn't work as am expected to work. My code it's below. sbit led at RC1_bit; char lock = "led ON"; char Read; void main() { (...)
Hello,I am trying to use the timer 1 in Timer mode for timing a determined time for blinking a led ,but I am not coming out with this,could anyone help me to sort this out? I am uisng MicroC the the code below I was trying to use: //#include <16f877a.h> int count=0; void main(void) { T1CON=0x01; TRISC.F7=0X00; TRISD.F1=0X00;
Hello, i am interfacing pic 16f877a with solenoids using micro c. I know how to control stepper motors and i thought the code would be similar but i need some help to determine if its a hardware problem or not. here is a simpler version of my code but its not working.They are not moving. I have the solenoids connected to port D.
do i need an Xbee or a ZigBee to send a msg from the GSM to the PIC 16f877a thank you
ok First of all you need to have some circuit diagram for it....another thing why do you want to use two processor PIC16f877a and PIC16F72 ..... My suggestion here will be do this project in LCD than doing in seven segment displays as multiplexing seven segment require one interrupt timer...... Good Luck
this is my clock project using 8051 just change the ic and get an led matrix just changing the IC won't do the job you need to write code for 16f877a
hi guys i have programmed my pic 16f877a to do led chaser and here's the code in assembly languge main: clrf PORTD bsf STATUS,RP0 movlw 0x00 movwf TRISD bcf STATUS,RP0 movlw 0x09 ; number of shifts that the pic will do movwf n1 movlw 0x08 movwf n2 movlw 0x07 movwf n3 movlw 0x06 movwf n4 movl
Hi, Have a look on these files. it uesd pic 16f877a!!!!:razz::razz::razz::razz::razz::razz::razz:
now i'm make a project that when i press a push button for a Time then when i leave this push button , i need to make a led on for the same time that i pressed the push button by using timer 1 on pic 16f877a how to do that ?! my code : int Duration; int TimeValue; void main() { TRISB.B7=1; // i/p for pic --> push button TRISB.B6=0; // o/
Can some body plz help me to modify the following codes for counting the frequency up to 2Mhz of a square wave and sine wave: #include <16f877a.h> #use delay(clock=20M) #include #include #fuses hs,nowdt,nocpd,nolvp,noprotect #byte portc=0x07 #bit led=portc.4 void LCD_D(); unsigned int16 value; void main()
i wrote a program in mikro c & put it into 16f877a, led didnt glow but when i touch one of the probe of multimeter with vdd pin of controller & other with osc2 then it was glowing, what is this? please tell where i m making mistake?? code is void main() { TRISB = 0; // TO MAKE ALL PORT OUTPUT PORTB = 0; // TO OFF PORTB while(1) { PORT
Hi, The 16f877a does not have any internal oscillators, only external ones. If the led is flashing very slowly with the crystal removed, its just by chance / random oscillations. How have you built your circuit, on a pcb, hand wired or on a breadboard ? How far from the chip is the crystal ? - it should be as close a possible. Have
Hi, I have written some code that turns on specific led(s) depending on the ADC value. But when I implement the code on the hardware, a rapid change in input voltage causes the 16f877a to turn the led(s) on with a few milliseconds of delay. If anyone could please have a look at the code and possibly recommend me a correct direction to (...)
Hi, I'm having an issue with PIC16f877a where it starts up; after significant amount of time, maybe 15 seconds, when it has been powered down for few minutes. after about 0.5 seconds when powered off while it's running, then powering it on again quickly. I tried with both PICkit 2 and regulated 5V and tried removing t
hello i m building 4x4x4 cube and i did make one on proteus but did not count the Resistors or any componts for now in till i get the code going i have made the code i made every led go on and off but i just didnt know how to make the light up one layer at a time, but do it so fast that the eye doesn't recognize that only one layer is lit at any
I have written a code for send an sms from pic 16f877a via gsm module(New Siemens T35i) . Code is working in the proteus but when programmed it, tx output is around 5v and not changing. Help me to find out the problem here is the code i have used. void sms_send(); char sms; void main() { UART1_Init(9600); // In
HI................................................................ I am new user of PIC micro-controller I use PIC 16f877a , mikroC compiler , WinPic800 and jmd programmer witch I attached it's circuit and I wrote this simple code for led blinking on PORTC.4 Every things works perfectly and the led blinking But my problem is when I (...)
Hi, I just finished of with my development board. I'm using Proton 7 for compiling and the problem is that the led matrix I've connected with the zif adapter to toggle isn't working. I checked all the points of testing and it's working fine. I tried my chip on my friend's db and the led matrix is toggling up. Can anyone help me please?
Hi, i am supposed to use rc 5 protocol to transmit data from one pic and display it on another where other pic is connected to lcd for display purpose. i searched on net a lot but only links i found were to use rc 5 as remote control. I have never used RC5 protocol so i am bit clueless.Can anyone guide me? I am confused can anyone tell me whe
74908hello i am with a problem, i am developing a led cub of 4x4x4. i'm using pic 16f877a, and max 7219 to multiplex using the spi protocol, with a crystal clock of 4 mhz in tx mode but my system doesnt respond, any code i use all de led turn on... i ready check the hardware, conecctions and stufs, its all correct... i think