The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: circuit advice



--0000000000006a4226056a92b11b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I'll second the suggestion for Wemos D1 Mini, as I've just started to play
around with them for thermostats / override buttons for my heating control
system. I'd recommend looking into the micropython firmware for them too -
it makes development easy and fast. Look for an IDE (loose term) called
uPyCrft - very fast turnaround to test your code.

In just 100 lines of micropython I have a program that will connect to my
wifi, connect to my heating controller (TCP connection) and send and
receive commands. It auto-reconnects to the wifi, and in my 100 lines, I've
got exception handling to reconnect to my TCP connection too, very quick
and easy.

Regards

Simon
---
"sorrowful, yet always rejoicing; poor, yet making many rich; having
nothing, and yet possessing everything" 2 Cor 6:10

On 24 April 2018 at 01:24, dave@xxxxxxx [ukha_d] <
ukha_d@xxxxxxx> wrote:

>
>
> Hi Paul,
>
>
>
> Doubt you=E2=80=99ll find anything off the shelf for this but if you
have=
software
> skills with the Arduino then it will be fairly easy to do this.
>
>
>
> The ESP8266 based ESP12E modules would give you a WiFi connection to
setu=
p
> parameters and most of all it is cheap. As your IO needs are very
small,
> the Wemos D1 mini would allow you to get it up and running and testing
wi=
th
> a suitable triac to drive the lamp. Adafruit etc can supply you with a
> suitable triac board with a PWM input for this. I assume the lamp
itself =
is
> AC 220V?
>
>
>
> For doing your own PCB the ESP8266 modules themselves are very easy to
> use. I built a number of them to replace my unreliable ZWave and they
are
> still working away nicely now for almost 2 years..
>
>
>
> A quick Google search finds a number of dimmer designs so that might
help
> to kick this off.
>
>
>
> Dave=E2=80=A6
>
>
>
>
>
> *From:* ukha_d@xxxxxxx <ukha_d@xxxxxxx>
> *Sent:* Monday, April 23, 2018 9:18 PM
> *To:* ukha_d@xxxxxxx
> *Subject:* [ukha_d] circuit advice
>
>
>
>
>
> This actually is HA related=E2=80=A6 J
>
>
>
> I=E2=80=99m looking for recommendations for a simple, cheap,
auto-fading =
dimmer
> controller=E2=80=A6
>
>
>
> It can be mains or low voltage, I don=E2=80=99t really mind either
>
> It needs to continuously fade-on/fade-off a bulb for a finite &
set perio=
d
> of time & then stop
>
> Ideally the fade speed should be adjustable
>
> Ideally the dimmer brightness should be adjustable
>
> Ideally the run-time of the fade-on/fade-off cycle should be
adjustable
>
>
>
> This is for a project I=E2=80=99m about to undertake. It=E2=80=99s
intend=
ed to be an
> embedded light, so it really does want to be a simple circuit/device
that
> can be installed, configured, & then forgotten.
>
> I do already have a few possibilities to investigate, but I=E2=80=99d
app=
reciate
> any pointers, as its difficult to know if I=E2=80=99ve picked the best
se=
arch
> terms=E2=80=A6 J
>
>
>
> Anything up to about =C2=A330 =E2=80=93ish would be fine. I=E2=80=99ve
no=
problem if it=E2=80=99s based
> on a well-known fruit based microcontroller=E2=80=A6 J
>
>
>
> TIA
>
>
>
> Paul G.
>
>
>=20
>

--0000000000006a4226056a92b11b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}

#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}

#ygrp-mkp #ads {
margin-bottom: 10px;
}

#ygrp-mkp .ad {
padding: 0 0;
}

#ygrp-mkp .ad p {
margin: 0;
}

#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->


