请选择 进入手机版 | 继续访问电脑版

狗趴(GodPub),开源硬件学习与实践

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 10491|回复: 1

[from BigQ]PiPhone – A Raspberry Pi based Smartphone

[复制链接]

13

主题

33

帖子

155

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
155
发表于 2014-11-25 16:11:56 | 显示全部楼层 |阅读模式
原文地址:http://www.davidhunt.ie/piphone-a-raspberry-pi-based-smartphone/

PiPhone – A Raspberry Pi based Smartphone                            By                 daveh                 |                 Published                                     Apr
                    25
                    2014

                           
                            Here’s my latest DIY project, a smartphone based on a Raspberry Pi. It’s called – wait for it – the PiPhone. It makes use an Adafruit touchscreen interface and a Sim900 GSM/GPRS module to make phone calls. It’s more of a proof of concept to see what could be done with a relatively small form factor with off-the-shelf (cheap) components. I don’t expect everyone to be rushing out to build this one, but I had great fun in doing it, as it builds quite nicely on my previous projects, especially the Lapse Pi, a touchscreen time-lapse controller, and uses most of the same hardware.

What makes this different from the Timelapse controller is the addition of a a SIM900 GSM module, which is connected via UART to the Raspberry Pi. Also, I got myself a LiPo battery that would fit nicely between the TFT screen and the Raspberry Pi, so it could be used standalone, without any wires hanging off it whatsoever. Here’s the finished PiPhone.


Also shown in the above pic is the touchscreen interface I developed for the purpose of this project. It’s a numeric keypad, with a display of the number to dial at the top, and a phone icon at the bottom to make or hang up the call.

Here’s a demo of the PiPhone in action.


Once we turn the unit over, we can see the main communications module, which is a Sim900 GSM/GPRS module. This allow us to send standard AT commands to it to make calls, hang up, send texts, data etc. Overall a very clever module. Towards the bottom of the white PCB, you can see the SIM Card, which allows the module to associate with my local GSM network, and it’s using a regular prepaid SIM card, bought in my local phone store for €10. Below the GSM module, you can see the on.off switch and a DC-DC converter, which converts the 3.7volts from the LiPoly battery to 5volts needed by everything else. The DC-DC converter is from eBay from a UK seller. It was ore expensive than I’d like to have paid, but It was the last piece of the puzzle, and I didn’t want to wait the typical 3 weeks from China.

The following image gives a better view of the LiPo battery. It’s from Adafruit (http://www.adafruit.com/products/328), which fits nicely between the TFT and the Pi. The only problem with this setup is heat. It gets a bit warm around the CPU if you leave the unit switched on for several minutes, as there’s very little air circulation. With a small fan circulating the air around it, I was able to leave it on for extended periods during development, and it was cool to the touch.
Also, the 6 pin header on the GSM module sticks out a bit, so I though about de-soldering the  header and soldering the wires directly onto the PCB. That would prevent the connector sticking out so much, and would sit better when placed on a flat surface.

And the other side view, showing the foam-core board seperating the GSM module from the Raspberry Pi. I chose a nice thich piece to ensure no electrical connections between them. Oh, and a couple of well placed cable-ties was all that was needed to hold everything together.

And one last pic showing the Adafruit TFT on top.


I presented this to my local FAbLab the night before the publication of this blog article, and one question from the audience stood out: “Do you have to pay for credit?”. That certainly made me think, and we had a good giggle at that. Yes, you still have to pay for credit in the usual way, purchase a SIM card from a local service provider. This is not going to get you free calls! Nice try though!
Costs:
Total: $158
As you can see from the cost of the components, you’d be FAR better off going into your local phone store and picking up a normal smartphone, but hey, where’s the fun in that. I got a great kick out of the first phone call I made with this thing. And it wont’s stay in one piece for long, I’ll be using those parts for other projects very soon!
Software
Code is available on GitHub. All the instructions are there, and links on what to do to install the PiTFT, etc.
Circuits
None.   It’s all made from off the shelf components.

About the Author:
By day I’m a senior embedded Linux software engineer working with Emutex Ltd, an Embedded Software Solutions company in Limerick Ireland. In my spare time, I take pictures, and play with gadgets and technology.
Google Plus: https://plus.google.com/u/0/103494825025710742625/posts
Twitter: https://twitter.com/climberhunt @climberhunt
Facebook: https://www.facebook.com/davidhuntphotography
Be sure to check out my other Raspberry Pi related articles, and if you like, you can subscribe by entering your email address at the top right of the page.
Code is now available at https://github.com/climberhunt/PiPhone

84

主题

143

帖子

725

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
725
QQ
发表于 2014-11-26 10:44:13 | 显示全部楼层
不错,回头研究一下
天理路上甚宽,稍游心,胸中便觉广大宏朗;
人欲路上甚窄,才寄迹,眼前俱是荆棘泥涂。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|狗趴(GodPub) Arduino&Raspberry Pi开源硬件学习与实践[QQ群:20085629]  

GMT+8, 2024-5-23 16:43 , Processed in 0.038334 second(s), 31 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表