Difference between revisions of "Sourcing ZeroPhone parts"

From ZeroPhone
Jump to: navigation, search
(Created page with "This page is work-in-progress, sorry for lack of content for now. ==PCBs== pcbshopper.com? ==Pi Zero== As of now, there are multiple resellers for Pi Zero - recently, about...")
 
(5V1 diode, 0805: not 0805 if tube)
 
(208 intermediate revisions by 6 users not shown)
Line 1: Line 1:
This page is work-in-progress, sorry for lack of content for now.
+
This is a list of descriptions, photos and example links to the components you need to get if you want to independently assemble a ZeroPhone from scratch - specifically, a ZeroPhone Delta/Delta-B.
 +
 
 +
Can't get some of the components? Contact us at ''parts at zerophone org'', we can mail them to you cheaply, too! If you see broken links or have other improvements to suggest but don't have a ZeroPhone Wiki account, please let us know at ''wiki at zerophone org'' , or in [https://github.com/ZeroPhone/ZeroPhone-PCBs/issues/new ZeroPhone PCB GitHub issues]!
 +
 
 +
Also, there's [https://www.digikey.co.uk/BOM/Create/CreateSharedBom?bomId=7712128 a Digikey BOM] that's been created by a contributor, LouisPi. This allows you to order parts easier - though not necessarily cheaper. You can use it to get most of the SMD&THT parts (not Pi Zero and breakouts, though). However, it might not contain all the parts - it hasn't been checked to do so, at least, so use with caution. To use the link, make sure you have a Digikey account and that you are logged in to it. You can also download the csv file for the same BOM here - [[File:Zerophone bom.csv]]
  
 
==PCBs==
 
==PCBs==
pcbshopper.com?
+
[[File:ZeroPhone-Gamma-PCB-panels.JPG|300px|thumb|ZeroPhone Gamma PCBs panelized with mod boards, as ordered from DirtyPCBs]]
 +
The last stable PCB release is Delta release, with files available [https://github.com/ZeroPhone/ZeroPhone-PCBs/releases/tag/delta here].
 +
 
 +
Sourcing PCBs can be easily done using one of the various hobbyist-grade PCB houses. The PCBs you need are:
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Board name
 +
! scope="col"| Board size
 +
! scope="col"| Board size (sq.in.)
 +
! scope="col"| Layer count
 +
! scope="col"| Board thickness
 +
! scope="col"| Board folder name (on [https://github.com/ZeroPhone/ZeroPhone-PCBs PCB GitHub])
 +
|-
 +
| Front board || 4x10cm || 6.2 || 2 || 1.6mm || front_pcb
 +
|-
 +
| Back board || 4x10cm || 6.2 || 2 || 1.6mm || back_pcb
 +
|-
 +
| Keypad board || 4x6cm || 3.7 || 2 || 0.8mm || keypad_pcb
 +
|-
 +
| 18650 holder carrier board || 4x7cm || 4.3 || 2 || 1.6mm || 18650_pcb
 +
|-
 +
| Speaker adapter board || 1.6x0.8cm || 0.2 || 2 || 1.6mm || speaker_adapter
 +
|}
 +
 
 +
Describing these options in detail:
 +
 
 +
# "4x_cm" are the board dimensions. <spoiler text='"Dimensions exceeded" when ordering?'>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).</spoiler>
 +
# "X layers" means number of copper layers. In our case, all boards have 2 layers, that is, they're double-sided.
 +
# "1.6mm "is the recommended board thickness for front&back boards, while keypad board can be 0.8mm. <spoiler text="Why these?">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, as well as, more importantly, whether the PCBs will flex and bend under pressure (they're not supposed to).</spoiler><spoiler text="Additional options">
 +
* Preferred copper thickness is 1oz (1 ounce), and it's the default for most fabs, so if you don't see copper thickness mentioned anywhere in the order form, that's what you'll likely get anyway. You can use larger copper thicknesses if you have no other choice, for example, 2oz, as it is with OSHPark "0.8mm&2oz" service (increased copper thickness is 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 - it's best if you use PCB colors suggested in the release README (for Delta boards, it's red), 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.</spoiler>
 +
Here are the suggested places you can get the PCBs from (that is, PCB houses):
 +
* OSHPark ([https://oshpark.com/shared_projects/zho0pyvp front], [https://oshpark.com/shared_projects/S7XBiXI8 back], [https://oshpark.com/shared_projects/7Xljf6tQ keypad], [https://oshpark.com/shared_projects/F0dJ2AW0 18650] and [https://oshpark.com/shared_projects/kAPIpd4Z speaker adapter] 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.
 +
 
 +
<spoiler text="Want to look for better deals?">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 before you order from there). Do remember that quality is different from board house to board house, so you won't always get satisfactory quality from a cheaper place. Do keep in mind that some cheaper PCB houses won't allow panelization, so you'll have to make 3 orders instead of 2.</spoiler>
 +
<spoiler text="How to save money by using panelization">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.</spoiler>
 +
<spoiler text="Could I make these boards at home?">It's close to impossible for an ordinary hobbyist to make boards like these at home, since it's going to require lots of skill and equipment that's not usually available to hobbyists. So, unless you have a process in place that allows you to make boards that are this complicated, ordering them (or buying them from somebody who has ordered more than necessary and now has spares) is going to be more cost-efficient. Not all the boards are so complicated - it's technically possible to make the 18650 holder board, as well as maybe some of the simplest mod boards, at home - the question, again, is whether that is going to save you money, since the other boards will have to be ordered from somewhere anyway.</spoiler>
 +
 
 
==Pi Zero==
 
==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 this is the recommended site to find a place to get a 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 it's no longer active. Instead, there's [http://thepilocator.com thepilocator.com] , which has all the online resellers listed.
  
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 - due to the UART remapping that's necessary for GSM modem to work, enabling Bluetooth seems to need some software fixes, and it's not yet clear which exactly.
+
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. Also, Bluetooth is kinda fucky, so I don't consider it to be a benefit. The only real benefit is that you get 7 free GPIOs you can use instead of using them to control the ESP, but there's no mod board to expose those GPIOs to the user (yet)
  
 
==Breakouts==
 
==Breakouts==
 +
 +
===1.3" SPI OLED screen===
 +
[[File:Heltec_1.3_OLED_breakout.jpg|thumb|200px|The officially supported OLED breakout (made by Heltec)]]
 +
'''The''' screen for ZeroPhone. Do keep in mind that there are different breakouts for this screen, their biggest difference is their pinouts. You will need the 6-pin "VCC-GND-CLK-MOSI-CS-D/C" one ("MOSI" is sometimes called "D1" or "SDA", and "CLK" is sometimes called "SCL" or "D0").
 +
 +
<spoiler text="Pinout is slightly different?">There's a version that has "RST" pin instead of "CS", but we suggest you don't buy that one. 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.) If you've found some other breakout, let us know on IRC!</spoiler>
 +
<spoiler text="Can you use 7-pin screens?">You can, there's a 7-pin header on the front board, too - though having a 6-pin screen is certainly a better option. The 7-pin header pinout is "GND-VCC-CLK-MOSI-RST-DC-CS", if you have other pinout, you likely won't be able to use your screen with the 7-pin header - so check the pinout before ordering!</spoiler>
 +
<spoiler text="Can you use 4-pin screens?">Those screens use I2C instead of SPI - it's supported by ZeroPhone, but it's a little bit harder to set up, and it's not recommended - the screen refresh rates will be better with SPI, and I2C bus is better left free, since it'll decrease CPU load and power consumption.</spoiler>
 +
 +
* [https://world.taobao.com/item/21979047888.htm On TaoBao] (seller: leehunter8801) '''Not verified'''
 +
* [http://www.ebay.com/itm/281687205015 On eBay] (seller: horizon_electronic) '''Verified'''
 +
* [https://www.aliexpress.com/item/0-96-Inch-SPI-OLED-Display-Module-White-blue-color-128X64-OLED-7Pin-Yellow-blue/32850341305.html On AliExpress] (seller: TUOZHANTENG Store) '''Not verified'''
 +
<br style="clear:both;"/>
  
 
===SIM800===
 
===SIM800===
'''TODO: photo'''
+
[[File:S-l1600.jpg|thumb|200px|A SIM800 breakout (picture from an online retailer), along with a PCB antenna]]
TaoBao link
+
[[File:Arduino-sim800L.jpg|thumb|200px|A SIM800 breakout back side with pinout]]
eBay link
+
 
===ESP12===
+
A simple SIM800 breakout, doesn't give access to all the capabilities that SIM800 chips have, but still breaks out most important connections 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.
It's important that you get the version that has 6 pins on the side opposite to the antenna
+
 
'''TODO: photo, suitable and unsuitable boards'''
+
* [https://item.taobao.com/item.htm?id=536462560241 On TaoBao] (seller: zhangyongweng998) '''Verified'''
TaoBao link
+
* [https://www.ebay.com/itm/221886727567 On eBay] (seller: worldchips) '''Verified'''
eBay link
+
* [https://www.ebay.com/itm/311445890048 On eBay] (seller: alice1101983) '''Verified'''
 +
* [https://www.aliexpress.com/item/SIM800L-GSM-GPRS-module-900m-1800m-sms-The-message-alarm-CPU-MCU-test-Core-board-microSIM/32823803894.html On AliExpress] (seller: Artillery 3C Store) '''Not verified'''
 +
<br style="clear:both;"/>
 +
 
 +
===GSM antenna for SIM800===
 +
[[File:GSM_antenna_for_SIM800.jpg|thumb|200px|An antenna that's suitable for usage with SIM800 modem]]
 +
If an external PCB antenna (like on the photo to the right) 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, and it's not clear whether its performance is good enough. PCB pattern of the antenna you get might be different from the antenna pictured on the right, as well as from the antenna in listings below, but what's important is that the antenna you get is an antenna suitable for GSM (it should be in the item description).
 +
 
 +
* [https://item.taobao.com/item.htm?id=555979815360 On TaoBao] (seller: shop469692262) '''Verified'''
 +
* [https://www.aliexpress.com/item/10pcs-lot-For-sim800-sim908-sim900-GSM-GPRS-3G-built-in-circuit-board-antenna-1-13/32811636416.html On AliExpress] (seller: Artillery 3C Store) '''Not verified''' (10PCS/order)
 +
<br style="clear:both;"/>
 +
 
 +
===ESP12-E or ESP12-F===
 +
[[File:ESP12_types.jpg|200px|thumb|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 a better antenna and would be therefore preferred). Also, check the pinout of the aforementioned 6 pins - refer to the right part of the picture for suitable and unsuitable pinouts (modules with incompatible pinouts are rare, though, but it's best if you check beforehand).
 +
 
 +
* [https://item.taobao.com/item.htm?id=43157344721 On TaoBao] (seller: zhangyongweng998) '''Verified'''
 +
* [https://www.ebay.com/itm/112016413081 On eBay] (seller: diybox) '''Not verified'''
 +
* [https://www.aliexpress.com/item/10pcs-lot-ESP-12F-ESP-12E-upgrade-ESP8266-Remote-Serial-Port-WIFI-Wireless-Module-ESP8266-4M/32850828304.html On AliExpress] (seller: GY Store) '''Not verified''' (10PCS/order)
 +
* [https://www.aliexpress.com/item/ESP8266-ESP-12E-ESP12E-ESP12F-ESP-12F-Wifi-Serial-Module-Board-for-Arduino-Wireless-Transceiver-Remote/32955825484.html On AliExpress] (seller: AOKIN DiyElectronics Store) '''Not verified'''
 +
<br style="clear:both;"/>
 +
 
 
===TP4056 LiIon charging+protection board===
 
===TP4056 LiIon charging+protection board===
'''TODO: photo, suitable and unsuitable boards'''
+
[[File:TP4056_charger_protection_boards.jpg|thumb|200px|Suitable and unsuitable TP4056 boards]]
TaoBao link
+
This is a breakout used to charge the LiIon batteries used by ZeroPhone, as well as for protection from overcurrent/overcharging/overdischarging the batteries.
eBay link
+
 
 +
* [https://item.taobao.com/item.htm?id=556065485721 on TaoBao] (seller: tb314395) '''Verified'''
 +
* [https://www.ebay.com/itm/400665524431 on eBay] (seller: alice1101983) '''Verified''' (5PCS/order)
 +
* [https://www.aliexpress.com/item/Free-Shipping-10Pcs-lot-5V-1A-Micro-USB-18650-Lithium-Battery-Charging-Board-Charger-Module/32241173468.html On AliExpress] (seller: DEXIANG Store) '''Not verified''' (10PCS/order)
 +
 
 +
<br style="clear:both;"/>
 +
 
 
===5V step-up DC-DC breakout===
 
===5V step-up DC-DC breakout===
'''TODO: photo, suitable and unsuitable boards'''
+
[[File:ZeroPhone_DCDC_suitable_and_unsuitable.jpeg|200px|thumb|Suitable and unsuitable step-up DC-DC breakouts]]
TaoBao link
+
This breakout is used to add a 5V step-up to ZeroPhone - for powering the full-sized USB port, as well as providing 5V on the bottom expansion header. This has to be a step-up, not step-down - pictured are suitable and unsuitable boards. You'll also need to desolder the USB port before using this board, as described here (TODO: describe in assembly checklist).
eBay link
+
 
 +
* [http://item.taobao.com/item.htm?id=521098715911 On TaoBao] (seller: d[s116297067]) '''Verified'''
 +
* [https://www.ebay.com/itm/272735683492 on eBay] (seller: cici10086) '''Not verified'''
 +
* [https://www.ebay.com/itm/372031064073 on eBay] (seller: chip_partner) '''Not verified'''
 +
* [https://www.ebay.com/itm/362504350895 On eBay] (seller: icstation) '''Not verified''' (10PCS/order)
 +
<br style="clear:both;"/>
 +
 
 +
===Arduino Pro Mini===
 +
[[File:Arduino_Pro_Mini_boards.jpg|thumb|200px|Suitable and unsuitable Arduino Pro Mini boards]]
 +
ZeroPhone uses an ATMega328P with a 16MHz crystal for reading the keypad, as well as controlling the vibromotor and the keypad backlight, reading the system voltage and some other things. To avoid sourcing an ATMega328P and the corresponding crystal separately, then having to program the bootloader&firmware into the ATMega through SPI, you can get an Arduino Pro Mini board, then harvest both the crystal and the pre-programmed ATMega from that board. You'll need a hot air gun for desoldering these.
 +
 
 +
Make sure that the Pro Mini board you'll be getting will have the ATMega328P in TQFP package (not QFN!), and the crystal in CSTCE package (small rectangle with three SMD pins on the underside). You can also get same IC and crystal from an Arduino Nano. Moreover, you can use 3.3V/8MHz version of Arduino Pro Mini/Nano boards - it's not tested, but should work.
 +
* [https://item.taobao.com/item.htm?id=19357078268 On TaoBao] (seller: zhangyongweng998) '''Verified'''
 +
* [https://www.ebay.com/itm/191679508570 On eBay] (seller: chivazhu) '''Not verified'''
 +
* [https://www.aliexpress.com/item/WAVGAT-Pro-Mini-ATMEGA328P-328-Mini-ATMEGA328-5V-16MHz-for-arduino-Nano-Microcontrol-Micro-Control-Board/32954774902.html On AliExpress] (seller:WAVGAT Store) '''Not verified'''
 +
* [https://www.ebay.com/itm/191821793126 On eBay] (seller: cayin35) '''Not verified''' (3.3V/8MHz version)
 +
* [https://www.ebay.com/itm/221528768176 On eBay] (seller: worldchips) '''Not verified''' (3.3V/8MHz version)
 +
<br style="clear:both;"/>
  
 
==Active components==
 
==Active components==
  
===MCP23017===
+
===MCP23017-E/SO===
'''TODO: photo'''
+
[[File:MCP23017.jpg|thumb|200px|MCP23017 from Mouser]]
[https://world.taobao.com/item/547597638327.htm TaoBao link] (seller: shop101250516)
+
'''Quantity: 1'''
eBay link
+
 
Farnell link
+
This is a GPIO expander, it adds GPIOs to the Pi using the I2C bus. Those GPIOs are used for various system functions - such as GSM modem, RGB LED and 5V DC-DC control, charging detection and power management.
 +
 
 +
It's important that you get the -E/SO version, as it uses the SOIC-W pinout - as opposed to DIP, QFN and SSOP versions, which are also available, but won't be compatible with ZeroPhone boards.
 +
* [https://item.taobao.com/item.htm?id=45644424415 On TaoBao] (seller: nuoyaxindz) '''Ordered but not yet verified'''
 +
* [https://www.ebay.com/itm/401367517287 On eBay] (seller: alice1101983) '''Not verified''' (5PCS/order)
 +
* [http://uk.farnell.com/microchip/mcp23017-e-so/16bit-expander-i-o-i2c-i-f-smd/dp/1332087 On Farnell]
 +
* [https://lcsc.com/product-detail/Interface-ICs_MICROCHIP_MCP23017-E-SO_MCP23017-E-SO_C47023.html On LCSC]
 +
<br style="clear:both;"/>
 +
 
 +
===24C32===
 +
'''Quantity: 1'''
 +
 
 +
An EEPROM which uses the SOIC-8 (SOP-8) pinout and is controlled using the I2C bus. Quoted from the Raspberry Pi Foundation: "The ID EEPROM contains data that identifies the board, tells the Pi how the GPIOs need to be set up and what hardware is on the board. This allows the add-on board to be automatically identified and set up by the Pi software at boot time including loading all the necessary drivers". The EEPROM on the Zerophone also tells which version of hardware the ZeroPhone has.
 +
 
 +
* [https://www.ebay.com/itm/122486514494 On eBay] (seller: wwoodoo) '''Verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/181846697671 On eBay] (seller: satisfyelectronics) '''Verified''' (5PCS/order)
 +
* [https://item.taobao.com/item.htm?spm=a230r.1.14.124.55d064ad70awhF&id=12880167580&ns=1&abbucket=16#detail On TAOBAO] (seller: 赛宝电子) '''Not verified'''
 +
 
 +
===74LS125===
 +
'''Quantity: 1'''
 +
 
 +
A quad 3-state non-inverting buffer which uses the SOIC-14 (SOP-14) pinout.
 +
 
 +
* [https://www.ebay.com/itm/301264152430 On eBay] (seller: icmarket2009) '''Verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/253106650586 On eBay] (seller: galaxyelectronics2015) '''Verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/360758808941 On eBay] (seller: cole-0520) '''Not verified''' (5PCS/order)
 +
* [https://lcsc.com/product-detail/74-Series_Nexperia_74HC125D-653_74HC125D-653_C5598.html On LCSC]
 +
 
 +
===LM339===
 +
'''Quantity: 1'''
 +
 
 +
A quad differential comparator which uses the SOIC-14 (SOP-14) pinout.
 +
 
 +
* [https://www.ebay.com/itm/263703486927 On eBay] (seller: happy-zp) '''Verified''' (5PCS/order)
 +
* [https://www.ebay.com/itm/162783567609 On eBay] (seller: 5hk1584) '''Verified''' (10PCS/order)
 +
* [https://lcsc.com/product-detail/Analog-Comparators_STMicroelectronics_LM339DT_LM339DT_C71036.html On LCSC]
 +
 
 +
===TL431DBZ===
 +
'''Quantity: 1'''
 +
 
 +
A precision programmable voltage reference which uses the SOT-23 pinout
 +
 
 +
* [https://www.ebay.com/itm/183061390161 On eBay] (seller: gowin_electronic) '''Verified''' (50PCS/order)
 +
* [https://lcsc.com/product-detail/Others_Youtai-Semiconductor-Co-Ltd-TL431G_C347294.html On LCSC]
 +
 
 +
===TPA2005===
 +
'''Quantity: 1'''
 +
 
 +
A GSM speaker amplifier, in order to make sure the GSM speaker is loud enough for your ringtone to be heard. It needs to be in the MSOP-8 package.
 +
 
 +
* [https://uk.farnell.com/texas-instruments/tpa2005d1dgn/amp-audio-pwr-1-45w-d-8msop/dp/2075395 On Farnell]
 +
* [https://lcsc.com/product-detail/Audio-Power-OpAmps_Texas-Instruments_TPA2005D1DGNR_Texas-Instruments-TI-TPA2005D1DGNR_C27396.html On LCSC]
 +
 
 +
===IRLML6401===
 +
'''Quantity: 5'''
 +
 
 +
This is a MOSFET that's used for switching off parts of ZeroPhone to decrease power consumption, switching the Pi Zero power source to charger power when charger is connected, as well as connecting the USB output voltage to the charger input when a charger is connected. It's only used on the back board, there are 5 of these - in the future, one or two more might be added (for i.e. GSM/ESP hardware switches). It needs to be in the SOT-23 package.
 +
 
 +
* [https://www.ebay.com/itm/181702859333 On eBay] (seller: gowin_electronic) '''Not verified''' (10PCS/order)
 +
* [http://uk.farnell.com/infineon/irlml6401trpbf/mosfet-p-micro3/dp/1463267 On Farnell]
 +
 
 +
<spoiler text='Substitutes'>CJ2305, FDN302P</spoiler>
 +
 
 +
===BC847===
 +
'''Quantity: 2'''
 +
 
 +
This is a general-purpose NPN transistor used for controlling the vibromotor and keypad backlight (once we have a backlighted keypad) on the ZeroPhone front board. It needs to be in a SOT-23 package.
 +
 
 +
<spoiler text='Substitutes'>MMBT2222A, BC817, BC848, BC849</spoiler>
 +
* [https://www.ebay.com/itm/281759945215 On eBay] (seller: horizon_electronic) '''Not verified''' (50PCS/order)
 +
* [https://www.ebay.com/itm/321489835084 On eBay] (seller: worldchips) '''Not verified''' (100PCS/order) (MMBT2222)
 +
* [https://www.ebay.com/itm/311496575646 On eBay] (seller: alice1101983) '''Not verified''' (20PCS/order) (BC817)
 +
* [https://www.ebay.com/itm/312019962183 On eBay] (seller: alice1101983) '''Not verified''' (500PCS/order) (MMBT2222)
 +
* [http://uk.farnell.com/diodes-inc/bc847b-7-f/transistor-npn-sot23/dp/1773608 On Farnell]
 +
* [https://lcsc.com/product-detail/Transistors-NPN-PNP_NXP_BC847B_BC847B-215_C57668.html On LCSC]
 +
 
 +
===BC857===
 +
'''Quantity: 1'''
 +
 
 +
This is a general-purpose PNP transistor used for making sure that the MCP interrupt output and the 24C32 EEPROM SCL pin do not conflict (as they share the same pin, but the EEPROM only needs to be used by the GPU firmware, and the MCP23017 only needs to be used in Linux). It needs to be in the SOT-23 package.
 +
 
 +
<spoiler text='Substitutes'>MMBT3906A, any 3906-like PNP transistor</spoiler>
 +
* [https://uk.farnell.com/diodes-inc/bc857c-7-f/transistor-pnp-sot23/dp/1773640 On Farnell]
 +
* [https://lcsc.com/product-detail/Transistors-NPN-PNP_NXP_BC857BW-115_BC857BW-115_C8660.html On LCSC]
 +
 
 +
===BAT54S===
 +
'''Quantity: 3''' - '''Not required'''
 +
 
 +
These are the ESD protection diodes, protecting the 3.5mm audio jack from ESD discharges. This is an optional component - the damage it's supposed to protect from will be partially absorbed by resistors in the audio circuit, and it generally won't be a problem if you don't have these diodes. It needs to be in the SOT-23 package.
 +
 
 +
<spoiler text='Substitutes'>NUP1301, BAW99</spoiler>
 +
* TODO - add eBay links
 +
* [https://lcsc.com/product-detail/Schottky-Barrier-Diodes-SBD_LBAT54SLT1G_C12765.html On LCSC]
 +
 
 +
===5V1 diode===
 +
'''Quantity: 1''' '''Not required'''
 +
 
 +
This diode is added, as per SIM800 hardware design documentation, in order to improve the SIM800 power supply filtering. However, your ZP will likely work great without it, so if it's inconvenient for you to source such a diode, don't worry. If you would prefer to have one, it needs to be in the MiniMELF (also known as LL34) package, a small red glass tube.
 +
 
 +
* [https://www.ebay.com/itm/171907593837 On eBay] (seller: satisfyelectronics) '''Verified''' (50PCS/order)
 +
* [https://lcsc.com/product-detail/Zener-Diodes_ZMM5V1_C8061.html On LCSC]
 +
 
 +
===1N4148===
 +
[[File:ZeroPhone-Gamma-1N4148.JPG|thumb|200px|1N4148, in the package that you need (color of the stripe might differ)]]
 +
'''Quantity: 3'''
 +
 
 +
This diode is used on the front board in the vibromotor control circuit, protecting the vibromotor control transistor from reverse EMF. It also is used to create a ~2.8V power supply for the 74HC125 IC, as well as plays a role in the "power button sense" circuit on the back board. It needs to be in the MiniMELF (also known as LL34) package, a small red glass tube. It's best if you use a SMD diode - you can use a through-hole 1N4148, but it might look awkward.
 +
 
 +
* [https://www.ebay.com/itm/221927081299 On eBay] (seller: kingelectronics15) '''Not verified''' (100PCS/order)
 +
* [http://uk.farnell.com/multicomp/1n4148w-7-f/diode-ultrafast-recovery-300ma/dp/2306363 On Farnell]
 +
* [https://lcsc.com/product-detail/Switching-Diode_TCLL4148_C127077.html On LCSC]
 +
 
 +
<br style="clear:both;"/>
 +
 
 +
===SS14===
 +
[[File:ZeroPhone-Gamma-SS14-SMA.JPG|thumb|200px|The SS14 diode, in the package that you need]]
 +
'''Quantity: 2'''
 +
 
 +
This is a Schottky (low-dropout) diode, it's also known as 1N5819. It's rated for 1A current, and it's used for powering ZeroPhone from charger while a charger is connected. Also, one more SS14 diode is necessary to make sure the DC-DC/charger switchover circuit on the back board works - that one can be salvaged from the Arduino Pro Mini board instead, as the current requirement is low enough. It needs to be in the SMA (DO214AC) package.
 +
 
 +
* [https://www.ebay.com/itm/50pcs-SS14-1N5819-SMD-Schottky-Diode-NEW/171906800938 On eBay] (seller: satisfyelectronics) '''Not verified''' (50PCS/order)
 +
* [https://www.ebay.com/itm/50PCS-1N5819-SS14-40V-1A-Schottky-Rectifier-Diode-SMA-DO214AC-SMD/311249725073 On eBay] (seller: alice1101983) '''Not verified''' (50PCS/order)
 +
* [https://lcsc.com/product-detail/Schottky-Barrier-Diodes-SBD_SS14_C169156.html On LCSC]
 +
<br style="clear:both;"/>
  
 
===RGB LED===
 
===RGB LED===
[https://world.taobao.com/item/543757579872.htm Taobao link] (seller: shop102835340)
+
[[File:ZeroPhone-Gamma-5050-RGB-LED.JPG|thumb|200px|RGB LED, in the package that you need (center might be clear or colored)]]
 +
'''Quantity: 1'''
 +
 
 +
This is an RGB LED on the back board of the ZeroPhone, used for notifications and as a flashlight. It needs to be in the 5050 package, have 6 pins, and '''not''' be an individually controlled LED - WS28xx or APA102 LEDs are not suitable (though APA102 might be used on the future boards), so check the description before ordering.
 +
 
 +
* [https://world.taobao.com/item/543757579872.htm On Taobao] (seller: shop102835340) '''Verified'''
 +
* [https://www.ebay.com/itm/253268903460 On eBay] (seller: happydudustore) '''Not verified''' (min 10PCS/order) (higher-quality optics?)
 +
* [https://www.ebay.com/itm/253268902673 On eBay] (seller: happydudustore) '''Not verified''' (min 10PCS/order)
 +
* [https://lcsc.com/product-detail/Light-Emitting-Diodes-LED_5050-RGBIntegrated-Light-6Pin_C114593.html On LCSC]
 +
<br style="clear:both;"/>
 +
==Arduino Pro Mini-contained components (WIP)==
  
==Passive components==
+
Typically, you'd harvest all these components from an Arduino Pro Mini. If, however, you can't or you choose not to, you can get all these components separately:
  
===Microphone===
+
===ATMega328P-AU===
[https://world.taobao.com/item/17943296350.htm Taobao] (seller: zhangyongweng998)
+
'''Quantity: 1'''
 +
 
 +
The Arduino chip used for reading the keypad, as well as controlling the vibromotor and the keypad backlight, reading the system voltage and some other things. It needs to be in the TQFP-32 package.
 +
* [https://uk.farnell.com/microchip/atmega328p-au/mcu-8bit-atmega-20mhz-tqfp-32/dp/1715486 On Farnell]
 +
* [https://lcsc.com/product-detail/ATMEL-AVR_ATMEL_ATMEGA328P-AU_ATMEGA328P-AU_C14877.html On LCSC]
 +
 
 +
===16MHz crystal===
 +
'''Quantity: 1'''
 +
 
 +
* [https://uk.farnell.com/abracon/awscr-16-00mtd-t/resonator-ceramic-16mhz-smd/dp/2101362 On Farnell]
 +
* [https://lcsc.com/product-detail/Ceramic-Resonators_MuRata_CSTCE16M0V53-R0_16M-0-5-15pF_C32180.html On LCSC]
 +
 
 +
===0R resistor===
 +
'''Quantity: 1'''
 +
 
 +
It needs to be in the 0805 pinout.
 +
 
 +
* [https://lcsc.com/product-detail/Chip-Resistor-Surface-Mount_0R-0R0-5_C115306.html On LCSC]
 +
 
 +
==Capacitors==
  
 
===100nF capacitors, 0805===
 
===100nF capacitors, 0805===
 +
'''Quantity: 22'''
 +
 +
These are the capacitors you'll find all over the front&back boards. They're mainly used for decoupling (in other words, as a temporary power source for ICs that are used on ZeroPhone boards, so that spikes in current consumption won't make the ICs glitch). You can buy SMD capacitors like this on cut tape cheaply (with one piece of tape typically having 50 or 100 capacitors on it).
 +
 +
For Delta boards, there are 13 100nF capacitors on back board and 9 on the front board, for a total of 22. I suggest you get 25-30 per set of back&front boards, just in case you lose some or need to replace some because of soldering mistakes - those capacitors are cheap anyway. Note - the 100nF capacitance is also commonly known as 0.1uF.
 +
 +
<spoiler text='Disambiguation'>100nF stands for 100 nanofarads, they also are sometimes referred to by the code "104". 0805 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, from 20% and lower should be fine.</spoiler>
 +
* [https://www.ebay.com/itm/252695909535 On eBay] (seller: 185115) '''Not verified''' (50PCS/order)
 +
 +
===10uF capacitors, 0805===
 +
'''Quantity: 2'''
 +
 +
These capacitors are used for 1) 5V step-up output decoupling on the back board 2) TPA2005 power supply input decoupling on the front board. You can also use smaller/bigger capacitors (like 1206 or 0603).
 +
 +
<spoiler text='Disambiguation'>10uF stands for 10 microfarads, they also are sometimes referred to by the code "106". 0805 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, from 20% and lower should be fine.</spoiler>
 +
* [https://www.ebay.com/itm/252695909535 On eBay] (seller: 185115) '''Not verified''' (50PCS/order)
 +
 +
===33nF capacitors, 0603===
 +
'''Quantity: 2'''
 +
 +
These capacitors are used for the 3.5mm jack audio circuit. You need exactly this value, and exactly this package (0603). I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.
 +
 +
<spoiler text='Disambiguation'>33nF stands for 33 nanofarads, they also are sometimes referred to by the code "333". 0805 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, the less, the better.</spoiler>
 +
 +
===47uF capacitors, 1206 (non-polar)===
 +
[[File:ZeroPhone-Gamma-1206-Capacitor.JPG|300px|thumb|1206 ceramic capacitors - colors might differ slightly]]
 +
'''Quantity: 4''' - C9 and C10 on the front board, C1 and C3 on the back board
 +
 +
Two are used for decoupling, and two for audio filtering. They need to be ceramic, not tantalum or electrolytic - looking like other ceramic capacitors, but bigger. So, there should be no polarity markings; and capacitors with yellow or black casing and writing on them are a no-go.
 +
 +
Note: you can use 10uF capacitors if you can't source 47uF ones.
 +
 +
<spoiler text='Disambiguation'>47uF stands for 47 microfarads, they also are sometimes referred to by the code "477". 1206 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 10% and lower should be fine.</spoiler>
 +
<br style="clear:both;"/>
 +
 +
===100uF tantalum capacitors, 10/16V, Case D===
 +
'''Quantity: 3''' - C15 on the front board, C4 and C7 on the back board
 +
 +
These capacitors are used for heavy-duty decoupling - specifically, for Pi Zero, ESP8266 and GSM modem. Omitting these capacitors is not recommended. Fortunately, if you can't source them (or it's cost-prohibitive to do so), you can actually harvest them from laptop motherboards - they have suitable capacitors, mostly of good quality.
 +
 +
You can get higher-capacity ones (such as 150uF), too - lowering the capacity is not recommended, it can cause Pi to reboot and the GSM modem to be noisy/glitchy.
 +
 +
<spoiler text='Disambiguation'>100uF stands for 100 microfarads, they also are sometimes referred to by the code "108". These capacitors need to be "tantalum capacitors". Case D is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 20% and lower should be fine.</spoiler>
 +
 +
===10pF capacitors, 0603===
 +
'''Quantity: 10'''
 +
 +
These capacitors are used for removing noise on GSM microphone&speaker lines, Pi Zero audio output and GSM modem power supply. 5 of them are used on the back board, and 5 more on the front board, for a total of 10. I suggest you get 15-20 per set of boards, they are very tiny and easily can get lost/fall down on the floor.
 +
 +
<spoiler text='Disambiguation'>10pF stands for 10 picofarads, they also are sometimes referred to by the code "100". 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
===33pF capacitors, 0603===
 +
'''Quantity: 11'''
 +
 +
These capacitors are used for removing noise on GSM microphone&speaker lines, Pi Zero audio output and GSM modem power supply. 3 of them are used on the back board, and 8 more on the front board, for a total of 11. I suggest you get 15-20 per set of boards, they are very tiny and easily can get lost/fall down on the floor.
 +
 +
<spoiler text='Disambiguation'>33pF stands for 33 picofarads, they also are sometimes referred to by the code "330". 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
===18pF capacitors, 0603===
 +
'''Quantity: 2'''
 +
 +
These are the capacitors for ATMega crystal, needed so that the ATMega is clocked properly and works at the right frequency.
 +
 +
<spoiler text='Disambiguation'>18pF stands for 18 picofarads, they also are sometimes referred to by the code "180". 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
==Inductors==
 +
 +
===1uH inductor, 0603===
 +
'''Quantity: 2'''
 +
 +
These inductors are used for filtering the GSM microphone input signal.
 +
 +
<spoiler text='Disambiguation'>1uH stands for 1 microhenry. 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, it's not that important.</spoiler>
 +
 +
==Resistors==
  
 
===10K resistors, 0805===
 
===10K resistors, 0805===
 +
'''Quantity: 24'''
 +
 +
These are the resistors you'll find all over the front&back boards, typically with "103" or "1002" written on them. They're mainly used for pulling up various signals (providing a default state when signals are inactive), voltage dividers (bringing voltages to levels that are suitable for ICs used in ZeroPhone) and current limiters. You can buy SMD resistors like this on cut tape cheaply (with one piece of tape typically having 50 or 100 resistors on it).
 +
 +
For Delta boards, there are 17 10K resistors on back board and 7 on the front board, for a total of 24. I suggest you get 25-30 per set of back&front boards, just in case you lose some or need to replace some because of soldering mistakes - those resistors are cheap anyway.
 +
 +
<spoiler text='Disambiguation'>10K stands for 10 kiloohms, which is 10 000 Ohms. 0805 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
===47R resistors, 0805===
 +
'''Quantity: 9'''
 +
 +
These resistors are used for decreasing ESP8266 SDIO bus ringing (generally undesirable behaviour of high-frequency signals), and RGB LED current limiting. They'll typically have "470" written on them. You need 6 of them on the front board (for SDIO), and 3 on the back board (for the RGB LED).
 +
 +
<spoiler text='Disambiguation'>47R stands for 47 Ohms. 0805 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
===150R resistors, 0603===
 +
'''Quantity: 4'''
 +
 +
These resistors are used on the front board - for the 3.5mm jack audio circuit, as well as for UART signal current limiting - so that ATMega won't get damaged if the FTDI programmer is accidentally connected in reverse. They'll typically have "151" written on them. I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.
 +
 +
<spoiler text='Disambiguation'>150R stands for 150 Ohms, they also are sometimes referred to by the code "151". 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, the less, the better.</spoiler>
 +
 +
===270R resistors, 0603===
 +
'''Quantity: 4'''
 +
 +
These resistors are used for the 3.5mm jack audio circuit on the front board, as well as play a role in the "power button sense" circuit on the back board. They'll typically have "271" written on them. I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.
 +
 +
<spoiler text='Disambiguation'>270R stands for 270 Ohms, they also are sometimes referred to by the code "271". 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, the less, the better.</spoiler>
 +
 +
===1K8 resistors, 0603===
 +
'''Quantity: 5'''
 +
 +
There are footprints for these resistors on the front board - they've been copied from the Raspberry Pi 3 audio output schematic, but we haven't yet investigated, why (and whether) they are necessary. So, ZeroPhones that have been assembled by now don't have those resistors populated.
 +
 +
TODO: Update description
 +
 +
<spoiler text='Disambiguation'>1.8K stands for 1.8 kiloohms, which is 1800 Ohms. 0603 is the package size, make sure it's mentioned prominently when you're ordering.</spoiler>
 +
<spoiler text='Tolerance'>As for tolerance, 1% or 5% should be fine.</spoiler>
 +
 +
==2.54 headers==
 +
 +
Usually, you can get longer pin headers when you can't easily get a particular, since it's not hard to cut them to size. For example, if you need a 1x13 female header (not mass-manufactured AFAIK), you can get a 1x20 and cut it. Keep in mind that, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut (male headers, on the other hand, are easily split.)
 +
 +
These headers should have 2.54mm offsets (also known as 0.1 inch) - not 2.5mm, 2mm or 1.27mm. Thankfully, these are the most popular, so you shouldn't have trouble with sourcing.
 +
 +
===2x20 female header===
 +
[[File:ZeroPhone-Gamma-2x20-Female-Pin-Header.JPG|300px|thumb|A 20-pin double-row straight female header]]
 +
'''Quantity: 1'''
 +
 +
These headers are used on the front board, connecting it to the back board and the Pi Zero. You can get the cheapest ones, but it's not a bad idea to overpay a little bit if you can be sure you'll get gold-plated pins.
 +
 +
* [https://www.ebay.com/itm/311101183946 On eBay] (seller: 22newcentury) '''Not verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/381374497534 On eBay] (seller: survy2014) '''Not verified''' (5PCS/order)
 +
* [https://www.ebay.com/itm/181846997716 On eBay] (seller: satisfyelectronics) '''Not verified''' (5PCS/order)
 +
<br style="clear:both;"/>
 +
 +
===2x20 male header===
 +
[[File:ZeroPhone-Gamma-2x20-Male-Pin-Header.JPG|300px|thumb|A 20-pin double-row straight male header]]
 +
'''Quantity: 1'''
 +
 +
These headers are used on the front board, connecting it to the back board and the Pi Zero. You can get the cheapest ones, but it's not a bad idea to overpay a little bit if you can be sure you'll get gold-plated pins.
 +
 +
* [https://www.ebay.com/itm/180974302014 On eBay] (seller: alice1101983) '''Not verified''' (10PCS/order, 2x40 pins per strip)
 +
* [https://www.ebay.com/itm/221571925776 On eBay] (seller: worldchips) '''Not verified''' (5PCS/order, 2x40 pins per strip)
 +
<br style="clear:both;"/>
 +
===5-pin angled female header===
 +
[[File:ZeroPhone-Gamma-1X5-Angled-Pin-Header.JPG|300px|thumb|A 5-pin single-row angled female header]]
 +
'''Quantity: 2'''
 +
 +
These pin headers are used on the back board, for expansion ports - both the bottom one and the top one. They need to be angled, since they have to sit flush to the PCB, between the PCB and the Pi Zero.
 +
 +
* [https://www.ebay.com/itm/222079642930 On eBay] (seller: worldchips) '''Not verified''' (20PCS/order)
 +
* [https://www.ebay.com/itm/401103029210 On eBay] (seller: alice1101983) '''Not verified''' (20PCS/order)
 +
<br style="clear:both;"/>
 +
===3-pin angled female header===
 +
[[File:ZeroPhone-Gamma-1X3-Angled-Pin-Header.JPG|300px|thumb|A 3-pin single-row angled female header]]
 +
'''Quantity: 1'''
 +
 +
This pin header is used on the back board, for the bottom expansion port. It needs to be angled, since it has to sit flush to the PCB, between the PCB and the Pi Zero.
 +
 +
* [https://www.ebay.com/itm/282185866128 On eBay] (seller: horizon_electronic) '''Not verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/282185877343 On eBay] (seller: horizon_electronic) '''Not verified''' (20PCS/order, 40 pin long strip)
 +
<br style="clear:both;"/>
 +
===12-pin angled female header===
 +
[[File:ZeroPhone-Gamma-1X20-Angled-Pin-Header.JPG|300px|thumb|A 20-pin single-row angled female header, which can be easily cut down to a 12-pin one]]
 +
'''Quantity: 1'''
 +
 +
This pin header is used on the back board, for the side expansion port. It needs to be angled, since it has to sit flush to the PCB, between the PCB and the Pi Zero.
  
==Mechanical parts==
+
* [https://www.ebay.com/itm/182890590142 On eBay] (seller: c_enjoybuying) '''Not verified''' (10PCS/order, 40 pin long strip)
 +
* [https://www.ebay.com/itm/281759967060 On eBay] (seller: horizon_electronic) '''Not verified''' (10PCS/order, 40 pin long strip)
 +
* [https://www.ebay.com/itm/322225955426 On eBay] (seller: worldchips) '''Not verified''' (20PCS/order, 20 pin long strip)
 +
* [https://www.ebay.com/itm/311589108851 On eBay] (seller: alice1101983) '''Not verified''' (20PCS/order, 20 pin long strip)
 +
* [https://www.ebay.com/itm/112157143783 On eBay] (seller: maaqii) '''Not verified''' (5PCS/order, 40 pin long strip)
 +
<br style="clear:both;"/>
 +
===6-pin male header===
 +
[[File:ZeroPhone-Gamma-1X6-Pin-Header.JPG|300px|thumb|A 6-pin single-row male header]]
 +
'''Quantity: 2'''
  
===2x20 2.54 (0.1in) female header (1pcs)===
+
This pin header is used on the front board, for the ATMega programming port & ADC connections - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board.  
[https://world.taobao.com/item/15189161116.htm Taobao] (seller: zhangyongweng998)
 
  
===2x20 2.54 (0.1in) male header (1pcs)===
+
* [https://www.ebay.com/itm/112624410230 On eBay] (seller: diybox) '''Not verified''' (10-20PCS/order, 40 pin long strip, both male and female)
 +
* [https://www.ebay.com/itm/222694066029 On eBay] (seller: worldchips) '''Not verified''' (20PCS/order, 40 pin long strip, both male and female)
 +
* [https://www.ebay.com/itm/311989042491 On eBay] (seller: alice1101983) '''Not verified''' (20PCS/order, 40 pin long strip, both male and female)
 +
<br style="clear:both;"/>
 +
===6-pin female header===
 +
[[File:ZeroPhone-Gamma-1X6-Female-Pin-Header.JPG|300px|thumb|A 6-pin single-row female header]]
 +
'''Quantity: 2'''
  
===5-pin 2.54 (0.1in) angled female header (2pcs)===
+
This pin header is used on the back board, for the ATMega programming port & ADC connections - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board.  
  
===3-pin 2.54 (0.1in) angled female header (1pcs)===
+
* [https://www.ebay.com/itm/322909841013 On eBay] (seller: worldchips) '''Not verified''' (20PCS/order)
 +
* [https://www.ebay.com/itm/282385470283 On eBay] (seller: horizon_electronic) '''Not verified''' (20PCS/order)
 +
* [https://www.ebay.com/itm/322909316649 On eBay] (seller: worldchips) '''Not verified''' (100PCS/order)
 +
* [https://www.ebay.com/itm/112624410230 On eBay] (seller: diybox) '''Not verified''' (10-20PCS/order, 40 pin long strip, both male and female)
 +
* [https://www.ebay.com/itm/222694066029 On eBay] (seller: worldchips) '''Not verified''' (20PCS/order, 40 pin long strip, both male and female)
 +
* [https://www.ebay.com/itm/311989042491 On eBay] (seller: alice1101983) '''Not verified''' (20PCS/order, 40 pin long strip, both male and female)
 +
<br style="clear:both;"/>
  
===13-pin 2.54 (0.1in) angled female header (1pcs)===
+
==Connectors==
  
===6-pin 2.54 (0.1in) male header (2pcs)===
+
===3.5mm jack - FC68125===
 +
[[File:ZeroPhone-Gamma-3.5MM-FC68125.JPG|300px|thumb|The FC68125 3.5mm jack]]
 +
'''Quantity: 1'''
  
===6-pin 2.54 (0.1in) male header (2pcs)===
+
This is the 3.5mm (4-pin) jack that's used as a headphone jack on ZeroPhone. Incidentally, that's the one used on Raspberry Pi boards, starting from B+. It's a quality component, and it costs more than other 4-pin jacks on eBay. While using a cheaper audio jack is possible, it was deemed more important to have a known stable audio connection, as that's been a popular problem of mobile phones for ages.
 +
* [https://www.ebay.com/itm/401427243465 On eBay] (seller: littlediode_components) '''Not verified''' (4PCS/order)
 +
* [https://www.ebay.com/itm/272685303740 On eBay] (seller: top-quality-tools) '''Not verified'''
 +
* [http://uk.farnell.com/cliff-electronic-components/fc68125/connector-phono-3-5mm-jack-4pole/dp/2309468 On Farnell]
 +
<br style="clear:both;"/>
 +
===JST-PH 2P angled THT socket===
 +
[[File:ZeroPhone-Gamma-JST-PH-socket-pigtail.JPG|300px|thumb|A JST-PH socket with a JST-PH pigtail]]
 +
'''Quantity: 1'''
 +
 
 +
This is the LiIon battery socket for ZeroPhone, typically, you'd have the 18650 battery holder plugged in it, with 18650 in 1s2p configuration. It needs to be a through-hole angled socket, but using an SMD socket is a good alternative when you can't get the through-hole version.
 +
 
 +
<spoiler text='Pin pitch'>This connector should have 2mm offsets - not 2.54mm, 2.5mm, 1.27mm or 1mm. If you look up JST-PH, you should get the right version, but it's best if you check that 2mm is mentioned in the description. If in doubt, ask on IRC!</spoiler>
 +
* [https://www.ebay.com/itm/182743194673 On eBay] (seller: tomorrow_one_world) '''Not verified''' (20PCS/order, both pigtails and angled sockets)
 +
 
 +
===JST-PH 2P pigtail (3cm)===
 +
'''Quantity: 1'''
 +
 
 +
This is a JST-PH plug with two wires coming out of it (preferably, red&black wires). It only needs to be ~3cm long, you can get a longer pigtail and then cut it to size. You can also manually crimp your own JST connector, but this task is not for the faint of heart, and you'll likely need a crimper tool (as those connectors are not easy to crimp manually, you'll likely fail your first x attempts). Better, buy a pigtail from one of these links:
 +
 
 +
<spoiler text='Pin pitch'>This connector should have 2mm offsets - not 2.54mm, 2.5mm, 1.27mm or 1mm. If you look up JST-PH, you should get the right version, but it's best if you check that 2mm is mentioned in the description. If in doubt, ask on IRC!</spoiler>
 +
* [https://www.ebay.com/itm/172601018836 On eBay] (seller: sammylam) '''Not verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/181441351432 On eBay] (seller: sammylam) '''Not verified''' (20PCS/order), also includes straight sockets that you don't need
 +
* [https://www.ebay.com/itm/112562167329 On eBay] (seller: buscoming9) '''Not verified''' (10PCS/order, pick 2Pin/2.0mm)
 +
* [https://www.ebay.com/itm/122535460870 On eBay] (seller: eitiwu) '''Not verified''' (30PCS/order)
 +
<br style="clear:both;"/>
 +
 
 +
===USB-A socket===
 +
[[File:ZeroPhone-Gamma-USB-Socket.JPG|300px|thumb|A suitable USB port]]
 +
'''Quantity: 1'''
 +
 
 +
This is the full-sized USB port that ZeroPhone has on the back board. It has to be of the particular type, to be exact, the clips on the side and the plastic under the socket has to be present - refer to the photo on the right.
 +
 
 +
* [https://www.ebay.com/itm/282807764403 On eBay] (seller: onlinehappyshopping) '''Not verified''' (10PCS/order)
 +
* [https://www.ebay.com/itm/292330234339 On eBay] (seller: buy-365) '''Not verified''' (10PCS/order)
 +
* [http://uk.farnell.com/multicomp/mc32593/usb-2-0-type-a-receptacle-th/dp/1696534 On Farnell]
 +
<br style="clear:both;"/>
 +
===Li-Ion battery holder - Keystone 1048===
 +
[[File:ZeroPhone-Gamma-18650-Holder.JPG|300px|thumb|The 18650 holder used]]
 +
'''Quantity: 1'''
 +
 
 +
This is the holder for 18650 batteries, the default way to power a ZeroPhone - it has to be soldered to the 18650 holder board. This holder is originally manufactured by Keystone, and is called "Keystone 1048". There are also copies of this holder available from eBay.
 +
 
 +
* [https://www.ebay.com/itm/272804713606 On eBay] (seller: 5ashop) '''Not verified'''
 +
* [http://uk.farnell.com/keystone/1048/battery-holder-18650-li-ion-2cell/dp/2501221 On Farnell]
 +
<br style="clear:both;"/>
 +
 
 +
==Buttons==
 +
 
 +
ZeroPhone uses 30 buttons on the keypad, and one more on the back board. All the buttons used are SMD (surface-mount).
  
 
===4-pin buttons===
 
===4-pin buttons===
 +
[[File:ZeroPhone-Gamma-4Pin-Button.JPG|300px|thumb|Suitable 4-pin buttons - notice the taller button cap]]
 +
'''Quantity: 17'''
  
Taobao link
+
These buttons are used on the keypad, for arrow keys (up, down, left, right and OK) and number buttons (0-9, * and #). They have 4 pins, but only two actual contacts - the pins are interconnected in pairs. As there's a myriad of 4-pin SMD buttons, see the photo on the right for the reference. Make sure to get buttons with a taller button cap - if you get buttons that are flat, they will be considerably harder to press.
  
 +
* [https://world.taobao.com/item/40922906661.htm On TaoBao] (seller: zoxmow) '''Verified'''
 +
* [https://www.ebay.com/itm/151696885023 On eBay] (seller: rfbat) '''Not verified''' (50PCS/order)
 +
* [https://www.ebay.com/itm/331340070495 On eBay] (seller: rfsuppliers) '''Not verified''' (50PCS/order)
 +
* [https://www.ebay.com/itm/161395268508 On eBay] (seller: rfbat) '''Not verified''' (200PCS/order)
 +
<br style="clear:both;"/>
 
===2-pin buttons===
 
===2-pin buttons===
'''TODO: photo'''
+
[[File:ZeroPhone-Gamma-2Pin-Buttons.JPG|300px|thumb|Suitable 2-pin buttons, in different colors]]
TaoBao link
+
'''Quantity: 10'''
eBay link
+
 
Farnell link
+
Eight of these buttons are used on the keypad, for function keys (F1-F2, "answer", "hangup" and F3-F6). One button is used on the front board as the ATMega RESET button, for development purposes. One more button is used on the back board, for overriding the power switch circuit. Again, check that your buttons look the same as buttons in the photo.
 +
 
 +
* [https://item.taobao.com/item.htm?id=40644005507 On TaoBao] (seller: zoxmow) '''Verified'''
 +
* [https://www.ebay.com/itm/50pcs-3X6X2-5mm-Tactile-Push-Button-Switch-Tact-Switch-Micro-Switch-2-Pin-SMD/152137089805 On eBay] (seller: xiumeche-0) '''Not verified''' (50PCS/order)
 +
*[https://www.ebay.com/itm/50pcs-3X6X2-5mm-Tactile-Push-Button-Switch-Tact-Switch-Micro-Switch-2-Pin-SMD/253049653071 On eBay] (seller: deeplearnings) '''Not verified''' (50PCS/order)
 +
<br style="clear:both;"/>
 +
 
 
===4-pin side buttons===
 
===4-pin side buttons===
'''TODO: photo'''
+
[[File:ZeroPhone-Gamma-4Pin-Side-Button.JPG|300px|thumb|Suitable 4-pin side buttons]]
TaoBao link
+
'''Quantity: 5'''
eBay link
+
 
Farnell link
+
These buttons are used on the keypad and are accessible on the sides on the phone, they regulate volume and have 3 programmable functions (the "programmability" will be added to ZPUI soon). Try to get the buttons pictured - if you can't get these exact buttons, then get those that have same dimensions, you'll likely be able to use them (keep in mind that those still have to be SMD side buttons).
===Li-Ion battery holder===
+
 
'''TODO: photo'''
+
* [https://www.ebay.com/itm/191925722291 On eBay] (seller: satisfyelectronics) '''Not verified''' (10PCS/order)
TaoBao:
+
* [https://item.taobao.com/item.htm?id=526290297402 On TaoBao] (seller: zoxmow) '''Verified'''
 +
* [http://uk.farnell.com/panasonic-electronic-components/evq-p7c01k/switch-tactile-spst-no-50ma-12vdc/dp/2459549 On Farnell]
 +
<br style="clear:both;"/>
 +
 
 +
==Other components==
 +
 
 +
===GSM microphone===
 +
[[File:ZeroPhone-Gamma-GSM-Microphone.JPG|300px|thumb|A suitable microphone]]
 +
'''Quantity: 1'''
 +
 
 +
This is a microphone that will be used for the GSM audio. It's connected directly to the GSM modem, as it has a built-in microphone amplifier. You need an electret microphone (these are the most popular, but it's good if you can make sure). It's best if you get a through-hole microphone - SMD microphones are tricky to solder to the front board, as the microphone footprint is not adjusted for SMD microphone soldering.
 +
 
 +
* [https://world.taobao.com/item/17943296350.htm On Taobao] (seller: zhangyongweng998) '''Verified'''
 +
<br style="clear:both;"/>
 +
===GSM speaker===
 +
[[File:ZeroPhone-Gamma-GSM-Speaker.JPG|300px|thumb|A Nokia replacement speaker that is also suitable for a ZeroPhone]]
 +
'''Quantity: 1'''
 +
This is the speaker that will be used for GSM audio. It's connected directly to the GSM modem, as it has a built-in speaker driver. A rectangular speaker is needed - round speakers, unless they're small, won't fit in the front board cutout without interfering with the GSM modem breakout on the back board. I suggest you get a replacement Nokia speaker from either eBay or an old Nokia - they seem to work quite well.
 +
 
 +
* [https://www.ebay.com/itm/172137007424 On eBay] (seller: iapproach) '''Not verified'''
 +
<br style="clear:both;"/>
 +
===Vibromotor===
 +
[[File:ZeroPhone-Gamma-Vibromotor.JPG|300px|thumb|A round vibromotor, with wires - suitable for a ZeroPhone]]
 +
'''Quantity: 1'''
 +
 
 +
Even though vibromotor control isn't yet supported in current ZeroPhone firmware, it's eventually going to be supported, and the vibromotor driver hardware is already added to the ZeroPhone front board. It's best if you get a vibromotor that has wires already soldered onto it - alternatively, you can get a vibromotor that only has contact pads or springy pins, then solder wires to them. The vibromotor shouldn't be too big - otherwise, it won't fit on the front board, and the curent might also be excessive for the driver transistor.
  
eBay link
+
* [https://www.ebay.com/itm/263192238882 On eBay] (seller: hello_alian) '''Not verified'''
Farnell link
+
* [https://www.ebay.com/itm/261527751622 On eBay] (seller: speed_mart) '''Not verified'''
 +
* [https://www.ebay.com/itm/181744558136 On eBay] (seller: lilapurple2012) '''Not verified'''
 +
<br style="clear:both;"/>

Latest revision as of 21:43, 29 November 2019

This is a list of descriptions, photos and example links to the components you need to get if you want to independently assemble a ZeroPhone from scratch - specifically, a ZeroPhone Delta/Delta-B.

Can't get some of the components? Contact us at parts at zerophone org, we can mail them to you cheaply, too! If you see broken links or have other improvements to suggest but don't have a ZeroPhone Wiki account, please let us know at wiki at zerophone org , or in ZeroPhone PCB GitHub issues!

Also, there's a Digikey BOM that's been created by a contributor, LouisPi. This allows you to order parts easier - though not necessarily cheaper. You can use it to get most of the SMD&THT parts (not Pi Zero and breakouts, though). However, it might not contain all the parts - it hasn't been checked to do so, at least, so use with caution. To use the link, make sure you have a Digikey account and that you are logged in to it. You can also download the csv file for the same BOM here - File:Zerophone bom.csv

PCBs

ZeroPhone Gamma PCBs panelized with mod boards, as ordered from DirtyPCBs

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

Sourcing PCBs can be easily done using one of the various hobbyist-grade PCB houses. The PCBs you need are:

Board name Board size Board size (sq.in.) Layer count Board thickness Board folder name (on PCB GitHub)
Front board 4x10cm 6.2 2 1.6mm front_pcb
Back board 4x10cm 6.2 2 1.6mm back_pcb
Keypad board 4x6cm 3.7 2 0.8mm keypad_pcb
18650 holder carrier board 4x7cm 4.3 2 1.6mm 18650_pcb
Speaker adapter board 1.6x0.8cm 0.2 2 1.6mm speaker_adapter

Describing these options in detail:

  1. "4x_cm" are the board dimensions. "Dimensions exceeded" when ordering?
  1. "X layers" means number of copper layers. In our case, all boards have 2 layers, that is, they're double-sided.
  2. "1.6mm "is the recommended board thickness for front&back boards, while keypad board can be 0.8mm. Why these?

Additional options

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

Want to look for better deals?

How to save money by using panelization

Could I make these boards at home?


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 it's no longer active. Instead, there's thepilocator.com , which has all the online resellers listed.

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. Also, Bluetooth is kinda fucky, so I don't consider it to be a benefit. The only real benefit is that you get 7 free GPIOs you can use instead of using them to control the ESP, but there's no mod board to expose those GPIOs to the user (yet)

Breakouts

1.3" SPI OLED screen

The officially supported OLED breakout (made by Heltec)

The screen for ZeroPhone. Do keep in mind that there are different breakouts for this screen, their biggest difference is their pinouts. You will need the 6-pin "VCC-GND-CLK-MOSI-CS-D/C" one ("MOSI" is sometimes called "D1" or "SDA", and "CLK" is sometimes called "SCL" or "D0").

Pinout is slightly different?

Can you use 7-pin screens?

Can you use 4-pin screens?


  • On TaoBao (seller: leehunter8801) Not verified
  • On eBay (seller: horizon_electronic) Verified
  • On AliExpress (seller: TUOZHANTENG Store) Not verified


SIM800

A SIM800 breakout (picture from an online retailer), along with a PCB antenna
A SIM800 breakout back side with pinout

A simple SIM800 breakout, doesn't give access to all the capabilities that SIM800 chips have, but still breaks out most important connections 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.

  • On TaoBao (seller: zhangyongweng998) Verified
  • On eBay (seller: worldchips) Verified
  • On eBay (seller: alice1101983) Verified
  • On AliExpress (seller: Artillery 3C Store) Not verified


GSM antenna for SIM800

An antenna that's suitable for usage with SIM800 modem

If an external PCB antenna (like on the photo to the right) 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, and it's not clear whether its performance is good enough. PCB pattern of the antenna you get might be different from the antenna pictured on the right, as well as from the antenna in listings below, but what's important is that the antenna you get is an antenna suitable for GSM (it should be in the item description).

  • On TaoBao (seller: shop469692262) Verified
  • On AliExpress (seller: Artillery 3C Store) Not verified (10PCS/order)


ESP12-E or ESP12-F

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 a better antenna and would be therefore preferred). Also, check the pinout of the aforementioned 6 pins - refer to the right part of the picture for suitable and unsuitable pinouts (modules with incompatible pinouts are rare, though, but it's best if you check beforehand).


TP4056 LiIon charging+protection board

Suitable and unsuitable TP4056 boards

This is a breakout used to charge the LiIon batteries used by ZeroPhone, as well as for protection from overcurrent/overcharging/overdischarging the batteries.

  • on TaoBao (seller: tb314395) Verified
  • on eBay (seller: alice1101983) Verified (5PCS/order)
  • On AliExpress (seller: DEXIANG Store) Not verified (10PCS/order)


5V step-up DC-DC breakout

Suitable and unsuitable step-up DC-DC breakouts

This breakout is used to add a 5V step-up to ZeroPhone - for powering the full-sized USB port, as well as providing 5V on the bottom expansion header. This has to be a step-up, not step-down - pictured are suitable and unsuitable boards. You'll also need to desolder the USB port before using this board, as described here (TODO: describe in assembly checklist).

  • On TaoBao (seller: d[s116297067]) Verified
  • on eBay (seller: cici10086) Not verified
  • on eBay (seller: chip_partner) Not verified
  • On eBay (seller: icstation) Not verified (10PCS/order)


Arduino Pro Mini

Suitable and unsuitable Arduino Pro Mini boards

ZeroPhone uses an ATMega328P with a 16MHz crystal for reading the keypad, as well as controlling the vibromotor and the keypad backlight, reading the system voltage and some other things. To avoid sourcing an ATMega328P and the corresponding crystal separately, then having to program the bootloader&firmware into the ATMega through SPI, you can get an Arduino Pro Mini board, then harvest both the crystal and the pre-programmed ATMega from that board. You'll need a hot air gun for desoldering these.

Make sure that the Pro Mini board you'll be getting will have the ATMega328P in TQFP package (not QFN!), and the crystal in CSTCE package (small rectangle with three SMD pins on the underside). You can also get same IC and crystal from an Arduino Nano. Moreover, you can use 3.3V/8MHz version of Arduino Pro Mini/Nano boards - it's not tested, but should work.

  • On TaoBao (seller: zhangyongweng998) Verified
  • On eBay (seller: chivazhu) Not verified
  • On AliExpress (seller:WAVGAT Store) Not verified
  • On eBay (seller: cayin35) Not verified (3.3V/8MHz version)
  • On eBay (seller: worldchips) Not verified (3.3V/8MHz version)


Active components

MCP23017-E/SO

MCP23017 from Mouser

Quantity: 1

This is a GPIO expander, it adds GPIOs to the Pi using the I2C bus. Those GPIOs are used for various system functions - such as GSM modem, RGB LED and 5V DC-DC control, charging detection and power management.

It's important that you get the -E/SO version, as it uses the SOIC-W pinout - as opposed to DIP, QFN and SSOP versions, which are also available, but won't be compatible with ZeroPhone boards.


24C32

Quantity: 1

An EEPROM which uses the SOIC-8 (SOP-8) pinout and is controlled using the I2C bus. Quoted from the Raspberry Pi Foundation: "The ID EEPROM contains data that identifies the board, tells the Pi how the GPIOs need to be set up and what hardware is on the board. This allows the add-on board to be automatically identified and set up by the Pi software at boot time including loading all the necessary drivers". The EEPROM on the Zerophone also tells which version of hardware the ZeroPhone has.

  • On eBay (seller: wwoodoo) Verified (10PCS/order)
  • On eBay (seller: satisfyelectronics) Verified (5PCS/order)
  • On TAOBAO (seller: 赛宝电子) Not verified

74LS125

Quantity: 1

A quad 3-state non-inverting buffer which uses the SOIC-14 (SOP-14) pinout.

  • On eBay (seller: icmarket2009) Verified (10PCS/order)
  • On eBay (seller: galaxyelectronics2015) Verified (10PCS/order)
  • On eBay (seller: cole-0520) Not verified (5PCS/order)
  • On LCSC

LM339

Quantity: 1

A quad differential comparator which uses the SOIC-14 (SOP-14) pinout.

  • On eBay (seller: happy-zp) Verified (5PCS/order)
  • On eBay (seller: 5hk1584) Verified (10PCS/order)
  • On LCSC

TL431DBZ

Quantity: 1

A precision programmable voltage reference which uses the SOT-23 pinout

TPA2005

Quantity: 1

A GSM speaker amplifier, in order to make sure the GSM speaker is loud enough for your ringtone to be heard. It needs to be in the MSOP-8 package.

IRLML6401

Quantity: 5

This is a MOSFET that's used for switching off parts of ZeroPhone to decrease power consumption, switching the Pi Zero power source to charger power when charger is connected, as well as connecting the USB output voltage to the charger input when a charger is connected. It's only used on the back board, there are 5 of these - in the future, one or two more might be added (for i.e. GSM/ESP hardware switches). It needs to be in the SOT-23 package.

Substitutes


BC847

Quantity: 2

This is a general-purpose NPN transistor used for controlling the vibromotor and keypad backlight (once we have a backlighted keypad) on the ZeroPhone front board. It needs to be in a SOT-23 package.

Substitutes

  • On eBay (seller: horizon_electronic) Not verified (50PCS/order)
  • On eBay (seller: worldchips) Not verified (100PCS/order) (MMBT2222)
  • On eBay (seller: alice1101983) Not verified (20PCS/order) (BC817)
  • On eBay (seller: alice1101983) Not verified (500PCS/order) (MMBT2222)
  • On Farnell
  • On LCSC

BC857

Quantity: 1

This is a general-purpose PNP transistor used for making sure that the MCP interrupt output and the 24C32 EEPROM SCL pin do not conflict (as they share the same pin, but the EEPROM only needs to be used by the GPU firmware, and the MCP23017 only needs to be used in Linux). It needs to be in the SOT-23 package.

Substitutes

BAT54S

Quantity: 3 - Not required

These are the ESD protection diodes, protecting the 3.5mm audio jack from ESD discharges. This is an optional component - the damage it's supposed to protect from will be partially absorbed by resistors in the audio circuit, and it generally won't be a problem if you don't have these diodes. It needs to be in the SOT-23 package.

Substitutes

5V1 diode

Quantity: 1 Not required

This diode is added, as per SIM800 hardware design documentation, in order to improve the SIM800 power supply filtering. However, your ZP will likely work great without it, so if it's inconvenient for you to source such a diode, don't worry. If you would prefer to have one, it needs to be in the MiniMELF (also known as LL34) package, a small red glass tube.

1N4148

1N4148, in the package that you need (color of the stripe might differ)

Quantity: 3

This diode is used on the front board in the vibromotor control circuit, protecting the vibromotor control transistor from reverse EMF. It also is used to create a ~2.8V power supply for the 74HC125 IC, as well as plays a role in the "power button sense" circuit on the back board. It needs to be in the MiniMELF (also known as LL34) package, a small red glass tube. It's best if you use a SMD diode - you can use a through-hole 1N4148, but it might look awkward.


SS14

The SS14 diode, in the package that you need

Quantity: 2

This is a Schottky (low-dropout) diode, it's also known as 1N5819. It's rated for 1A current, and it's used for powering ZeroPhone from charger while a charger is connected. Also, one more SS14 diode is necessary to make sure the DC-DC/charger switchover circuit on the back board works - that one can be salvaged from the Arduino Pro Mini board instead, as the current requirement is low enough. It needs to be in the SMA (DO214AC) package.

  • On eBay (seller: satisfyelectronics) Not verified (50PCS/order)
  • On eBay (seller: alice1101983) Not verified (50PCS/order)
  • On LCSC


RGB LED

RGB LED, in the package that you need (center might be clear or colored)

Quantity: 1

This is an RGB LED on the back board of the ZeroPhone, used for notifications and as a flashlight. It needs to be in the 5050 package, have 6 pins, and not be an individually controlled LED - WS28xx or APA102 LEDs are not suitable (though APA102 might be used on the future boards), so check the description before ordering.

  • On Taobao (seller: shop102835340) Verified
  • On eBay (seller: happydudustore) Not verified (min 10PCS/order) (higher-quality optics?)
  • On eBay (seller: happydudustore) Not verified (min 10PCS/order)
  • On LCSC


Arduino Pro Mini-contained components (WIP)

Typically, you'd harvest all these components from an Arduino Pro Mini. If, however, you can't or you choose not to, you can get all these components separately:

ATMega328P-AU

Quantity: 1

The Arduino chip used for reading the keypad, as well as controlling the vibromotor and the keypad backlight, reading the system voltage and some other things. It needs to be in the TQFP-32 package.

16MHz crystal

Quantity: 1

0R resistor

Quantity: 1

It needs to be in the 0805 pinout.

Capacitors

100nF capacitors, 0805

Quantity: 22

These are the capacitors you'll find all over the front&back boards. They're mainly used for decoupling (in other words, as a temporary power source for ICs that are used on ZeroPhone boards, so that spikes in current consumption won't make the ICs glitch). You can buy SMD capacitors like this on cut tape cheaply (with one piece of tape typically having 50 or 100 capacitors on it).

For Delta boards, there are 13 100nF capacitors on back board and 9 on the front board, for a total of 22. I suggest you get 25-30 per set of back&front boards, just in case you lose some or need to replace some because of soldering mistakes - those capacitors are cheap anyway. Note - the 100nF capacitance is also commonly known as 0.1uF.

Disambiguation

Tolerance

  • On eBay (seller: 185115) Not verified (50PCS/order)

10uF capacitors, 0805

Quantity: 2

These capacitors are used for 1) 5V step-up output decoupling on the back board 2) TPA2005 power supply input decoupling on the front board. You can also use smaller/bigger capacitors (like 1206 or 0603).

Disambiguation

Tolerance

  • On eBay (seller: 185115) Not verified (50PCS/order)

33nF capacitors, 0603

Quantity: 2

These capacitors are used for the 3.5mm jack audio circuit. You need exactly this value, and exactly this package (0603). I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


47uF capacitors, 1206 (non-polar)

1206 ceramic capacitors - colors might differ slightly

Quantity: 4 - C9 and C10 on the front board, C1 and C3 on the back board

Two are used for decoupling, and two for audio filtering. They need to be ceramic, not tantalum or electrolytic - looking like other ceramic capacitors, but bigger. So, there should be no polarity markings; and capacitors with yellow or black casing and writing on them are a no-go.

Note: you can use 10uF capacitors if you can't source 47uF ones.

Disambiguation

Tolerance


100uF tantalum capacitors, 10/16V, Case D

Quantity: 3 - C15 on the front board, C4 and C7 on the back board

These capacitors are used for heavy-duty decoupling - specifically, for Pi Zero, ESP8266 and GSM modem. Omitting these capacitors is not recommended. Fortunately, if you can't source them (or it's cost-prohibitive to do so), you can actually harvest them from laptop motherboards - they have suitable capacitors, mostly of good quality.

You can get higher-capacity ones (such as 150uF), too - lowering the capacity is not recommended, it can cause Pi to reboot and the GSM modem to be noisy/glitchy.

Disambiguation

Tolerance


10pF capacitors, 0603

Quantity: 10

These capacitors are used for removing noise on GSM microphone&speaker lines, Pi Zero audio output and GSM modem power supply. 5 of them are used on the back board, and 5 more on the front board, for a total of 10. I suggest you get 15-20 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


33pF capacitors, 0603

Quantity: 11

These capacitors are used for removing noise on GSM microphone&speaker lines, Pi Zero audio output and GSM modem power supply. 3 of them are used on the back board, and 8 more on the front board, for a total of 11. I suggest you get 15-20 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


18pF capacitors, 0603

Quantity: 2

These are the capacitors for ATMega crystal, needed so that the ATMega is clocked properly and works at the right frequency.

Disambiguation

Tolerance


Inductors

1uH inductor, 0603

Quantity: 2

These inductors are used for filtering the GSM microphone input signal.

Disambiguation

Tolerance


Resistors

10K resistors, 0805

Quantity: 24

These are the resistors you'll find all over the front&back boards, typically with "103" or "1002" written on them. They're mainly used for pulling up various signals (providing a default state when signals are inactive), voltage dividers (bringing voltages to levels that are suitable for ICs used in ZeroPhone) and current limiters. You can buy SMD resistors like this on cut tape cheaply (with one piece of tape typically having 50 or 100 resistors on it).

For Delta boards, there are 17 10K resistors on back board and 7 on the front board, for a total of 24. I suggest you get 25-30 per set of back&front boards, just in case you lose some or need to replace some because of soldering mistakes - those resistors are cheap anyway.

Disambiguation

Tolerance


47R resistors, 0805

Quantity: 9

These resistors are used for decreasing ESP8266 SDIO bus ringing (generally undesirable behaviour of high-frequency signals), and RGB LED current limiting. They'll typically have "470" written on them. You need 6 of them on the front board (for SDIO), and 3 on the back board (for the RGB LED).

Disambiguation

Tolerance


150R resistors, 0603

Quantity: 4

These resistors are used on the front board - for the 3.5mm jack audio circuit, as well as for UART signal current limiting - so that ATMega won't get damaged if the FTDI programmer is accidentally connected in reverse. They'll typically have "151" written on them. I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


270R resistors, 0603

Quantity: 4

These resistors are used for the 3.5mm jack audio circuit on the front board, as well as play a role in the "power button sense" circuit on the back board. They'll typically have "271" written on them. I suggest you get 5 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


1K8 resistors, 0603

Quantity: 5

There are footprints for these resistors on the front board - they've been copied from the Raspberry Pi 3 audio output schematic, but we haven't yet investigated, why (and whether) they are necessary. So, ZeroPhones that have been assembled by now don't have those resistors populated.

TODO: Update description

Disambiguation

Tolerance


2.54 headers

Usually, you can get longer pin headers when you can't easily get a particular, since it's not hard to cut them to size. For example, if you need a 1x13 female header (not mass-manufactured AFAIK), you can get a 1x20 and cut it. Keep in mind that, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut (male headers, on the other hand, are easily split.)

These headers should have 2.54mm offsets (also known as 0.1 inch) - not 2.5mm, 2mm or 1.27mm. Thankfully, these are the most popular, so you shouldn't have trouble with sourcing.

2x20 female header

A 20-pin double-row straight female header

Quantity: 1

These headers are used on the front board, connecting it to the back board and the Pi Zero. You can get the cheapest ones, but it's not a bad idea to overpay a little bit if you can be sure you'll get gold-plated pins.

  • On eBay (seller: 22newcentury) Not verified (10PCS/order)
  • On eBay (seller: survy2014) Not verified (5PCS/order)
  • On eBay (seller: satisfyelectronics) Not verified (5PCS/order)


2x20 male header

A 20-pin double-row straight male header

Quantity: 1

These headers are used on the front board, connecting it to the back board and the Pi Zero. You can get the cheapest ones, but it's not a bad idea to overpay a little bit if you can be sure you'll get gold-plated pins.

  • On eBay (seller: alice1101983) Not verified (10PCS/order, 2x40 pins per strip)
  • On eBay (seller: worldchips) Not verified (5PCS/order, 2x40 pins per strip)


5-pin angled female header

A 5-pin single-row angled female header

Quantity: 2

These pin headers are used on the back board, for expansion ports - both the bottom one and the top one. They need to be angled, since they have to sit flush to the PCB, between the PCB and the Pi Zero.

  • On eBay (seller: worldchips) Not verified (20PCS/order)
  • On eBay (seller: alice1101983) Not verified (20PCS/order)


3-pin angled female header

A 3-pin single-row angled female header

Quantity: 1

This pin header is used on the back board, for the bottom expansion port. It needs to be angled, since it has to sit flush to the PCB, between the PCB and the Pi Zero.

  • On eBay (seller: horizon_electronic) Not verified (10PCS/order)
  • On eBay (seller: horizon_electronic) Not verified (20PCS/order, 40 pin long strip)


12-pin angled female header

A 20-pin single-row angled female header, which can be easily cut down to a 12-pin one

Quantity: 1

This pin header is used on the back board, for the side expansion port. It needs to be angled, since it has to sit flush to the PCB, between the PCB and the Pi Zero.

  • On eBay (seller: c_enjoybuying) Not verified (10PCS/order, 40 pin long strip)
  • On eBay (seller: horizon_electronic) Not verified (10PCS/order, 40 pin long strip)
  • On eBay (seller: worldchips) Not verified (20PCS/order, 20 pin long strip)
  • On eBay (seller: alice1101983) Not verified (20PCS/order, 20 pin long strip)
  • On eBay (seller: maaqii) Not verified (5PCS/order, 40 pin long strip)


6-pin male header

A 6-pin single-row male header

Quantity: 2

This pin header is used on the front board, for the ATMega programming port & ADC connections - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board.

  • On eBay (seller: diybox) Not verified (10-20PCS/order, 40 pin long strip, both male and female)
  • On eBay (seller: worldchips) Not verified (20PCS/order, 40 pin long strip, both male and female)
  • On eBay (seller: alice1101983) Not verified (20PCS/order, 40 pin long strip, both male and female)


6-pin female header

A 6-pin single-row female header

Quantity: 2

This pin header is used on the back board, for the ATMega programming port & ADC connections - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board.

  • On eBay (seller: worldchips) Not verified (20PCS/order)
  • On eBay (seller: horizon_electronic) Not verified (20PCS/order)
  • On eBay (seller: worldchips) Not verified (100PCS/order)
  • On eBay (seller: diybox) Not verified (10-20PCS/order, 40 pin long strip, both male and female)
  • On eBay (seller: worldchips) Not verified (20PCS/order, 40 pin long strip, both male and female)
  • On eBay (seller: alice1101983) Not verified (20PCS/order, 40 pin long strip, both male and female)


Connectors

3.5mm jack - FC68125

The FC68125 3.5mm jack

Quantity: 1

This is the 3.5mm (4-pin) jack that's used as a headphone jack on ZeroPhone. Incidentally, that's the one used on Raspberry Pi boards, starting from B+. It's a quality component, and it costs more than other 4-pin jacks on eBay. While using a cheaper audio jack is possible, it was deemed more important to have a known stable audio connection, as that's been a popular problem of mobile phones for ages.

  • On eBay (seller: littlediode_components) Not verified (4PCS/order)
  • On eBay (seller: top-quality-tools) Not verified
  • On Farnell


JST-PH 2P angled THT socket

A JST-PH socket with a JST-PH pigtail

Quantity: 1

This is the LiIon battery socket for ZeroPhone, typically, you'd have the 18650 battery holder plugged in it, with 18650 in 1s2p configuration. It needs to be a through-hole angled socket, but using an SMD socket is a good alternative when you can't get the through-hole version.

Pin pitch

  • On eBay (seller: tomorrow_one_world) Not verified (20PCS/order, both pigtails and angled sockets)

JST-PH 2P pigtail (3cm)

Quantity: 1

This is a JST-PH plug with two wires coming out of it (preferably, red&black wires). It only needs to be ~3cm long, you can get a longer pigtail and then cut it to size. You can also manually crimp your own JST connector, but this task is not for the faint of heart, and you'll likely need a crimper tool (as those connectors are not easy to crimp manually, you'll likely fail your first x attempts). Better, buy a pigtail from one of these links:

Pin pitch

  • On eBay (seller: sammylam) Not verified (10PCS/order)
  • On eBay (seller: sammylam) Not verified (20PCS/order), also includes straight sockets that you don't need
  • On eBay (seller: buscoming9) Not verified (10PCS/order, pick 2Pin/2.0mm)
  • On eBay (seller: eitiwu) Not verified (30PCS/order)


USB-A socket

A suitable USB port

Quantity: 1

This is the full-sized USB port that ZeroPhone has on the back board. It has to be of the particular type, to be exact, the clips on the side and the plastic under the socket has to be present - refer to the photo on the right.

  • On eBay (seller: onlinehappyshopping) Not verified (10PCS/order)
  • On eBay (seller: buy-365) Not verified (10PCS/order)
  • On Farnell


Li-Ion battery holder - Keystone 1048

The 18650 holder used

Quantity: 1

This is the holder for 18650 batteries, the default way to power a ZeroPhone - it has to be soldered to the 18650 holder board. This holder is originally manufactured by Keystone, and is called "Keystone 1048". There are also copies of this holder available from eBay.


Buttons

ZeroPhone uses 30 buttons on the keypad, and one more on the back board. All the buttons used are SMD (surface-mount).

4-pin buttons

Suitable 4-pin buttons - notice the taller button cap

Quantity: 17

These buttons are used on the keypad, for arrow keys (up, down, left, right and OK) and number buttons (0-9, * and #). They have 4 pins, but only two actual contacts - the pins are interconnected in pairs. As there's a myriad of 4-pin SMD buttons, see the photo on the right for the reference. Make sure to get buttons with a taller button cap - if you get buttons that are flat, they will be considerably harder to press.

  • On TaoBao (seller: zoxmow) Verified
  • On eBay (seller: rfbat) Not verified (50PCS/order)
  • On eBay (seller: rfsuppliers) Not verified (50PCS/order)
  • On eBay (seller: rfbat) Not verified (200PCS/order)


2-pin buttons

Suitable 2-pin buttons, in different colors

Quantity: 10

Eight of these buttons are used on the keypad, for function keys (F1-F2, "answer", "hangup" and F3-F6). One button is used on the front board as the ATMega RESET button, for development purposes. One more button is used on the back board, for overriding the power switch circuit. Again, check that your buttons look the same as buttons in the photo.

  • On TaoBao (seller: zoxmow) Verified
  • On eBay (seller: xiumeche-0) Not verified (50PCS/order)
  • On eBay (seller: deeplearnings) Not verified (50PCS/order)


4-pin side buttons

Suitable 4-pin side buttons

Quantity: 5

These buttons are used on the keypad and are accessible on the sides on the phone, they regulate volume and have 3 programmable functions (the "programmability" will be added to ZPUI soon). Try to get the buttons pictured - if you can't get these exact buttons, then get those that have same dimensions, you'll likely be able to use them (keep in mind that those still have to be SMD side buttons).


Other components

GSM microphone

A suitable microphone

Quantity: 1

This is a microphone that will be used for the GSM audio. It's connected directly to the GSM modem, as it has a built-in microphone amplifier. You need an electret microphone (these are the most popular, but it's good if you can make sure). It's best if you get a through-hole microphone - SMD microphones are tricky to solder to the front board, as the microphone footprint is not adjusted for SMD microphone soldering.

  • On Taobao (seller: zhangyongweng998) Verified


GSM speaker

A Nokia replacement speaker that is also suitable for a ZeroPhone

Quantity: 1 This is the speaker that will be used for GSM audio. It's connected directly to the GSM modem, as it has a built-in speaker driver. A rectangular speaker is needed - round speakers, unless they're small, won't fit in the front board cutout without interfering with the GSM modem breakout on the back board. I suggest you get a replacement Nokia speaker from either eBay or an old Nokia - they seem to work quite well.

  • On eBay (seller: iapproach) Not verified


Vibromotor

A round vibromotor, with wires - suitable for a ZeroPhone

Quantity: 1

Even though vibromotor control isn't yet supported in current ZeroPhone firmware, it's eventually going to be supported, and the vibromotor driver hardware is already added to the ZeroPhone front board. It's best if you get a vibromotor that has wires already soldered onto it - alternatively, you can get a vibromotor that only has contact pads or springy pins, then solder wires to them. The vibromotor shouldn't be too big - otherwise, it won't fit on the front board, and the curent might also be excessive for the driver transistor.

  • On eBay (seller: hello_alian) Not verified
  • On eBay (seller: speed_mart) Not verified
  • On eBay (seller: lilapurple2012) Not verified