专业版
#第九届立创电赛#[兔宝宝手机]基于泰山派手机原型机

创建时间:5个月前

视频

描述

<div> <h3 style="line-height:1.8"> 1、项目功能介绍</h3> <hr> <p><strong><span style="color:#95a5a6;font-size:14px">基于泰山派的手机原型机项目</span></strong></p> <p><strong><span style="color:#95a5a6;font-size:14px"><img src="//image.lceda.cn/pullimage/fXePEej6THp0JlL201g2o8RWUmjRNEljAmRs1rEC.jpeg" alt="" width="977" height="733"></span></strong></p> <p> </p> <ol> <li><strong><span style="color:#95a5a6;font-size:14px">支持4G上网</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">打电话</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">发短信</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">前置摄像头及闪光灯(带自动对焦)</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">陀螺仪,重力计</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">PD快充(非诱骗,可软件更改充电电压电流,目前默认配置12V)</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">电子罗盘</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">环境光传感器及距离传感器</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">温湿度计(盛思睿SHT4X,适配安卓驱动,并编写专用安卓APP显示温湿度)</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">GPS</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">振动电机。</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">typec的OTG功能(支持接U盘,键盘鼠标等)</span></strong></li> <li><strong><span style="color:#95a5a6;font-size:14px">typec支持typec接口的数字耳机及模拟耳机。</span></strong></li> </ol> <p style="line-height:1.8">几乎涵盖了手机应有的传感器。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">当时做这个项目的想法,只是看到了小大柱子的BQ40Z50的开源项目,想复刻一个。后来复刻好了,就总是想找个东西来把这个电池用起来。</p> <p style="line-height:1.8">看到立创有出了泰山派,于是手工焊接了几个杜邦线,编写了bq40z50的安卓驱动,在安卓设备上能看到电池电量的百分比了。</p> <p style="line-height:1.8">再后面,想想,电池也有了。何不再画个板,把MIPI屏,电池充放电电路也加上。同时把能加的传感器都加上,反正就是画一个板,能一次性加上的东西都给加上。</p> <p style="line-height:1.8">这时,我就慢慢统计了一下,比如电池充放电,直接上个PD快充。加摄像头,加个自动对焦,加个闪光灯。加个重力计陀螺仪磁力计,正好盛思睿和立创合作了电赛,也选择加了一个SHT4X,...</p> <p style="line-height:1.8">慢慢加到后面,又加上了Android的打电话,发短信,4G上网功能。就感觉变成了一个类似手机的东西了。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">正好之前淘宝也了解过,好像也没有卖那种价格比较低的手机(平板)开发板。一般高通的或者MTK的手机开发板也比较贵,高通和MTK的芯片及相关开发资料对于普通人和小公司估计也不好拿到。</p> <p style="line-height:1.8">如果项目做成了,对于感兴趣的学生或者有想开发定制安卓设备的小厂商或许有一定的吸引力。毕竟价格可以接受和资料也会提供。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/dT214p053dzJplT8EELe5RirzTeCAWD5PbauLHmv.jpeg" alt="" width="487" height="1088"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:12px"> <span style="font-size:14px">打电话</span></span></p> <p><img src="//image.lceda.cn/pullimage/7RHP51H3IjAW7eq6GZElXvuFJGioBW9fKTLKrEoR.png" alt="" width="580" height="877"></p> <p> </p> <p><span style="font-size:14px">可收发短信</span></p> <p><img src="//image.lceda.cn/pullimage/AmS1Re1ZqhcRQCjuOt2KETYYbgmpwGKW0PdCTqzs.jpeg" alt="" width="581" height="775"></p> <p> </p> <p>摄像头,自动对焦</p> <p><img src="//image.lceda.cn/pullimage/tOguTESYZzq3lwsDnqzmGoAdNTzMYGmgBT6zjBsf.gif" alt="" width="388" height="692"></p> <p> </p> <p>闪光灯的手电筒功能(建议最好不要拍照开闪光灯,会闪瞎眼睛。别问为什么前置摄像头加一个闪光灯,问就是我愿意)</p> <p><img src="//image.lceda.cn/pullimage/LJ7JR4UXrwYHSm83NAyNyXHDLXkXZ30LxlAA5crC.gif" alt="" width="388" height="692"></p> <p> </p> <p>重力计</p> <p><img src="//image.lceda.cn/pullimage/qik4CsHwgqA72uo2ir8t5PYUfugQq4VZGtrKHRMg.gif" alt="" width="359" height="638"></p> <p> </p> <p>快充效果</p> <p><img src="//image.lceda.cn/pullimage/4Wop7uZTIBUUOkphWHaGSCLgoOCBjMm6IHTxkGvT.gif" alt="" width="780" height="439"></p> <p> </p> <p>电子罗盘</p> <p><img src="//image.lceda.cn/pullimage/RtoZZ8uryEvq8DFXpx5YhhgKhHpajagypfn8p1im.gif" alt="" width="764" height="430"></p> <p> </p> <p>环境光传感器(安卓自动调节屏幕亮度用的就是这个功能)</p> <p><img src="//image.lceda.cn/pullimage/FKeAqOv1smkOJpdgP8rZ0gBAMv3NKsmwudgmDOW8.gif" alt="" width="466" height="829"></p> <p> </p> <p> </p> <p>距离传感器(一般用在接打电话的时候,检测距离,防止屏幕误触)</p> <p>本项目传感器放置在玻璃后面,发现也能检测到玻璃。导致无法正常检测距离。</p> <p>故把传感器表壳拆开测试。效果如图。</p> <p><img src="//image.lceda.cn/pullimage/oyNBbWp0REwe3RJGiFM4W7XTHHJUXwtAZVTCiLTK.gif" alt="" width="461" height="820"></p> <p> </p> <p>APP读取温湿度计传感器数据</p> <p><img src="//image.lceda.cn/pullimage/egCGdXB7awkj8y5ZelX9LTYDM7FlfdZD4OjBufr6.jpeg" alt="" width="978" height="734"></p> <p> </p> <p style="line-height:1.8">GPS效果(户外测试搜星,使用的是普通无源天线)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/dsWdzEbnzfNqUgUidtra1CbSabi7YT94R6iPusvY.jpeg" alt="" width="672" height="896"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">振动电机</p> <p style="line-height:1.8">板卡带有振动电机,触摸导航键及充电会有振动效果。(或者有些带振动的游戏,也能触发此功能)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/zFl8eA48zjOQazikSYI1knbwC0lRWKEMguYosgKO.jpeg" alt="" width="688" height="516"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">typec口的OTG功能(可接U盘鼠标键盘,typec数字耳机等)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/pKaLawryZVwqBgRqQxAJ5WNrWz0Xp4Hxv1xLIcwe.gif" alt="" width="465" height="827"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">typec口支持typec数字耳机及typec模拟耳机</p> <p style="line-height:1.8">typec数字耳机(实际上是USB接口的声卡)</p> <p style="line-height:1.8">typec模拟耳机(类似普通3.5耳机,改成typec接口)</p> <p style="line-height:1.8">本项目通过识别耳机类型,及切换芯片来兼容这2种类型耳机。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/pN8GgmCKH08IiEwp6WaCnaHvVvukeGZEQvtC3Xup.jpeg" alt="" width="536" height="715"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">2、项目属性</h3> <hr> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">首次公开,原创。</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">3、开源协议</h3> <hr> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">【1】液晶屏引用了猫屏项目。(猫屏比较便宜,屏幕也比较大,分辨率720x1280也还行,最主要还是性价比高)  (可替代)  (Public Domain)</span></p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px"><a href="https://oshwhub.com/sakuraneko/tai-shan-pai-6-cun-ping-mu-zhuan-jie-ban" target="_blank">https://oshwhub.com/sakuraneko/tai-shan-pai-6-cun-ping-mu-zhuan-jie-ban</a></span></p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">【2】电池电量计参考了BQ40z50项目(同时调整并简化了一部分),用于在android系统中使用并正确显示电池电量。(硬件上参考了原理图,参照原作者的电量校准工具的校准方法重新校准了电池。软件上,驱动手工编写了android上的bq40z50的驱动,可以在安卓上显示电量百分比)(可替代,电量计电路板重新绘制,删去了LED灯电量指示,更换了充电接头)  (GPL 3.0)</span></p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db"><a href="https://oshwhub.com/xdzz/BQ40Z50-Battery-fuel-gauges" target="_blank">https://oshwhub.com/xdzz/BQ40Z50-Battery-fuel-gauges</a></span></span></p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">【3】锁屏充电效果。</span><span style="color:#95a5a6;font-size:14px">直接引用了CSDN大佬的(安卓兼职framework应用工程师),征得原作者同意开源此部分代码。(效果较好,也可替代或关闭此效果) </span></p> <p style="line-height:1.8"><span style="color:#3598db"><a style="color:#3598db" href="https://blog.csdn.net/baidu_41666295/article/details/124760196?ops_request_misc=%257B%2522request%255Fid%2522%253A%25222004F4F1-D6C2-4654-B5A5-1DE8EFF79108%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=2004F4F1-D6C2-4654-B5A5-1DE8EFF79108&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-124760196-null-null.nonecase&utm_term=%E5%8D%8E%E4%B8%BA&spm=1018.2226.3001.4450" target="_blank">https://blog.csdn.net/baidu_41666295/article/details/124760196?ops_request_misc=%257B%2522request%255Fid%2522%253A%25222004F4F1-D6C2-4654-B5A5-1DE8EFF79108%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=2004F4F1-D6C2-4654-B5A5-1DE8EFF79108&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-124760196-null-null.nonecase&utm_term=%E5%8D%8E%E4%B8%BA&spm=1018.2226.3001.4450</a></span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="color:#000000">本项目整体设置开源协议为</span></p> <p style="line-height:1.8"><span style="color:#3598db">Public Domain</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">4、硬件部分</h3> <hr> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">1.电池电量计</span></p> <p style="line-height:1.8">SMT在立创贴的。实物图</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/6FrLZkbFPxXqDKh22cUWYhppkRGDzypQ8DMvfDjr.jpeg" alt="" width="716" height="537"></p> <p style="line-height:1.8">电池挑选的</p> <p style="line-height:1.8">力神LR21700LA,店家帮忙点焊成2节串联。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/W7sFvtHgqx5gMMQnnoXQFtLJ2bg0tSHr9MfN9DBy.png" alt="" width="939" height="177"></p> <p style="line-height:1.8">电池和电量计保护板焊接一起成品图(此时电量还未校准,相关保护参数也未设置)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/5gSop8GlMWN9YEn4Vtd1CkC6Oriz6hRqSFhRXOIx.jpeg" alt="" width="934" height="701"></p> <p style="line-height:1.8">需要预先设置一些电池信息,校准电压电流以及温度传感器温度。</p> <p style="line-height:1.8">进行2~5次的充放电循环校准电池(校准成功后,可以将校准配置及参数导出。方便同一型号电池的生产烧录)</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">所以购买了电压电流表,电子负载。2节8.4V typec充电模块,以及bq40z50的通讯工具EV2400。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/j7OJLtHkOy5w3qOsoyEhQv5OBMawpSVFx41EA3B5.jpeg" alt="" width="939" height="705"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/O1rKDVVhh8JBVYVfKWfCRfoQiPoxajETizyTZgOP.png" alt="" width="1079" height="174"></p> <p><img src="//image.lceda.cn/pullimage/YY2grkgNUUSKj6vqTQL71Hf12QYdQLtD3lKOxe61.jpeg" alt="" width="530" height="248"></p> <p><img src="//image.lceda.cn/pullimage/IZqGjYSg0bxHtGgcIdKsl82OzS4xkZBkmu0h1uco.png" alt="" width="962" height="190"></p> <p> </p> <p>电池参数配置界面</p> <p><img src="//image.lceda.cn/pullimage/MPkzTKf8CesAo2fR4kBShWsRKlFrKgTtFC2AVFSR.png" alt="" width="944" height="509"></p> <p>充放电循环(校准电量计)</p> <p><img src="//image.lceda.cn/pullimage/6kIzLDZuaBnhtmucBMlTFftXOwrJoZEpnmEnFWW0.jpeg" alt="" width="931" height="698"></p> <p><img src="//image.lceda.cn/pullimage/Ht8WkQF0srYIjFTj7Q6KzqWZ4DbQ0frf1OkTsURb.jpeg" alt="" width="929" height="697">具体如何配置参数及校准充放电循环可以移步 小大柱子的开源项目</p> <p><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db"><a href="https://oshwhub.com/xdzz/BQ40Z50-Battery-fuel-gauges" target="_blank">https://oshwhub.com/xdzz/BQ40Z50-Battery-fuel-gauges</a></span></span></p> <p> </p> <p><span style="color:#000000;font-size:14px">如果想复刻电池电量计,可以购买同款力神电池(不同电池的电池充放电曲线,容量等不同)。</span></p> <p><span style="color:#000000;font-size:14px">烧录兔哥校准好的电池配置文件即可。(应该烧录就好了)</span></p> <p><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db"><a href="https://item.taobao.com/item.htm?_u=j9vteub3293&id=665663715163&pisk=geNSyiwRTVmqIb9zB6QqCG90iGhQFk1N9egLSydyJbh-dBUzf2RELT0BOmaOr0WhEkwbvoDr2DkEO2ZZmzRFrz7COyUt2Xyr42E4Aovz4WoU06agfYRzJW8unlz9a7WoTBGotXINb15Nrzcn911v5WtkD20OTL3KyzvS4z6Ob15alT3oTrIaa093SVuw9XH-eqhxm2gp92EKHI3nDQ3pw2KAl2mx943K2xKxSV0pvBEpHK3Z7pdJwYdxMVgn9DEK9UVW526Sqz_0XDld3glaymOp97CnEcgXLBOQR4H79znburPjPYithpkZUWa_J7lbCHB85jVZLSEPOIcz5-hxvXfDl0k_eugYoMOs2Rzg7DHJyQUmNmMxqrtRyXz_ePuQueOQXAwaBxNhsQ4SImcjoWSDwDwYp7kot3QLxPrutJsrOCo6AFvBlAAIlc7flpv3ISVRdDQ1VgM-o4MVlZt8KY3mlq_flpXteq0SrZ_X2t5..&spm=a1z09.2.0.0.67002e8dRSmUmw&skuId=5280661228708" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub3293&id=665663715163&pisk=geNSyiwRTVmqIb9zB6QqCG90iGhQFk1N9egLSydyJbh-dBUzf2RELT0BOmaOr0WhEkwbvoDr2DkEO2ZZmzRFrz7COyUt2Xyr42E4Aovz4WoU06agfYRzJW8unlz9a7WoTBGotXINb15Nrzcn911v5WtkD20OTL3KyzvS4z6Ob15alT3oTrIaa093SVuw9XH-eqhxm2gp92EKHI3nDQ3pw2KAl2mx943K2xKxSV0pvBEpHK3Z7pdJwYdxMVgn9DEK9UVW526Sqz_0XDld3glaymOp97CnEcgXLBOQR4H79znburPjPYithpkZUWa_J7lbCHB85jVZLSEPOIcz5-hxvXfDl0k_eugYoMOs2Rzg7DHJyQUmNmMxqrtRyXz_ePuQueOQXAwaBxNhsQ4SImcjoWSDwDwYp7kot3QLxPrutJsrOCo6AFvBlAAIlc7flpv3ISVRdDQ1VgM-o4MVlZt8KY3mlq_flpXteq0SrZ_X2t5..&spm=a1z09.2.0.0.67002e8dRSmUmw&skuId=5280661228708</a></span></span></p> <p> </p> <p><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db">电池下单备注<span style="color:#e03e2d"><strong>出线方向请按店家的图片,反方向焊接。</strong></span></span></span></p> <p><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db"><img src="//image.lceda.cn/pullimage/ZceHs5eu4BkjAyG8EMVx2WafqawXexLszcr12uMa.png" alt="" width="681" height="357"></span></span></p> <p> </p> <p><span style="color:#95a5a6;font-size:14px"><span style="color:#3598db">bq40z50电池板上还需要额外补焊的物料</span></span></p> <p><img src="//image.lceda.cn/pullimage/yABgoFOzg6koevMJ66RZBuLQBoYaiKvs1pvpX42X.png" alt="" width="878" height="145"></p> <p><a href="https://item.taobao.com/item.htm?_u=j9vteub0ac0&id=587928744176&pisk=gqsjyCbYbpAyHZ0VJleyRWghErKsf1ZUXA9OKOnqBnKv5cBVOdow7rvsfQ6LnIzgo1_56_Y2MC8wfd1eZtoanty_fOBpMh72gdCP1_0VgGRNal6hOEoVBGkcr6WK0izDbctDjhFUTkrUntxMX6yVpkhmwdJTbcdvHt0XgtaLTkrFFrpDbTFF0IsBtpJEXhLvkLKJZd9xMCC9y0pMwmptDdh8FdAJXcLxDbBJdKGxHmCt2YpphdhtDCpJ2ppeXCC9WfvxddaXitwl95-7_uFMuQitXg98sIBbzVR50KMvttO79eIJhXAdHQitXInEqIBd1SiHHG9fyGL0rS6fUZC2E1ZQNeTh8w8kfliJcsXAXUsaaYLB2CTd0UMK2U5XC9ph1lgMvsRvJNt_qYAA-a5A2hDErn7FLGYdDoGHaev1ew5aQ21d4LieOfMn5YTnfLOUF8giSwjlDPOTdSNXkLvXz8wSMNYvEL97F8ggJEpkhK27FjUP.&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub0ac0&id=587928744176&pisk=gqsjyCbYbpAyHZ0VJleyRWghErKsf1ZUXA9OKOnqBnKv5cBVOdow7rvsfQ6LnIzgo1_56_Y2MC8wfd1eZtoanty_fOBpMh72gdCP1_0VgGRNal6hOEoVBGkcr6WK0izDbctDjhFUTkrUntxMX6yVpkhmwdJTbcdvHt0XgtaLTkrFFrpDbTFF0IsBtpJEXhLvkLKJZd9xMCC9y0pMwmptDdh8FdAJXcLxDbBJdKGxHmCt2YpphdhtDCpJ2ppeXCC9WfvxddaXitwl95-7_uFMuQitXg98sIBbzVR50KMvttO79eIJhXAdHQitXInEqIBd1SiHHG9fyGL0rS6fUZC2E1ZQNeTh8w8kfliJcsXAXUsaaYLB2CTd0UMK2U5XC9ph1lgMvsRvJNt_qYAA-a5A2hDErn7FLGYdDoGHaev1ew5aQ21d4LieOfMn5YTnfLOUF8giSwjlDPOTdSNXkLvXz8wSMNYvEL97F8ggJEpkhK27FjUP.&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p> </p> <p><img src="//image.lceda.cn/pullimage/2KssL839c6jWZf3TbRwkeVTHAp9KOtqSdmyVUHiC.png" alt="" width="926" height="169"><a href="https://detail.tmall.com/item.htm?_u=j9vteub189c&id=614012458703&pisk=gxIqypACE2n5gJEBFLKwLM23j5tv8nVQsGO6IOXMhIA0WKZibOWHC-FTHaJG1_eTHn6M_15Wwc9_k5nNas6hlE11lCvMZ_XjcCZv71WC91i_DZ9ib_69S1sNBcJGI1ev1-U5HtK9jWNC_k6AHjEw-Wj2IbXlednmmkw84l2yjWNQb4MkkStGGmWno00kpQvDnCY0U3v6pcxMSKXuUdvsiVmcsT2ywpvmimxiruvH3jxMIEvlEd9sjqmimTAkwdxiifVdnOmydE2IrjEMkVFhIBXDacmEpp80m_usmm2HHEAHrriZbRp2uBXDaW7bkp8FiFSTL05PbC869EH3B3XdPsvyYr2BfiBWmK5gx2OlzTjvRTU0a9-2Mejk8PnOTs7CiKW80q6k0dxDpaPEDn6eansWxkhD1a6FbdST6u5F_pCvciGV4aG9E1JGXZli7EvJUBwzU5jOaoVgBxerWVLkvLRQhKgtWEAHUBwrFV39rC9yO-Zd.&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://detail.tmall.com/item.htm?_u=j9vteub189c&id=614012458703&pisk=gxIqypACE2n5gJEBFLKwLM23j5tv8nVQsGO6IOXMhIA0WKZibOWHC-FTHaJG1_eTHn6M_15Wwc9_k5nNas6hlE11lCvMZ_XjcCZv71WC91i_DZ9ib_69S1sNBcJGI1ev1-U5HtK9jWNC_k6AHjEw-Wj2IbXlednmmkw84l2yjWNQb4MkkStGGmWno00kpQvDnCY0U3v6pcxMSKXuUdvsiVmcsT2ywpvmimxiruvH3jxMIEvlEd9sjqmimTAkwdxiifVdnOmydE2IrjEMkVFhIBXDacmEpp80m_usmm2HHEAHrriZbRp2uBXDaW7bkp8FiFSTL05PbC869EH3B3XdPsvyYr2BfiBWmK5gx2OlzTjvRTU0a9-2Mejk8PnOTs7CiKW80q6k0dxDpaPEDn6eansWxkhD1a6FbdST6u5F_pCvciGV4aG9E1JGXZli7EvJUBwzU5jOaoVgBxerWVLkvLRQhKgtWEAHUBwrFV39rC9yO-Zd.&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p> </p> <p> </p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d">2.主板硬件</span></p> <p style="line-height:1.8">一共做了2版</p> <p style="line-height:1.8">V1.0  20240701:   基础版 </p> <p style="line-height:1.8">V1.1  20240908:   </p> <p style="line-height:1.8">          1)将环境光传感器/距离传感器,SHT4x温湿度计,LED闪光灯从底板调整到顶部灯板上。(新增了一个顶部灯板,和主板通过排线相接)</p> <p style="line-height:1.8">          2)引出域格4G模块的模拟麦克风及模拟喇叭。用来打电话时的呼叫和收听声音。(通话声音从4G模块直接走,由于泰山派自带声卡的限制,无法和系统声音做到一起)</p> <p style="line-height:1.8">          3)去掉移远的L80RE-M37  GPS模块。(焊盘保留,不焊)。主要是由于购买的域格的4G模块自带GPS功能,软件上将此功能调通后,可以节省一颗物料,缩减成本。</p> <p style="line-height:1.8">          4)40P的主排座更换为FH-00325,排座高度从之前的20mm降低到12mm.(V1.0版本的排座选型太高了,实际测试不用这么高)</p> <p style="line-height:1.8">          5)调整了3个实体按钮(音量+,音量-,电源开关机按钮)的摆放位置。V1.0摆放位置不合理,会压到排线。</p> <p style="line-height:1.8">          6)新增typec模拟耳机,数字耳机切换芯片。并调整了typec口的接线。用以兼容模拟/数字typec耳机。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/H7rzRgw60ahK9DaK8U3mQbrrYmQ4JrOuf45k8FkC.jpeg" alt="" width="819" height="615"></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/hY03TwCjFiWtKmVMGjs3PFqbCNrk5fTKFwcUM9Pt.jpeg" alt="" width="816" height="612"></p> <p style="line-height:1.8">使用的4层板,大部分阻容使用的是0603封装,板卡空间大,使用0603也方便手工焊接维修。</p> <p style="line-height:1.8">其中比较重要的走线是DSI及MIPI及USB相关走线。以及充电的线宽,电容耐压值的选择。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">DSI屏幕走线及MIPI CSI走线主要是走差分对,涉及到差分对间及差分线的等长。差分阻抗。</p> <p style="line-height:1.8">USB走的是USB2.0。主要是注意90欧的差分阻抗。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">DSI屏部分的走线</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/cAfsVCgfmP8rGeyciSLU2l2pMOiZvbZnWd9BXl5t.png" alt=""></p> <p style="line-height:1.8">MIPI CSI摄像头走线</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/3StBTgdZ4stzQevjm3AB18VAtGNuO0tkgL7LntxU.png" alt="" width="853" height="676"></p> <p style="line-height:1.8">充放电部分的走线,尽量走粗。typec输入端电容的耐压值选择的是35V耐压。主要是PD快充可以支持到20V的耐压。后期驱动上可以配置20V的充电电压。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/QNMrG6macyfzR1T6NlfpPYuqKoV1MvoZuf8oAV6G.png" alt="" width="1094" height="654"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">4G模块,选用域格的CLM920 NC5的全功能模块即CLM920 NC5 mdgv(只有全功能模块才支持打电话,发短信,GPS和4G上网)</p> <p style="line-height:1.8">同时也感谢域格的技术支持,提供了相关使用及移植指导。</p> <p style="line-height:1.8"><span style="color:#3598db"><a style="color:#3598db" href="https://detail.tmall.com/item.htm?_u=j9vteub314c&id=774156159013&pisk=g7fEPyxfSxh6orFX5Fdyus4lJmRp_Bqbq_tWrabkRHx3eeNoaa7DPyE8JO8lVGU8JB_k4gS6XbT7puhPbM_cdps5d3YkjGbIO3NpUg7fDgG799ToaG_JEg1Pyb8lrgUpVye1JwdJZoZf4S_dJRUL3g5EtdDGWUioZSaT_74wZoZbaAgMpkOlAX5gnFDMkhYH-3xu7AY2-QYk-Q4wjU8xEDjkZPzwPEGHrXxojdYp-Qmnt3AisE8rK2AkKh4wyhxo6p7hrf8XKrMGv5-QAPywqwxZZbf3wdtqZHY9-1SyKnvMXbY1_eJemwfHWD5yut5wh943KERyXwC6LShXwN6V4Tbqfu8OCES2uMySyHWGl6tCuqlN7BKeE_b_EyvNltS2Ai28VNJkuMdhtlieaC8vFTSQXbxC3Njwh1isGKJAht99igyS2Fjyr_BEqYJHWF-b7PrlwGP3qz3L7YHJIILwcyTIeYpHmF-b7VM-edxW7naQM&spm=a1z09.2.0.0.67002e8dRSmUmw" target="_blank">https://detail.tmall.com/item.htm?_u=j9vteub314c&id=774156159013&pisk=g7fEPyxfSxh6orFX5Fdyus4lJmRp_Bqbq_tWrabkRHx3eeNoaa7DPyE8JO8lVGU8JB_k4gS6XbT7puhPbM_cdps5d3YkjGbIO3NpUg7fDgG799ToaG_JEg1Pyb8lrgUpVye1JwdJZoZf4S_dJRUL3g5EtdDGWUioZSaT_74wZoZbaAgMpkOlAX5gnFDMkhYH-3xu7AY2-QYk-Q4wjU8xEDjkZPzwPEGHrXxojdYp-Qmnt3AisE8rK2AkKh4wyhxo6p7hrf8XKrMGv5-QAPywqwxZZbf3wdtqZHY9-1SyKnvMXbY1_eJemwfHWD5yut5wh943KERyXwC6LShXwN6V4Tbqfu8OCES2uMySyHWGl6tCuqlN7BKeE_b_EyvNltS2Ai28VNJkuMdhtlieaC8vFTSQXbxC3Njwh1isGKJAht99igyS2Fjyr_BEqYJHWF-b7PrlwGP3qz3L7YHJIILwcyTIeYpHmF-b7VM-edxW7naQM&spm=a1z09.2.0.0.67002e8dRSmUmw</a></span></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/TC5LSpPBVFdBN0ocQ3D8IA4b4b3FqXPwn3y9n0AG.png" alt="" width="842" height="341"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">摄像头购买</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/t0xL6XIhZBgE6tUk3Tz5gXZTBxlcprGkzSAN7Ata.png" alt="" width="831" height="201"></p> <p style="line-height:1.8"><span style="color:#3598db"><a style="color:#3598db" href="https://item.taobao.com/item.htm?_u=j9vteub6455&id=690216988471&pisk=gxpqPObBqWeSYBMCVgBNYpmMDyWAst0ISd_1jhxGcZbm6iMgQh-hfm3tDQSM5UntDttG7F85yRssMVewzEtHGsT6GNjGrUxbhNMA_F-BJFwsHIsgQUtOsF9wXRSMjFnA5mhWDnBOI2gB7vtvDbnxTFJVjYbk2Gw0Ivi-UAmPI2gIQ7ZlMq6Ml-JnTgVlvajcmNbi47jAAOjGmOmPrGSLsrYGI0oPfMwcj-bgr_jAmOVgiOflEMS4SPbgnTmPXaqmsEtDj8SCiDNkkY7bXyDcSnbzIRvmB1bEdZsRYLo1Mw-D3-exXi5V-nbr8IGAY68c_dnUUUJN71_dMkmOEHdWogWEiD66H36c0FD3OaAyqKCB2j0yYt7AtLfE6RLeuBTc03H4G3XVjtjpa2yAhH7PhL6nprb6NHJNbd3tUe8NvEBXhrSzPPIk7Gv9gPVNigIPR0orSdLrnVmTD0PT6_Xd4wifc5FOiwjPR0r765Cl5g7IcvC..&spm=a1z09.2.0.0.67002e8dRSmUmw" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub6455&id=690216988471&pisk=gxpqPObBqWeSYBMCVgBNYpmMDyWAst0ISd_1jhxGcZbm6iMgQh-hfm3tDQSM5UntDttG7F85yRssMVewzEtHGsT6GNjGrUxbhNMA_F-BJFwsHIsgQUtOsF9wXRSMjFnA5mhWDnBOI2gB7vtvDbnxTFJVjYbk2Gw0Ivi-UAmPI2gIQ7ZlMq6Ml-JnTgVlvajcmNbi47jAAOjGmOmPrGSLsrYGI0oPfMwcj-bgr_jAmOVgiOflEMS4SPbgnTmPXaqmsEtDj8SCiDNkkY7bXyDcSnbzIRvmB1bEdZsRYLo1Mw-D3-exXi5V-nbr8IGAY68c_dnUUUJN71_dMkmOEHdWogWEiD66H36c0FD3OaAyqKCB2j0yYt7AtLfE6RLeuBTc03H4G3XVjtjpa2yAhH7PhL6nprb6NHJNbd3tUe8NvEBXhrSzPPIk7Gv9gPVNigIPR0orSdLrnVmTD0PT6_Xd4wifc5FOiwjPR0r765Cl5g7IcvC..&spm=a1z09.2.0.0.67002e8dRSmUmw</a></span></p> <p style="line-height:1.8"><span style="color:#000000">注意:需要购买带自动对焦的摄像头,本项目上驱动上已经适配了自动对焦功能。如果购买定焦摄像头,则无法使用自动对焦功能。</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="color:#000000">模数typec耳机切换芯片</span></p> <p style="line-height:1.8"><span style="color:#000000">选择的是DIO32020LP10</span></p> <p style="line-height:1.8"><span style="color:#000000">注意:这款芯片非常的不好买,当时器件选型的时候没注意。看淘宝上有好多家,结果一问都是没货。</span></p> <p style="line-height:1.8"><span style="color:#000000">最后挨个问了十多家才最终买到,价格也算可以。</span></p> <p style="line-height:1.8"><span style="color:#000000">此功能算是锦上添花的功能,没买到也没关系。无非就只用数字typec耳机即可。</span></p> <p style="line-height:1.8"><span style="color:#000000"><img src="//image.lceda.cn/pullimage/I5pyNn1QykNmP4pmkj2xKmayHGe7cNig5wAcWQ6l.png" alt="" width="863" height="169"><span style="color:#3598db"><a style="color:#3598db" href="https://item.taobao.com/item.htm?_u=j9vteub4298&id=794867141097&pisk=gbnrPeVsnNIXIn-_h-EUQcvMxBZ8VuA6tDNQKvD3F7VkJ8thYvkgdLdpeqynOjppeuM3TXlbMMwByBIEgbMiPzGIPW23ijD5VWt88Xks6XsB24whYjML-XiEpMynKXp8OLLjeYELxCOsThM-e_KUSCmPqrbmHJBlrh9v0Hv4xCO6YZ60yQZnNguGK-b0BS2uEW4k3-2UCk23Zkv4iJyO-_c3xKJ4BJ5lZk2Hms27BkflrWXcoR2Fx8qhrsv4pSVn6nHoKiy_rd_cwH4RgKyQsYVVxGWTpzvq3wsCApe7y540gM2j08zzsYmuH_oUQVo454vkrRrUMYnbzhI_vxgZT2DNGByxlRlaQb8Cp7umC0NSQOSq3uFz-DDX-L4qCVlaNfYpOxz3QbEoqI1zYoyTR2lWMMVS7xc45m1ffPzt5VaYjgR59-cUKD3PtwzuH-P63KRnvj-ktpBJ3wQLole41Lw5JwUus-P63t_dJrVQ359WX&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub4298&id=794867141097&pisk=gbnrPeVsnNIXIn-_h-EUQcvMxBZ8VuA6tDNQKvD3F7VkJ8thYvkgdLdpeqynOjppeuM3TXlbMMwByBIEgbMiPzGIPW23ijD5VWt88Xks6XsB24whYjML-XiEpMynKXp8OLLjeYELxCOsThM-e_KUSCmPqrbmHJBlrh9v0Hv4xCO6YZ60yQZnNguGK-b0BS2uEW4k3-2UCk23Zkv4iJyO-_c3xKJ4BJ5lZk2Hms27BkflrWXcoR2Fx8qhrsv4pSVn6nHoKiy_rd_cwH4RgKyQsYVVxGWTpzvq3wsCApe7y540gM2j08zzsYmuH_oUQVo454vkrRrUMYnbzhI_vxgZT2DNGByxlRlaQb8Cp7umC0NSQOSq3uFz-DDX-L4qCVlaNfYpOxz3QbEoqI1zYoyTR2lWMMVS7xc45m1ffPzt5VaYjgR59-cUKD3PtwzuH-P63KRnvj-ktpBJ3wQLole41Lw5JwUus-P63t_dJrVQ359WX&spm=a1z09.2.0.0.71392e8dzCF09R</a></span></span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="color:#000000">如果没买到DIO32020LP10,原理图此处可以选焊 R114,R115。来绕过此切换芯片,typec直接接上USB2.0.</span></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/AvLdPjKbqEPG52SNPPcyKo0XJkLnY85yfzZHMmHd.png" alt="" width="759" height="604"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">注意磁力计和陀螺仪的PCB摆放方向不能随意摆放(不然会导致坐标和实际有差距,得软件驱动重新调整。可能会比较麻烦)。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/DRF9lruthBRPbF3OYlx7tN1BAci2zQN1Bk0S4Fqy.png" alt="" width="592" height="489"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">主板也是在立创SMT。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d">3.结构部分</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">使用的FreeCAD绘制外壳。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">后续使用FreeCAD转换成,stl格式。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">正好Freecad也有ubuntu版本的软件。可以在编译安卓系统的同时,不用来回切换windows。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d"><img src="//image.lceda.cn/pullimage/MvXRTrPfKwjDJyHRjI8VcKUBS31rYOdg0NQp8iT9.png" alt="" width="785" height="446"></span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">之前没有设计过结构。在B站上找了一个freecad的教学资源现学现卖。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">同时也感谢立创eda.可以将绘制好的板卡导出3D模型。方便我加载到freeCAD软件中。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">可以进行模拟装配,方便我有些开孔位置绘制,对准。结构上的开孔可以很方便的看出来有没有对准,尺寸有没有开合适。</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#000000">最终也是找的立创进行的3D打印。精度也还不错。重要孔位都是OK.</span></p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d"><img src="//image.lceda.cn/pullimage/4EfCB7CBcggJjanOu3xKj4n9fWdyFYmwUvoPgsdo.png" alt="" width="862" height="485"></span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">5、软件部分</h3> <hr> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">涉及的软件较多,每一样基本上都是调整,编写驱动或修改android系统中间层。</span></p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">准备介绍几个典型的。</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">1)SHT4X</span></p> <p style="line-height:1.8"><span style="color:#000000;font-size:14px">4.19内核里默认没有这个驱动。准备自己手写的。</span></p> <p style="line-height:1.8"><span style="color:#000000;font-size:14px">当时偶然在一个6.1的内核里找到了官方SHT4X驱动。就直接移植过来了。</span></p> <p style="line-height:1.8"><span style="color:#000000;font-size:14px">涉及到驱动,内核编译。设备树的调整。</span></p> <p style="line-height:1.8"><span style="color:#000000;font-size:14px"><img src="//image.lceda.cn/pullimage/oWFfEhhfUg6KenBFlJujfZh8D7cqBn9OY2UFq99N.png" alt="" width="631" height="440"></span></p> <p style="line-height:1.8">当时移植后,可以通过ADB使用命令读取到温度和湿度的值。</p> <p style="line-height:1.8">即通过cat /sys/class/hwmon/hwmon0/temp1_input</p> <p style="line-height:1.8">和cat /sys/class/hwmon/hwmon0/humidity1_input</p> <p style="line-height:1.8">读取温湿度数据,驱动里面默认配置的是2000ms刷新一次。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">但是如果想在Android app上显示温度和湿度,还需要做一些额外的工作。</p> <p style="line-height:1.8">这个时候就需要使用JNI编写应用层的中间件及读写库。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/mUgPZzhJSVv0HJPCq5TBR3caYMu7ZVqP7Lyq223S.png" alt="" width="788" height="1032"></p> <p style="line-height:1.8">编写库函数的CMakeList.txt</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/QGMZTsQhy0jurU7Xzon7qB6zSc5oBp8vINuYqrGW.png" alt="" width="650" height="515"></p> <p style="line-height:1.8">新建build目录,并在build目录中编写编译脚本</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/aStMvoPZVxXNNffiM5yP1PE7qrArdYCWTLxgXH7g.png" alt="" width="864" height="689"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">这时候执行编译脚本会生成所有架构的库</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/61Tj8GzD9DfoPffdN8eToLDOP6pj0ygFUamKiSfI.png" alt="" width="697" height="284"></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/IVr0ZP9G5W47t4YKRIze93tbKsUezhsjCmZJJ329.png" alt="" width="765" height="231"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">打开Android stdio,编写应用程序。</p> <p style="line-height:1.8">将编译好的库都放进应用程序的工程里,编写JNI中间件来调用此库。</p> <p style="line-height:1.8">将库导入工程。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/3Bdsoya6nQXW34vBXhHJe4x5x4WwR1u5rItrJpW5.png" alt="" width="843" height="480"></p> <p style="line-height:1.8"> 编写界面</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/d2whtQTvd9SxmF1XOh9h5NR2U4yYXBUL1eLFhE2G.png" alt="" width="856" height="515"></p> <p style="line-height:1.8">编写JNI中间间,JNI是JAVA和C++之间的桥梁。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/hjv2TSadCxa6cs586PwRtyjnvSvLM8c2XeI0lrIq.png" alt="" width="862" height="704">JAVA里开了一个2s的进程,每隔2s都去去读传感器的温湿度值并在app上刷新。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/MdVL7r7QSHqcyDYYGXAJSWSoqDjR9JrrdjKA1ZFc.png" alt="" width="860" height="546"></p> <p style="line-height:1.8">调试使用Android studio的debug模式辅助打断点调试。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">最终效果</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/hnlLHNiY1pKRMD5QMkmXWSzENEeldJCok780dX13.gif" alt="" width="320" height="569"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d">2.bq40z50驱动</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">由于内核中无bq40z50驱动,故需要从头编写此驱动。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">bq40z50是通过I2C和泰山派进行通讯的。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">所以驱动需要包含I2C的驱动框架以及电源power_supply的驱动框架。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">即通过I2C读取电量百分比,电池电压,电池电流,电池温度,是否在充电等。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">读取到的数据,再通过power_supply框架往系统上上报。</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">驱动还做了相关兼容(即如果没加电池,直接使用typec供电,系统不会应为读不到电池电量而认为电量是0%从而导致开机上电后进系统再因为电量低而自动关机)</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">需要拿到bq40z50 R2版本的寄存器手册(电池校准的时候,烧录的固件是R2.11版本的电池固件)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/alKJ6ZLigQFih9eatRLZfTlbeMzla0TrIcTfSUJH.png" alt="" width="969" height="525"></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/mWqE7P93DWqvRk47o0VktnsDvUqi8dhpr1zOwgZL.png" alt="" width="1013" height="554"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">驱动配置的支持的相关功能</p> <p style="line-height:1.8">比如电池健康度(健康程度100%还是78%,和苹果手机能看到的电池健康度一样,可以读取bq40z50获取,本驱动暂未读取实际值)</p> <p style="line-height:1.8">电池类型(锂电池还是其他类型电池)等。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/LqAqvAPVegNkFdl8trinKWjjKgMzsPZPQWJniupH.png" alt="" width="870" height="768"></p> <p style="line-height:1.8">驱动编写好后,编译到内核即可。</p> <p style="line-height:1.8">使用泰山派的android编译指令。</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:14px;color:#7e8c8d">3.域格4G模块</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">复刻的时候,需要通过adb进入系统。输入指令</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">echo "AT+USBCFG=9125\r\n" > /dev/ttyUSB1</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">来配置模块开启GPS端口。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">此时才会新增ttyUSB2.(重新掉电也会记住,不需要每次上电都执行)</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">移植域格的4G上网及GPS功能可以移步域格资料库,下载最新的ril库和gps库。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">根据域格厂家提供的文档移植即可。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000"><a href="https://docs.yuge-info.com/doku.php?id=nc5" target="_blank">https://docs.yuge-info.com/doku.php?id=nc5</a></span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">同时兔哥提供的补丁patch里也会包含配置好的ril和gps库。打好补丁,重新编译一遍即可。</span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">4G打电话发短信模块,需要依赖系统的拨号软件及短信软件。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000">4G打电话的听筒音量也需要额外配置。这些配置也在兔哥的补丁里,打上补丁就有。</span></p> <p style="line-height:1.8"><span style="font-size:16px;color:#000000"><img src="//image.lceda.cn/pullimage/L6GNLWfTQYH5OrYtFnkhxEEpTVMklo5hpG6hf3NA.png" alt="" width="646" height="709"></span></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">补丁安装说明</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/3jj7CvLtUpzC2gxoTrFw1biM8dMACYO8EgThrJrM.png" alt="" width="557" height="477"></p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">6、BOM清单</h3> <hr> <p style="line-height:1.8">剩余立创无法SMT/或缺料的物料采购链接如下:</p> <p style="line-height:1.8">1)电池连接线</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/2W7lRiag0Zptqt3EbYyaruyleQF2k1ThC0czrQUe.png" alt="" width="833" height="361"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteubb082&id=529136268551&pisk=g5imyqskQwX_cBQ71LrXSBuB__Y8ktZsbfIT6lFwz7PWCZQvhPyZIfmtkAPTjfcisSUwGoniZvM9hcpb0h2Z9bqtHSFtZdcxCGdX5oINsjMeGxF9hcVaZjlg5KNT_5ctQqpJvHHjhlZajBKpvnq6ZGlc7Pz2QgyYnB3-uZ3EhlZwsTIwJHDjTPZUH-yaUL2TIGyq_rrPaJNzQZrZ_7zzLJC4bllwE8yTdsPaQZ5y4JPPuR74u77zIJCNu-z2EYP7IfbfbWmZV0RXE1e2pqfgb-40TxPqHvnPGy_je724U0ymEnH0Z8e-q-40TzbTJrniKAoYq2fwuvqSvPnrMhj7Dv0z45r6VTVY-ql0UYOGxSuKdvFautSqFoVuzSMlgKrtKqkLIYBGjXznJ2zofHsjnyN7q8i9NiPizVoYll12QfMKGcgG42_P8DPcf8Jt4N__u8wu9OKtvr-HMxGwELbBlry7HBpkEN6zu8wotLvlRTU4F-Uf.&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubb082&id=529136268551&pisk=g5imyqskQwX_cBQ71LrXSBuB__Y8ktZsbfIT6lFwz7PWCZQvhPyZIfmtkAPTjfcisSUwGoniZvM9hcpb0h2Z9bqtHSFtZdcxCGdX5oINsjMeGxF9hcVaZjlg5KNT_5ctQqpJvHHjhlZajBKpvnq6ZGlc7Pz2QgyYnB3-uZ3EhlZwsTIwJHDjTPZUH-yaUL2TIGyq_rrPaJNzQZrZ_7zzLJC4bllwE8yTdsPaQZ5y4JPPuR74u77zIJCNu-z2EYP7IfbfbWmZV0RXE1e2pqfgb-40TxPqHvnPGy_je724U0ymEnH0Z8e-q-40TzbTJrniKAoYq2fwuvqSvPnrMhj7Dv0z45r6VTVY-ql0UYOGxSuKdvFautSqFoVuzSMlgKrtKqkLIYBGjXznJ2zofHsjnyN7q8i9NiPizVoYll12QfMKGcgG42_P8DPcf8Jt4N__u8wu9OKtvr-HMxGwELbBlry7HBpkEN6zu8wotLvlRTU4F-Uf.&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">2)猫屏</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/2himMQ3yCrAsUMbka3lQfJKl9y6Ad6yyQsiYaH3e.png" alt="" width="947" height="172"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteub5e7c&id=770089590489&pisk=gSDrr24sm1BbgK9_coeUbAxMKew8w8Y6-vaQxDm3Vz4k9u9hLDogA3Lp2jrnRqKp28i382ubk9ZBweBEu4iiN7gINyq3oqm5Fy98T2osW26BebZhLqiLt2MEv9rnx2K8R3dj20eLKFTs8di-2apUsFDz--qmDkahqdtv3px4KFT6Lss0wUwnPToi5sf0XrquqyVk0-qQX923tumD0kqCr6Xo-mx4klqlrT2hiKqg4a2hETmmmuEPZg23-iv0kk23xycGI0mh3lNkfsbJK7C2uqziqrWhQGEaZNgFOTWPwoPuSSbCL9rL47ziqr8ZNQEa_4VEphWquvzUOPFRjHemXjgu0RRkfJM-c8qr-df_ojome5ivZEoaUzFin5RdpVur14qrDL5Sm8r3Elh27TeSbryShRvOryGjbvrEpepq72rty8M5zgzdJo0UxvhP-6PuDoz60n8npqJk-HIJ06CLiRE453Z596Frloz6mO5d9S4Q0PtkT&skuId=5277499988543&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub5e7c&id=770089590489&pisk=gSDrr24sm1BbgK9_coeUbAxMKew8w8Y6-vaQxDm3Vz4k9u9hLDogA3Lp2jrnRqKp28i382ubk9ZBweBEu4iiN7gINyq3oqm5Fy98T2osW26BebZhLqiLt2MEv9rnx2K8R3dj20eLKFTs8di-2apUsFDz--qmDkahqdtv3px4KFT6Lss0wUwnPToi5sf0XrquqyVk0-qQX923tumD0kqCr6Xo-mx4klqlrT2hiKqg4a2hETmmmuEPZg23-iv0kk23xycGI0mh3lNkfsbJK7C2uqziqrWhQGEaZNgFOTWPwoPuSSbCL9rL47ziqr8ZNQEa_4VEphWquvzUOPFRjHemXjgu0RRkfJM-c8qr-df_ojome5ivZEoaUzFin5RdpVur14qrDL5Sm8r3Elh27TeSbryShRvOryGjbvrEpepq72rty8M5zgzdJo0UxvhP-6PuDoz60n8npqJk-HIJ06CLiRE453Z596Frloz6mO5d9S4Q0PtkT&skuId=5277499988543&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">3)USB 2.0typec公头+软排线5cm(用来连接主板到泰山派的,使用USB typec相关功能用到)</p> <p style="line-height:1.8">价格有点小贵,懒着自己画了。使用的时候要把typec头上面的电阻去掉。以免影响主板的typec设备识别功能。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/sEoGOyJ7Q5p8qeGeiI2rcLHv34ZwSpYYrLXEiGVw.png" alt="" width="837" height="466"><a href="https://item.taobao.com/item.htm?_u=j9vteubf9e9&id=749280110543&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubf9e9&id=749280110543&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">4)猫屏连接器(焊接到主板上的)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/hZp89iI3x1za3ILI101aaa7CRMxsPpCzWZibTbry.png" alt="" width="989" height="175"><a href="https://item.taobao.com/item.htm?_u=j9vteub6bec&id=681866176620&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub6bec&id=681866176620&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">5)地磁传感器(建议最好还是多买一点,芯片非常小,且是BGA封装,很容易飞不见了)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/9XuQGjbLcqQxuiEFW8zwRxFxkNdYXiolCvhlHMBG.png" alt="" width="1012" height="199"><a href="https://item.taobao.com/item.htm?_u=j9vteub5004&id=691272720383&pisk=g_FqyZiQrpd5YcCIP4hZ8WbhsGGxXjjCj5isSP4ilmmcBq1M_Pzn5ZIOk8ugfuQOkjaiblrS2Cg1HGda4oa3hxZ_hc0iqu4XGc1xQlzQvlO1M-gM_uatIlNaWCugSlQxfZB7krhtsMsQb6aYknCZKMVqjbAuyV3Mi6_Ra1brsMsC_VALaGGgcIl3AQvoJ00mocDGzb0iJnciIq4lzV06mdA0jzbr220DmIcME_0nunciSKcoE206mVcimUmo2VcMifu3oPArRxbBEnCiHFfRGDzm4CAgi1HEY6cSyVVP_xmUoSPTs7PK3D4m4CjF53HEm2VhVK3E3lkuNPTB1ja0pl33mnbgXyZY6JqlaIk8nzPZp5B6GrcZ0vNm3EjxUAP4D2qlCKHSimlzKl_MLcU7LA2IHnSSfJa7iYrhVQrtQ5ljJ8IdNgyyX4qZS5e2jdkmy4oCzaSg6u5cjNLAzdptEX3rAZgXBdHm-4oCzaJ9BYmszD_cQ&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub5004&id=691272720383&pisk=g_FqyZiQrpd5YcCIP4hZ8WbhsGGxXjjCj5isSP4ilmmcBq1M_Pzn5ZIOk8ugfuQOkjaiblrS2Cg1HGda4oa3hxZ_hc0iqu4XGc1xQlzQvlO1M-gM_uatIlNaWCugSlQxfZB7krhtsMsQb6aYknCZKMVqjbAuyV3Mi6_Ra1brsMsC_VALaGGgcIl3AQvoJ00mocDGzb0iJnciIq4lzV06mdA0jzbr220DmIcME_0nunciSKcoE206mVcimUmo2VcMifu3oPArRxbBEnCiHFfRGDzm4CAgi1HEY6cSyVVP_xmUoSPTs7PK3D4m4CjF53HEm2VhVK3E3lkuNPTB1ja0pl33mnbgXyZY6JqlaIk8nzPZp5B6GrcZ0vNm3EjxUAP4D2qlCKHSimlzKl_MLcU7LA2IHnSSfJa7iYrhVQrtQ5ljJ8IdNgyyX4qZS5e2jdkmy4oCzaSg6u5cjNLAzdptEX3rAZgXBdHm-4oCzaJ9BYmszD_cQ&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">同时建议购买一个USB放大镜,不然肉眼无法看到芯片的1脚在哪(或者可以把芯片购买了寄给立创SMT)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/rKitFdK4qFgkzBG7U6BuyYi9lwFa3GPS1SPkG2np.png" alt="" width="674" height="206"><a href="https://item.taobao.com/item.htm?_u=j9vteubfdeb&id=19089912954&pisk=gDdquOsBrJFWZXcCPaCN8B0Mkk5AhsmIjCs1SFYGlijmBZGg_F8h5qntkL7Mf33tksTGbh-525_sHcFw4nTHhtt6hGbGq3YbGGGAQh8BvhNsMK_g_3TOIhOwW57MSh3AfqHWkECOsDiBbXTvkY3xLhRVmufkyNUcoXg-af0PsDiI_8alHm1McSWklg2lJgbcoGjizgbG-1bGo10PqN7LIoxGs4uP5wNcSSjgqTbAo1b0n14oZZ_NSrbcj48l2NcGlEYgaw6mR8xxaiZI-fswogPgsIcOiMudvaQ6a-WcAEA44u7OutSHogoehxQFLnXw62Py4CSNCMBY-VCkJLtcz6kmR1OvPsb2jX2CqL8kM9T-n08FgiBHZ9kT6H-2dnb2yjyXrs7GiwprYSCX8g5XN6cLmG9W8C7w6chyYh7pDsOb0gyzXaxNSCp4jRWcyaSIz4oM63lmjVUxzReOE6QPAq_bBRBc-aSIz4yTBTj1zMgmQ&spm=a1z09.2.0.0.67002e8dRSmUmw" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubfdeb&id=19089912954&pisk=gDdquOsBrJFWZXcCPaCN8B0Mkk5AhsmIjCs1SFYGlijmBZGg_F8h5qntkL7Mf33tksTGbh-525_sHcFw4nTHhtt6hGbGq3YbGGGAQh8BvhNsMK_g_3TOIhOwW57MSh3AfqHWkECOsDiBbXTvkY3xLhRVmufkyNUcoXg-af0PsDiI_8alHm1McSWklg2lJgbcoGjizgbG-1bGo10PqN7LIoxGs4uP5wNcSSjgqTbAo1b0n14oZZ_NSrbcj48l2NcGlEYgaw6mR8xxaiZI-fswogPgsIcOiMudvaQ6a-WcAEA44u7OutSHogoehxQFLnXw62Py4CSNCMBY-VCkJLtcz6kmR1OvPsb2jX2CqL8kM9T-n08FgiBHZ9kT6H-2dnb2yjyXrs7GiwprYSCX8g5XN6cLmG9W8C7w6chyYh7pDsOb0gyzXaxNSCp4jRWcyaSIz4oM63lmjVUxzReOE6QPAq_bBRBc-aSIz4yTBTj1zMgmQ&spm=a1z09.2.0.0.67002e8dRSmUmw</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">这个图是兔哥将板卡带到公司焊接磁力计。用的电子放大镜。</p> <p style="line-height:1.8">后面自费淘宝买的65块钱的那个也一样看到见。肉眼就不要想看清了。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/EXIPXZDI1BFko5EL1l7RgLokiTOsvXgpxzEqdf1n.jpeg" alt="" width="1090" height="818"></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">6)闪光灯驱动芯片及环境光传感器</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/BdcFS6pdTP9Gvz1mJHUQKgq97dk9Jgk5Ju5cDBFd.png" alt="" width="644" height="265"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteub2653&id=654560183424&pisk=g2SKyT2KZqvBAgDZ4baMrKnAVlegwgBFQ6WjqQAnP1COwtHh-UAkP3CVMUiu8HYJ21OGxBXHALT5Zs_HOwAo2gCN9DmkA_qJNt7aUBvhxYp556nl-9AhWYKFjwmktW-RFsx8iSq0m9Web3N0ii4hkt-XUL9IZpt_f3lAdvDbm9WeaKbwRPEmwB20E2gWN_t6fKJkVpOIAfw9eKdWVBTS1V9X1Qt5NQts1K9SPviIRfw9HKnSRLtWfA9WhLi5N3w9ffxUwCMBZ0Qr9A7LQfPMSFS9pedfBrosXPYiiKBBz0nJ97THGnAtV0s9pOgUsQn_VI_V1N_CkviMrhROapCz0D-BygKH3NP4Yh6fWtYdvSnHa6SJygTtE0Xp2MXfPOEZ4h1FPtSpWXnvqMB1xd5-h2XePNjeuMVsvn_VKHb5HfVJQNv54tscDRkKiIpoRRetz48BQTbmAOWGiNXpBI2L24uy7RJ9iR3xz48p9dd0pSgrzFLc.&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub2653&id=654560183424&pisk=g2SKyT2KZqvBAgDZ4baMrKnAVlegwgBFQ6WjqQAnP1COwtHh-UAkP3CVMUiu8HYJ21OGxBXHALT5Zs_HOwAo2gCN9DmkA_qJNt7aUBvhxYp556nl-9AhWYKFjwmktW-RFsx8iSq0m9Web3N0ii4hkt-XUL9IZpt_f3lAdvDbm9WeaKbwRPEmwB20E2gWN_t6fKJkVpOIAfw9eKdWVBTS1V9X1Qt5NQts1K9SPviIRfw9HKnSRLtWfA9WhLi5N3w9ffxUwCMBZ0Qr9A7LQfPMSFS9pedfBrosXPYiiKBBz0nJ97THGnAtV0s9pOgUsQn_VI_V1N_CkviMrhROapCz0D-BygKH3NP4Yh6fWtYdvSnHa6SJygTtE0Xp2MXfPOEZ4h1FPtSpWXnvqMB1xd5-h2XePNjeuMVsvn_VKHb5HfVJQNv54tscDRkKiIpoRRetz48BQTbmAOWGiNXpBI2L24uy7RJ9iR3xz48p9dd0pSgrzFLc.&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteubb8f6&id=704564570214&spm=a1z09.2.0.0.71392e8dzCF09R&skuId=4959801253101" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubb8f6&id=704564570214&spm=a1z09.2.0.0.71392e8dzCF09R&skuId=4959801253101</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">7)fpc排线(30P的是摄像头的转接延长排线,39P的是usb2.0 接4G模块,模拟音频排线)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/1PC5P4sWgqa51RisT829dffMgSxZ1R1lVIhJWYnc.png" alt="" width="768" height="339"><a href="https://item.taobao.com/item.htm?_u=j9vteub4ce0&id=645057046865&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub4ce0&id=645057046865&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteub9b52&id=618662306027&pisk=gA5oyWG08A0IevkXArR7KlW_Ym2xo4OCTMhpvBKU3n-bRYH8Pp8F-Mfdew-ptMjhx3pUVQChmN_LP6UWaWYFXiAdy3KdmyjRRXE7dQhExg_aVaKLP6xemgSHdztpYHjd8TUY65Q5PBOetlFT67AQmXSoaXJz8n897lBAUYBNPBOUxvzVzCb5bpMaPU8eurYp-X8FYL-q0F-28YRFYnJ27FnyTBSUoE8p50-e8Yo4gF-qLUle8xJ28ekeYplzoZ-X8fxKThfFGsr7oDLzWEi7jUJkba-msZ1HzJdb1EhEqs8loS7WmrUAiUvkbKDpBLChSw5JiOmUUNAf6pCV2WcXwNX2gHRQGqxJITSkuZZns3WO5NKeU4lPlQxD33_m4zRdST79-Z3ntGJGBOJcO5G5rdtXiE1Lcb-h395JFBiz8M_OV66h4VHqQ1-oOEzdgvMBUETDX2Fd6LPg2asUorD_FL8XylU0ovweUET02r4mCqpylURf.&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub9b52&id=618662306027&pisk=gA5oyWG08A0IevkXArR7KlW_Ym2xo4OCTMhpvBKU3n-bRYH8Pp8F-Mfdew-ptMjhx3pUVQChmN_LP6UWaWYFXiAdy3KdmyjRRXE7dQhExg_aVaKLP6xemgSHdztpYHjd8TUY65Q5PBOetlFT67AQmXSoaXJz8n897lBAUYBNPBOUxvzVzCb5bpMaPU8eurYp-X8FYL-q0F-28YRFYnJ27FnyTBSUoE8p50-e8Yo4gF-qLUle8xJ28ekeYplzoZ-X8fxKThfFGsr7oDLzWEi7jUJkba-msZ1HzJdb1EhEqs8loS7WmrUAiUvkbKDpBLChSw5JiOmUUNAf6pCV2WcXwNX2gHRQGqxJITSkuZZns3WO5NKeU4lPlQxD33_m4zRdST79-Z3ntGJGBOJcO5G5rdtXiE1Lcb-h395JFBiz8M_OV66h4VHqQ1-oOEzdgvMBUETDX2Fd6LPg2asUorD_FL8XylU0ovweUET02r4mCqpylURf.&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">8)小喇叭</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/bYh2ZgfQk75kaabPtbvXYeUC3vWGkIRGBDcIfpNr.png" alt="" width="830" height="158"></p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/Hr0nb2rTHLG8qwJTf9lqjTngzwwkhVmLJhutFsfA.png" alt=""><a href="https://item.taobao.com/item.htm?_u=j9vteub9fcf&id=620430156858&pisk=gaVqyYmQrpdSgJ1IP4hZ8WbhsGGx7jjCj5isSP4ilmmcBq1M_Pzn5ZIOk8ugfuQOkjaiblrS2Cg1HGda4oa3hxZ_hc0iqu4XGc1xQlzQvlO1M-gM_uatIlNaWCugSlQxfZB7krhtsMsQb6aYknCZKMVqj0fuyVJMm6_Ra1brsMsC_VALaGGgcIRlhQvoJ00mocDGzb0iJnciIq4lzV06mdA0jzbr220DmIcME_0nunciSA4orV0ioK0MsQYo2VcijfS0oPArRxbBEnCiHFX2XDzm4CAgi1HEYCHSyDFPgxnUoSoS47PK3D4m4CjF53HEm2VhVK3E3lkuNPTB1ja0pl33mnbgXyZY6JqlaIk8nzPZp5B6GrcZ0vNm3EjxUAP4D2qlCKHSimlzKl_MLcU7LA2IHnSSfJa7iYrhVQrtQ5ljJ8IdNgo9X4qZS5e2jdkmy4oCzaSg6u5cjNLAzdptEX3rAZgXBdHcl4oCrf99BYmszD_cQ&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub9fcf&id=620430156858&pisk=gaVqyYmQrpdSgJ1IP4hZ8WbhsGGx7jjCj5isSP4ilmmcBq1M_Pzn5ZIOk8ugfuQOkjaiblrS2Cg1HGda4oa3hxZ_hc0iqu4XGc1xQlzQvlO1M-gM_uatIlNaWCugSlQxfZB7krhtsMsQb6aYknCZKMVqj0fuyVJMm6_Ra1brsMsC_VALaGGgcIRlhQvoJ00mocDGzb0iJnciIq4lzV06mdA0jzbr220DmIcME_0nunciSA4orV0ioK0MsQYo2VcijfS0oPArRxbBEnCiHFX2XDzm4CAgi1HEYCHSyDFPgxnUoSoS47PK3D4m4CjF53HEm2VhVK3E3lkuNPTB1ja0pl33mnbgXyZY6JqlaIk8nzPZp5B6GrcZ0vNm3EjxUAP4D2qlCKHSimlzKl_MLcU7LA2IHnSSfJa7iYrhVQrtQ5ljJ8IdNgo9X4qZS5e2jdkmy4oCzaSg6u5cjNLAzdptEX3rAZgXBdHcl4oCrf99BYmszD_cQ&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">9)LED闪光灯(顶部灯板的LED闪光灯,效果较好)</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/eZll9Nbw0Ca3W3sV7T6CI916TqEBJUUeG0mt9aQZ.png" alt="" width="733" height="234"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteub8656&id=672697571127&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub8656&id=672697571127&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">10)4G模块通话咪头</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/I2WRmm0pJqW0hz2F0N92U0KST9xiuhLi04dKKHqL.png" alt="" width="786" height="162"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteubef33&id=591718616959&skuId=5267163038549&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubef33&id=591718616959&skuId=5267163038549&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">11)顶部灯板和主板的FFC软排线</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/N6XOhds57XgiRrg0Lm7S2Xr6bw1x273o7162YsVT.png" alt="" width="835" height="186"></p> <p style="line-height:1.8"><a href="https://detail.tmall.com/item.htm?_u=j9vteubb3f5&id=619955112087&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://detail.tmall.com/item.htm?_u=j9vteubb3f5&id=619955112087&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">12)音量增减及电源按钮帽</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/2ZYzerz3zMe0fEO4sM3wcq23Cy5bgAyuGKfrMfpg.png" alt="" width="837" height="192"><a href="https://item.taobao.com/item.htm?_u=j9vteub08f5&id=555729566555&pisk=g3DSyccJLl42RS5r6pK41F1imQeCv29wpMZKjDBPv8e8O9nr5kWUTQqCdri9qzRHZ2GjJqVzyyPUdkgao0Weq0-BdDnTyJlzzk3qRqfrzvzEupii57WrvvSoiVoOUYRuL9wuKJLw7dJwq023pV-rXdQukur6L9ELp0f7z0O97dJZcsBalnTZUz9OllrNpJF8woFYok6RyT3LMtE3kTEdekQvck4Yp9FReZnYfu_R2T3dHtEajkI82kCAHlr_py3Lwf5CfkO7r0tmWeyX8C8dkrXdpxZ7MIoTkjuBYPNWs0aApFIuc7Gr2r6dpxGA7MoTRKQ_-x3QBJF1bUiuhju_b4JAFVgQj42rUZLbpmMoCSHJo9NmRrFxeSjdBcgrF-U-8KBbiDHz1YeOkeqjMc03X7_VwVnqbYVmdF_Y-brgHyeHniaz9gSCQP_Cj6sbs9Zb7ntft6cinYdQJhTWP7E0VS-Xcah3woqbVntftGP8muZkcn1wU&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteub08f5&id=555729566555&pisk=g3DSyccJLl42RS5r6pK41F1imQeCv29wpMZKjDBPv8e8O9nr5kWUTQqCdri9qzRHZ2GjJqVzyyPUdkgao0Weq0-BdDnTyJlzzk3qRqfrzvzEupii57WrvvSoiVoOUYRuL9wuKJLw7dJwq023pV-rXdQukur6L9ELp0f7z0O97dJZcsBalnTZUz9OllrNpJF8woFYok6RyT3LMtE3kTEdekQvck4Yp9FReZnYfu_R2T3dHtEajkI82kCAHlr_py3Lwf5CfkO7r0tmWeyX8C8dkrXdpxZ7MIoTkjuBYPNWs0aApFIuc7Gr2r6dpxGA7MoTRKQ_-x3QBJF1bUiuhju_b4JAFVgQj42rUZLbpmMoCSHJo9NmRrFxeSjdBcgrF-U-8KBbiDHz1YeOkeqjMc03X7_VwVnqbYVmdF_Y-brgHyeHniaz9gSCQP_Cj6sbs9Zb7ntft6cinYdQJhTWP7E0VS-Xcah3woqbVntftGP8muZkcn1wU&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">13)顶部灯板定制尺寸的2mm厚 10*40mm玻璃</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/9ivRC1j6nl62fEZ78VlOcQSNl4bSWGrnSLIKeff9.png" alt="" width="879" height="200"></p> <p style="line-height:1.8"><a href="https://item.taobao.com/item.htm?_u=j9vteubbf6e&id=688681869202&spm=a1z09.2.0.0.71392e8dzCF09R" target="_blank">https://item.taobao.com/item.htm?_u=j9vteubbf6e&id=688681869202&spm=a1z09.2.0.0.71392e8dzCF09R</a></p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">14)螺丝</p> <p style="line-height:1.8">M1.4*4  :顶部灯板固定螺丝</p> <p style="line-height:1.8">M2*4      :   顶部灯板面板螺丝</p> <p style="line-height:1.8">M3*4     :   背面外壳固定螺丝</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8">M3*16+4:  结构固定主板和泰山派之间的铜柱</p> <p style="line-height:1.8">M3*10+4:  结构固定泰山派和背面板的铜柱</p> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">7、大赛LOGO验证</h3> <hr> <p style="line-height:1.8">板卡背面绘制了立创电赛logo。</p> <p style="line-height:1.8"><img src="//image.lceda.cn/pullimage/H5wggRv0nbsaDTZXOnNd2Kc2PMEDmtrP7QN9xLdM.jpeg" alt="" width="851" height="639"></p> <p style="line-height:1.8"> </p> <h3 style="line-height:1.8">8、组装效果</h3> <p><img src="//image.lceda.cn/pullimage/o5WCf73eJc7RYfV1GS17Fbigt2eowcOqizLXYFeO.jpeg" alt="" width="656" height="875"></p> <p><img src="//image.lceda.cn/pullimage/BMvEiFlPU66dK2uH40dKhvOSqgDJdPKZcdLzBMDI.jpeg" alt="" width="647" height="863"></p> <p><img src="//image.lceda.cn/pullimage/UsALaaWDx7H5WUGI4ufukd7VjSA8BKjUSCmNPr0R.jpeg" alt="" width="643" height="858"></p> <p><img src="//image.lceda.cn/pullimage/rDR0BL9L5TgxBBqLVTcfyQSMOAK8Ldj4FtKzzf2F.jpeg" alt="" width="640" height="853"></p> <p><img src="//image.lceda.cn/pullimage/ivyawCG99PUpdzK3Ht6Wf751tJf07N0mitp8TSqk.jpeg" alt="" width="674" height="506"></p> <p> </p> <h3 style="line-height:1.8">9、演示您的项目并录制成视频上传</h3> <hr> <p style="line-height:1.8"> </p> <p style="line-height:1.8"> </p> </div>
  • 立创电赛:整体项目演示.mp4

  • 兔宝宝演示视频.mp4

文档

BOM

暂无

附件

附件名 下载
tubaobaoV1.00_main.stl
tubaobaoV1.00_led.stl
tubaobaoV1.00_back.stl
so_sht4x.zip
Sht4x_app_source.zip
补丁.zip
tubaobao电池校准好的固件.zip
立创电赛:整体项目演示.mp4
兔宝宝演示视频.mp4

评论(22)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
mfdfhkjhkh 回复
<p>请问手搓这一个手机多少钱,比正常买一个性能差不多的贵吗?</p>
兔崽子 回复
<p>看和什么比了。你当做手机开发板来说,和高通和MTK比就比较便宜了。芯片好买还有开发资料。你当做手机买,可能没有直接买手机有性价比。</p>
兔崽子 回复
<p>目前都是学习,研究价值大于直接的使用价值。</p>
night_poetry 回复
<p>酷啊,我一直想复刻一个苹果4s外观的现代安卓机器,苦于开发板太贵没法学。</p>
兔崽子 回复
<p>@night_poetry手工焊个主板,成本不贵的。缺的料淘宝买。不要电池不要4G模块没多少钱。</p>
mfdfhkjhkh 回复
<p>作者我不同意你的说法哈,泰山派的芯片瑞芯微,开发生态风丰富的,tb上的开发板也很多也不贵,如图<img src="//image.lceda.cn/pullimage/ayIG7NISVIxHeiAiR6UqzBo0A2zVAZhw4DJ9Amst.webp" alt="图片"></p>
xiasummer 回复
<p>太顶了</p>
xiasummer 回复
<p>[emojis:小心心]</p>
lsjl66 回复
<p>大佬,如果电池用得是3.7V的锂电池,还可以直接复刻吗?如果不可以的话,需要改什么地方呢?特别是充电芯片,电量计和泰山派供电</p>
兔崽子 回复
<p>1节电池也能复刻。<br/>最简单改动就是电池到泰山派供电,中间加一个3.7v dcdc升压到5V或者更高一些的电压。<br/>1节电池的话,bq40z50板子焊一个电池就行。电池电量要重新校准。<br/>不过1节电池,用快充有点够呛,可能充电功率bq40z50得限制一下。充电宝当时我画的线比较细,选的座子通过的电流也不高。可能也就4-5A的电流。你3.7v充电按4A计算,也就15W。建议还是2节电池或者3节电池。快充功率也可以大一些。而且也可以省去3.7v的升压电路。</p>
兔崽子 回复
<p>还有改变了电池数量,还需要在内核设备树里改bq25703的充电电压。比如你改成1节的电池,充电电压就改成4.2或者4.35V。</p>
lsjl66 回复
<p>好嘞,感谢大佬,升压理论上SX1308应该可以达到,但是我看了一下充电芯片BQ25703A的设置好像有些麻烦,需要烧录程序才能用,博主好像在文章里没有,我不确定用一块电池,是在电路是改动还是程序里改;我那块锂电池应该最大充电电流也就3A的样子,但是我没想到其他合适的充电IC</p>
lsjl66 回复
<p>原来如此,谢谢大佬,那我还是换个充电IC吧,5V 3A的电流,用这个芯片多少有些大材小用,把BQ40Z50留着可以看电量就行;大佬,BQ40Z50这个芯片是不是自带电池保护功能哇,不用再给电池上保护板;还有就是BQ40Z50这个芯片可以切换供电吗?在有外部电源接入的时候,不会提供电池供电,避免边冲边放呢?</p>
兔崽子 回复
<p>自带保护的,不用额外设计保护电路。电路上看样子不会边充边放。应该是充电的时候,快充同时也在供泰山派供电和电池充电。bq25703内核里配了驱动程序了,这个ic好像也烧不了程序好像。</p>
lsjl66 回复
<p>好嘞,谢谢大佬[emojis:玫瑰]</p>
lsjl66 回复
<p>大佬,请问BQ40Z50芯片是买的的R1还是R2版本,原理图里的是R1版本,但是文中提到的固件是R2版本</p>
兔崽子 回复
<p>芯片不影响。他这个芯片可以烧固件。目前我烧的是2.11版本的固件。我用的这款电池校准好的配置包括固件都是一个文件。在附件里。</p>
lsjl66 回复
<p>好的,谢谢大佬</p>
广寒七号 回复
<p>借楼咨询一个问题:我画了RK3399的linux板子,但是刷入nanopc-T4编译出来的安卓会报错RPMB密钥校验错误,这个要怎么设置才能让系统不去校验这个呢。好像泰山派也很多人换了EMMC,但貌似都没有遇到这个问题</p>
mfdfhkjhkh 回复
<p>不就是加个电池保护的组装手机嘛,搞不明白</p>
mfdfhkjhkh 回复
<p>星火计划立创开发板不就做过嘛,【胖妞手机】泰山派RK3566开发板,“泰山派RK3566手机扩展板项目、以新手角度快速入门Linux了解Linux项目开发流程”<br/><a href="https://oshwhub.com/li-chuang-kai-fa-ban/tai-shan-pai-pang-niu-shou-ji-kuo-zhan-ban!%5B%E5%9B%BE%E7%89%87%5D(//image.lceda.cn/pullimage/WS9Bk1eiBdCm03rqH2p1l6J0Uv5YhhUWrenJ9j8S.webp" target="_blank">https://oshwhub.com/li-chuang-kai-fa-ban/tai-shan-pai-pang-niu-shou-ji-kuo-zhan-ban![图片](//image.lceda.cn/pullimage/WS9Bk1eiBdCm03rqH2p1l6J0Uv5YhhUWrenJ9j8S.webp</a>)</p>
立创电赛 回复
<p>恭喜您的作品入围“盛思锐传感器”第九届立创电子设计开源大赛前10名,具体奖项将在颁奖典礼上揭晓~</p>
goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow