electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Countdown Timer help (pic16f628)


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Countdown Timer help (pic16f628)
Author Message
eng.aymanaly



Joined: 06 Aug 2009
Posts: 2


Post06 Aug 2009 0:46   

pic 16f628 coundown timer


Hi all.....I've built the countdown timer in this sitehttp://www.turbokeu.com/myprojects/countdown3.htm and modified it a little bit to work with 4" and 2.3" displays.

But I want to add 2 new press buttons (while keeping the original buttons in the schematic as they are) one to set the timer to 15 mins and the second to set it to 30 mins then the timer should starts to countdown imediately and when reachs 5 mins activate the relay on RB5 (instead of it being on all time)

I don't know how to modify the code to do that, so your help will be so much appreciated Smile

PS. we can use the internal oscillator and use the 2 pins to be I/O for the new buttons

thanks in advance
Back to top
Google
AdSense
Google Adsense




Post06 Aug 2009 0:46   

Ads







Sorry, but you need login in to view this attachment

Back to top
eng.aymanaly



Joined: 06 Aug 2009
Posts: 2


Post06 Aug 2009 19:08   

pic16f incfsz


can anyone even tell me how to start doing this? any help please?
Back to top
wp100



Joined: 15 May 2009
Posts: 327
Helped: 45
Location: England


Post06 Aug 2009 20:25   

pic16f628 chip used for?


Hi,

Afraid you are very unlikely for anyone to do that for you.

The chip 16F84 is obselete and the code needs porting onto a more modern chip, which will also need to be a bigger one if you want two extra switches as all 18 pins of that chip are used.

To add switches in to react with the program means you must fully understand all the existing code before you can possibly do that. I doubt anyone would want to spend the time doing that for you.

The best suggestion would be to either design and program your own timer from scratch or sit down and understand all this existing code yourself and then add in the extra switches and functions.

Doing one of these, preferably the first one, will give you a really good beginners project to work at and when complete you will have gained a lot of knowlege about pic programming and hopefully had a rewarding and enjoyable time doing it.

You will doubtless get stuck on some points - but that's where this forum will happily assist.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Countdown Timer help (pic16f628)
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
countdown timer (1)
Countdown timer (5)
Adjustable 24hrs countdown timer (2)
how many countdown timer in PIC16F877A (5)
pic16f628 HELP!! (5)
pic16f628 HELP!! (4)
parallel in, serial out with pic16f628? help (1)
I need help for pic16f628 cnc machine 4 pcb (1)
help with script updating to pic16F628 for pocket programme (2)
Need Help With [ TX/RX ] For PIC16F628 - Please Look Into IT (8)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS