coding for rfid door lock

Programmer, In-Circuit Debugger, PIC Start-Up Kit, Memory Interface...

coding for rfid door lock

Postby Farid89ism » Tue Feb 14, 2012 11:42 pm

Hi..i am doing rfid door lock using sk40c. can anybody help me to generate source code because i am using pic16f877a rather than what are cytron used. here are my important pin. pin15-output for relay. (pin19-DB0, pin20-DB1, pin36-R/W, pin 37-RS, pin38-E, pin21,22,27,28,29,30-DB2,DB3,DB4,DB5,DB6,DB7) >>for LCD. pin25-Tx. pin26-Rx. thanks..really need your help
Farid89ism
Newbie
 
Posts: 15
Joined: Mon Nov 14, 2011 5:49 pm

Re: coding for rfid door lock

Postby shahrul » Wed Feb 15, 2012 12:01 am

Are you simply ask people to write code for you?
You should start your work, try to write coding and if want asking, at least show what you have done.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: coding for rfid door lock

Postby robosang » Wed Feb 15, 2012 11:07 am

shahrul, yes he is, obviously! :mrgreen:


BTW, farid89ism, I thought Cytron uses PIC16F877A for most of their DIY project, is the RFID door lock DIY project? You thought generating codes is one click? I don know what is the purpose of doing project if you keep asking people to do this, to do that, What you do? Soldering? Load program? And when you done study, you want to do solder and load program only? Because you know that only. So this is our country future engineer :o
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: coding for rfid door lock

Postby ABSF » Wed Feb 15, 2012 12:46 pm

It is actually quite simple. The sample source code is already included in the PR25. Just open the project file, change some of the DEFINES and select device 16F877A. Then press "build" and that's it.

I dont know if you're just a hobbyist or a college student. But I really dont appreciate the learning attitude... :?

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: coding for rfid door lock

Postby Farid89ism » Wed Feb 15, 2012 4:02 pm

ok..im sorry about that. my bad..but its really encouraging. thanks..just want to learn. i have done my coding several times before but it cant works. sorry again
Farid89ism
Newbie
 
Posts: 15
Joined: Mon Nov 14, 2011 5:49 pm

Re: coding for rfid door lock

Postby ober » Thu Feb 16, 2012 1:49 pm

Farid89ism, just try to compile the code as suggested by Allen. If you have problem post here, but some action is need before you request help. Hope to see your project, good luck.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: coding for rfid door lock

Postby Farid89ism » Sun Feb 19, 2012 6:11 pm

thanks ober and friends. im on my way. hope i can finished it successfully
Farid89ism
Newbie
 
Posts: 15
Joined: Mon Nov 14, 2011 5:49 pm

Re: coding for rfid door lock

Postby Farid89ism » Sat Mar 24, 2012 12:40 am

Hi all programmer here. just want to ask, how i want set crystal frequency of 4MHz on coding. I have run my coding on proteus and it works. But later on when i install into my circuit, there is no progress. I thought is about my crystal frequency. im using 4mhz on my circuit.
Farid89ism
Newbie
 
Posts: 15
Joined: Mon Nov 14, 2011 5:49 pm

Re: coding for rfid door lock

Postby Idris » Sat Mar 24, 2012 3:08 pm

Maybe,

_XTAL_FREQ 20000000
Change to
_XTAL_FREQ 4000000
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 409
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang


Return to PIC Development Tool

Who is online

Users browsing this forum: No registered users and 22 guests