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

2 downloads 74 Views 451KB Size Report
It includes everything required for be. Digital Voltmeter using PIC Microcontroller. Normal 0 false false false EN-IN. P
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

Suggest Documents