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.
May anyone expert with PIC help me on PIC16F628A? The attached code is a 8 - leds chaser code, with time delay RELAY. Port RA2 will send output/high to relay after delay approx 4 mins. I willing to add piezo on Port RA3, so that when RELAY ON(RA2 is high) the piezo will beep 3 times. Please help...
Re: PIC16F628A
Yeah bravoo!!!! great, it is working now. By the way, what is the maximum delay time we can apply on INTC variable? I tried put much longer delay time, but seems not working well? How is the calculation for this timer?
Regards,
Surianto Zheng
Re: PIC16F628A
Thanks, its working now. I'm intend to combine this timer1 code, with LEd Chaser code which are in the attachment(help me.zip). Where should I put the code "GOTO ISR".
Please check file pwmc_main107.asm and pwmc_start.inc. After I put GOTO ISR under 0x04, the relay on and off...
Re: PIC16F628A
Tahmid,
Seems doesnt work for Timer1, please kindly check the code i already modified, shown below,....the led not ON and the relay not ON when I apply power.
LIST P=16F628A
#INCLUDE <P16F628A.INC>
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT & _LVP_OFF...
Re: PIC16F628A
Hi Mr. Tahmid, Thanks so much, its working. Can I use timer1 instead of timer0, because the code in led chaser already using timer0 module.
Re: PIC16F628A
Have you check the LED chaser code? I need you help to guide me where should I insert this delay code in Led Chaser Program. I tried, but not working. Thanks bro
Added after 18 minutes:
The Led Chaser program is working fine, i just need to add the delay relay module inside...
Re: PIC16F628A
Thanks so much Tamid Brother, thanks for your sincere help, I had attached the zip file, contains the led chaser code and the schematic. I willing to modified the led chaser code, so that the pin port A RA2 can send the output signal to control the relay after about 3 minutes...
Re: PIC16F628A
Thanks smartie, its working well. I'm trying to add this delay to another 8 led chaser project,..do you think can help me on this? where to insert the code.
Thanks brother !
PIC16F628A
I'm a newbie with PIC programming. I'm trying to program PIC16F628A for 10 secs delay, after the delay 10sec is done, it will control the relay from RA2's pins.
Below this is the code, but its not working, can somebody help me and tell me what is wrong?
list p=16f628a
__CONFIG...
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.