CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 27 matches
CCS Forum Index
Author Message
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Sun Sep 26, 2010 10:08 pm   Subject: keypad routine for automatic fan controller
Finally it works....


#include <16F877A.H>
#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 20000000)

#include "C:\Users\deli\Desktop\keypad\LCD\Fle ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Sun Sep 26, 2010 6:30 pm   Subject: keypad routine for automatic fan controller
lcd driver that i used

// flex_lcd.c

// These pins are for the Microchip PicDem2-Plus board,
// which is what I used to test the driver. Change these
// pins to fit your own board.

#define ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Sun Sep 26, 2010 11:30 am   Subject: keypad routine for automatic fan controller


#include <16F877A.H>
#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 20000000)

#include "C:\Users\deli\Desktop\keypad\LCD\Flexlcd2.c"
#includ ...
  Topic: Counter code
delifadzli

Replies: 2
Views: 4040

PostForum: General CCS C Discussion   Posted: Sat Sep 25, 2010 1:24 pm   Subject: Counter code

#include <16F877A.H>
#device ADC=10
#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 20000000)


#include "C:\Users\deli\Desktop\COde\maximum\brum\Fl ...
  Topic: PIR sensor interface with PIC
delifadzli

Replies: 1
Views: 5667

PostForum: General CCS C Discussion   Posted: Thu Sep 23, 2010 11:01 am   Subject: PIR sensor interface with PIC
Hi everyone, I want to ask how to adjust the triggering effect of PIR sensor.

I'm using PIR sensor -
http://www.myduino.com/index.php?route=product/product&product_id=58

Based from the dat ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 9:25 pm   Subject: keypad routine for automatic fan controller

if(key>=0 && key<=10){ //the key pressed is a number, not enter
temporary=(temporary*10) + key;

If I pressed, the keypad like 5, then the temporary will produ ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 9:23 pm   Subject: keypad routine for automatic fan controller
if(key>=0 && key<=10){ //the key pressed is a number, not enter
temporary=(temporary*10) + key;

If I pressed the keypad like 5, then the temporary wi ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 11:40 am   Subject: keypad routine for automatic fan controller
Thanks for idea. But maybe it was my own weakness. I don't quite get it.

You said key = key*10 + key pressed.

Key? What value? Where can I get that value?

Truly sorry for this trouble. Can yo ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Wed Sep 15, 2010 7:32 am   Subject: keypad routine for automatic fan controller
Hi again,

With the keypad driver given...I managed to make it work.

Right now, the problem is I don't get on how to interact it with lm35 value detected.

The keypad... when press 1 =1 and sa ...
  Topic: keypad routine for automatic fan controller
delifadzli

Replies: 13
Views: 12650

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2010 2:45 am   Subject: keypad routine for automatic fan controller
Hi everyone, I want to ask if it's applicable to use keypad for my automatic fan controller project. The keypad will act like air-conditioner system.

My actual project:

Automatic fan controller ...
  Topic: Clarification on my code
delifadzli

Replies: 2
Views: 3631

PostForum: General CCS C Discussion   Posted: Fri Aug 27, 2010 7:43 pm   Subject: Clarification on my code
Both sensors will be placed at the door, one at the entry of the door and the other one just behind it.

The action that I planned:

The sensor 1 will be off first before checking for sensor 2.
T ...
  Topic: Clarification on my code
delifadzli

Replies: 2
Views: 3631

PostForum: General CCS C Discussion   Posted: Fri Aug 27, 2010 11:22 am   Subject: Clarification on my code
Can someone check whether this code is true or not...the situation is for 2 sensor. The sensor alert from 1 to 2 will result = increment 1 while if the sensor 2 followed by 1 will result = decrement 1 ...
  Topic: PIR sensor PIC16f877
delifadzli

Replies: 2
Views: 5229

PostForum: General CCS C Discussion   Posted: Fri Aug 13, 2010 3:43 am   Subject: PIR sensor PIC16f877
transmitter link : http://1.bp.blogspot.com/_3gu68B4AUcs/SyDtYYXVrdI/AAAAAAAAAAk/c5ln9WJ70lM/s1600-h/room1.gif

Receiver link : http://2.bp.blogspot.com/_3gu68B4AUcs/SyDtPpgx06I/AAAAAAAAAAc/dxzUCRw_ ...
  Topic: PIR sensor PIC16f877
delifadzli

Replies: 2
Views: 5229

PostForum: General CCS C Discussion   Posted: Fri Aug 13, 2010 3:42 am   Subject: PIR sensor PIC16f877
Here is schematic that I found regarding automatic light controller based on human detection.

So here I wanna ask...isn't ok to use this diagram by replacing AT89s52 with PIC16f877A and the InfraRe ...
  Topic: PIR sensor PIC16f877
delifadzli

Replies: 2
Views: 5229

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2010 10:53 pm   Subject: PIR sensor PIC16f877
Hi everyone, I want to ask on how to deal with PIR sensor. PIR sensor is basically a motion detector that detect motion. So in this case, I would like use that sensor to act as as input to my ceiling ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group