The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: Re: New Member and ADSL Question


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: [Development] Lights, using two micros.


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: Re: [Development] Lights, using two micros.
  • From: "Keith Doxey" <ukha@xxxxxxx>
  • Date: Sun, 3 Jun 2001 21:23:15 +0100
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

As long as the PIC is in a socket (3 pence) which is adviseable incase you
need to upgrade the PIC at a later date, the only extra is shoving a
different PIC into the socket when you assemble it. Would take less time
than fitting the jumper pins and putting the links on the pins.

There isnt really much difference in programming between

400 x Dimmer Chip
or
100 x Dimmer A Chip
100 x Dimmer B Chip
100 x Dimmer C Chip
100 x Dimmer D Chip

This also holds true for larger numbers because the PIC is chaper than a
programming switch for setting the address.

When we move onto the keypad project, address programming can be done via
software. Many devices have *secret* keypresses such as holding two buttons
pressed for 5 seconds to enter programming mode. In this case we have very
few pins to start with and the address would only need to be set once. If
it
ever needed a different address simply change the PIC. This is only a
channel address within a controller. The main addressing funcions are
handled by the controller.

As John said, you could do away with the address altogether and drive each
one from a seperate pin on the Rabbit but that is wasting valuable pins on
the Rabbit.

Many TV chips use I2C bus where 2 lines drive upto 8 chips in the TV. this
allows a microcontroller to interface with other complex devices without
having to use lots of pins.

Keith


-----Original Message-----
From: Jon Whiten [mailto:jon@xxxxxxx]
Sent: 03 June 2001 19:31
To: ukha_d@xxxxxxx
Subject: RE: [ukha_d] Re: [Development] Lights, using two micros.


We use _alot_ of 12C508 micros so with a bit of luck may be able to get
these at cost.

Whilst I like the idea of hard-coding an address into the PIC, this does
add
another operation/stock-line to productionising the product and hence an
added cost.  Depends, of course, on quantity though.

Regards,

Jon
+--------------Personal------------+----------Work-----------+
Jon Whiten        Church Gresley   D.G. Controls Limited
Derbyshire  Beacon Lamp Specialists
jon@xxxxxxx         England      mail@xxxxxxx
http://www.whiten.co.uk/          
http://www.deegee.com
+----------------------------------+-------------------------+



> -----Original Message-----
> From: Keith Doxey [mailto:ukha@xxxxxxx]
> Sent: 03 June 2001 10:22
> To: ukha_d@xxxxxxx
> Subject: RE: [ukha_d] Re: [Development] Lights, using two micros.
>
>

> Allows 4 different PIC addresses on one serial line from Rabbit
> PIC 12C508 or 12C509 is about 70pence. It would do almost all the work
in
> the dimmer.
>




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.