GeneralPCBmedo/ESP8266

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  koswix  
 To:  ANT_THOMAS      
41688.41 In reply to 41688.39 
I've seen a couple of his videos, could listen to his voice for hours. Like a posh Kenny.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  ANT_THOMAS      
41688.42 In reply to 41688.40 
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.

Me
0/0
 Reply   Quote More 

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

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.44 In reply to 41688.43 
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/

Me
0/0
 Reply   Quote More 

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

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.46 In reply to 41688.45 
Are they little WiFi modules? Easy to use? What else you planning with them?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.47 In reply to 41688.46 
Once I figured out how to program it, wiring etc, it is now fairly easy.

I'll build a programming board at some point so I can just plug in the USB serial adapter and an esp8266 module.



Once it's programmed you can just power it up without all the buttons and adapters.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
41688.48 
Made a quick test setup to see how well my new sketch works.



Pretty simple setup which I might solder to a protoboard

esp8266
ams1117-3.3 regulator module
ds18b20 temp sensor module

Rather than running a webserver on the esp8266 and another system requesting the data, the esp8266 now uses a http get command to send the data itself. This will mean once I tidy up the code I can have it deep sleeping when it's not needed, rather than being awake and ready to send.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
41688.49 
Made a programming board



And made a temperature sensor board to play with

 
+1/1
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.50 In reply to 41688.42 
Turns out the ESP8266 can run off 4.2V so you can connect a lithium battery direct without a regulator to waste energy. 3x rechargeable AAs work well direct. Next step is to sort the deep sleep code.

I've bought some lithium charging boards to use to protect against over discharge. Another few weeks to wait!
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.51 In reply to 41688.50 
Interesting. I didn't realise they could be run on their own. I assumed they needed an Arduino to connect up to. I wonder how well they run in sleep mode compared to an Atmega with RF24 radio connected.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.52 In reply to 41688.51 
The ESP-01 model (which I have) has 2 GPIO pins that are useful for stuff. The other models (eg ESP-12F) which have more pins available are a bit larger and look to be more fiddly to use, but I still might buy a couple since they're less than £1.50 each, you can get a mounting board for about 10p anyway.

ESP-01


ESP-12F


To use deep sleep you need access to GPIO 16, which isn't normally available on the ESP-01 (only GPIO 0 and 2). You need to do this...
(and my soldering iron tip is too fat :C )

0/0
 Reply   Quote More 

 From:  Chris Cooper (DEATHTERRAPIN)  
 To:  ANT_THOMAS      
41688.53 In reply to 41688.52 
I just got an esp-12f, not sure what I'm going to do with it, but for £1.57 including the adapter board it was hard to resist.
Soldering it onto the board was a bit of a pain though, and its too wide to use on a single breadboard.

Attachments:

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris Cooper (DEATHTERRAPIN)     
41688.54 In reply to 41688.53 
Nice, you'll definitely be able to deep sleep with that then.

In deep sleep I think it's in the microamp range for power consumption.

I've read various reports of it now always waking from deep sleep which doesn't sound promising.
0/0
 Reply   Quote More 

 From:  Chris Cooper (DEATHTERRAPIN)  
 To:  ANT_THOMAS      
41688.55 In reply to 41688.54 
Yeah, I think I saw something about that as well. Doesn't really bother me at the moment, need to think of something to use it for first!
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris Cooper (DEATHTERRAPIN)     
41688.56 In reply to 41688.55 
I actually thought you were the other Chris earlier :$

Sensors, switches, stuff to remotely control
0/0
 Reply   Quote More 

 From:  Chris Cooper (DEATHTERRAPIN)  
 To:  ANT_THOMAS      
41688.57 In reply to 41688.56 
Haha!
My next project is actually an 8x8x8 LED cube, just ordered the esp on a whim alongside the bits for that. Still waiting for my LEDs to turn up though.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.58 In reply to 41688.56 
Haha. I read your post and thought that was to me and got very confused :)

I'll stick to my RF24 radios for now, at least for my temp sensors because I've got them working nicely. I'll definitely consider them for other things though.

What you got planned for them?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
41688.59 In reply to 41688.58 
My RF24 temp sensors are working well, but for some reason I don't like them. Range is ok but not as good as I expected, the kitchen one occasionally drops out (and that's got a proper antenna rather than an onboard one), even the bedroom one isn't always 100% and that's in the room above the RPi. It's easier to extend a WiFi network than an RF24 network - I've already got an AP at either sides of the house.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
41688.60 In reply to 41688.59 
That's a good point about the range. I didn't think about that. I don't have any problems where mine are at the mo but last year when I put one outside for a bit it was tricky getting it to connect to my Pi.

Me
0/0
 Reply   Quote More 

Reply to All  
 

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