This tutorial brings you from start to finish in constructing your very own smartphone. You will start by 3D printing a case, then soldering printed circuit boards together, assembly, and finally installing a mobile OS onto your phone and using Python to make it yours. You can learn more about this project at hackaday.io/project/5083

Skills Required:

  • Basic Soldering
  • Familiarity with the Raspberry Pi


Lots of time and patience

Step 1: Gather Materials

Before we begin, lets gather the components required for the build. You will need the following electronic components and PCBs:

  1. Raspberry Pi A+ 256MB
  2. Adafruit FONA uFL Version
  3. 3.5in PiTFT Assembled
  4. Raspberry Pi Camera 5MP
  5. Powerboost 500 Basic
  6. GSM Antenna
  7. 1W 8 ohm Metal Speaker
  8. USB Wifi Adapter
  9. Electret Microphone
  10. 1200mah Lithium Ion Battery
  11. 4-40 x 3/8in screws
  12. M2.5 x 5mm screws
  13. M2.5 x 20mm screws
  14. M2 x 5mm screws
  15. Slide Switch
  16. Wire

While waiting for your parts to ship, you can 3D print the enclosure.

<p>Can I install Ubuntu</p>
<p>I might be doing this project, and I have a few questions.</p><p>First, I am assuming any similar battery will work for this project (like on with more mah)</p><p>Second, will this work with the adafruit 3g FONA, (https://www.adafruit.com/products/2687)</p><p> do you think that it would work with a display like this <a href="https://www.amazon.com/Resistive-interface-compatible-Raspberry-Pi/dp/B00U21UA16" rel="nofollow">https://www.amazon.com/Resistive-interface-compati...</a></p><p>Finnally, will this work with the new 8MP pi camera?</p>
<p>Will it work with RaspberryPi 3? What are required modifications in that case?</p>
<p>The software and hardware are 100% compatible with the Raspberry Pi 3 but it would require a complete case redesign. </p>
<p>So if I understand, GPIO wiring is the same?</p>
<p>I'm building this project with a pi zero, after wiring up the power circuit the FONA LED's do not illuminate. Everything else power on with the slide switch. Is there something I am missing.</p>
<p>Nope, if you hold down the button on the FONA for 2 seconds it should power on.</p>
I wanted to know if we can make some changes in this and run android on it ? . If we can add more memory too , it would be awesome !<br>
<p>How do I go about connecting the GRND pin on the Powerboost to the switch AND the pi?</p>
<p>Could this run android?</p>
<p>this project wont work like that</p>
<p>Everything is good as you said, nothing is happening</p>
<p>We fried the pi remember?</p>
<p>do we need 2 pis and 2 fonas because legendary p keeps on saying that we do</p>
<p>Ok so i have everything wired up. I plugged in the battery and nothing happened. Then i plugged everything in (power line for the pi battery to fona and 5 volts of power to the power-boost). the power-boost got really hot. Also i checked the current going to it, it was over 100 </p>
<p>Are you able to get the screen functioning properly without the FONA or powerboost? once you have that part working add the FONA, and finally the powerboost. You may have broke the powerboost, make sure their is 5V on the output. Also make sure you don't power the Pi with micro usb and the powerboost at the same time. That will toast your pi</p>
<p>i have everything set up hardware and software. however when i try to turn it on nothing happens. Does the battery have to fully charged? Im using the rasberrry pi b+</p>
<p>how do you install a sim card, like all you do is insert it in the fona</p>
<p>how exactly do i do commands on the pi phone?</p>
<p>If graphite gets in the power boost will it matter</p>
<p>yes, it will cause a short and your battery will potentially explode. You should wash it off</p>
<p>potentially? What does that mean? Is there a chance for the battery to not blowup?</p>
<p>do you need 2 raspberry pis and 2 fonas</p>
<p>Only if you are building two phones :)</p>
<p>im putting together the phone, useing a rasberry pi b+. Does it matter where the wires are on, on the pins of the pi? also how are you supposed to start the phone? is a sim card required to turn it on? How am i supposed to put on the touchscreen? Also i put TYOS on and SD card then into the rasberry pi, when i do everything nothing shows up on the screen.. PLZ reply as soon as possible, im doing this as project for school, and its due in 2 days from now. THX</p>
<p>Are you able to get the PiTFT working with just the SD image? Tutorial here: <a href="https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/overview">https://learn.adafruit.com/adafruit-pitft-3-dot-5-...</a></p>
<p>with the software do we extract, calibrate,put in commands on the phone or on a separate storage then put it the raspberry pi? and if its on the separate how exactly would you do it on a separate storage? Plz reply as soon as possible </p>
<p>Once the image is installed on the SD card you do everything else via the command line on the Pi. </p>
<p>can i do this using raspberry pi 3 model b if no please tell me how to do with raspberry pi 3 model b please. let me know</p>
<p>yes that should work</p>
I have been wanting to do a project like this for a long time but now the zero is out I am going to finally undertake it using the new Fona, pi zero, and speaker from a burner :D
<p>how do I install another custom OS on this? Is the process the same even if it's not written in python?</p>
<p>how do I install another custom OS on this? Is the process the same even if it's not written in python?</p>
Just put everything together, but I have problems with the touchscreen when running tyos. The touchscreen is already calibrated and it works greatfully in the main screen, but as soon as I run main.py it seems the touch inputs are wrong, allowing me pressing only buttons on the left or right (power and phone dialer). <br>I tried connecting a mouse and with it I can press each button, (even if it's invisible). <br>Any debug application to show touch input coordinates or a way to calibrate it in a pygame? <br>Thanks for help!
<p>If you comment out line 60 in tyos/src/main.py (<a>https://github.com/spadgenske/TYOS/blob/master/src...</a>) you will have a visible mouse so if you tap and the mouse pointer appears that means you clicked. If your tapping the screen and the mouse pointer doesn't follow where you tap, the screen is not registering your presses. hope this helps!</p>
<p>How much does it cost to do it</p>
Could/would this work with the pi zero?
Everything should work with the Pi Zero. I don't think any changes are required.
<p>This is awsome!!!! im only 12 but i love this when im older im DEFINANTLY going to make this. + i voted for u =)</p>
<p>Why wait? I was only 13 when I got my first HAM license! Now is the time to start learning about electronics. It is fun!.</p><p>A good place to start would be https://learn.adafruit.com/</p>
<p>Agreed. I'm 15</p>
<p>I am nine</p>
<p>True. No point waiting. I started learning when I was 10 but I couldn't get the materials then cuz I was living in Africa where DIY stuff is almost non-existent. but I moved to Asia this year and I'm doing all kinda projects without stress.</p>
<p>True. No point waiting. I started learning when I was 10 but I couldn't get the materials then cuz I was living in Africa where DIY stuff is almost non-existent. but I moved to Asia this year and I'm doing all kinda projects without stress.</p>
<p>Tyler make a web browser for the tytelli. If you do this will become my favorite mobile OS </p>
<p>very nice, trying to get it going with a new rpi3<br>lots of issues but im getting to it slowly...</p><p>i can do everything in minicom using AT-commands but in tyos ive a lot of issues, cant sent SMS or place a call. e.g. i can type sms but send buttom doesnt do anything. touchscreen does not work properly (even after calibrating it), but i enabaled mousepointer so i can select/type things. crashes when im receiving a new sms or phonecalls.<br>Will continues testing/ bugfixing once ive got the hardware in a propper case, just flying around right now, not a good idea on the long run ;)</p><p>made a new phonecase for too, will post the stl-files on thingiverse once they are ready and tested. For power im using a single LiIon-Cell 26650 5Ah.</p>
<p>Adafruit hasn't officially updated their PiTFT kernel to work with the Raspberry Pi 3, that is probably why the touchscreen and TYOS aren't working properly. </p>
<p>very nice voy will have good experince</p>
<p>Desolder all unnecessary connectors and pin headers on the Raspberry Pi and then solder the pins going into the GPIO in the holes where headers used to exist.</p>

About This Instructable




Bio: Student teaching myself Electrical Engineering and Computer Science.
More by Mach_5:$20 Portable Raspberry Pi Game Console Build your own Home Automation and Monitoring System Build Your Own Smartphone 
Add instructable to: