Truncated match.
PICList
Thread
'help'
1995\05\18@143719
by
Jory Bell prichard
'help'
1996\04\29@131759
by
michele
Hi to everybody!
I would know if somebody can help me (with example, sample code) on develop
code for frequency generation and measuring with pic 16c84 or other pics.
I need this because i want interface pic with texas light to frequency
converter.
Thank you
Michele Menichini
Viareggio - ITALY
michele.m
KILLspamtelcen.caen.it
'help'
1996\10\09@182132
by
peter
Can anybody help
I have a 486 Tandon PC with an old Vesa 1 motherboard.I have installed
extra video memory but cannot access it.
The video chip is a WD 90c30 9144A(1991).Would anybody have a book
for the motherboard( jumper settings),or a number for Tandon?
I have searched and found nothing.
The last number I have for them is 805-523-0340.
Absolutely any help would be much appreciated as obtaining reliable
information in Greece is extremely difficult.
P.S I know that this is only slightly PIC related so email direct may
be appropriate
Many thanks
--
Peter Cousens
email: .....peterKILLspam
.....cousens.her.forthnet.gr
snailmail: Peter Cousens, karteros, Heraklion, Crete, 75100, Greece,
1996\10\24@044007
by
Andrew
Hello
I am a final year student at Bradford University (UK) doing Electrical
Engineering. For my final project I have decided to design and build a
micromouse robot using a PIC microcontroller. The mouse must find the way
around a maze and learn and then record the maze, so it can find the quickest
way to the centre. PLEASE could you send any information which could help
my project such as any software(program), choice of PIC, circuit
diagrams or tell me where I could find the most useful information from.
Much appreciated.
Andy.
1996\10\24@155540
by
Gerhard Fiedler
At 09:33 24/10/96 +0100, you wrote:
>I am a final year student at Bradford University (UK) doing Electrical
>Engineering. For my final project I have decided to design and build a
>micromouse robot using a PIC microcontroller. The mouse must find the way
>around a maze and learn and then record the maze, so it can find the quickest
>way to the centre. PLEASE could you send any information which could help
>my project such as any software(program), choice of PIC, circuit
>diagrams or tell me where I could find the most useful information from.
>Much appreciated.
I'm no PIC specialist, but it seems you would need a lot of RAM ("a lot" in
terms of PICs). I'm not shure whether a PIC is the right choice here...
others will tell.
1996\10\24@160209
by
Peter Troester
Andrew wrote:
>
> Hello
>
> I am a final year student at Bradford University (UK) doing Electrical
> Engineering. For my final project I have decided to design and build a
> micromouse robot using a PIC microcontroller. The mouse must find the way
> around a maze and learn and then record the maze, so it can find the quickest
> way to the centre. PLEASE could you send any information which could help
> my project such as any software(program), choice of PIC, circuit
> diagrams or tell me where I could find the most useful information from.
> Much appreciated.
>
> Andy.
Take a look at microchip's web-site <http://www.microchip.com> or at
David Tait's web-site <www.man.ac.uk/~mbhstdj/piclinks.html>.
Here you can find nearly everything about PICs.
much success with your final project
Peter
1996\10\24@162634
by
dontronics
|
Andrew wrote:
> I am a final year student at Bradford University (UK) doing Electrical
> Engineering. For my final project I have decided to design and build a
> micromouse robot using a PIC microcontroller. The mouse must find the way
> around a maze and learn and then record the maze, so it can find the quickest
> way to the centre. PLEASE could you send any information which could help
> my project such as any software(program), choice of PIC, circuit
> diagrams or tell me where I could find the most useful information from.
> Much appreciated.
The PIC16C84/04/P is an 18 pin DIP single chip MicroController available
at
very low cost even in single quantities. It can be re-programmed
thousands
of times, each time in a few seconds with very cheap Printer Port driven
hardware (basically a 7407 and power supply) and the software is free.
It's
considered the 'Newbie' starting point for PIC related projects, and can
be
run in a minimal configuration with just a power source and a single
resistor and capacitor.
You will find the software drivers, circuit, and overlay at:
http://labyrinth.net.au/~donmck/84.html
Don McKenzie EraseMEdonmckspam_OUT
TakeThisOuTlabyrinth.net.au
DonTronics Tullamarine, Australia
http://www.labyrinth.net.au/~donmck
EASY PIC'n Beginners Guide to using PIC 16/17 MicroChip products.
Picosaurus(tm) 40 pin FED Basic with 8 channels of A-D, and real Uart.
MEL PicBasic Compiler. Programmers from 15 USD. Pic-Axe(tm) A New Tool.
1996\10\24@164331
by
Clyde Smith-Stubbs
|
Andrew <A.G.Dick
spam_OUTBRADFORD.AC.UK> wrote:
> I am a final year student at Bradford University (UK) doing Electrical
> Engineering. For my final project I have decided to design and build a
> micromouse robot using a PIC microcontroller. The mouse must find the way
Two points; I doubt a single PIC could do this job; apart from anything
else, the size of the state information that must be saved (maze layout
etc.) would be beyond a PIC's RAM size, and the complexity of the task
is likely to need more code than you can get in a PIC. I would see PICs
as useful for ancillary tasks such as motor and sensor control, but you
will need something a bit up-market for the main CPU. One of the 16 bit PICs
with external memory (17Cxx) might do the job, but I would choose something
else entirely.
Secondly, I hope you are not attempting this as a final year project
on your own; most micromouse projects are group efforts involving several
people, often spread over several years. It's a very interesting and
challenging project, but it involves considerable mechanical work, and a
lot of code.
Anyway, good luck!
--
Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3354 2411
@spam@clydeKILLspam
hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3354 2422
http://www.hitech.com.au | QLD, 4051, AUSTRALIA. |
---------------------------------------------------------------------------
For info on the World's best C cross compilers for embedded systems, point
your WWW browser at http://www.hitech.com.au, or email KILLspaminfoKILLspam
hitech.com.au
1996\10\24@220425
by
Ian Stirling
|
>
> Andrew <RemoveMEA.G.DickTakeThisOuT
BRADFORD.AC.UK> wrote:
>
> > I am a final year student at Bradford University (UK) doing Electrical
> > Engineering. For my final project I have decided to design and build a
> > micromouse robot using a PIC microcontroller. The mouse must find the way
>
> Two points; I doubt a single PIC could do this job; apart from anything
> else, the size of the state information that must be saved (maze layout
> etc.) would be beyond a PIC's RAM size, and the complexity of the task
> is likely to need more code than you can get in a PIC. I would see PICs
> as useful for ancillary tasks such as motor and sensor control, but you
> will need something a bit up-market for the main CPU. One of the 16 bit PICs
> with external memory (17Cxx) might do the job, but I would choose something
> else entirely.
I dunno, use a serial flask addon, to hold program, and use pic as a
language interpreter Forth? maybe even basic?
I agree a pic's probably not the thing to do it with.
Total overkill: AMD elan 386 With a 72 pin simm, using one of the
evaluation biosed, and a pcmcia drive, total power use, maybe 5W
pessimistically, and you could put a PCMCIA ethernet card on it if you
need more CPU :)
{Quote hidden}>
> Secondly, I hope you are not attempting this as a final year project
> on your own; most micromouse projects are group efforts involving several
> people, often spread over several years. It's a very interesting and
> challenging project, but it involves considerable mechanical work, and a
> lot of code.
>
> Anyway, good luck!
>
> --
> Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3354 2411
>
spamBeGoneclydespamBeGone
hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3354 2422
>
http://www.hitech.com.au | QLD, 4051, AUSTRALIA. |
> ---------------------------------------------------------------------------
> For info on the World's best C cross compilers for embedded systems, point
> your WWW browser at
http://www.hitech.com.au, or email
TakeThisOuTinfoEraseME
spam_OUThitech.com.au
>
--
Ian Stirling. | http://www.mauve.demon.co.uk/
AKA Caeser, Bolonewbie. | With information on the PDA I'm making.
1996\10\25@151548
by
mike
|
In message <RemoveME1.5.4.16.19961024174520.307f5f40
TakeThisOuTpop3.nw.com.br>
>
PICLISTEraseME
.....MITVMA.MIT.EDU writes:
> At 09:33 24/10/96 +0100, you wrote:
> >I am a final year student at Bradford University (UK) doing Electrical
> >Engineering. For my final project I have decided to design and build a
> >micromouse robot using a PIC microcontroller. The mouse must find the way
> >around a maze and learn and then record the maze, so it can find the quickest
> >way to the centre. PLEASE could you send any information which could help
> >my project such as any software(program), choice of PIC, circuit
> >diagrams or tell me where I could find the most useful information from.
> >Much appreciated.
>
> I'm no PIC specialist, but it seems you would need a lot of RAM ("a lot" in
> terms of PICs). I'm not shure whether a PIC is the right choice here...
> others will tell.
>
Hmm.
You don't have to do much to add lots (relatively speaking) of ram
to a PIC. There are many variants of 8 pin serial memory devices
around (Microchip make some) which would provide more than enough
memory for a MicroMouse controller.
Regarding the choice of controller, you may be interested to know
that there is an application note on Intels web site detailing
how they used an 8031 type processor to compete in a MicroMouse
contest.
I personally would probably use more than one PIC to do it. Something
like having one handle the motor drive another the sensors, and another
supervising and working out the route.
Extravagant I know, but then we are not talking 1000s off and PICs are
cheap enough.
Regards,
Mike Watson
1996\10\26@150519
by
Anders Widgren
> I'm no PIC specialist, but it seems you would need a lot of RAM ("a lot"
in
> terms of PICs). I'm not shure whether a PIC is the right choice here...
> others will tell.
Or maybe one or two 24C65 serial EE devices?
1996\10\26@211203
by
smegtra
Andrew <EraseMEA.G.Dick
BRADFORD.AC.UK> wrote:
> I am a final year student at Bradford University (UK) doing Electrical
> Engineering. For my final project I have decided to design and build a
> micromouse robot using a PIC microcontroller. The mouse must find the way
We did something slightly similar with 3 '57s and some eeprom. One PIC
is the brain, one controls movement and the third handles sensory
input. We have moderately technical details at
http://www.netzone.com/~yklein
Jason Harris
1996\10\28@001535
by
tjaart
|
Ian Stirling wrote:
{Quote hidden}>
> >
> > Andrew <
RemoveMEA.G.DickEraseME
EraseMEBRADFORD.AC.UK> wrote:
> >
> > > I am a final year student at Bradford University (UK) doing Electrical
> > > Engineering. For my final project I have decided to design and build a
> > > micromouse robot using a PIC microcontroller. The mouse must find the way
> >
> > Two points; I doubt a single PIC could do this job; apart from anything
> > else, the size of the state information that must be saved (maze layout
> > etc.) would be beyond a PIC's RAM size, and the complexity of the task
> > is likely to need more code than you can get in a PIC. I would see PICs
> > as useful for ancillary tasks such as motor and sensor control, but you
> > will need something a bit up-market for the main CPU. One of the 16 bit PICs
> > with external memory (17Cxx) might do the job, but I would choose something
> > else entirely.
>
> I dunno, use a serial flask addon, to hold program, and use pic as a
> language interpreter Forth? maybe even basic?
> I agree a pic's probably not the thing to do it with.
> Total overkill: AMD elan 386 With a 72 pin simm, using one of the
> evaluation biosed, and a pcmcia drive, total power use, maybe 5W
> pessimistically, and you could put a PCMCIA ethernet card on it if you
> need more CPU :)
>
> >
> > Secondly, I hope you are not attempting this as a final year project
> > on your own; most micromouse projects are group efforts involving several
> > people, often spread over several years. It's a very interesting and
> > challenging project, but it involves considerable mechanical work, and a
> > lot of code.
> >
The final year students at my alma mater usually do this as a secondary
project. The aim is to force them to work together (4 -5). The PIC is
used 19 out of 20 times.
--
Friendly Regards
Tjaart van der Walt
______________________________________________________________
| Another sun-deprived R&D Engineer slaving away in a dungeon |
|WASP International GSM vehicle tracking and datacomm solutions|
| +27-(0)11-622-8686 | http://wasp.co.za |
|______________________________________________________________|
1996\10\31@030507
by
FrankT
Help on reaching the list server please
1996\10\31@043632
by
fastfwd
'help'
1996\11\12@121433
by
193.136.16.239
Please anyone help me for programming RTCC, or where i can find
tutorials about program RTCC .
To my application i need to wait at least 2 sec
1996\11\12@162719
by
Larry G. Nelson Sr.
1996\11\12@182129
by
Craig Knotts
NEED INPUT!!!
Which PIC device are you using?
btw, RTCC is now TMR0.
______________________________ Reply Separator _________________________________
Please anyone help me for programming RTCC, or where i can find
tutorials about program RTCC .
1996\11\14@115204
by
193.136.16.239
The PIC processor is 16c54, and for my application i use a internal
clock. I want to put the chip to sleep and wake up in 1-2 sec.
1996\11\14@122417
by
Byron A Jeff
>
> The PIC processor is 16c54, and for my application i use a internal
> clock. I want to put the chip to sleep and wake up in 1-2 sec.
Can't do it with any precision. The 16C5X has no interrupts and only the
watchdog timer can wake the chip. Its RC driven oscillator is subject
to temprature and manfacturing variations. In other words only a guestimate.
If you need precision sleep timing, take a look at the 16C6X series of chips.
Multiple timers, interrupts, and awake on interrupt can give you better
precision at not much more cost.
BAJ
1996\11\14@171017
by
Craig Knotts
To do that, you want to set the watchdog timeout to maximum, prescaler
on the watchdog timer, program the part with watchdog enabled, and put
the part to sleep. When the watchog times out, it will reset the
processor.
You can't use the RTCC (TMR0) set to internal clock to wake up the
16C54 from sleep mode. When the processor is in sleep mode, the main
oscillator is stopped. The internal watchdog oscillator, however,
keeps running.
______________________________ Reply Separator _________________________________
The PIC processor is 16c54, and for my application i use a internal
clock. I want to put the chip to sleep and wake up in 1-2 sec.
'Help'
1997\02\18@095801
by
David BALDWIN
Hi all,
Can somebody tell me how works the RTCC and the interruptions?
The goal is to make a clock, with a 2x16 LCD display. But as I said, I
had like to send clock to the LCD, and then write to EEPROM. How does it
work with interruptions, what happens if I am writing to the LCD and
interrupt occurs?
Please help me. Thanks a lot.
--
_____________
\ / David BALDWIN
\ ALCATEL / Design engineer
\TELECOM/
\ / SdM (Societe de Microelectronique)
\ /
\ / B.P. 4205 Phone : +32 (0)71 442932
V B-6000 Charleroi Fax : +32 (0)71 442905
(Belgium) spamBeGonebaldwinSTOPspam
EraseMEetca.alcatel.be
'Help'
1997\03\14@181721
by
Marco Lazzeri
Hallo,
I have a problem with the Pic 16C84 protect chip.If I use the system
describe in the net to remove
the protection (Vdd +13,5 and reprogramming OFF the Code Protection)a lot
of Chip are DEAD!!A few
there's still a program but if it's impossible read or write a chip.And
others are KO!I ave see the page
of Interesting Device from Justin Farrell and there's a PIC2PIC
copier/busters vithout PC and very very
simple.You know this system?You know another system simple and secure?
Tank you for your interest.
Best regards Lazzeri Marco
KILLspammcspamBeGone
versilia.toscana.it
1997\03\18@172635
by
michele
|
Ciao Marco Lazzeri,
non posso aiutarti direttamente, ma dovrei avere una serie di mail
provenienti dalla lista di discussione sul pic che parla dei vari metodi
per sproteggere i 16c84 inoltre esiste un sito in internet (in italia) dove
sproteggono i 16c84 o vendono un apparecchio per farlo.
Fammi sapere se sei interessato, in caso affermativo iniziero' le ricerche
Michele Menichini
At 23.58 14/03/97 +0100, you wrote:
{Quote hidden}>Hallo,
>
>I have a problem with the Pic 16C84 protect chip.If I use the system
>describe in the net to remove
>the protection (Vdd +13,5 and reprogramming OFF the Code Protection)a lot
>of Chip are DEAD!!A few
>there's still a program but if it's impossible read or write a chip.And
>others are KO!I ave see the page
>of Interesting Device from Justin Farrell and there's a PIC2PIC
>copier/busters vithout PC and very very
>simple.You know this system?You know another system simple and secure?
>Tank you for your interest.
>
>Best regards Lazzeri Marco
>
EraseMEmc
EraseMEversilia.toscana.it
>
>
'Help'
1997\06\09@033555
by
Mandana Saeedzadeh INF
Hello.My name is mandana . I want to know about microconntroller . As I`m
beginner I Will be very appreciate if you give me your useful suggestion
& advice How to begin ( with which book or ... )that a beginner need.
Thanks,
Mandy
-------------------------
@spam@msaeedza@spam@
spam_OUTabo.fi
1997\06\09@125143
by
t.net, Gr.
Mandana Saeedzadeh INF wrote:
>
> Hello.My name is mandana . I want to know about microconntroller . As I`m
> beginner I Will be very appreciate if you give me your useful suggestion
> & advice How to begin ( with which book or ... )that a beginner need.
>
> Thanks,
> Mandy
>
> -------------------------
> spamBeGonemsaeedza
KILLspamabo.fi
Hi Mandana and welcome to the PIC list.
A good book for start is the "Easy PIC'n" by David Benson, published by
Square One ($29.95 US). For programmers, there are meny free softare and
schematics (if you want to save some money and build it by yourself) or
you can buy a ready one. Microchip have some free software like MPLAB
and MPASM (WWW.Microchip.com). Some more experts might advise you on
hardwares. I have download some designs and I can post them to you, if
you like.
Best regards
Nikos
'help'
1997\07\23@043804
by
richard dellacona
hi can anyone help me find the following information. i read easy picin
the only problem is that it assumes the reader has knoledge of
registers,stacks and memory is there a more basic source of knoledge
on the web or in book form that explains the basic building blocks
of a microprocessor such as registers,stacks and memory in a very
basic way that assumes on prior electronics knoledge
'Help'
1998\03\28@171226
by
MICHAEL A SMITH
I am building a small robotic project for school and I need to know if
anyone has or knows how to get a connector block that will plug into the
I/O (user port) on a Commodore 64. Please let me know. If you know how
much they are and the number to the place that sells them please give
them to me!!!
Thanks
.....skispospam_OUT
juno.com
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
1998\03\31@095023
by
Mark Birks
Can someone email me (privately) with the instructions, to LISTSERV,
that enable me to :
Get digest mail instead of individual (SET PICLIST DIGEST ?)
Get non-MIME format - I want textual digest - not emails....
TIA
\\\|///
\\ - - // "Yes it IS safe
( @ @ ) to switch on"
+---oOOo-(_)-oOOo------------------+
| Mark Birks |
| Hardware Section Leader |
| OmniBus Systems, Stanford House, |
| Stanford-on-Soar, |
| Loughborough, Leicestershire. UK.|
| |
| Tel/Fax: +44 (0)990 004300/333 |
| E-Mail: TakeThisOuTmarkb.....
TakeThisOuTomnibus.co.uk |
| ooo0 |
| ( ) 0ooo |
+---\ (----( )------------------+
\_) ) /
(_/
'help'
1998\04\18@162257
by
andre
|
part 0 9606 bytes
I have servo controlled motor 0-10,000 RPM
input is analog 0-12 volts.
since I have to use DTA. 8 bit data is 256 and the display value is
0000-9999
needs little math .
this is what I know
if any value I divide by 39 I will get right value
example
9999 / 39 = 256
I do not know how to convert display data 0000-9999 to 0-256
can some one help me ?
attached is mplex.asm code I also like to know if there is shorter way?
Andre Abelian thank you
;*********************************************************************
;* Written by Andre Abelian *
;* purpose of this code is to get value *
;* from the keypad 0000-9999 and output it to *
;* 8 bit MAX208 D to A converter 0-256 *
;* basicly I have servo motor that has analog control *
;* input is 0-12 volts 0-10,000 RPM *
;* porta used to select four 7 seg disply *
;* portb is multyplex display output *
;* portc is 74c922 4 bit keypad input also has data available pin *
;* portd is DTA 8 bit output *
;* porte is to start the motor *
;* *******************************************************************
LIST P=16C74a
ERRORLEVEL -302
;
include <p16c74a.inc>
;
TEMPA EQU 0x20 ;
TEMPB EQU 0x21 ;
TEMPC EQU 0x22 ;
TEMPD EQU 0x23 ;
COUNT EQU 0x24 ;
MSDTIME EQU 0x25 ;
LSDTIME EQU 0x26 ;
;
ORG 0
;
BSF STATUS,RP0 ; select pg 1
MOVLW B'00010000' ; RA4 IS INPUT
MOVWF TRISA ; DO IT
CLRF TRISB ; MAKE ALL OUTPUT
MOVLW 0xFF ; MAKE PORTC INPUT
MOVWF TRISC ; DO IT
BCF STATUS,RP0 ; select page 0
CLRF PORTA ; CLEAR
CLRF PORTB ; /
CLRF PORTC ; /
CLRF PORTD ; /
CLR_ALL CLRF TEMPA ; /
CLRF TEMPB ; /
CLRF TEMPC ; /
CLRF TEMPD ; /
;***************************************************
;
; FIRST 7 SEG LED FROM THE RIGHT
;
LOOP
CALL OUTPUT_1 ; CALL OUT 1
BTFSS PORTA,4 ; IS DATA AVAILABLE?
GOTO $ - 2 ; NO GO BACK
MOVF PORTC,W ; LOAD KEYPAD IN W
CALL LEDTABLE ; GET DIGIT
MOVWF TEMPA ; SAVE IT
XORLW B'01010101' ; TO MATCH CANCEL FUNCTION
BTFSC STATUS,Z ; SKIP IF VALUE DOES'T MATCH
GOTO CLR_ALL ; YES MATCHES CLEAR ALL TEMP REG.
MOVF TEMPA,W ; LOAD SAVED TEMPA DATA IN W
CALL OUTPUT_1 ; WHILE TESTING IT DISPLAY
BTFSC PORTA,4 ; IS KEY STILL PUSHED
GOTO $ - 2 ; YES WAIT
;
; SECOND 7 SEG LED FROM THE RIGHT
;
CALL OUTPUT_1 ; LOAD OUT 1 RES AND OUTPUT IT
BTFSS PORTA,4 ; IS DATA AVAILABLE? 74C922
GOTO $ - 2 ; NO GO BACK
MOVF PORTC,W ; LOAD KEYPAD
CALL LEDTABLE ; GET DIGIT
MOVWF TEMPB ; SAVE IT
XORLW B'01010101' ; TO MATCH CANCEL FUNCTION
BTFSC STATUS,Z ;
GOTO CLR_ALL ;
MOVF TEMPB,W ; SAVE IT
CALL OUTPUT_2 ; WHILE TESTING IT DISPLAY
BTFSC PORTA,4 ; IS KEY STILL PUSHED
GOTO $ - 2 ; YES WAIT
;
; 3 TH 7 SEG LED FROM THE RIGHT
;
CALL OUTPUT_2 ; LOAD OUT 2 RES AND OUTPUT IT
BTFSS PORTA,4 ; IS DATA AVAILABLE? 74C922
GOTO $ - 2 ; NO GO BACK
MOVF PORTC,W ; LOAD KEYPAD
CALL LEDTABLE ; GET DATA
MOVWF TEMPC ;
XORLW B'01010101' ; TO MATCH CANCEL FUNCTION
BTFSC STATUS,Z ;
GOTO CLR_ALL ;
MOVF TEMPC,W ; SAVE IT
CALL OUTPUT_3 ; WHILE TESTING IT DISPLAY
BTFSC PORTA,4 ; IS KEY STILL PUSHED
GOTO $ - 2 ; YES WAIT
;
; 4 TH 7 SEG LED FROM THE RIGHT
;
CALL OUTPUT_3 ; LOAD OUT 3 RES AND OUTPUT IT
BTFSS PORTA,4 ; IS DATA AVAILABLE? 74C922
GOTO $ - 2 ; NO GO BACK
MOVF PORTC,W ; LOAD KEYPAD
CALL LEDTABLE ; GET DATA
MOVWF TEMPD ;
XORLW B'01010101' ; TO MATCH CANCEL FUNCTION
BTFSC STATUS,Z ;
GOTO CLR_ALL ;
MOVF TEMPD,W ; GET DATA
CALL OUTPUT_4 ; WHILE TESTING IT DISPLAY
BTFSC PORTA,4 ; IS KEY STILL PUSHED
GOTO $ - 2 ; YES WAIT
;
LOOP2 CALL OUTPUT_4 ; LOAD OUT 4 RES AND OUTPUT IT
BTFSS PORTA,4 ; IS DATA AVAILABLE? 74C922
GOTO $ - 2 ; NO GO BACK
MOVF PORTC,W ; YES LOAD KEYPAD IN W
CALL LEDTABLE ; GET DATA
XORLW B'01010101' ; TO MATCH CANCEL FUNCTION KEY '*'
BTFSC STATUS,Z ;
GOTO CLR_ALL ; CLEAR ALL
MOVF PORTC,W ;
CALL LEDTABLE ;
XORLW B'10101010' ; TO MACH ENTER FUNCTION
BTFSC STATUS,Z ;
GOTO LOOP2 ;
GOTO LOOP2 ;
; THIS TABLE WILL MATCH WITH 74C922 OUTPUT
;
LEDTABLE
ADDWF PCL, F ; add to PC low
retlw B'00000110' ; led drive for 1
retlw B'01100110' ; led drive for 4
retlw B'00000111' ; led drive for 7
retlw B'01010101' ; Cancel
retlw B'01011011' ; led drive for 2
retlw B'01101101' ; led drive for 5
retlw B'01111111' ; led drive for 8
retlw B'00111111' ; led drive for 0
retlw B'01001111' ; led drive for 3
retlw B'01111101' ; led drive for 6
retlw B'01100111' ; led drive for 9
RETLW B'10101010' ; Enter
;
SEL_DIG_1 ; SELECT 1 FROM THE RIGHT
BSF PORTA,0 ; SELECT
CALL DELAY ;
BCF PORTA,1 ;
BCF PORTA,2 ;
BCF PORTA,3 ;
RETLW 00 ;
;
SEL_DIG_2 ; SELECT 2 FROM THE RIGHT
BSF PORTA,1 ;
CALL DELAY ;
BCF PORTA,0 ;
BCF PORTA,2 ;
BCF PORTA,3 ;
RETLW 00 ;
;
SEL_DIG_3 ; SELECT 3 FROM THE RIGHT
BSF PORTA,2 ;
CALL DELAY ;
BCF PORTA,0 ;
BCF PORTA,1 ;
BCF PORTA,3 ;
RETLW 00 ;
;
SEL_DIG_4 ; SELECT 4 FROM THE RIGHT
BSF PORTA,3 ;
CALL DELAY ;
BCF PORTA,0 ;
BCF PORTA,1 ;
BCF PORTA,2 ;
RETLW 00 ;
;
OUTPUT_1
MOVF TEMPA,W ; LOAD SAVED TEMPA IN W
MOVWF PORTB ; PREPARE TO DISPLAY
CALL SEL_DIG_1 ; DISPLAY IT
MOVF TEMPB,W ;
MOVWF PORTB ;
CALL SEL_DIG_2 ;
MOVF TEMPC,W ;
MOVWF PORTB ;
CALL SEL_DIG_3 ;
MOVF TEMPD,W ;
MOVWF PORTB ;
CALL SEL_DIG_4 ;
RETLW 00 ;
; SINCE WE ARE USING KEYPAD WE NEED TO SHIFT THE DIGIT AFTER FIRST ONE
; AFTER SECOND KEY HIT SHIFT FIRST TO THE LEFT
OUTPUT_2
MOVF TEMPA,W ; LOAD IN W
MOVWF PORTB ; OUTPUT IT
CALL SEL_DIG_2 ; SELECT SEGMENT A
MOVF TEMPB,W ;
MOVWF PORTB ;
CALL SEL_DIG_1 ;
RETLW 00 ;
; AFTER 3 TH HIT SHIFT IT TO THE LEFT AGAIN
OUTPUT_3
MOVF TEMPA,W ; LOAD IN W
MOVWF PORTB ; OUTPUT IT
CALL SEL_DIG_3 ; SELECT SEGMENT A
MOVF TEMPB,W ;
MOVWF PORTB ;
CALL SEL_DIG_2 ;
MOVF TEMPC,W ;
MOVWF PORTB ;
CALL SEL_DIG_1 ;
RETLW 00 ;
OUTPUT_4
MOVF TEMPA,W ; LOAD IN W
MOVWF PORTB ; OUTPUT IT
CALL SEL_DIG_4 ; SELECT SEGMENT A
MOVF TEMPB,W ;
MOVWF PORTB ;
CALL SEL_DIG_3 ;
MOVF TEMPC,W ;
MOVWF PORTB ;
CALL SEL_DIG_2 ;
MOVF TEMPD,W ;
MOVWF PORTB ;
CALL SEL_DIG_1 ;
RETLW 00 ;
; THIS DELAY IS FOR DISPLAY TO MAKE BRIGHTER ~ 200HZ
DELAY
MOVLW .250 ;
MOVWF COUNT ;
D1 DECFSZ COUNT,F ;
GOTO D1 ;
RETLW 00 ;
;
END
1998\04\29@223136
by
MATHEW O'BRIEN
** High Priority **
Help
'Help'
1998\06\01@064356
by
Mark Birks
Sorry to blat the list but :
I'm currently on the digest version of the list and want to go back to
getting individual mails.
I've tried all the stuff I did to get on the list - unsubscribe and
re-subscribe etc etc
It seems that the ListServer doesn't want to know.
If I do 'Query PICLIST' however it knows me.
Any ideas ?
\\\|///
\\ - - // "Yes it IS safe
( @ @ ) to switch on"
+---oOOo-(_)-oOOo------------------+
| Mark Birks |
| Hardware Section Leader |
| OmniBus Systems, Stanford House, |
| Stanford-on-Soar, |
| Loughborough, Leicestershire. UK.|
| |
| Tel/Fax: +44 (0)990 004300/333 |
| E-Mail: TakeThisOuTmarkbKILLspam
spamomnibus.co.uk |
| ooo0 |
| ( ) 0ooo |
+---\ (----( )------------------+
\_) ) /
(_/
'Help'
1998\07\23@142853
by
Johan Fredriksson
part 0 263 bytes
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV></BODY></HTML>
</x-html>
1998\07\23@145335
by
David VanHorn
part 0 1555 bytes
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><FONT
face=Arial size=2><B>{Original Message removed}
1998\07\24@004248
by
Andy Kunz
1998\07\24@013856
by
David VanHorn
>> Read the manual? Perhaps if you included a description of what it
>>is that you wish help with?...
>
>His e-mailer, of course.
>
>Andy
:-)
Some of these are just a BIT unclear.
This isn't psychic hotline after all !
'Help'
1998\08\04@190806
by
MATHEW O'BRIEN
** High Priority **
Help
1998\08\04@221939
by
Format
It would help if you gave us a little idea WHAT you need help with.
MATHEW O'BRIEN wrote:
> ** High Priority **
>
> Help
--
<------------------------------------------------------->
< Martin Klingensmith, AKA Format. >
< Pyrotechnics - Mountain Bikes - Electronics - Coding >
< Aquaria - Computers - Computer Selling - And the list >
< Keeps going, and going... >
<------------------------------------------------------->
1998\08\05@044623
by
paulb
Format wrote:
> It would help if you gave us a little idea WHAT you need help with.
Wouldn't that spoil the *feel* of the (non-)message?
--
Cheers,
Paul B.
1998\08\10@113447
by
Alessandro Marzini
HELP
How can I subscribe to this pic mailinglist?
Thank you!
---
Alessandro Marzini Amiga Group Italia - LIVORNO
-------------------------------------------
Email a.marzini A3000T PPC604@233 040@40 78Mb RAM
Phone 0347 7687788 Rom 3.1 Super Buster 11
Cybervision 64 3D -
Peggy Plus - PhonePak GVP - DKB4091
Scanner Epson GT-9000 - CDR Plexwriter 4/12
CDROM Plextor 12x - ZIP 100Mb - USR 33.6K
Epson Stylus Color 500 - 2 HD SCSI 1Gb
-------------------------------------------
--
1998\08\10@140725
by
Matt D K
On Mon, 10 Aug 1998 17:16:41 +0100 Alessandro Marzini <TakeThisOuTa.marzinispam
IOL.IT>
writes:
{Quote hidden}>HELP
>
>How can I subscribe to this pic mailinglist?
>
>Thank you!
>
>---
>
>Alessandro Marzini Amiga Group Italia - LIVORNO
> -------------------------------------------
>Email a.marzini A3000T PPC604@233 040@40 78Mb RAM
>Phone 0347 7687788 Rom 3.1 Super Buster 11
> Cybervision 64 3D -
> Peggy Plus - PhonePak GVP - DKB4091
> Scanner Epson GT-9000 - CDR Plexwriter 4/12
> CDROM Plextor 12x - ZIP 100Mb - USR 33.6K
> Epson Stylus Color 500 - 2 HD SCSI 1Gb
> -------------------------------------------
>
>--
>
send the message "SUBSCRIBE PICLIST" to LISTSERVEraseME
MITVMA.MIT.EDU
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
'Help'
1998\12\30@104232
by
Cam Whetstone
I just started getting messages from this list. I don't want them. how
do ZI stop? So far none of the messages have had any sign-off
information.
Thnak you.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
'Help'
1999\03\17@093342
by
Johann Geir Jonsson
|
part 0 8724 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=#000000 size=2>Hi,</FONT></DIV>
<DIV><FONT color=#000000 size=2>I'm a newbie with PICs (still in the flashing
LED stage) and I have a problem. I've been trying to set up a circuit
which has one LED that can be toggled with a normally open pushbutton. It
doesn´t work. I've modified both my design and the code but without
luck. Attached are the schematics and code. Can anyone pls. help
me! Am I doing something wrong or is there a fault in one of the
components. In this design there is a faint glow in the LED and when I
push the button, the LED <U>EITHER</U> lights up <U>OR</U> goes blank <U>while I
hold down the button.</U> In an earlier design there seemed to be some
interference. The pushbutton then didn´t do anything at all and when
I moved my hand close to the circuit, the LED lit up and usually blinked in an
irregular manner. This problem has been bugging me for days now and I
really need some help.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>Johann</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>PS. I've wired up the simple circut provided by David Tait
(Flashing LED) and it worked, so the problem shouldn't be with the programmer
(I'm using LUDIPIPO and PIP-02)</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000> LIST
P=16F84<BR> __CONFIG _CP_OFF &
_WDT_OFF & _PWRTE_ON &
_RC_OSC<BR> #INCLUDE
<P16F84.INC></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000> ORG
00H ; Reset
vector<BR> GOTO START
<BR> ORG
04H ;
ISR<BR></FONT></FONT></FONT><FONT color=#000000><FONT face=Fixedsys><FONT
size=2> MOVLW 01H
<BR> INCF
PORTA ; Only using RA0, so must be
OK</FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000> CLRB MOVF PORTB,F ;
Clear the interrupt<BR> BCF
INTCON,RBIF</FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000>
RETFIE ; Exit
ISR</FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT color=#000000>START CLRF
PORTA ; Initialize
ports<BR> CLRF
PORTB<BR> BSF
STATUS,RP0 ; Bank
1<BR> MOVLW B'00010000' ; Set RB4 to
input, all others to output<BR> MOVWF
TRISB<BR> MOVLW
0H ; Set PORTA to
output<BR> MOVWF
TRISA<BR> BCF
STATUS,RP0 ; Bank
0<BR> MOVLW
01H ; Start with LED
lit<BR> MOVWF
PORTA<BR> MOVLW B'10001000 ;
Enable PORTB Changed interrupt<BR>
MOVWF INTCON<BR>LOOP
SLEEP ;
Power down 'till button is pressed<BR>
NOP
; Don't know why this is here. Someone else did, so use it
too</FONT></FONT><FONT color=#000000 face=Fixedsys></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT face=Fixedsys><FONT
size=2>
; until problem is fixed<BR></FONT></FONT></FONT><FONT color=#000000
size=2></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000> GOTO
LOOP</FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Fixedsys><FONT
color=#000000></FONT></FONT></FONT><FONT color=#000000><FONT
face=Fixedsys></FONT></FONT> </DIV>
<DIV><FONT color=#000000 face=Fixedsys
size=2>
END<BR></FONT></DIV></BODY></HTML>
</x-html>
1999\03\17@172644
by
Tony Nixon
|
I can't see your schematic, but have you got a pullup resistor on your
switch input (RB4). You mentioned, just by placing your hand near it,
that you had problems. This seems like a floating input. If this is the
case, then the pin is not connected to anything when the switch is open.
Try a 10K resistor to VCC.
You need to debounce the switch because your interrupt routine may be
called quite a few times when the switch is pressed AND released, which
will fool you into many wierd problems.
You will also need to ignore when the switch is opened and toggle the
LED only when it is closed.
> LOOP SLEEP ; Power down 'till button is pressed
> NOP ; Don't know why this is here. Someone else
> did, so use it too
> ; until problem is fixed
> GOTO LOOP
>
> END
When the SLEEP instruction (as with any) is processed, the next
instruction is prefetched from memory. In this case the NOP. When the
interrupt occurs, the NOP is executed and then the PC jumps to address
0004h to service the interrupt. In your case you could leave the NOP
out. In some programs it is undesireable to execute the instruction
following SLEEP before the interrupt code is executed, hence the NOP.
--
Best regards
Tony
PicNPoke - Multimedia 16F84 Beginners PIC Tools.
http://www.picnpoke.com
Email RemoveMEpicnpokeEraseME
spam_OUTcdi.com.au
'help'
1999\05\30@073411
by
yasser osman
<x-flowed>hello, I am a new commer to PICLIST
I want to build a movig up/down counter,using led dot matrix display
(7*10 LED matrix to display two digits).controlled by pic16c84
Many thaks
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
</x-flowed>
1999\05\30@090730
by
Peter van Hoof
|
-----Original Message-----
From: yasser osman <@spam@osman_yasserRemoveME
EraseMEHOTMAIL.COM>
Date: Sunday, May 30, 1999 8:37 AM
Subject: help
>hello, I am a new commer to PICLIST
>I want to build a movig up/down counter,using led dot matrix display
>(7*10 LED matrix to display two digits).controlled by pic16c84
>Many thaks
>
Yasser,
Out of the information I get from your post you are probably also a newcomer
to pic microcontrollers.
Most people here are very helpful in thinking about/trying to help any
questions you have.
For help with a complex project like this you are more likely to get useful
responses if you ask more specific questions like ...I have a problem with
this or that part of the software, can anyone suggest a way to hook up the
displays etc.
The project you are describing is hardly a beginner project. If you are new
to microcontrollers or to pic micro's you would be better off starting with
a simpler project to gain the necessary experience.
Peter
'help'
1999\06\01@131227
by
Sam Powell
'HELP'
1999\10\18@174113
by
Aaron
I am just starting to program pic chips, and i am working on a ecu system
for a small gas turbine engine for use in a radio controled plane.
I am wanting to know how to read and calibrate a thermocouple into my
16c84, and how to power a 4 volt electric motor with variable speed. I have
already figured out to measure the pulse generated by the reciever, and now
am getting a little stuck on these points. Can anyone help
Regards
Aaron Bott
1999\10\19@091506
by
Lawrence Lile
Aaron,
I would not use a thermocouple, I'd use a thermistor. Thermocouples need to
have cold junction compensation and complex high gain amplifiers, they don't
interface directly with PICs.
THermistors, however, interface realy well. Look up AN512 for a way to read
a resistor without using an A/D input. You'll need to write a lookup table
to linearize the thermistor. This has been discussed a little the last
couple of days.
This fellow is doing virtually the same thing - contact him and compare
notes: > Marcelo Y. spamBeGonem_yamamotoEraseME
uol.com.br
{Original Message removed}
'help'
2007\07\20@073619
by
KPL
'help'
2009\02\07@154924
by
Abdul aziz
|
I created a timer programme that counts from 0-99. How do i change this so that on 99 it activates an output (preferably a buzzer). am using one of those circuit boards that have all the 7 segment displays input output on it. its a simulator i will pay you $2 by paypal if this works. my email is RemoveMEazizmail@spam@
spamBeGonehotmail.co.uk I beleive it just needs a small edit . i do not know how to even programmei will test it at my collage. so i need a day to know if it works or not This is my programme ;******************************************************************* ; TITLE: New 16C84 project ; AUTHOR: ; DATE: ;******************************************************************* ;State here what the program does ;********************************************************************* ; DEFINITIONS ;****!
***************************************************************** list P=PIC16C84, R=D ;Define PIC type and radix ;(H=Hex, D=Decimal). Hex numbers must ;be of the form 0xAA or 0AAh include "P16C84.INC" ;P16C84.INC is a file containing ;definitions of PIC registers ;****** REGISTER USAGE ****** ;For PIC16C84, user RAM starts at 0Ch. The following definitions ;(the names are arbitrary) will be found useful in many programs. temp1 equ 0Ch ;Temporary register 1 temp2 equ 0Dh ;Temporary register 2 temp3 equ 0Eh ;Temporary register 3 count1 equ 0Fh ;Counter register 1 count2 equ 10h !
;Counter register 2 count3 equ 11h
;Counter register 3 ;********************************************************************* ; VECTORS ;********************************************************************* ;The PIC16C84 vectors live at the bottom of memory (0000h-0007h) org 0000h ;Reset vector for PIC16C84 is at 0000h goto start ;Go to main program start org 0004h ;Interrupt vector for PIC16C84 is at ;0004h goto inter ;Go to start of interrupt service ;routine org 0008h ;first location available to programs ;********************************************************************* ; !
SUBROUTINES ;********************************************************************* ;By convention, subroutines are placed after the vectors so that they ;are at the bottom of memory. This avoids memory bank-switching for ;small programs. ;Code for subroutines goes here ;Delay subroutines 'onems'=1ms, 'quart'=0.25s, 'second'=1s onems movlw 0F8h movwf temp1 again1 nop decfsz temp1,1 goto again1 nop return quart movlw 0F9h movwf temp2 again2 call onems decfsz temp2,1 goto again2 !
return second
movlw 04h movwf temp3 again3 call quart decfsz temp3,1 goto again3 return ;********************************************************************* ; MAIN PROGRAM ;********************************************************************* ;****** INITIALISATION ****** ;Before using the I/O ports, the data direction registers must be set ;up. Bit RP0 in the status register selects either the normal register ;set when 0, or the special register set when 1. The data direction ;registers TRISA and TRISB live in the special register set. A '1' in ;these registers sets the corresponding port line to an Input, and a ;'0' makes the corresponding line an output. start bsf STATUS,RP0 !
movlw b'11111' movwf TRISA movlw b'00000000' movwf TRISB bcf STATUS,RP0 loop movlw 01h movwf PORTB movlw 0Ah movwf count1 next1 call second decfsz count1,1 goto next1 movlw 03h movwf PORTB call second call second call second movlw 04h movwf PORTB movlw 0Fh !
movwf count1 next2 call seco
nd decfsz count1,1 goto next2 movlw 02h movwf PORTB call second call second call second goto loop ;********************************************************************* ; INTERRUPT SERVICE ROUTINE ;********************************************************************* ;The interrupt service routine (if required) goes here inter END ;all programs must end with this
_________________________________________________________________
Hotmail, Messenger, Photos and more - all with the new Windows Live. Get started!
http://www.download.live.com/
'help'
2009\08\13@103828
by
Paul Duffy
I am a member of the piclist, but none of my emails to .....piclist@spam@
EraseMEmit.edu are getting through. I do not understand the instructions to .....spampiclist-Remove- at spammit.edu?subject=[PIC]. When I click on this link, and email is generated, but when I try to send it I get an error message like the email address is not recognized. What am I doing wrong?
Please help.
2009\08\13@120107
by
Bob Blick
On Thu, 13 Aug 2009 10:37:24 -0400, "Paul Duffy" <.....paulduffySTOPspam
@spam@comcast.net>
said:
> I am a member of the piclist, but none of my emails to piclistEraseME
@spam@mit.edu
> are getting through. I do not understand the instructions to
> RemoveMEspampiclist-Remove- at spammit.edu?subject=[PIC]. When I click on
> this link, and email is generated, but when I try to send it I get an
> error message like the email address is not recognized. What am I doing
> wrong?
>
> Please help.
Hi Paul,
Your message got through to the piclist. You may not see the messages
you send (various reasons having to do with settings, your ISP, your
email client, etc), but I got the email and so does everyone else.
Remember to put a tag [PIC], [OT], etc. in the subject line so it gets
to the people who want it.
Cheerful regards,
Bob
--
http://www.fastmail.fm - Same, same, but different...
More... (looser matching)
- Last day of these posts
- In 2009
, 2010 only
- Today
- New search...