HOME

CONTENTS

Search

MY SMART HOME PROJECT

Embedded Projects HOME

PIC Countdown Timer (0-99) 10:30 PM

Vishal Kottarathil

4 comments +3 Recommend this on Google

TOTAL PAGEVIEWS

278176 RECENT POSTS

My Smart Home Project ABSTRACT Smart home technology h collective term for information and com

STM32F4 Discovery Tutorial 1 Using NETMF - S Normal 0 false false false EN-IN

This project describes how to program PIC16F628A to function as a 00-99 min programmable timer. User can set any time between 00-99 minutes and can turn ON a device for that period. The device will be automatically turned OFF after the time expires. For demonstration, the ON/OFF condition of device is simulated by switching LED ON and OFF. With the use of three input switches (unit, ten, start/stop) the user can set ON time of the timer and can also control Start/Stop operation. The two time set switches are for selecting unit and tens digit of minute time interval (00-99). Once you set the value of minute interval, pressing the Start/Stop will turn the timer ON (LED will glow), and pressing the same button again at any point of time during timer operation will interrupt the process (LED will turn OFF) and the timer will be reset. LCD display will provide timer status and user interface for setting time.

STM32F4 DISCOVERY BOARD The STM32F4DISCOVERY helps you easily. It includes everything required Digital Voltmeter using PIC Microcontroller Normal 0 false false false EN-IN

PIC 4x4 Keypad Interfacing Tutorial - MikroC Normal 0 false false false EN-IN

Automatic Water Level Control And Real Time M Automatic Water Level Control And R between two predefined upper and low Circuit

PC Based Voltmeter Using C# Voltmeter C# Arduino, PIC, AVR circuit and other details of the project

PC Based Digital Voltmeter Using PIC 16F877A Voltmeter C# .Net PIC, Arduino, AVR

Interrupt of PIC 16F877A Interrupt of PIC 16F877A Features of either ( depending on how we set it up

An Extra UART For Your PIC Software UART Library The mikroC PRO for PI hardware independent and can be used with any Contents

converted by Web2PDFConvert.com

Code Compiled using MikroC for PIC

/* ############################################ MCU:16F628A Project: PIC Countdown Timer (0-99) Vishal K M Jan 10, 2012 ############################################

*/

Projects PIC Digital Voltmeter using P

Generate Sound And Melody Using PIC Microcon Facebook Page microcontroller. Different types of sounds can be 8051 4 Bit LCD Interfacing Tutorial Click Here For Character LCD Basics (with HD44780 compliant controllers)

USB to Serial Converter using AVR microcontroll AVR-CDC converts USB and RS-232C technology is based on Object Deveopm protocol was...

8051 Serial Communication Tutorial (UART) First, a quick history of RS232. What i of computers. The first computers had

// LCD module connections sbit LCD_RS at RA0_bit; sbit LCD_EN at RA1_bit; sbit LCD_D4 at RB4_bit; sbit LCD_D5 at RB5_bit; sbit LCD_D6 at RB6_bit; sbit LCD_D7 at RB7_bit; sbit LCD_RS_Direction at TRISA0_bit; sbit LCD_EN_Direction at TRISA1_bit; sbit LCD_D4_Direction at TRISB4_bit; sbit LCD_D5_Direction at TRISB5_bit; sbit LCD_D6_Direction at TRISB6_bit; sbit LCD_D7_Direction at TRISB7_bit; // End LCD module connections // Tact switches and Relay ports sbit Relay at RA3_bit; sbit SS_Select at RB0_bit; // Start Stop Timer Select sbit Unit_Button at RB1_bit; // Set unit min sbit Ten_Button at RB2_bit; // Set ten min

// Messages char Message1[]="Timer by VISHAL"; char Message2[]="Device ON"; char Message3[]="Device OFF"; char Message4[]="Set Time: min"; char Message5[]="Time Left: min"; unsigned short i, j, unit=0, ten=0, ON_OFF=0, index=0, clear, time; char *digit = "00"; // 300ms Delay void Delay_300(){ Delay_ms(300); } void Display_Digits(){ digit[1]=unit+48; digit[0]=ten+48; Lcd_Out(2,11,digit); } void start_timer(unsigned short MinVal){ unsigned short temp1, temp2; Relay = 1; ON_OFF = 1; Lcd_Cmd(_LCD_CLEAR); Lcd_Out(1,1,Message2); Lcd_Out(2,1,Message5); OPTION_REG = 0x80 ; INTCON = 0x90; converted by Web2PDFConvert.com

for (i=0; i
// Disable Comparators

Lcd_Init(); // Initialize LCD start: clear = 0; Lcd_Cmd(_LCD_CLEAR); // Clear display Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off Lcd_Out(1,1,Message1); Lcd_Out(2,1,Message4); Display_Digits() ; do { if(!Unit_Button){ Delay_300(); unit ++; if(unit==10) unit=0; Display_Digits(); } // If !Unit_Button

FIND US Find us on Facebook

Embedded Projects Like

Embedded Projects Pointers are...

4,673 people like Embedded Projects.

F acebook social plugin

FOLLOW BY EMAIL

POPULAR POSTS PIC Serial Communication Tutorial (UART) First, a quick history of RS232. What is RS232? It's just a name for a standard that has propagated from generation to generation o... PIC Microcontroller Based Electronic Lock Circuit Diagram Security is a prime concern in our day-today life. Everyone wants to be as much secure as possible. An ac... STM32F4 Discovery Tutorial 1 Using NETMF - Setting Up the Environment STM32F4 STM32F4 Discovery I received my STM32F4 Discovery board few days ago. During these days I am searchi... PIC Countdown Timer (0-99) This project describes how to program PIC16F628A to function as a 00-99 min programmable timer. User can set any time betwe...

if(!Ten_Button){ Delay_300(); ten ++; if(ten==10) ten=0; Display_Digits(); } // If !Ten_Button if(!SS_Select){ Delay_300(); time = ten*10+unit ; if(time > 0) start_timer(time);

Submit

Email address...

Projects Topic List Projects Topic List With Links Discussion Group Updated on 11/11/2012 From Cornell University ECE 4760 Design...

CATEGORIES .NET (2) 16x2 Character LCD (9)

converted by Web2PDFConvert.com

} // If !SS_Select

2 UART (1)

if(clear){ goto start; } } while(1);

