PCBmedo/ESP8266

From: ANT_THOMAS 8 Mar 2016 21:37
To: Ben (BENLUMLEY) 27 of 111
I believe we both wrote our own code with a similar idea.

Mines just a bash script, running as a cronjob, nothing too excited.
From: Chris (CHRISSS) 8 Mar 2016 22:10
To: Ben (BENLUMLEY) 28 of 111
As Ant said I copied his idea but wrote my own code. An embedded web server in a C++ program. Doesn't do such clever stuff as Ant's though, no temperature control, just switch it on for a certain amount time. Really nice to be out somewhere and the heating on so the house is warm when I get home. And lots of fun soldering up the sensors.

Graphs are good :) I want more sensors so I can have my whole house on my graph. And I did plan an outdoor sensor house thingy whatever they're called.

I worked in a house where the plumber (owner) had zoned his whole house with a central manifold. I don't know how useful that is in a house.
From: koswix 8 Mar 2016 22:15
To: ALL29 of 111
So burning off the spraypaint with the laser works really well. What doesn't work so well is me: thought it hadn't cleared it all as it was still pretty grey after the lasering had finished .Also the board had warped a bit with the heat. So I weighted the board down (note to self: masking tape it in place next time :@ ), and told it to go again but the alignment had shifted by about a millimetre. 

Cancelled teh job, took it out and touched it and the grey stuff was just vaporised paint that had settled on the board. Quick once over with a greeen washing up thing and it's bloody perfect, apart from the bit at the top that I fucked up by engraving twice! Argh! 

I'll clean the board off, re spray and do it again tomorrow. Looks promising, though:
https://www.dropbox.com/s/u8q56y8t95m0znu/2016-03-08%2022.10.28.jpg?dl=0
From: Chris (CHRISSS) 8 Mar 2016 22:37
To: koswix 30 of 111
A sponge?

Looking good. When are you going to be taking orders? ;)
From: koswix 8 Mar 2016 22:45
To: Chris (CHRISSS) 31 of 111
For the amount of time that took it really isn't worth my while taking orders.

The trouble here is that I could just do it as a vector cut, making an outline around each component/trace. That'd be quick as fuck, but it wouldn't look as good when it was finished as most of the copper would still be there. :$
From: ANT_THOMAS 8 Mar 2016 23:32
To: Chris (CHRISSS) 32 of 111
Living room - nRF24
Master Bedroom - nRF24
Kitchen - nRF24
Front room - nRF24
Box room - RPi
Outside - wired to the box room RPi

Want to put one in the hallway, which I guess is the classic place for a thermostat, but unless it's battery powered or right next to a socket it would be very ugly.
From: ANT_THOMAS 8 Mar 2016 23:35
To: Ben (BENLUMLEY) 33 of 111
I've made loads of changes since but an earlier version is here

https://github.com/ant-thomas/centralheating

It's pretty simple stuff, and can no doubt be improved massively even beyond what I've done since. It's only bash at the end of the day.
From: Chris (CHRISSS) 8 Mar 2016 23:50
To: ANT_THOMAS 34 of 111
Make a wireless one. Mine have been running for nearly 3 months and the batteries have hardly dropped. I should probably set up some kind of alert for when they drop too low.

If I ever get around to making some custom PCBs for them I'll try and find a little box to put them in (NJ) to make them nice and tidy. Have you ordered your PCBs yet?
From: Chris (CHRISSS) 8 Mar 2016 23:51
To: koswix 35 of 111
How long does it take to zap all that with your laser?
From: koswix 9 Mar 2016 08:26
To: Chris (CHRISSS) 36 of 111
That took about 30 or 40 minutes :$
From: koswix 9 Mar 2016 23:16
To: ALL37 of 111
Redid the board, not as pretty but it is functional. Should have made teh solder pads bigger round the pins, but hopefully it's OK. All cleaned, drilled and ready to solder. I think next time I'll just send off to seeed studio :|

https://www.dropbox.com/s/sdj3aik1y4kax3p/2016-03-09%2023.09.31.jpg?dl=0
From: Chris (CHRISSS) 9 Mar 2016 23:41
To: koswix 38 of 111
Looks good :D I couldn't work out what were the traces in your last picture but I can see it now things are connected up. Not used to seeing full copper boards like that.

Is that the way a normal PCB works but with a solder mask over the rest or is the copper just where the traces go?
From: ANT_THOMAS11 Mar 2016 12:15
To: koswix 39 of 111
If you haven't already seen some videos, this guy might interest you - https://www.youtube.com/user/bigclivedotcom

I think he describes his videos as blue collar teardowns. He's recently done a few PCB videos which are quite good.
From: ANT_THOMAS11 Mar 2016 12:20
To: Chris (CHRISSS) 40 of 111
Not ordered any PCBs, parts haven't arrived to test yet, and I keep having different ideas for design.

What battery do you use? An 18650?

I've had a little look at using a Nokia BL-5C battery because they seem to be the most readily available flat cheap li-ion battery.

I was wondering whether to include a charging circuit, but it would probably be better just to replace the battery with a charged one since they're less than £1 each.

So I'd drop the 4.2V to 3.3V with a regulator, maybe put a voltage sensing bit in like yours to check the battery. I wonder if the ESP8266 can be put to sleep as well as the Arduinos can.
From: koswix11 Mar 2016 12:43
To: ANT_THOMAS 41 of 111
I've seen a couple of his videos, could listen to his voice for hours. Like a posh Kenny.
From: Chris (CHRISSS)11 Mar 2016 12:58
To: ANT_THOMAS 42 of 111
A NL-5C would be nice to sit under the board. How do you connect up to them and are they only £1? I have a load of 18650 batteries from a dead laptop I'm using.

A regulator drains too much power even when it's doing nothing so best to avoid using one. I've got a diode between one of the output pins and the power input to the radio which I switch on and off when needed, drops the voltage for the radio. I don't think it's a proper way of doing things but it works.

The voltage sensing is all internal to the ATmega chip if it's powered directly from the battery. Nice and easy to do.

All sorts of tweaks you can do and things you can switch off to minimise the power draw when sleeping.
From: ANT_THOMAS11 Mar 2016 13:19
To: Chris (CHRISSS) 43 of 111
Diode is a nice way to drop the voltage without a regulator. Looking on AliExpress the NL-5Cs are currently 81p. I'd either need to buy some sort of holder/mount which I bet is more expensive than the battery itself, or go for a screw and couple of pins to secure the battery.

I was thinking the same, to have it sat behind the board.

I've got a load of 18650s in a drawer too.
From: Chris (CHRISSS)11 Mar 2016 14:52
To: ANT_THOMAS 44 of 111
If I didn't have so many 18660s I'd consider getting some of them. Actually I probably have an old mobile I can rip a battery out of to see how well it would work.

Easy method to fix one in place here http://strofoland.com/arduino-projects/nokias-bl-4c-battery-holder-in-just-5-minutes/
From: ANT_THOMAS14 Mar 2016 09:50
To: Chris (CHRISSS) 45 of 111
ESP8266 modules have arrived. I can already think of a load of things other than temperature sensors that I want to make. Definitely going to end up ordering some more.
From: Chris (CHRISSS)14 Mar 2016 20:20
To: ANT_THOMAS 46 of 111
Are they little WiFi modules? Easy to use? What else you planning with them?