GeneralPCBmedo/ESP8266

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS  
 To:  koswix     
41688.1 
Maybe best aimed at Kos unless anyone else has designed and made PCBs?

Attempting my first PCB design which will hold an ESP8266 module, DS18B20 temperature sensor, AMS1117-3.3V regulator and a mini-usb connector.

Nothing too advanced. I found a place that does ~10 5cmx5cm 2 layer PCBs for $14 (http://dirtypcbs.com/). If there's cheaper I'd like to know.

Can anyone see anything wrong with the layout? Or more importantly the routing?

It certainly needs a bit of tidying up and tracks straightening, but so far I think the layout should work. It has passed the Fritzing DRC check.

I've made it possible to use either a premade ds18b20 module or bare sensor and resistor. I might break out the GPIO2 pin.

Attachments:
esp8226_ds18b20.fzz

0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS     
41688.2 In reply to 41688.1 
Not done much pcb design, but the general rules I was taught to follow are basically:

1. Think about cooling, if there's anything that's going to get hot position it sensibly. Remember that the temperature /current rating for components may be based on having forced air cooling - check the data sheet! You can sometimes use the pcb as a kind of heating for ICs etc. Have a read of http://www.electronicproducts.com/Thermal_Management/Heat_Sinks_and_Thermal_Materials/PCB-cooling_techniques_and_strategies_for_IC_packages.aspx

2. Breakout every pin you can, you'll thank yourself later. Add test points and plenty of ground pins just in case.

3. Just because you /can/ make it tiny doesn't mean you should - may be tempting to get tiny boards because of the price, but make sure they're useable /solderable/mountable etc.

Seed studio always gets good reviews from the guys I know who do this stuff, probably not quite as cheap as your link but quality seems to be fairly high and consistent.


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

+1/1
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  koswix     
41688.3 In reply to 41688.2 
I've now switched the sensors to GPIO2 and added pins for GPIO0 because that is used for flashing the firmware.

Also adding another couple of Vin and Gnd headers.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  koswix     
41688.4 In reply to 41688.2 
$9.90 from Seeed Studio :D

edit: plus shipping it comes to about the same.

Or about $12 elsewhere.

Either way, less than £1/board.
0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  ANT_THOMAS     
41688.5 In reply to 41688.1 
I used to do a lot of PCB work back in the 80s and we would never have used right angles on tracks then, most of our traces were very curvy lines. Looking at a few modern boards 45o angles seems to be the thing now. I can't remember exactly why. 

Jon
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  JonCooper     
41688.6 In reply to 41688.5 
Would the electrons bounce off the corners and end up going in the opposite direction?

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS     
41688.7 In reply to 41688.4 
Ridiculously cheap, as long as you're not in a rush.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41688.8 In reply to 41688.7 
Very tempted to order a set before the parts have even arrived. A little bit of a risk considering I don't even know if the parts will work as I want.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  JonCooper     
41688.9 In reply to 41688.5 
That's a bloody good point, I vaguely remember being told that once (possibly in first year), but never really thought about it again.

Just done some reading and seems it's actually perfectly fine for digital signals (up to about 2 GPS anyway), but can be pretty devastating for analogue.

http://www.sigcon.com/Pubs/edn/bigbadbend.htm

http://www.ti.com/lit/ml/sloa089/sloa089.pdf

I haven't done any multilayer boards, but when I looked at Ant's design I did wonder about interference between the traces running on top of each other. Decided it probably wasn't going to be an issue on that board, however I didn't think at all about capacitance. That may have a much bigger impact. There's a method for calculating the parasitic capacitance in the second link there, might be worth working out what it would be and seeing what impact that would have on the design.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  ANT_THOMAS     
41688.10 In reply to 41688.8 
(giggle) do it. At worst you'll have some nice looking book marks.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  JonCooper  
 To:  koswix     
41688.11 In reply to 41688.9 
For a board that simple it would be pretty easy to just make sure the traces weren't on top of each other anyway - no worries either way then. 

Jon
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  ANT_THOMAS     
41688.12 In reply to 41688.1 
what are you making?
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Ben (BENLUMLEY)     
41688.13 In reply to 41688.12 
That would be a wifi temperature sensor using an esp8266 module.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS     
41688.14 In reply to 41688.13 
I'm going to try laser etching a pcb (Well, the mask anyway, still needs to be dumped in ferric chloride to remove the copper) tomorrow. No vias or through hole plating but should be good enough for my needs.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41688.15 In reply to 41688.14 
I should have just ordered the PCBs rather than wait for the parts that still haven't arrived.
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  ANT_THOMAS     
41688.16 In reply to 41688.13 
that's what i thought... i keep meaning to get around to making a few of these to monitor the house + feed back the data to somewhere.... are you battery powering them? (I'm fairly sure the circuit diagram doesn't tell me this... )

be interested to see how you get on (i'll notice your reply next time i swing by in 2 years time no doubt!)
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS     
41688.17 In reply to 41688.15 
Gah. I have about a hundred quids worth of stuff floating around somewhere. Need a hyperloop to China :C

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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.18 In reply to 41688.17 
Every building should have a mini hyperloop for deliveries, linked to everywhere else in the world so items can be sent straight to your home quickly.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Ben (BENLUMLEY)     
41688.19 In reply to 41688.16 
I've currently already got sensors in various places using Arduinos+nRF24 transceivers+ds18b20 temp sensors. They make up the temperature part of my central heating setup. They're powered by USB supplies. Not made anything that is low-power enough to run long enough off batteries, though that would be the ideal situation, but plugging them in isn't an issue where I've got them located.

Just thought I'd give the ESP8266 modules a go because they're dirt cheap and my wifi network is better than the nRF24 system. Hopefully they'll have better range and reliability. 
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  ANT_THOMAS     
41688.20 In reply to 41688.19 
cool; what do you do with the data ? send it somewhere? and how does it control heating.... made something?
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  …  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