Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

And on the seventh day, He exited from append mode.


aus+uk / aus.electronics / Re: Home automation etc

SubjectAuthor
* Home automation etcTrevor Wilson
+* Re: Home automation etcSylvia Else
|`- Re: Home automation etcTrevor Wilson
+* Re: Home automation etcComputer Nerd Kev
|+* Re: Home automation etcPhil Allison
||+* Re: Home automation etcComputer Nerd Kev
|||`- Re: Home automation etcPhil Allison
||`* Re: Home automation etcTrevor Wilson
|| `* Re: Home automation etcPhil Allison
||  `* Re: Home automation etcTrevor Wilson
||   `* Re: Home automation etcNews 2021
||    `- Re: Home automation etcTrevor Wilson
|`- Re: Home automation etcComputer Nerd Kev
+* Re: Home automation etcDaniel65
|`- Re: Home automation etcTrevor Wilson
+* Re: Home automation etcTrevor Wilson
|`* Re: Home automation etcSylvia Else
| `- Re: Home automation etcTrevor Wilson
`* Re: Home automation etcSylvia Else
 +* Re: Home automation etcTrevor Wilson
 |+- Re: Home automation etcJasen Betts
 |+* Re: Home automation etcSylvia Else
 ||`* Re: Home automation etcPhil Allison
 || `* Re: Home automation etcSylvia Else
 ||  `* Re: Home automation etcPhil Allison
 ||   `* Re: Home automation etcSylvia Else
 ||    `- Re: Home automation etcPhil Allison
 |`- Re: Home automation etckeithr0
 `* Re: Home automation etckeithr0
  +* Re: Home automation etcSylvia Else
  |`* Re: Home automation etckeithr0
  | `* Re: Home automation etcComputer Nerd Kev
  |  `* Re: Home automation etckeithr0
  |   +* Re: Home automation etcSylvia Else
  |   |`- Re: Home automation etckeithr0
  |   `* Re: Home automation etcComputer Nerd Kev
  |    `- Re: Home automation etckeithr0
  `- Re: Home automation etcSylvia Else

Pages:12
Re: Home automation etc

<iggm0cFnjrpU1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=883&group=aus.electronics#883

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: syl...@email.invalid (Sylvia Else)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 12:10:13 +1000
Lines: 21
Message-ID: <iggm0cFnjrpU1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igerk9Fckh3U2@mid.individual.net>
<iggconFm1v1U1@mid.individual.net>
<be90e3da-f159-4a33-a0a9-bcccc6163355n@googlegroups.com>
<igghhnFmshuU1@mid.individual.net>
<378d0b29-489a-40cd-8f4f-ec153056aba3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net pZcrhu5pn8klCezN+hgzGAU5bTH7cMW+7XL7jyzNRhAohwy9M7
Cancel-Lock: sha1:ihFAFqeKrsuc8C6ZJkMgDQxlkB8=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <378d0b29-489a-40cd-8f4f-ec153056aba3n@googlegroups.com>
Content-Language: en-GB
 by: Sylvia Else - Tue, 18 May 2021 02:10 UTC

On 18-May-21 11:02 am, Phil Allison wrote:
> Sylvia Else wrote:
> ========================
>>>
>> The 433MHz RF solution has the issue that if you cannot see the light
>> that's being controlled, you cannot tell whether the control instruction
>> was obeyed in any given instance ...
>>
>>
> ** Contradicts TW's actual question.
>
> Go read it again.
>

That's not how I read it.

WiFi is after all an RF solution. My take on TW's requirement was that
it was not an Internet dependent solution. A WiFi network with no
Internet access is just a particular way of using RF to link components.

Sylvia.

Re: Home automation etc

<4f11ee34-2f0e-4c30-96bb-2d198a948042n@googlegroups.com>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=884&group=aus.electronics#884

  copy link   Newsgroups: aus.electronics
