Searching \ for 'keyless entry' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: piclist.com/techref/index.htm?key=keyless+entry
Search entire site for: 'keyless entry'.

Truncated match.
PICList Thread
'keyless entry'
1999\09\26@105719 by camerlin

flavicon
face
I'm working a keyless entry system using the PIC16C84 and would
appreciate anyone's tips and or advice.  I plan for the system to run on
a 4x3 keypad outside and it will unlock or lock the door on a house when
the proper code is entered.
Thanks.
chris camerlin

1999\09\26@142507 by Lea

picon face
At 10:16 AM 9/26/99 -0700, you wrote:
>I'm working a keyless entry system using the PIC16C84 and would
>appreciate anyone's tips and or advice.  I plan for the system to run on
>a 4x3 keypad outside and it will unlock or lock the door on a house when
>the proper code is entered.
>Thanks.
>chris camerlin
>
Hi!
You may try something like this:
use a 16F84 to read the keyboard, there are applications on the AN, let me
see if I
can find one...(2 min wait looking 4 it)...done, I couldn't find it, so:

A0   A1   A2   A3   <---outputs sequenced (see below)
|    |    |    |
1----2----3----A-------B0 input
|    |    |    |
4----5----6----B-------B1 input    <----typical keypad
|    |    |    |
7----8----9----C-------B2 input
|    |    |    |
*----0----#----D-------B3 input

you must add pulldown resistors on all tree B inputs

the way of use it is sequencing (high) the inputs A1..A3 (only 1 on at once) and
reading the outputs, if (for example) B1 is high when A2 is selected, then the
digit 6 was pressed.
Now the easiest way to send it to the central is IMHO using RS232, because only
3 wires are necesary (Power, ground and data out), and you also can doit
wireless,
it is more complex and a little more expensive but no wiring needed to the
central.
some time ago I did something like that with RFM modules (encapsulated
transmitters
that works at 400 mhz with ON/OFF modulation at 1200 baud (RX1000/TX1000 model))

each key pressed can be transmitted via RS232 to the central, for extra
security you
can isolate Rs232 with optocoupler and power the keypad with a different
power supply,
so if some kind of short or destruction ocurrs on the pad, it will not
affect the
normal operation of the central.

I have some PDF's of RFM modules and some simple Rs232 routines (without
using prescaler), If you need it, let me know.

did you have the mechanical part solved?.
I hope it will helpful.
  Leandro J. Laporta (LU2AOQ)
  mail: spam_OUTlu2aoqTakeThisOuTspamyahoo.com
  wrk: Arg. Assoc. for Space Technology.
  ham: TCP/IP high speed group HSG

1999\09\26@150322 by Steve Kelley

picon face
part 0 8822 bytes
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>F.Y.I. </FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>The&nbsp; Radio part 's
available from&nbsp; * RFM * ( <A href="http://www.rfm.com">http://www.rfm.com</A> )
now include the * <FONT color=#ff0000>TR 3001 </FONT>* ,</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>which is a transciever
capable of&nbsp; 19.2 kbps using OOK modulation and up to 119 kbps</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>using&nbsp; ASK modulation
.&nbsp; The part cost $20 in low volume and $ 8 at 100,000 . It is just
now</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>rolling off the line and
samples are difficult to obtain.&nbsp; This model operates at 315 mhz.
and</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>they offer the same part in
other freq.'s ( 303 , 418 , 433 , 868 , 916 mhz.) .</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>The part has * Sleep * (150
uA ) and while operating , only consumes approx. 12 mA / Xmitting -</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>4 mA / Receiving.&nbsp;
Plus , in sleep , it can wake itself when a * Training -Preamble *
begins</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>to be received . . . .
.eliminating constant polling .&nbsp; Range is anywhere from over 300
feet</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>to less than 50 feet . . .
. depending on environment , output power ,etc .</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>They ( RFM ) have some good
* On-Line * designers guides under the * Applications Icon *,</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>and if you start now . . .
. . you may be able to determine how to setup your antenna by the</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>holidays : )&nbsp;&nbsp;
It's taking quite a while for me to narrow down a selection . . . . . . .
</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif" size=2>Regards . . . .
.</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif"
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Steve Kelley</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif"
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Protobyte Inc.</FONT></DIV>
<DIV><FONT color=#0000ff face="MS Sans Serif"
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A href=".....infoKILLspamspam@spam@protobyte.com">infospamKILLspamprotobyte.com</A></FONT></DIV>> <DIV><FONT color=#0000ff face="MS Sans Serif" size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
   <DIV><FONT face=Arial size=2><B>{Original Message removed}

1999\09\26@150738 by Peter van Hoof

flavicon
face
put some diodes between outputs and keys to prevent blowing up outputs if
more than one key at a time is pressed (my kids would be great in testing
this)
the other possibility is to only switch one of them to output and keep the
others inputs.

Peter van Hoof
-------------
.....pvhKILLspamspam.....vertonet.com
http://go.to/pvh

{Quote hidden}

1999\09\26@232845 by Valter Gruntar

flavicon
face
part 0 2048 bytes content-type:application/x-unknown-content-type-asm_auto_file;I have already did this. The PIC is in sleep mode when it is waiting for the

key press so consumption is reduced to minimum.
For changing the key code you have to enter the code: "1234" then the your
old valid code "XXXX" end then your new code "YYYY" and repeat the new one
ones again "YYYY".

If you want to unlock (the door for ex.) just enter the valid key code end
press "#".( # is as enter, * is as clear whole number) . If the code is NOT
correct, you can try once more and if the code is NOT correct the second
time, you can try again. But, if the third time the code is not correct the
pic will disable keypad for three minutes. After that, it will give you two
chances to enter the right code. If the second time (in global it is the
fifth)
is not correct the pic will disable keypad for cca THREE HOURS. After
that you can enter just ones. If this time the code is NOT correct, the pic
will disable the keypad for cca THREE DAYS.
Interesting thing is something else.

For example:

You have entered (in global) five times the code and it wasn't correct. You
now have disabled keypad for THREE HOURS. After TWO HOURS you decided to
switch the power off to reset the pic and this three hours period. You CAN
NOT. When the power will come back, it will start to count down WHOLE THREE
HOURS period again. So in total will be five hours period.

During those periods NO ONE can reset it. This may be a bug (may be not)
take it as you want.

Valter

Chris Camerlin wrote:

> I'm working a keyless entry system using the PIC16C84 and would
> appreciate anyone's tips and or advice.  I plan for the system to run on
> a 4x3 keypad outside and it will unlock or lock the door on a house when
> the proper code is entered.
> Thanks.
> chris camerlin

Content-Type: application/x-unknown-content-type-asm_auto_file;
name="keylock.asm"
Content-Disposition: inline;
filename="keylock.asm"

Attachment converted: wonderland:keylock.asm (????/----) (0000CE3C)

1999\09\27@075937 by paulb

flavicon
face
Peter van Hoof wrote:

> put some diodes between outputs and keys to prevent blowing up outputs
> if more than one key at a time is pressed (my kids would be great in
> testing this)  The other possibility is to only switch one of them to
> output and keep the others inputs.

 No, actually you switch them between input and output low controlling
the TRIS A register while all PORTA bits are written as zero.  You also
use inbuilt port B pull-ups (not pull-downs as was alternatively
mentioned).

 That's what they are there for.  Similarly, while it sleeps, you can
pull *all* the port A strobes low and use port B interrupt-on-change to
wake it.  Even whilst "awake" and not using port B interrupt-on-change,
this is the simplest way to poll for any keypress.
--
 Cheers,
       Paul B.

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...