<div dir=3D"ltr">I&#39;ll second the suggestion for
Wemos D1 Mini, as I&#39=
;ve just started to play around with them for thermostats / override
button=
s for my heating control system. I&#39;d recommend looking into the
micropy=
thon firmware for them too - it makes development easy and fast. Look for
a=
n IDE (loose term) called uPyCrft - very fast turnaround to test your
code.=
<div><br></div><div>In just 100 lines of
micropython I have a program that =
will connect to my wifi, connect to my heating controller (TCP connection)
=
and send and receive commands. It auto-reconnects to the wifi, and in my
10=
0 lines, I&#39;ve got exception handling to reconnect to my TCP
connection =
too, very quick and easy.=C2=A0</div></div><div
class=3D"gmail_extra"><br c=
lear=3D"all"><div><div
class=3D"gmail_signature" data-smartmail=3D"gmail_si=
gnature"><div dir=3D"ltr"><div><div
dir=3D"ltr"><div><div
dir=3D"ltr"><div>=
<div
dir=3D"ltr">Regards<br><br>Simon<div>---</div><div><div
style=3D"margi=
n-bottom:0px;margin-left:0px;padding-bottom:5px"><div
style=3D"overflow:hid=
den"><div dir=3D"ltr"><div><div
dir=3D"ltr"><span style=3D"font-size:13px;c=
olor:rgb(51,51,51);font-family:&#39;lucida
grande&#39;,tahoma,verdana,arial=
,sans-serif;line-height:17px">&quot;</span><font
color=3D"#333333" face=3D"=
lucida grande, tahoma, verdana, arial, sans-serif"><span
style=3D"font-size=
:13px;line-height:17px">sorrowful, yet always rejoicing; poor, yet
making m=
any rich; having nothing, and yet possessing everything&quot; 2 Cor
6:10</s=
pan></font></div></div><div
style=3D"font-size:13px"></div></div></div></di=
v><div
style=3D"font-size:13px"></div></div></div></div></div></div></div><=
/div></div></div></div>
<br><div class=3D"gmail_quote">On 24 April 2018 at
01:24, <a href=3D"mailto=
:dave@xxxxxxx">dave@xxxxxxx</a> [ukha_d] <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:ukha_d@xxxxxxx";
target=3D"_blan=
k">ukha_d@xxxxxxx</a>&gt;</span>
wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-lef=
t:1ex">






=20=20=20=20=20=20=20=20
<div bgcolor=3D"white" lang=3D"EN-ID"
link=3D"blue" vlink=3D"purple">




<br><br>




<div class=3D"m_7520563821440116287WordSection1"><p
class=3D"MsoNormal"><sp=
an>Hi
Paul,<u></u><u></u></span></p><p
class=3D"MsoNormal"><span><u></u>=C2=
=A0<u></u></span></p><p
class=3D"MsoNormal"><span>Doubt you=E2=80=99ll find=
anything off the shelf for this but if you have software skills with the A=
rduino then it will be fairly easy to do
this.<u></u><u></u></span></p><p c=
lass=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p><p
class=3D"MsoNorm=
al"><span>The ESP8266 based ESP12E modules would give you a
WiFi connection=
to setup parameters and most of all it is cheap. As your IO needs are very=
small, the Wemos D1 mini would allow you to get it up and running and test=
ing with a suitable triac to drive the lamp. Adafruit etc can supply you
wi=
th a suitable triac board with a PWM input for this. I assume the lamp
itse=
lf is AC
220V?<u></u><u></u></span></p><p
class=3D"MsoNormal"><span><u></u>=
=C2=A0<u></u></span></p><p
class=3D"MsoNormal"><span>For doing your own PCB=
the ESP8266 modules themselves are very easy to use. I built a number of t=
hem to replace my unreliable ZWave and they are still working away nicely
n=
ow for almost 2
years..<u></u><u></u></span></p><p
class=3D"MsoNormal"><spa=
n><u></u>=C2=A0<u></u></span></p><p
class=3D"MsoNormal"><span>A quick Googl=
e search finds a number of dimmer designs so that might help to kick this
o=
ff.<u></u><u></u></span></p><p
class=3D"MsoNormal"><span><u></u>=C2=A0<u></=
u></span></p><p
class=3D"MsoNormal"><span>Dave=E2=80=A6<u></u><u></u></span=
></p><p
class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p><p
class=
=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p><div><div
style=3D"bord=
er:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in
0in"><p class=
=3D"MsoNormal"><b><span
lang=3D"EN-US">From:</span></b><span
lang=3D"EN-US"=
> <a href=3D"mailto:ukha_d@xxxxxxx";
target=3D"_blank">ukha_d@yahoog=
roups.com</a> &lt;<a href=3D"mailto:ukha_d@xxxxxxx";
target=3D"_blan=
k">ukha_d@xxxxxxx</a>&gt;
<br><b>Sent:</b> Monday, April 23, 2018 9=
:18 PM<br><b>To:</b> <a href=3D"mailto:ukha_d@xxxxxxx";
target=3D"_b=
lank">ukha_d@xxxxxxx</a><br><b>Subject:</b>
[ukha_d] circuit advice=
<u></u><u></u></span></p></div></div><span
class=3D""><p class=3D"MsoNormal=
"><u></u>=C2=A0<u></u></p><p
class=3D"MsoNormal">=C2=A0
<u></u><u></u></p><=
div id=3D"m_7520563821440116287ygrp-mlmsg"><div
id=3D"m_7520563821440116287=
ygrp-msg"><div
id=3D"m_7520563821440116287ygrp-text"><div><p
class=3D"MsoNo=
rmal">This actually is HA related=E2=80=A6 <span
style=3D"font-family:Wingd=
ings">J</span><u></u><u></u></p><p
class=3D"MsoNormal">=C2=A0<u></u><u></u>=
</p><p class=3D"MsoNormal">I=E2=80=99m looking for
recommendations for a si=
mple, cheap, auto-fading dimmer
controller=E2=80=A6<u></u><u></u></p><p
cla=
ss=3D"MsoNormal">=C2=A0<u></u><u></u></p><p
class=3D"MsoNormal">It can be m=
ains or low voltage, I don=E2=80=99t really mind
either<u></u><u></u></p><p=
class=3D"MsoNormal">It needs to continuously fade-on/fade-off
a bulb for a=
finite &amp; set period of time &amp; then
stop<u></u><u></u></p><p class=
=3D"MsoNormal">Ideally the fade speed should be
adjustable<u></u><u></u></p=
><p class=3D"MsoNormal">Ideally the dimmer brightness
should be adjustable<=
u></u><u></u></p><p
class=3D"MsoNormal">Ideally the run-time of the fade-on=
/fade-off cycle should be
adjustable<u></u><u></u></p><p
class=3D"MsoNormal=
">=C2=A0<u></u><u></u></p><p
class=3D"MsoNormal">This is for a project I=E2=
=80=99m about to undertake. It=E2=80=99s intended to be an embedded light,
=
so it really does want to be a simple circuit/device that can be
installed,=
configured, &amp; then
forgotten.<u></u><u></u></p><p
class=3D"MsoNormal">=
I do already have a few possibilities to investigate, but I=E2=80=99d
appre=
ciate any pointers, as its difficult to know if I=E2=80=99ve picked the
bes=
t search terms=E2=80=A6 <span
style=3D"font-family:Wingdings">J</span><u></=
u><u></u></p><p
class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p
class=3D"Mso=
Normal">Anything up to about =C2=A330 =E2=80=93ish would be fine.
I=E2=80=
=99ve no problem if it=E2=80=99s based on a well-known fruit based
microcon=
troller=E2=80=A6 <span
style=3D"font-family:Wingdings">J</span><u></u><u></=
u></p><p
class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p
class=3D"MsoNormal"=
>TIA<u></u><u></u></p><p
class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p
cla=
ss=3D"MsoNormal">Paul
G.<u></u><u></u></p></div></div></div></div></span></=
div>





<br>


<br>




<div width=3D"1"
style=3D"color:white;clear:both"></div>
</blockquote></div><br></div>




<!-- **begin egp html banner** -->

<br>


<br>

<!-- **end egp html banner** -->


<div width=3D"1" style=3D"color: white; clear:
both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20

=20=20=20=20
<div id=3D"fromDMARC" style=3D"clear:both; margin-top:
10px;">
<hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun=
d-color:#E3E3E3;">
Posted by: Simon McCaughey &lt;simonmcc@xxxxxxx&gt;         <hr
=
style=3D"height:2px ; border-width:0; color:#E3E3E3;
background-color:#E3E3=
E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->


<!-- **begin egp html banner** -->

<br><br>
<tt>
&lt;*&gt; Join the Automated Home Forums<BR>
&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.automatedhome.co.uk/vbulleti=
n/">http://www.automatedhome.co.uk/vbulletin/</a><BR>
<BR>
&lt;*&gt; UKHA_D Mailing list in association with:<BR>
&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.automatedhome.co.uk";>http://=
www.automatedhome.co.uk</a><BR>
<BR>
<BR>
</tt>
<br><br>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D1109639/grpspI=
d=3D1705041992/msgId=3D166381/stime=3D1524553543"
width=3D"1" height=3D"1">=
<br>

<!-- **end egp html banner** -->

=20=20
<!-- **begin egp html banner** -->

<br>



=20=20=20
=20=20=20=20=20
=20
<!-- **begin egp html banner** -->
<div id=3D"ygrp-vital" style=3D"background-color:
#f2f2f2; font-fam=
ily: Verdana; font-size: 10px; margin-bottom: 10px; padding:
10px;">

<span id=3D"vithd" style=3D"font-weight: bold; color:
#333; text-tr=
ansform: uppercase; "><a href=3D"https://groups.yahoo.com/neo/groups/ukha_d=
/info;_ylc=3DX3oDMTJlbTc5ZmZzBF9TAzk3MzU5NzE0BGdycElkAzExMDk2MzkEZ3Jwc3BJZA=
MxNzA1MDQxOTkyBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTUyNDU1MzU0Mw--"
style=3D"te=
xt-decoration: none;">Visit Your Group</a></span>

<ul style=3D"list-style-type: none; margin: 0; padding: 0; display:
in=
line;">
</ul>
</div>


<div id=3D"ft" style=3D"font-family: Arial; font-size:
11px; margin-top: 5p=
x; padding: 0 2px 0 0; clear: both;">
<a href=3D"https://groups.yahoo.com/neo;_ylc=3DX3oDMTJkMmdrMHZlBF9TAzk3ND=
c2NTkwBGdycElkAzExMDk2MzkEZ3Jwc3BJZAMxNzA1MDQxOTkyBHNlYwNmdHIEc2xrA2dmcARzd=
GltZQMxNTI0NTUzNTQz" style=3D"float: left;"><img
src=3D"http://l.yimg.com/r=
u/static/images/yg/img/email/new_logo/logo-groups-137x15.png"
height=3D"15"=
width=3D"137" alt=3D"Yahoo! Groups"
style=3D"border: 0;"/></a>
<div style=3D"color: #747575; float: right;"> &bull;
<a href=3D"https://i=
nfo.yahoo.com/privacy/us/yahoo/groups/details.html"
style=3D"text-decoratio=
n: none;">Privacy</a> &bull; <a href=3D"mailto:ukha_d-unsubscribe@yahoogrou=
ps.com?subject=3DUnsubscribe" style=3D"text-decoration:
none;">Unsubscribe<=
/a> &bull; <a href=3D"https://info.yahoo.com/legal/us/yahoo/utos/terms/";
st=
yle=3D"text-decoration: none;">Terms of Use</a>
</div>
</div>

<!-- **end egp html banner** -->

</div> <!-- ygrp-msg -->

=20=20=20


<br>

<!-- **end egp html banner** -->


<div style=3D"color: white; clear:
both;"/>__,_._,___</div>
</body>

</html>

--0000000000006a4226056a92b11b--

UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

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.