X-Received: by 2002:a37:4484:: with SMTP id r126mr3738819qka.18.1621316608995;
Mon, 17 May 2021 22:43:28 -0700 (PDT)
X-Received: by 2002:a25:558b:: with SMTP id j133mr4753537ybb.98.1621316608795;
Mon, 17 May 2021 22:43:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: aus.electronics
Date: Mon, 17 May 2021 22:43:28 -0700 (PDT)
In-Reply-To: <iggm0cFnjrpU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=14.202.154.72; posting-account=B_tJMAoAAAAmar-1r2H3x4CMhbFEou3n
NNTP-Posting-Host: 14.202.154.72
References: <igasfbFjtd2U1@mid.individual.net> <igerb1FckqmU1@mid.individual.net>
<igerk9Fckh3U2@mid.individual.net> <iggconFm1v1U1@mid.individual.net>
<be90e3da-f159-4a33-a0a9-bcccc6163355n@googlegroups.com> <igghhnFmshuU1@mid.individual.net>
<378d0b29-489a-40cd-8f4f-ec153056aba3n@googlegroups.com> <iggm0cFnjrpU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f11ee34-2f0e-4c30-96bb-2d198a948042n@googlegroups.com>
Subject: Re: Home automation etc
From: palliso...@gmail.com (Phil Allison)
Injection-Date: Tue, 18 May 2021 05:43:28 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 21
 by: Phil Allison - Tue, 18 May 2021 05:43 UTC

On Tuesday, May 18, 2021 at 12:10:22 PM UTC+10, Sylvia Else wrote:
> On 18-May-21 11:02 am, Phil Allison wrote:
> > Sylvia Else wrote:
> > ========================
> >>>
> >> The 433MHz RF solution has the issue that if you cannot see the light
> >> that's being controlled, you cannot tell whether the control instruction
> >> was obeyed in any given instance ...
> >>
> >>
> > ** Contradicts TW's actual question.
> >
> > Go read it again.
> >
> That's not how I read it.

** FFS there is NO issue with seeing the light go an and off.

Read what is actually fucking says !!!

Re: Home automation etc

<igh547Fqbi7U1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=885&group=aus.electronics#885

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 16:28:19 +1000
Lines: 56
Message-ID: <igh547Fqbi7U1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5DVmpRfxSxoemYjdDUZ74w1EC/p8jRLu+pX6q7A6GqIGjHiD49
Cancel-Lock: sha1:+bbvnqHQD9kq8UYGaIZWEnC2CFw=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igerb1FckqmU1@mid.individual.net>
Content-Language: en-US
 by: keithr0 - Tue, 18 May 2021 06:28 UTC

On 17/05/2021 7:28 pm, Sylvia Else wrote:
> On 16-May-21 7:23 am, Trevor Wilson wrote:
>> Well, not quite home automation, but SWMBO has decreed that I do
>> something about the garage lighting. Here's what I think might make
>> her happy:
>>
>> * Remote control of lighting outside the garage, which can be switched
>> on at the back door of the house. I need about 20 Metres of range. I
>> don't want to run new wiring, so remote control is the go. For this
>> purpose, I want to avoid a wi-fi based system, but a supplementary
>> wi-fi based system would be acceptable.
>>
>> * Remote control of the stair lighting for the first floor. Running
>> new wiring for this application would be extremely intrusive and very
>> expensive, so remote control would also be the best way to go. Again,
>> no wi-fi, but supplementary wi-fi would be a good thing.
>>
>> * Since I'm doing the above, I thought I might think about running all
>> the house lighting from a similar system.
>>
>> Turks were useless.
>>
>> TIA for any tips.
>>
>
>
>
> Not sure what you mean by "no wi-fi, but supplementary wi-fi would be a
> good thing"
>
> Certainly, one doesn't want a device phoning-home to some unknown web
> site, much less relying on the Internet to work at all.
>
> After some thought, I realised that simple RF solutions have the
> limitation that unless you can see whether changing the switch position
> had any effect, there needs to be two-way communication between the
> remote controller and the local switch, and WiFi makes sense for that.
>
> If I had to implement this from scratch, then on the controller side I'd
> probably go with a microcontroller (something out of the PIC24
> families), a serial-port Wifi module, and a latching relay driven by an
> H-bridge chip. I think all that could be driven via a capacitive dropper
> (charge a capacitor to operate the relay coil).

Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
built in WiFi.

> The quiescent power drain is dominated by the Wifi module. At least some
> such modules can act as an access point.
>
> On the switch side, omit the H-bridge chip and relay. One could design a
> circuit board for both parts, and just not fully populate the switch side.
>
> Sylvia.
>

Re: Home automation etc

<igh5iaFqdrtU1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=886&group=aus.electronics#886

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 16:35:51 +1000
Lines: 71
Message-ID: <igh5iaFqdrtU1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igerk9Fckh3U2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net k/R9ZhNSXjbvPIpLEuOwJALoKaehfcJZfRY9lm2YN2eKzdRocO
Cancel-Lock: sha1:di6ABpA6TexUfhNUhcvKBDUy5dQ=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igerk9Fckh3U2@mid.individual.net>
Content-Language: en-US
 by: keithr0 - Tue, 18 May 2021 06:35 UTC

On 17/05/2021 7:34 pm, Trevor Wilson wrote:
> On 17/05/2021 7:28 pm, Sylvia Else wrote:
>> On 16-May-21 7:23 am, Trevor Wilson wrote:
>>> Well, not quite home automation, but SWMBO has decreed that I do
>>> something about the garage lighting. Here's what I think might make
>>> her happy:
>>>
>>> * Remote control of lighting outside the garage, which can be
>>> switched on at the back door of the house. I need about 20 Metres of
>>> range. I don't want to run new wiring, so remote control is the go.
>>> For this purpose, I want to avoid a wi-fi based system, but a
>>> supplementary wi-fi based system would be acceptable.
>>>
>>> * Remote control of the stair lighting for the first floor. Running
>>> new wiring for this application would be extremely intrusive and very
>>> expensive, so remote control would also be the best way to go. Again,
>>> no wi-fi, but supplementary wi-fi would be a good thing.
>>>
>>> * Since I'm doing the above, I thought I might think about running
>>> all the house lighting from a similar system.
>>>
>>> Turks were useless.
>>>
>>> TIA for any tips.
>>>
>>
>>
>>
>> Not sure what you mean by "no wi-fi, but supplementary wi-fi would be
>> a good thing"
>
> **Sorry, I didn't explain it very well. Here goes:
>
> I want a primarily RF system. I do not want a system that relies only on
> a cell 'phone/wi-fi system.
>
>>
>> Certainly, one doesn't want a device phoning-home to some unknown web
>> site, much less relying on the Internet to work at all.
>>
>> After some thought, I realised that simple RF solutions have the
>> limitation that unless you can see whether changing the switch
>> position had any effect, there needs to be two-way communication
>> between the remote controller and the local switch, and WiFi makes
>> sense for that.
>
> **Correct.
>
>>
>> If I had to implement this from scratch, then on the controller side
>> I'd probably go with a microcontroller (something out of the PIC24
>> families), a serial-port Wifi module, and a latching relay driven by
>> an H-bridge chip. I think all that could be driven via a capacitive
>> dropper (charge a capacitor to operate the relay coil).
>>
>> The quiescent power drain is dominated by the Wifi module. At least
>> some such modules can act as an access point.
>>
>> On the switch side, omit the H-bridge chip and relay. One could design
>> a circuit board for both parts, and just not fully populate the switch
>> side.
>
> **I am confident that there is an off-the-shelf solution available.
>
>
https://www.banggood.com/Geekcreit-433MHz-DC-12V-10A-Relay-1CH-Channel-Wireless-RF-Remote-Control-Switch-Transmitter-With-Receiver-p-1040721.html?cur_warehouse=USA&rmmds=search

https://www.banggood.com/433Mhz-DC12V-1CH-Wireless-Remote-Control-Switch-Relay-Receiver-Module-+-2-RF-Transmitter-p-1326823.html?cur_warehouse=USA&rmmds=search

Both are rated 240v at 10A although I wouldn't actually try to push 10
amps through one.

Re: Home automation etc

