> phone 1-800-digi-key
> fax 218-681-3380
>
http://www.digikey.com
>
>
>
> At 10:43 AM 29/04/96 +1000, you wrote:
> >I am confining all my replies into one long post to reduce irritation
> >to non-RR types on the PIC list...
> >
> >When I wanted to get back into microcontrollers after using them
> >8 years ago, I finally narrowed it down to the PIC 16C84 largely
> >because I thought it would be an IDEAL chip for DCC. Building
> >a DCC decoder has been my ambition for a while.
> >
> >The PIC's great for this application as
> >1) It is available in an 18 pin SOIC. Space is at a premium and
> > it is a lot smaller than the 0.4"x0.4"x0.8" suggested by
> > John Payson. I would say it is about 1" x 1" x 0.2". Remember
> > the loco is already full of other stuff like the chassis, motor,
> > etc and you are left with whatever space that is available. And
> > John, as for your suggestion to switch to O guage, I really envy
> > the guy using the PIC to open and close train doors! Bet he doesn't
> > have any space problems with the 1:1 scale he is operating in :-)
> > The 18 pin DIP is also great for breadboarding as some of the other
> > chips come in a PLCC which is a pain.
> >
> >2) It's got EEPROM. This is essential for storing the last settings
> > without which no decoder is useful. Having to add an external one
> > makes things a lot more difficult.
> >
> >3) The ISP feature which is a boon for any circuit using SMT. There
> > is no other way to upgrade the software short of a messy desoldering
> > job which can be done only so many times before trashing the PCB.
> >
> >4) It is fast and requires hardly any external components. To answer Roger
> > Books question, the speed is necessary because the info is digital
> > packets with an approx bit time of 100us. In fact, I would use a 10MHz
> > part if I could find a single quantity source.
> >
> >And here are some replies to assorted points raised.
> >
> >There has been some discussion on protocols and a valid point about using
> >your own instead of slavishly following standards and resulting in code
> >bloat. I feel standards have their own place as a guide. They are usually
> >quite thorough and handle situations you may not anticipate. They are
> >also a good source of ideas. For example, I haven't seen a good multi-master
> >protocol yet. The CAN standard, though not practical for a simple PIC
> >implementation, does have a cool arbitration protocol which may be ideal
> >for multiple PICs. Some day I shall lo