Difference between revisions of "Sourcing ZeroPhone parts"

From ZeroPhone
Jump to: navigation, search
(Headers and connectors (WIP))
m (Headers and connectors (WIP))
Line 340: Line 340:
 
* Taobao link
 
* Taobao link
 
* [https://www.ebay.com/itm/112157143783 On eBay] (seller: maaqii) '''Unconfirmed''' (5PCS/order, 40 pin long strip)
 
* [https://www.ebay.com/itm/112157143783 On eBay] (seller: maaqii) '''Unconfirmed''' (5PCS/order, 40 pin long strip)
 +
 
===6-pin 2.54 male header===
 
===6-pin 2.54 male header===
 
'''Quantity: 1'''
 
'''Quantity: 1'''

Revision as of 23:02, 31 January 2018

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're having trouble sourcing some of these parts, do 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!

PCBs

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

The last stable PCB release is Gamma 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 Layer count Board thickness Board folder name (on PCB 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. "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 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 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 "D0" or "SDA", and "CLK" is sometimes called "SCL" or "D1").

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


SIM800

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

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


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) Ordered but not yet verified


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).

  • On TaoBao (seller: zhangyongweng998) Verified
  • On eBay (seller: diybox) Not verified


TP4056 LiIon charging+protection board

Suitable and unsuitable TP4056 boards

There are multiple versions of this breakout, too - boards based on this schematic are popular, and it seems like there's a new version that was designed to decrease the panel space it'd take while manufacturing. Beta boards were designed around the old breakout, but Gamma boards were designed with old breakout in mind - and the new breakout proved to be problematic. So, Delta boards will be using the old version of the breakout - only get the new version of the breakout if you'll be using Gamma boards.

  • Old version (for Delta boards) - on TaoBao (seller: tb314395) Ordered but not yet verified
  • Old version (for Delta boards) - on eBay (seller: alice1101983) Verified (5PCS order)
  • Old version (for Delta boards) - on eBay (seller: inglesab) Not verified (5PCS order) (ships from UK?)
  • New version (for Gamma boards) - on TaoBao (seller: shop131282813) Verified
  • New version (for Gamma boards) - on eBay (seller: c_enjoybuying) Not verified (2PCS 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


Arduino Pro Mini

Suitable and unsuitable Arduino Pro Mini boards

ZeroPhone uses an ATMega328P with a 16MHz crystal for reading 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 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.

  • On TaoBao (seller: nuoyaxindz) Ordered but not yet verified
  • On eBay (seller: alice1101983) Not verified (5PCS order)
  • On Farnell Not verified but should work

IRLML6401

Quantity: 3

This is a MOSFET that's used for switching off parts of ZeroPhone to decrease power consumption, as well as switching the system to charger power when charger is connected. It's only used on the back board, there are 3 of these - for now, in the future, one or two more can be added.

  • On eBay (seller: gowin_electronic) Not verified (10PCS/order)
  • On eBay (seller: wikita*) Not verified (5PCS/order)
  • On Farnell

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 SOT23 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)

BAW99

Quantity: 3 - Not required

These are the ESD protection diodes, protecting the 3.5mm audio jack from ESD discharges. This is an optional component; due to sourcing difficulties, all ZeroPhones that have been assembled for now don't have it on - nevertheless, it doesn't seem to have caused any problems for now.

Substitutes

  • No eBay links - it doesn't seem to be available on eBay
  • We don't have it available either, so don't contact parts at zerophone org about it ;-)

1N4148

Quantity: 1

This diode is used on the front board in the vibromotor control circuit, protecting the vibromotor control transistor from reverse EMF. 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.

  • On eBay (seller: adsp2102) Not verified (100PCS/order) (US-based seller)
  • On eBay (seller: heynitservice) Not verified (100PCS/order) (Germany-based seller)
  • On eBay (seller: kingelectronics15) Not verified (100PCS/order)

SS14

Quantity: 1

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.

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

RGB LED

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).

  • 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)

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

16MHz crystal

0R resistor

Capacitors

100nF capacitors, 0805

Quantity: 18

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 Gamma boards, there are 7 100nF capacitors on back board and 11 on the front board, for a total of 18. I suggest you get 20-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.

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)

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

  • On eBay (seller: toppetpopseller) Not verified (min 10PCS/order) (pick "47uF 6.3V")
  • On eBay (seller: ichoseilove) Not verified (min 10PCS/order) (pick "47uF 6.3V")


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: 9

These capacitors are used for removing noise on GSM microphone&speaker lines. 3 of them are used on the back board, and 6 more on the front board, for a total of 9. I suggest you get 15 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


33pF capacitors, 0603

Quantity: 9

These capacitors are used for removing noise on GSM microphone&speaker lines. 6 of them are used on the back board, and 3 more on the front board, for a total of 9. I suggest you get 15 per set of boards, they are very tiny and easily can get lost/fall down on the floor.

Disambiguation

Tolerance


Resistors

10K resistors, 0805

Quantity: 11

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 Gamma boards, there are 6 10K resistors on back board and 5 on the front board, for a total of 11. I suggest you get 15-20 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.

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: 2

These resistors are used for the 3.5mm jack audio circuit, you need two of them on the front board. 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: 2

These resistors are used for the 3.5mm jack audio circuit, you need two of them on the front 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: 2 - Not required

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.

Disambiguation

Tolerance


Headers and connectors (WIP)

2x20 2.54mm 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.

Pin pitch


  • Taobao (seller: zhangyongweng998)

2x20 2.54mm 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. You can also get a longer pin header - say, 2x40 - it's not hard to cut them to size.

Pin pitch


  • Taobao link

5-pin 2.54 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. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size (though, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut).

Pin pitch


  • Taobao link

3-pin 2.54 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. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size (though, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut).

Pin pitch

13-pin 2.54 angled female header

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. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size (though, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut).

Pin pitch

  • Taobao link
  • On eBay (seller: maaqii) Unconfirmed (5PCS/order, 40 pin long strip)

6-pin 2.54 male header

Quantity: 1

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. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size.

Pin pitch

  • Taobao link
  • eBay link

6-pin 2.54 female header

Quantity: 1

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. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size (though, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut).

Pin pitch

  • Taobao link
  • eBay link

4-pin 2.54 male header

Quantity: 1

This pin header is used on the back board, for the GSM modem audio signals - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size.

Pin pitch

  • Taobao link
  • eBay link

4-pin 2.54 female header

Quantity: 1

This pin header is used on the front board, for the GSM modem audio signals - it also provides mechanical stability. It needs to be straight, since it's connecting the front board to the back board. You can also get a longer pin header - say, 1x20 - it's not hard to cut them to size (though, with female headers, you typically lose one pin when cutting a header in two, as they're not designed to be cut).

Pin pitch

  • Taobao link
  • eBay link

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)

JST-PH 2P angled THT socket

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: ) Not verified (25PCS/order, male and female)

JST-PH 2P pigtail (3cm)

Quantity: 1

This is a JST-PH plug with two wires coming out of it (preferably, red&black wires).

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

Pin pitch


USB-A port

Quantity: 1

TODO: description, photos, suitable and unsuitable connectors

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

Li-Ion battery holder

Quantity: 1

TODO: photo, description

  • TaoBao link
  • On eBay (seller: mdflyelectronics) Not verified
  • On eBay (seller: 5ashop) Not verified
  • Farnell link

Buttons (WIP)

4-pin buttons

Quantity: 17

TODO: photo, description, suitable and unsuitable buttons

  • TaoBao (seller: zoxmow)
  • eBay link

2-pin buttons

Quantity: 9

TODO: photo, description, suitable and unsuitable buttons

  • TaoBao link
  • eBay link

4-pin side buttons

Quantity: 5

TODO: photo, description, suitable and unsuitable buttons

Other components (WIP)

GSM microphone

Quantity: 1

TODO: photos, description, suitable and unsuitable microphones

  • On Taobao (seller: zhangyongweng998) Verified

GSM speaker

Quantity: 1

TODO: photos, description, suitable and unsuitable microphones

  • On eBay (seller: iapproach) Not verified

Vibromotor

Quantity: 1

Even though vibromotor isn't yet supported in current ZeroPhone firmware, it's eventually going to be supported, and the hardware is there.

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