<igh87mFqtqeU1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=887&group=aus.electronics#887

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: syl...@email.invalid (Sylvia Else)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 17:21:19 +1000
Lines: 52
Message-ID: <igh87mFqtqeU1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net IFfnXwisJixJ+V5hU09CqghC06tXy7LuiRXmGn2rF9iXmhBbay
Cancel-Lock: sha1:x2IkJGM/02WO/M/kxzKSDjzKL1I=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igh547Fqbi7U1@mid.individual.net>
Content-Language: en-GB
 by: Sylvia Else - Tue, 18 May 2021 07:21 UTC

On 18-May-21 4:28 pm, keithr0 wrote:
> On 17/05/2021 7:28 pm, Sylvia Else wrote:
>> On 16-May-21 7:23 am, Trevor Wilson wrote:
>>> Well, not quite home automation, but SWMBO has decreed that I do
>>> something about the garage lighting. Here's what I think might make
>>> her happy:
>>>
>>> * Remote control of lighting outside the garage, which can be
>>> switched on at the back door of the house. I need about 20 Metres of
>>> range. I don't want to run new wiring, so remote control is the go.
>>> For this purpose, I want to avoid a wi-fi based system, but a
>>> supplementary wi-fi based system would be acceptable.
>>>
>>> * Remote control of the stair lighting for the first floor. Running
>>> new wiring for this application would be extremely intrusive and very
>>> expensive, so remote control would also be the best way to go. Again,
>>> no wi-fi, but supplementary wi-fi would be a good thing.
>>>
>>> * Since I'm doing the above, I thought I might think about running
>>> all the house lighting from a similar system.
>>>
>>> Turks were useless.
>>>
>>> TIA for any tips.
>>>
>>
>>
>>
>> Not sure what you mean by "no wi-fi, but supplementary wi-fi would be
>> a good thing"
>>
>> Certainly, one doesn't want a device phoning-home to some unknown web
>> site, much less relying on the Internet to work at all.
>>
>> After some thought, I realised that simple RF solutions have the
>> limitation that unless you can see whether changing the switch
>> position had any effect, there needs to be two-way communication
>> between the remote controller and the local switch, and WiFi makes
>> sense for that.
>>
>> If I had to implement this from scratch, then on the controller side
>> I'd probably go with a microcontroller (something out of the PIC24
>> families), a serial-port Wifi module, and a latching relay driven by
>> an H-bridge chip. I think all that could be driven via a capacitive
>> dropper (charge a capacitor to operate the relay coil).
>
> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
> built in WiFi.

Mainly familiarity with programming a PIC24.

Sylvia.

Re: Home automation etc

<ighqitFuc45U1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=888&group=aus.electronics#888

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 22:34:36 +1000
Lines: 56
Message-ID: <ighqitFuc45U1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
<igh87mFqtqeU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net OMdHRqJX8dDyv9ejl+pErQDeE93nnbHWiZlQvZkqe+GGEaz4dl
Cancel-Lock: sha1:B3ySKMsIfLnvq932sIQE60+0R2w=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igh87mFqtqeU1@mid.individual.net>
Content-Language: en-US
 by: keithr0 - Tue, 18 May 2021 12:34 UTC

On 18/05/2021 5:21 pm, Sylvia Else wrote:
> On 18-May-21 4:28 pm, keithr0 wrote:
>> On 17/05/2021 7:28 pm, Sylvia Else wrote:
>>> On 16-May-21 7:23 am, Trevor Wilson wrote:
>>>> Well, not quite home automation, but SWMBO has decreed that I do
>>>> something about the garage lighting. Here's what I think might make
>>>> her happy:
>>>>
>>>> * Remote control of lighting outside the garage, which can be
>>>> switched on at the back door of the house. I need about 20 Metres of
>>>> range. I don't want to run new wiring, so remote control is the go.
>>>> For this purpose, I want to avoid a wi-fi based system, but a
>>>> supplementary wi-fi based system would be acceptable.
>>>>
>>>> * Remote control of the stair lighting for the first floor. Running
>>>> new wiring for this application would be extremely intrusive and
>>>> very expensive, so remote control would also be the best way to go.
>>>> Again, no wi-fi, but supplementary wi-fi would be a good thing.
>>>>
>>>> * Since I'm doing the above, I thought I might think about running
>>>> all the house lighting from a similar system.
>>>>
>>>> Turks were useless.
>>>>
>>>> TIA for any tips.
>>>>
>>>
>>>
>>>
>>> Not sure what you mean by "no wi-fi, but supplementary wi-fi would be
>>> a good thing"
>>>
>>> Certainly, one doesn't want a device phoning-home to some unknown web
>>> site, much less relying on the Internet to work at all.
>>>
>>> After some thought, I realised that simple RF solutions have the
>>> limitation that unless you can see whether changing the switch
>>> position had any effect, there needs to be two-way communication
>>> between the remote controller and the local switch, and WiFi makes
>>> sense for that.
>>>
>>> If I had to implement this from scratch, then on the controller side
>>> I'd probably go with a microcontroller (something out of the PIC24
>>> families), a serial-port Wifi module, and a latching relay driven by
>>> an H-bridge chip. I think all that could be driven via a capacitive
>>> dropper (charge a capacitor to operate the relay coil).
>>
>> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
>> built in WiFi.
>
> Mainly familiarity with programming a PIC24.
>
> Sylvia.

if you program in C or C++ there would be little difference. I use one
of the Arduino IDEs to program it.

Re: Home automation etc

<s81fum$cp9$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=889&group=aus.electronics#889

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!KEGN5yBX2eVvY4ATKFOU2Q.user.gioia.aioe.org.POSTED!not-for-mail
From: not...@telling.you.invalid (Computer Nerd Kev)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Tue, 18 May 2021 22:43:35 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 25
Message-ID: <s81fum$cp9$1@gioia.aioe.org>
References: <igasfbFjtd2U1@mid.individual.net> <igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net> <igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net>
NNTP-Posting-Host: KEGN5yBX2eVvY4ATKFOU2Q.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Computer Nerd Kev - Tue, 18 May 2021 22:43 UTC

keithr0 <user@account.invalid> wrote:
> On 18/05/2021 5:21 pm, Sylvia Else wrote:
>> On 18-May-21 4:28 pm, keithr0 wrote:
>>>
>>> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
>>> built in WiFi.
>>
>> Mainly familiarity with programming a PIC24.
>
> if you program in C or C++ there would be little difference.

There'd be a lot of difference regarding the how the registers
behave, and the custom language extensions recognised by the
compiler.

> I use one of the Arduino IDEs to program it.

That's more the point rather than programming in C or C++. If you
already access everything via Arduino libraries then it might seem
easy to switch platforms. It's not the most efficient way to
program a microcontroller though.

--
__ __
#_ < |\| |< _#

Re: Home automation etc

<igjhhrF9rvuU2@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=890&group=aus.electronics#890

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: syl...@email.invalid (Sylvia Else)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Wed, 19 May 2021 14:12:37 +1000
Lines: 68
Message-ID: <igjhhrF9rvuU2@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net KrSL1F1gExAP+d7hqXu9WwlbZ2Y/AFK2XfbFSEmKyZxH2S4XOG
Cancel-Lock: sha1:K1YDxIeFomwzJcwlzmD9axWwLrs=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igh547Fqbi7U1@mid.individual.net>
Content-Language: en-GB
 by: Sylvia Else - Wed, 19 May 2021 04:12 UTC

On 18-May-21 4:28 pm, keithr0 wrote:
> On 17/05/2021 7:28 pm, Sylvia Else wrote:
>> On 16-May-21 7:23 am, Trevor Wilson wrote:
>>> Well, not quite home automation, but SWMBO has decreed that I do
>>> something about the garage lighting. Here's what I think might make
>>> her happy:
>>>
>>> * Remote control of lighting outside the garage, which can be
>>> switched on at the back door of the house. I need about 20 Metres of
>>> range. I don't want to run new wiring, so remote control is the go.
>>> For this purpose, I want to avoid a wi-fi based system, but a
>>> supplementary wi-fi based system would be acceptable.
>>>
>>> * Remote control of the stair lighting for the first floor. Running
>>> new wiring for this application would be extremely intrusive and very
>>> expensive, so remote control would also be the best way to go. Again,
>>> no wi-fi, but supplementary wi-fi would be a good thing.
>>>
>>> * Since I'm doing the above, I thought I might think about running
>>> all the house lighting from a similar system.
>>>
>>> Turks were useless.
>>>
>>> TIA for any tips.
>>>
>>
>>
>>
>> Not sure what you mean by "no wi-fi, but supplementary wi-fi would be
>> a good thing"
>>
>> Certainly, one doesn't want a device phoning-home to some unknown web
>> site, much less relying on the Internet to work at all.
>>
>> After some thought, I realised that simple RF solutions have the
>> limitation that unless you can see whether changing the switch
>> position had any effect, there needs to be two-way communication
>> between the remote controller and the local switch, and WiFi makes
>> sense for that.
>>
>> If I had to implement this from scratch, then on the controller side
>> I'd probably go with a microcontroller (something out of the PIC24
>> families), a serial-port Wifi module, and a latching relay driven by
>> an H-bridge chip. I think all that could be driven via a capacitive
>> dropper (charge a capacitor to operate the relay coil).
>
> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
> built in WiFi.
>
>> The quiescent power drain is dominated by the Wifi module. At least
>> some such modules can act as an access point.
>>
>> On the switch side, omit the H-bridge chip and relay. One could design
>> a circuit board for both parts, and just not fully populate the switch
>> side.
>>
>> Sylvia.
>>
>

Or one could get away from WiFi by using something like this to
implement a two way protocol, though then one has to do something about
security (if one cares that much in the case of lighting control). It
does have a lower quiescent power consumption.

https://au.rs-online.com/web/p/rf-modules/1225257/

Sylvia.

Re: Home automation etc

<igjnohFb3f9U1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=891&group=aus.electronics#891

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Wed, 19 May 2021 15:58:39 +1000
Lines: 28
Message-ID: <igjnohFb3f9U1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
<igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net>
<s81fum$cp9$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net udWeAUmHKU67q9kMF/lYMgJhgrMR4T+Cw18ArMp8Y1aClBKxuJ
Cancel-Lock: sha1:/myH0uzjte1wM4hrIjbIYkdI97w=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <s81fum$cp9$1@gioia.aioe.org>
Content-Language: en-US
 by: keithr0 - Wed, 19 May 2021 05:58 UTC

On 19/05/2021 8:43 am, Computer Nerd Kev wrote:
> keithr0 <user@account.invalid> wrote:
>> On 18/05/2021 5:21 pm, Sylvia Else wrote:
>>> On 18-May-21 4:28 pm, keithr0 wrote:
>>>>
>>>> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
>>>> built in WiFi.
>>>
>>> Mainly familiarity with programming a PIC24.
>>
>> if you program in C or C++ there would be little difference.
>
> There'd be a lot of difference regarding the how the registers
> behave, and the custom language extensions recognised by the
> compiler.

C is C, the only real difference comes with what capabilities a
processor has and I/O

>> I use one of the Arduino IDEs to program it.
>
> That's more the point rather than programming in C or C++. If you
> already access everything via Arduino libraries then it might seem
> easy to switch platforms. It's not the most efficient way to
> program a microcontroller though.
>
How so? Even in microcontrollers efficiency is not as important as it
used to be unless you are going to produce something in the millions.

Re: Home automation etc

<igjo18Fb3p1U1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=892&group=aus.electronics#892

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: syl...@email.invalid (Sylvia Else)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Wed, 19 May 2021 16:03:15 +1000
Lines: 10
Message-ID: <igjo18Fb3p1U1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
<igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net>
<s81fum$cp9$1@gioia.aioe.org> <igjnohFb3f9U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net JY/0xshIdm49rB6GRYQkdQ/e6lPiTYSYruavSaNPSBLd03TLs4
Cancel-Lock: sha1:Vd+loMNDlSKZNOq2YoPMrsBf2Ak=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igjnohFb3f9U1@mid.individual.net>
Content-Language: en-GB
 by: Sylvia Else - Wed, 19 May 2021 06:03 UTC

