GeneralPCBmedo/ESP8266

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.61 In reply to 41688.60 
If I ignore the deep sleep and running them off batteries, I now have a nice working setup for a plugged in sensor. I think I'll tweak/redesign the PCB now I know what components are sensible and needed and order some.

I'll probably change a few bits to enable multiple power options, maybe add a few jumper points for various options like disconnecting the regulator.

I'm also wondering how easy it would be to add some dip switches to give each module its own unique id rather than programming each one specifically.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
41688.62 
It was only the other week that I got my AliExpress "Awaiting Delivery" list down to 0, it is now 20 (fail)

I need to stop buying cheap electronics.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS      
41688.63 In reply to 41688.62 
I placed my first aliexpress order yesterday - a lvds cable for my laptop (the one ordered previously rather unsurprisingly didn't turn up and has been refunded via paypal).

I keep adding things to my basket but then chickening out on ordering stuff. So much stuff I want.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  ALL
41688.64 
Deep sleep now working. Bought a very sharp tip for my soldering iron and managed to get the wire attached.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
41688.65 
I've been doing some more testing on batteries to see how long they last in various setups. All submit a temperature every minute(ish).

3xAA NiMH (no regulator)
No sleep modes
27 hours

4xAA NiMH with AMS1117-3v3 regulator
Small solar panel to attempt to charge the batteries
No sleep modes
58 hours

3xAA NiMH (no regulator)
Deep sleep for around 50-55 seconds (can't remember exactly)
Still alive and approaching 72 hours

Next will be deep sleep + solar panel, and possibly remove the power LED.
+1/1
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.66 In reply to 41688.65 
Definitely cut the power LED. That alone will probably run the batteries flat fairly quickly. How reliable is it waking from sleep?

Probably not an issue for you if you're going to switch to WiFi sensors but with the RF24s you can route the signal through another close radio to get better range. Not if the middle one is sleeping though.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.67 In reply to 41688.66 
I read there were issues waking from sleep, but so far I'm at about 86 hours, which means around 5160 successful sleep/wake cycles.

Voltage has levelled off at about 3.6V which is probably close to the minimum the AA batteries can put out.



Error
Voltage
Temperature

Attachments:

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ANT_THOMAS      
41688.68 In reply to 41688.65 
3xAA NiMH (no regulator)
Deep sleep for around 50-55 seconds (can't remember exactly)
100 hours

Assuming it has actually died overnight and not just failed to wake from deep sleep (which I guess could be considered the same thing, it's in a coma!)
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.69 In reply to 41688.68 
Can you wake it to do stuff without turning the WiFi on?

4 days. I wonder how much difference the power led would make to the time.

And what do you use to make your graphs?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.70 In reply to 41688.69 
Flot - www.flotcharts.org

Everything goes in to a MySQL database, then it's PHP + Flot to do the charts.

I think you can do plenty of stuff without turning the WiFi on, there's specific commands in the sketch for the WiFi so I imagine you could wrap them in some sort of if/else to decide whether you want the WiFi to be used.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
41688.71 
4xAA NiMH
Regulator
Solar Panel
Deep sleep for around 50-55 seconds (LED still connected).
Currently at 150 Hours.

This one may actually last forever.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ANT_THOMAS      
41688.72 In reply to 41688.71 
*forever being until last night
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.73 In reply to 41688.72 
Have a look at this. Some info on running those things on a battery. http://blog.hekkers.net/2015/04/06/esp8266-good-enough-for-a-battery-powered-sensor/

My sensors have been running for 5 months and still going strong.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.74 In reply to 41688.73 
My problem is that I'm reporting the temperature every minute, which I won't be changing, so I'll never get a year off just a battery.

Some Lithium battery charging boards arrived yesterday for me to charge some 18650s pulled from a laptop battery. I also discovered a new version the same day I ordered which also have discharge protection for unprotected cells, so I'm waiting for them to arrive then I'll have a setup which will be...
 
Code: 
Solar Panel
     |
Charging/Protection Board -> ESP8266
     |
18650 cell
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  ANT_THOMAS      
41688.75 In reply to 41688.74 
"I'm reporting the temperature every minute"

Why?
"Force Trump to spend as much as five minutes with one of his own supporters." - Secret Republican blueprint for stopping Donald Trump
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  CHYRON (DSMITHHFX)     
41688.76 In reply to 41688.75 
The "system" controls my central heating so I like the "thermostat" readings to be fairly regular so it turns on/off when it needs to.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  ANT_THOMAS      
41688.77 In reply to 41688.76 
This doesn't cause it to turn on/off much more frequently, increasing wear and tear?
"Force Trump to spend as much as five minutes with one of his own supporters." - Secret Republican blueprint for stopping Donald Trump
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.78 In reply to 41688.76 
You could check it every minute but only send the temp if it's changed from the last check.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  CHYRON (DSMITHHFX)     
41688.79 In reply to 41688.77 
Definitely possible but I've had a look at other remote control type heating system and I'm sure they check the temp at least every minute.

I'd imagine the older type bimetallic rotary dials could flick on/off fairly regularly, unless they naturally have some sort of hysteresis curve.

In reality it very rarely clicks on for just a minute. It takes a few minutes for the radiators to get warm and the room heat up enough to hit the target temperature. Even if it does only need to increase by 0.5C
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.80 In reply to 41688.78 
That's definitely possible. Only reason I'm not doing that is because it would leave gaps on my chart. I could fix that by running a script every minute or so and if a value hasn't been sent just repeat the last value.
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–60  61–80  81–100  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