4x3 Keypad (1) 4x4 keypad (1) 8051 (6)

}

8051 Project (3) 8051 Tutorial (3) 89C51 (4) 89C51 Project (2) 89S51 (1)

Facebook page

89S52 (1) Additional UART (1)

Posted in: 16x2 Character LCD,Embedded Project,Embeded,LCD,Microcontroller,Microcontroller Project,Mikoc 4 Bit LCD,MikroC,PIC,Project,Timer

ARM (1) Atiny (1)

Newer Post

Home

Older Post

Atmega8 (1) AVR (5) Avr Project (1)

4 comments:

C# (1)

CYK said...

C# Serial Port (2)

W hich cristal frequency are you using? 4MhZ, 8Mhz, 20Mhz... May 8, 2012 at 9:51 AM

C# serial Terminal (1) C# Voltmeter (1) Clock (1)

Vishal K M said...

Contents Page (1)

I used 4Mhz, compiler w ill take care of the Cristal frequency u can use any of them.

Digital Voltmeter (3)

June 1, 2012 at 7:45 AM

EEPROM (2) Electronic code lock (1)

if said...

Embedded (18)

hi, hw to modify this circuit & coding if I don't w ant to use lcd? I w ant a 10-30 mins countdow n timer w ith alarm (piezo buzzer) as audio output.

Embedded Project (11)

March 19, 2013 at 8:35 AM

Embeded (5)

Embedded Tutorial (13)

Extra UART (1)

Vishal Kottarathil said... How do you set the timer? If you are using a fixed timer its ok. March 19, 2013 at 8:48 PM

Home Security (1) Internet Based Device Control (1) Keypad (1) Keypad Tutorial (1)

Post a Comment LCD (6) LCD Tutorial (4)

Enter your comment...

Lock (1) LPG Sensor (1) MAX232 (3) Microcontroller (15) Comment as: Publish

