The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

Re: [Development] Lights, using two micros.


  • To: ukha_d@xxxxxxx
  • Subject: Re: [Development] Lights, using two micros.
  • From: "Dr John Tankard" <john@xxxxxxx>
  • Date: Sun, 03 Jun 2001 10:05:31 -0000
  • 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

--- In ukha_d@y..., "Keith Doxey" <ukha@d...> wrote:
> Individual dimmer modules could be a great way to go.
>
> Onboard 12C508.
>
> 8 pins - 2 for power leaves 6.
>
> a.	serial input
> b.	Relay Output
> c.	Triac Opto drive
> d.	Zero cross detect
> e.	Address 0
> f.	Address 1
>
> 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.
>
> Or by having different PICs preprogrammed with the address upto
possibly 16
> it would leave 2 pins spare on the PIC. By adding a couple of Opto
Isolators
> you can get feedback on the true state of the load. EG. Lamps
blown, Relay
> failed, Triac Short etc and send a message back to the main system
informing
> of the problem.

I had not considered a pic for each module ! but could be a good
Idea, making it a throw away module.

The prototype uses one PIC a 16C65 which handles everything. But I do
like your idea, although it does give me two small problems :-

My ICEPIC will not emulate the 12bit opcode range only the larger

My compiler ony supports 14bit opcodes.

Having said all that I have proved system It should not be do
difficult to port it even if I cannot emulate.

One other problem I was running much faster then 4Mhz but if I only
have one channel there should be plenty of capacity.

John




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.