On 19-May-21 3:58 pm, keithr0 wrote:

> C is C, the only real difference comes with what capabilities a
> processor has and I/O

It's exactly here that things go wrong. Having interposed third party
libraries just makes things harder to figure out when the MCU doesn't
behave as expected.

Sylvia.

Re: Home automation etc

<s8452r$1p0f$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=894&group=aus.electronics#894

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!9q6wbF51GxCSQJ/zBhbwTA.user.gioia.aioe.org.POSTED!not-for-mail
From: not...@telling.you.invalid (Computer Nerd Kev)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Wed, 19 May 2021 22:56:28 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 52
Message-ID: <s8452r$1p0f$1@gioia.aioe.org>
References: <igasfbFjtd2U1@mid.individual.net> <igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net> <igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net> <s81fum$cp9$1@gioia.aioe.org> <igjnohFb3f9U1@mid.individual.net>
NNTP-Posting-Host: 9q6wbF51GxCSQJ/zBhbwTA.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Computer Nerd Kev - Wed, 19 May 2021 22:56 UTC

keithr0 <user@account.invalid> wrote:
> On 19/05/2021 8:43 am, Computer Nerd Kev wrote:
>> keithr0 <user@account.invalid> wrote:
>>> On 18/05/2021 5:21 pm, Sylvia Else wrote:
>>>> On 18-May-21 4:28 pm, keithr0 wrote:
>>>>>
>>>>> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
>>>>> built in WiFi.
>>>>
>>>> Mainly familiarity with programming a PIC24.
>>>
>>> if you program in C or C++ there would be little difference.
>>
>> There'd be a lot of difference regarding the how the registers
>> behave, and the custom language extensions recognised by the
>> compiler.
>
> C is C, the only real difference comes with what capabilities a
> processor has and I/O

But you need to write different values to different registers
in order to control the I/O and special functions of different
microcontrollers. You may have a library that abstracts all that
for you, but in using that you limit the range and performance of
the hardware's functionality, while also making debugging more
difficult as Sylvia pointed out.

Compilers for many microcontrollers also tend to implement
extensions to the C standard, so C isn't always C either, if
you're used to taking advantage of those extensions.

>>> I use one of the Arduino IDEs to program it.
>>
>> That's more the point rather than programming in C or C++. If you
>> already access everything via Arduino libraries then it might seem
>> easy to switch platforms. It's not the most efficient way to
>> program a microcontroller though.
>>
> How so? Even in microcontrollers efficiency is not as important as it
> used to be unless you are going to produce something in the millions.

If your code accesses the device's registers directly for all
hardware functions, then you know roughly what timing delays will
happen. If you use other libraries, then you don't know for sure
what is going on in the background that might cause unexpected
behaviour. If you're only ever toggling a light on and off, then
that might not be a worry, but if you're actually pushing the
hardware then it becomes important.

--
__ __
#_ < |\| |< _#

Re: Home automation etc

<igmf9aFr87hU1@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=895&group=aus.electronics#895

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Thu, 20 May 2021 16:52:25 +1000
Lines: 59
Message-ID: <igmf9aFr87hU1@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
<igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net>
<s81fum$cp9$1@gioia.aioe.org> <igjnohFb3f9U1@mid.individual.net>
<s8452r$1p0f$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ACF2/hesCDbCmCF1HrPotADXf1WS+yxOjxi+tUo573ZqURvVCO
Cancel-Lock: sha1:LrGDPBm9P+OzEJls/73R9I2iLgs=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <s8452r$1p0f$1@gioia.aioe.org>
Content-Language: en-US
 by: keithr0 - Thu, 20 May 2021 06:52 UTC