Select profile... Preview

Microcontroller generates sound (1) Microcontroller Interrupt (1) Microcontroller Project (7) Microcontroller Tutorial (11)

converted by Web2PDFConvert.com

Microcontroller Tutorial. 8051 Tutorial (1) Mikoc 4 Bit LCD (3) MikroC (15) MikroC AVR (3) MikroC AVR Tutorial (3) MikroC EEPROM (2) MikroC for 8051 (4) MikroC PIC Tutorial (6) Mikroc tutorial (3) Motor Control (1) NETMF (1) Password Lock (1) PC Based Voltmeter (1) PIC (8) PIC Based Electronic Lock (1) pic ADC (3) pic interrupt (1) PIC Music (1) pic project (4) PIC sound melody (1) PIC Tutorial (3) PIC UART (1) PIC Voltmeter (3) Project (10) Projects Topic (1) Real Time Monitoring (2) RS 232 (1) Security System (1) Serial Communication (3) Smart home (1) Smart Home Project (1) STM32 (3) STM32F4 (3) STM32F4 Discovery (3) STM32F4 Project (1) STM32F4 Tutorials (3) STMicroelectronics (1) Temperature Sensor (2) Timer (1) Tutorial (8) Uart (6) USB (1) USB to RS 232 (1) USB to UART (1)

converted by Web2PDFConvert.com

VISUAL STUDIO (1) Water Level Control (1)

BLOG ARCHIVE ► 2013 (4) ▼ 2012 (25) ► November (2) ► October (2) ► August (1) ► June (3) ► April (3) ▼ March (13) Projects Topic List AVR Serial Communication Tutorial (UART) PIC Serial Communication Tutorial (UART) Electronic Voting Machine Using 8051 Microcontroll... 89C51 Based Digital Thermometer Using DS1820 PIC 4 Bit LCD Interfacing Tutorial PIC 16F887 Based Digital Thermometer AVR 4 Bit LCD Interfacing Tutorial Character LCD Basics AVR EEPROM Tutorial PIC Countdown Timer (0-99) PIC Microcontroller Based Electronic Lock LCD based digital alarm clock using 89S51 microcon... ► February (1)

ABOUT ME V I S H A L K O T T A R A T H I L V I E W M Y C O M P L

Embedded Projects. Powered by Blogger.

SIGN IN

FOLLOWERS

converted by Web2PDFConvert.com

LABELS Contents Page (1)

Copyright © 2011 Embedded Projects | Powered by Blogger Embedded Projects Blog Tutorials | Projects - |

converted by Web2PDFConvert.com

PIC Countdown Timer (0-99) ~ Embedded Projects -

It includes everything required for be. Digital Voltmeter using PIC Microcontroller. Normal 0 false false false EN-IN. PIC 4x4 Keypad Interfacing Tutorial - MikroC.

451KB Sizes 2 Downloads 88 Views

Recommend Documents

Interfacing PIC Microcontrollers Embedded Design by Interactive ...
Interfacing PIC Microcontrollers Embedded Design by Interactive Simulation.pdf. Interfacing PIC Microcontrollers Embedded Design by Interactive Simulation.pdf.

Download PIC BASIC: Programming and Projects ... - PDFKUL.COM
PIC BASIC is the simplest and quickest way to get up and running - designing and building circuits using a microcontroller. Dogan Ibrahim s approach is firmly ...

PDF Download Designing Embedded Systems with PIC ...
supplied for foreach in srv users serverpilot apps jujaitaly public index php on line 447Retrouvez ... students get all they need to ... find this book a valuable.

PDF Download PIC Microcontroller Projects in C: Basic ...
PDF Download PIC Microcontroller Projects in C: Basic to Advanced Online Ebook. Books detail. Title : PDF Download PIC Microcontroller Projects in q. C: Basic to Advanced Online Ebook isbn : 0080999247 q. Book synopsis. [ PIC Microcontroller Projects

free [download] designing embedded systems with 32-bit pic ...
PDF Download Designing Embedded Systems With 32-Bit PIC Microcontrollers And MikroC By Dogan Ibrahim Full Ebook,PDF Free Designing Embedded ...