Difference between revisions of "Sourcing ZeroPhone parts"

From ZeroPhone
Jump to: navigation, search
Line 1: Line 1:
This page is work-in-progress, not all the components are added - so don't yet use this page to make an order. If you see broken links,  
+
This page is work-in-progress, not all the components are added - so don't yet use this page to make an order. If you see broken links, please let us know at wiki at zerophone org !
  
 
==PCBs==
 
==PCBs==
Line 5: Line 5:
 
The last stable PCB release is Gamma release, with files available [https://github.com/ZeroPhone/ZeroPhone-PCBs/releases/tag/gamma here].
 
The last stable PCB release is Gamma release, with files available [https://github.com/ZeroPhone/ZeroPhone-PCBs/releases/tag/gamma here].
  
Sourcing PCBs can be done from different sources. The PCBs you need are:
+
Sourcing PCBs can be done from different hobbyist-grade PCB fabs. The PCBs you need are:
1. Front PCB: 4x10cm, 2 layers, 1.6mm, #####
+
{| class="wikitable"
2. Back PCB: 4x10cm, 2 layers, 1.6mm, #####
+
|-
3. Keypad PCB: 4x6cm, 2 layers, ###mm, #####
+
! scope="col"| Board name
4. 18650 holder carrier board: 4x7cm, 2 layers, ###mm, #####
+
! scope="col"| Board size
 +
! scope="col"| Layer count
 +
! scope="col"| Board thickness
 +
! scope="col"| Board folder name (on [https://github.com/ZeroPhone/ZeroPhone-PCBs GitHub])
 +
|-
 +
| Front board || 4x10cm || 2 || 1.6mm || front_pcb
 +
|-
 +
| Back board || 4x10cm || 2 || 1.6mm || back_pcb
 +
|-
 +
| Keypad board || 4x6cm || 2 || 0.8mm || keypad_pcb
 +
|-
 +
| 18650 holder carrier board || 4x7cm || 2 || 1.6mm || 18650_pcb
 +
|}
  
It doesn't matter that much whether PCBs have ENIG or HASL plating (though ENIG is the nicer option for soldering). The color of soldermask also doesn't matter as much.
+
Describing these options in detail:
  
Here are the suggested places you can get the PCBs from:
+
# 4xXcm are the board dimensions. Silkscreen on some boards might stick outside those dimensions, so the order form on some of the fabs' websites might tell you that the boards are larger than 10cm in height (10x10cm is the most common limit for hobbyist PCB orders, and it's usually a hard limit). Feel free to ignore it if it's just a warning, or contact the fab if that warning doesn't let your order go through ([https://github.com/ZeroPhone/ZeroPhone-PCBs/issues/new file an issue on GitHub] if they can't resolve it).
* OSHPark ([##### front], [####### back], [######## keypad] and [######## 18650] PCBs). You get three copies of each PCB.
+
# "X layers" means number of copper layers. In our case, all boards have 2 layers, that is, they're double-sided.
* DirtyPCBs, Elecrow or #########. You get about 10 copies of each PCB.
+
# 1.6mm is the recommended board thickness for front&back boards, while keypad board can be 0.8mm. 1.6mm also happens to be the default thickness for most fabs, and 0.8mm is not as popular but still a popular option. Board thickness will affect many things - for example, just how well your ZeroPhone will fit inside the available cases, how thick the resulting board sandwich will be and how much the 2.54 header pins will be sticking out of the boards.
 +
# 1oz (ounce) copper is copper thickness, and it's the default for most fabs. You can still use 2oz if you have no other choice, for example, as it is with OSHPark "0.8mm&2oz" service - it's not going to cause any problems.
 +
# It doesn't matter that much whether PCBs have ENIG or HASL plating (though ENIG is the nicer option for soldering). For the reference, HASL is when exposed pads on the board are solder-plated, and ENIG is when they're gold-plated.
 +
# The color of soldermask also doesn't matter as much - you might as well stick to PCB colors suggested in the release README, but if you want to pick a different color, there are no problems with that.
 +
# The boards are supposed to have both soldermask and silkscreen from both sides. While some PCB fabs might, for some reason, allow you to omit either of them, it's not recommended.
  
If you're ordering from places where they have fixed-price 10x10cm panels and allow panelization (such as DirtyPCBs), you can [######## panelize your boards] to ######halve the cost of ordering, so, say, you won't spend $64 ordering 4 different boards, but only $32, ordering 2 panels with 2 boards on each. If you're ordering from places like OSHPark, though, that's not viable, since OSHPark charges by board dimensions.
+
Here are the suggested places you can get the PCBs from (that is, PCB houses):
 +
* OSHPark ([https://oshpark.com/shared_projects/7ndfXM4k front], [https://oshpark.com/shared_projects/G1D8PIpg back], [https://oshpark.com/shared_projects/LnxwAUdM keypad] and [https://oshpark.com/shared_projects/GYmJoBNl 18650] PCBs), it's USA-based. You get three copies of each PCB.
 +
* [http://dirtypcbs.com/store/pcbs DirtyPCBs] and [https://www.elecrow.com/pcb-prototyping.html Elecrow], those are China-based. You get about 10 copies of each PCB.
 +
If you want to explore other deals on PCBs, there's [http://pcbshopper.com pcbshopper.com] that can help you compare prices (I also suggest you to see reviews for the PCB houses
  
 
+
If you're ordering from PCB houses where they have fixed-price 10x10cm panels and allow panelization (such as DirtyPCBs), you can [https://hackaday.com/2017/06/21/panelizing-boards-the-easy-way/ panelize your boards] to further decrease the cost of ordering - say, you won't spend $64 ordering 4 different boards, but only $32, ordering 2 panels with 2 boards on each. On the other hand, if you're ordering from places that charge by board dimensions, like OSHPark, that wouldn't be viable.
pcbshopper.com?
 
  
 
==Pi Zero==
 
==Pi Zero==

Revision as of 19:17, 9 November 2017

This page is work-in-progress, not all the components are added - so don't yet use this page to make an order. If you see broken links, please let us know at wiki at zerophone org !

PCBs

The last stable PCB release is Gamma release, with files available here.

Sourcing PCBs can be done from different hobbyist-grade PCB fabs. The PCBs you need are:

Board name Board size Layer count Board thickness Board folder name (on GitHub)
Front board 4x10cm 2 1.6mm front_pcb
Back board 4x10cm 2 1.6mm back_pcb
Keypad board 4x6cm 2 0.8mm keypad_pcb
18650 holder carrier board 4x7cm 2 1.6mm 18650_pcb

Describing these options in detail:

  1. 4xXcm are the board dimensions. Silkscreen on some boards might stick outside those dimensions, so the order form on some of the fabs' websites might tell you that the boards are larger than 10cm in height (10x10cm is the most common limit for hobbyist PCB orders, and it's usually a hard limit). Feel free to ignore it if it's just a warning, or contact the fab if that warning doesn't let your order go through (file an issue on GitHub if they can't resolve it).
  2. "X layers" means number of copper layers. In our case, all boards have 2 layers, that is, they're double-sided.
  3. 1.6mm is the recommended board thickness for front&back boards, while keypad board can be 0.8mm. 1.6mm also happens to be the default thickness for most fabs, and 0.8mm is not as popular but still a popular option. Board thickness will affect many things - for example, just how well your ZeroPhone will fit inside the available cases, how thick the resulting board sandwich will be and how much the 2.54 header pins will be sticking out of the boards.
  4. 1oz (ounce) copper is copper thickness, and it's the default for most fabs. You can still use 2oz if you have no other choice, for example, as it is with OSHPark "0.8mm&2oz" service - it's not going to cause any problems.
  5. It doesn't matter that much whether PCBs have ENIG or HASL plating (though ENIG is the nicer option for soldering). For the reference, HASL is when exposed pads on the board are solder-plated, and ENIG is when they're gold-plated.
  6. The color of soldermask also doesn't matter as much - you might as well stick to PCB colors suggested in the release README, but if you want to pick a different color, there are no problems with that.
  7. The boards are supposed to have both soldermask and silkscreen from both sides. While some PCB fabs might, for some reason, allow you to omit either of them, it's not recommended.

Here are the suggested places you can get the PCBs from (that is, PCB houses):

If you want to explore other deals on PCBs, there's pcbshopper.com that can help you compare prices (I also suggest you to see reviews for the PCB houses

If you're ordering from PCB houses where they have fixed-price 10x10cm panels and allow panelization (such as DirtyPCBs), you can panelize your boards to further decrease the cost of ordering - say, you won't spend $64 ordering 4 different boards, but only $32, ordering 2 panels with 2 boards on each. On the other hand, if you're ordering from places that charge by board dimensions, like OSHPark, that wouldn't be viable.

Pi Zero

As of now, there are multiple resellers for Pi Zero - recently, about 30 more have been added. The site-to-go for looking up Pi Zero availability used to be whereismypizero.com, but now there's thepilocator.com , which has all the online resellers listed, so the latter is the recommended site to find a place to get a Pi Zero.

You can get either a Zero or a Zero W - the Zero W has Bluetooth and doesn't require ESP8266 (thus freeing some pins that can be used for mod boards). However, due to lots of metallic parts around Zero W antenna, WiFi range is slightly decreased, and Bluetooth is not yet supported.

Breakouts

1.3" SPI OLED screen

The screen for ZeroPhone. Do keep in mind that there are different breakouts for this screen which mainly are different by pinouts, you will need the 6-pin "VCC-GND-SDA-SCL-CS-D/C" one ("SDA" is sometimes called "D0" or "MOSI", and "SCL" is sometimes called "D1"). There's a version that has "RST" pin instead of "CS", it might be cheaper but it won't allow SPI on the 13-pin expansion port to work properly, so if you want to use SPI on the 13-pin expansion port, avoid that breakout (it also has GND and VCC swapped, so make sure you connect this screen right if this is what you have to work with.)

  • TaoBao (seller: leehunter8801) Not yet verified
  • eBay (seller: horizon_electronic) Verified

SIM800

A simple SIM800 breakout, doesn't give access to all the capabilities that SIM800 chips have, but still has pins that are the most important for ZeroPhone to work as a phone. Only analog audio is accessible, so that is what's used, with an analog microphone&speaker. The breakout has 12 pins, only 11 of those are soldered to the ZeroPhone board - 12th is an antenna pin, which, in addition to not being necessary (as ZeroPhone is supposed to use an u.FL-connected antenna), could probably decrease reception quality, because something something RF something something black magic.

TODO: photo

  • TaoBao (seller: zhangyongweng998) Verified
  • TODO: eBay link

GSM antenna for SIM800

If an external PCB antenna (like on the photo to the right, TODO: add photo) is not supplied alongside the SIM800 breakout you'll be getting, you'll also need to get an antenna separately, since the "gold-plated coil" antenna that's included by default doesn't fit the breakout as installed in ZeroPhone.

  • TaoBao (seller: shop469692262) Ordered but not yet verified

ESP12

Suitable and unsuitable ESP12 types

It's important that you get the version that has 6 pins on the side opposite to the antenna (labeled "SCLK,MOSI,GPIO10,GPIO9,MISO,CS0"). ESP12-E or ESP12-F will fit ( -F is claimed to have better antenna and would be therefore preferred)

  • TaoBao (seller: zhangyongweng998)
  • eBay link


TP4056 LiIon charging+protection board

TODO: photo, suitable and unsuitable boards

  • TaoBao link
  • eBay link

5V step-up DC-DC breakout

TODO: photo, suitable and unsuitable boards

  • TaoBao link
  • eBay link

Active components

MCP23017

TODO: photo

  • TaoBao (seller: shop101250516)
  • eBay link
  • Farnell link

RGB LED

Passive components

Microphone

  • Taobao (seller: zhangyongweng998)

100nF capacitors, 0805

10K resistors, 0805

100uF 16V tantalum capacitors, Case D (2pcs)

  • TaoBao (seller: zhangyongweng998)

100uF 6.3V tantalum capacitors, Case D (2pcs)

  • TaoBao (seller: zhangyongweng998)

Mechanical parts

2x20 2.54 (0.1in) female header (1pcs)

  • Taobao (seller: zhangyongweng998)

2x20 2.54 (0.1in) male header (1pcs)

5-pin 2.54 (0.1in) angled female header (2pcs)

3-pin 2.54 (0.1in) angled female header (1pcs)

13-pin 2.54 (0.1in) angled female header (1pcs)

6-pin 2.54 (0.1in) male header (2pcs)

6-pin 2.54 (0.1in) male header (2pcs)

4-pin buttons

  • TaoBao (seller: zoxmow)
  • eBay link

2-pin buttons

TODO: photo

  • TaoBao (seller: zoxmow)
  • eBay link
  • Farnell link

4-pin side buttons

TODO: photo

  • eBay link
  • Farnell link

Li-Ion battery holder

TODO: photo

  • TaoBao:
  • eBay link
  • Farnell link