Truncated match.
PICList
Thread
'eeprom in pic'
2000\03\13@053244
by
Soon Lee
Hi everyone
What are some of the applications of the EEPROM in PIC??
pls enlighten me
thanks
regards
soon lee
2000\03\13@092640
by
John Bes
It is used to store data for as long as you want.
It stays in the rom even when there is no power applied.
So you could use it for some power-up variables...or whatever you can think
of ...
Greetz,
John
----- Original Message -----
From: Soon Lee <spam_OUTpslnTakeThisOuT
CYBERWAY.COM.SG>
To: <.....PICLISTKILLspam
@spam@MITVMA.MIT.EDU>
Sent: Monday, March 13, 2000 11:36 AM
Subject: eeprom in pic
> Hi everyone
>
> What are some of the applications of the EEPROM in PIC??
> pls enlighten me
>
> thanks
> regards
> soon lee
2000\03\13@121748
by
M. Adam Davis
|
I've made a timer which uses the EEPROM this weekend. Right now it counts down
from 810,000 in three hours, displaying the number on 6 seven-segment LEDs.
Every 100 counts it stores its top four digits to the first to eeprom locations
in the 'f84. Upon reset or power-up it reads those locations and starts
counting from there. This way I can turn it on and off and keep the current
count (losing perhaps 100 counts, which is about 2 seconds and is fine for this
application).
For those that are curious, I am a den leader for five 9 year old cub scouts
(youth organization on USA). Those of you that have worked with youth this age
knows they tend to be rowdy. One positive reinforcement for good behavior is to
light a candle at the begining of the meeting, and blow it out after they have
been misbehaving. Explain to them that when the candle is burned down you'll
have a treat (party, whatever) for them. The less they misbehave, the faster
the candle burns.
The church meetinghouse I use does not allow lit materials inside (probably due
to insurance policies...) so I can't use a candle. I have a few spare 'f84s,
and a grab bag of LED displays, so I threw this together over the weekend. I'm
going to modify it further so I can hit reset 5 times before it stops counting,
each time it is reset it will decrement another eeprom location, and will count
more slowly. Right now it decrements about 50 counts per second.
I may choose to use and LCD with it in the end though, for lower current draw
and fewer parts. Right now it is using a ULN2803 and 6 2n2222s along with the
displays and 'f84.
-Adam
Soon Lee wrote:
>
> Hi everyone
>
> What are some of the applications of the EEPROM in PIC??
> pls enlighten me
>
> thanks
> regards
> soon lee
2000\03\13@124424
by
Alan Pearce
>For those that are curious, I am a den leader for five 9 year old cub scouts
>(youth organization on USA). Those of you that have worked with youth this age
>knows they tend to be rowdy. One positive reinforcement for good behavior is
to
Mighty clever way of dealing with kids. taught yourself some multibyte
incrementing along the way (not that it is that difficult). I like the way your
intending to expand the project.
2000\03\13@133045
by
M. Adam Davis
Well, I cheated on the incrementing. Rather than deal with binary to BCD
conversion, I've implemented the number in three bytes of 4-bit BCD, and
increment them. I haven't analyzed the code the compiler generated, but I'm
sure it's horendous.
num0--;
if(num0 & 0xf == 0xf) // should use xor and zero flag here
{
if(num0 == 0xff)
{
num1--;
...
-Adam
Alan Pearce wrote:
>
> >For those that are curious, I am a den leader for five 9 year old cub scouts
> >(youth organization on USA). Those of you that have worked with youth this age
> >knows they tend to be rowdy. One positive reinforcement for good behavior is
> to
>
> Mighty clever way of dealing with kids. taught yourself some multibyte
> incrementing along the way (not that it is that difficult). I like the way your
> intending to expand the project.
More... (looser matching)
- Last day of these posts
- In 2000
, 2001 only
- Today
- New search...