On 20/05/2021 8:56 am, Computer Nerd Kev wrote:
> keithr0 <user@account.invalid> wrote:
>> On 19/05/2021 8:43 am, Computer Nerd Kev wrote:
>>> keithr0 <user@account.invalid> wrote:
>>>> On 18/05/2021 5:21 pm, Sylvia Else wrote:
>>>>> On 18-May-21 4:28 pm, keithr0 wrote:
>>>>>>
>>>>>> Why use a pic when the ESP32 has both a micro-controller (2 CPUs) and
>>>>>> built in WiFi.
>>>>>
>>>>> Mainly familiarity with programming a PIC24.
>>>>
>>>> if you program in C or C++ there would be little difference.
>>>
>>> There'd be a lot of difference regarding the how the registers
>>> behave, and the custom language extensions recognised by the
>>> compiler.
>>
>> C is C, the only real difference comes with what capabilities a
>> processor has and I/O
>
> But you need to write different values to different registers
> in order to control the I/O and special functions of different
> microcontrollers. You may have a library that abstracts all that
> for you, but in using that you limit the range and performance of
> the hardware's functionality, while also making debugging more
> difficult as Sylvia pointed out.

The libraries in the Arduino universe come in source form, if you do
have problems, you can delve right in, or modify them to meet your needs.

> Compilers for many microcontrollers also tend to implement
> extensions to the C standard, so C isn't always C either, if
> you're used to taking advantage of those extensions.

Most use GCC in some form, that's pretty universal.

>>>> I use one of the Arduino IDEs to program it.
>>>
>>> That's more the point rather than programming in C or C++. If you
>>> already access everything via Arduino libraries then it might seem
>>> easy to switch platforms. It's not the most efficient way to
>>> program a microcontroller though.
>>>
>> How so? Even in microcontrollers efficiency is not as important as it
>> used to be unless you are going to produce something in the millions.
>
> If your code accesses the device's registers directly for all
> hardware functions, then you know roughly what timing delays will
> happen. If you use other libraries, then you don't know for sure
> what is going on in the background that might cause unexpected
> behaviour. If you're only ever toggling a light on and off, then
> that might not be a worry, but if you're actually pushing the
> hardware then it becomes important.
>
If its that critical, and not many functions are (unless you are
controlling some critical industrial process) then you'd probably be
using assembler and the SDK for the particular processor. However, I'll
bet that 99% of applications don't need that, certainly Trevors doesn't.

Re: Home automation etc

<igmfc7Fr87hU2@mid.individual.net>

  copy mid

https://www.novabbs.com/aus+uk/article-flat.php?id=896&group=aus.electronics#896

  copy link   Newsgroups: aus.electronics
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@account.invalid (keithr0)
Newsgroups: aus.electronics
Subject: Re: Home automation etc
Date: Thu, 20 May 2021 16:54:00 +1000
Lines: 14
Message-ID: <igmfc7Fr87hU2@mid.individual.net>
References: <igasfbFjtd2U1@mid.individual.net>
<igerb1FckqmU1@mid.individual.net> <igh547Fqbi7U1@mid.individual.net>
<igh87mFqtqeU1@mid.individual.net> <ighqitFuc45U1@mid.individual.net>
<s81fum$cp9$1@gioia.aioe.org> <igjnohFb3f9U1@mid.individual.net>
<igjo18Fb3p1U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net T23t+RztGC1ahaJgsgLZ5gTK5Ye/CMWsz4WANmGwCpxKjfxFEy
Cancel-Lock: sha1:Ew7E7aLQPhMrvRBu/iHXHvk0BAY=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <igjo18Fb3p1U1@mid.individual.net>
Content-Language: en-US
 by: keithr0 - Thu, 20 May 2021 06:54 UTC

On 19/05/2021 4:03 pm, Sylvia Else wrote:
> On 19-May-21 3:58 pm, keithr0 wrote:
>
>> C is C, the only real difference comes with what capabilities a
>> processor has and I/O
>
> It's exactly here that things go wrong. Having interposed third party
> libraries just makes things harder to figure out when the MCU doesn't
> behave as expected.
>
> Sylvia.

Maybe, but I've never had any problems in that regard using a whole
bunch of different devices.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor