GeneralPCBmedo/ESP8266

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS   
 To:  Ben (BENLUMLEY)     
41688.21 In reply to 41688.20 
A Raspberry Pi receives it and sticks it in a mysql database.

I've written a script that is run every minute and works out based on various factors whether to turn the heating on. Target temp, current temp, target room, whether I'm in the house etc.

The boiler has an Arduino, relay and 433 MHz receiver, that's the heating switch. The RPi transmits a 433 MHz signal to turn that on or off.
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  ANT_THOMAS      
41688.22 In reply to 41688.21 
i see. any zoning?
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Ben (BENLUMLEY)     
41688.23 In reply to 41688.22 
Nope, I've looked at wireless TRVs but that's a step further than I can be bothered with right now. (plus the expense)

I can already pick a target room along with target temp so when that room comes up to temperature the heating goes off (or maintains that temperature).

I've also got an "auto room" setting which currently means that if either the bedroom or living room get above the target temp it turns off. I may add an "auto room both" type setting where it only turns off when /both/ the living room and bedroom hit the target temp.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Ben (BENLUMLEY)     
41688.24 In reply to 41688.22 
The best bit though is having a /graph!/ to look at. Although my dad did ask my Uncle sarcastically if he'd like a graph of his living room temperature and he said no.

Yes I copied Ant and made one too :)

Me

Attachments:

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.25 In reply to 41688.23 
I didn't know you could get wireless TRVs. Interesting. Could you make your own with a normal TRV and a motor to turn it on/off? How many sensors you got in your house now?

Me
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  Chris (CHRISSS)     
41688.26 In reply to 41688.25 
Like the look of that... if/when I can be bothered I'd like at least some graphs... make me feel good about myself if I improve insulation or something....

Did one of you write code? Or is it something off t'internet somewhere?

Re TRV's - yes, you can get battery powered/wireless ones, there's some where the protocol has been reverse engineered - eq3 MAX! i think they are called - so you can talk to them with other stuff. You could make an electric actuator to replace a trv head I guess, maybe a stepper motor turning a bolt or something to get the up/down movement - but I'm fairly sure that if I made it it'd look too shit to put round the house.

If I did anything, think I'd add 2 port motorised valves on the feed to each rad where they split from the manifold under the floor upstairs (rads all fed from a central point here), or maybe group them into zones of a few rooms and put a 2 port valve on each zone (with one manifold per zone). 
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Ben (BENLUMLEY)     
41688.27 In reply to 41688.26 
I believe we both wrote our own code with a similar idea.

Mines just a bash script, running as a cronjob, nothing too excited.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Ben (BENLUMLEY)     
41688.28 In reply to 41688.26 
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.

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ALL
41688.29 
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

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
41688.30 In reply to 41688.29 
A sponge?

Looking good. When are you going to be taking orders? ;)

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Chris (CHRISSS)     
41688.31 In reply to 41688.30 
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. :$

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.32 In reply to 41688.25 
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.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Ben (BENLUMLEY)     
41688.33 In reply to 41688.26 
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.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.34 In reply to 41688.32 
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?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
41688.35 In reply to 41688.31 
How long does it take to zap all that with your laser?

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Chris (CHRISSS)     
41688.36 In reply to 41688.35 
That took about 30 or 40 minutes :$

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  koswix  
 To:  ALL
41688.37 
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

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
41688.38 In reply to 41688.37 
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?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
41688.39 In reply to 41688.37 
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.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.40 In reply to 41688.34 
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.
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–60  …  101–111

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats