【導讀】出門在外,設備多多,手機電腦照相機,那樣不是電?尤其是出遠門的時候,智能機真心是太費電??!往往用了幾個小時,這電量就要告罄了,對于我們這些電子控來說,這簡直就是噩耗??!不過不用慌~今天給大家介紹一款移動電源,而且還是太陽能移動電源,讓小伙伴們快樂玩耍,媽媽再也不用擔心我手機沒電了!
2個2500mah的18650,

這種盒子其實是裝撲克牌的

手頭還有一塊6V 100MA的太陽能板,大小合適,用上。


東西準備好了,首先是設計電路,用stc12系列51單片機,帶AD,用來檢測電池的電壓做電量顯示,電量顯示用5個LED來表示。外加2個白色LED作 為手電。18650鋰電充電用TP4056芯片,而升5V部分,小小偷懶,利用手頭現(xiàn)成的升壓模塊,用單片機通過MOS管控制導通來升壓。

畫好PCB,打印,進行熱轉(zhuǎn)印、腐蝕、鉆孔。。。由于做的是單面板,所以采用直立元件和貼片元件結(jié)合,減少飛線和縮小體積。正好有0603的電阻和LED以及SOT23的PMOS。

腐蝕后

焊接過程就不上圖了,反正0603貼片焊得很難看。
由于做了2個版本,以為發(fā)現(xiàn)第一個版本有缺陷,所以下圖的電路板和上面腐蝕后的電路有點差別。

我焊貼片都是用30W的電烙鐵,焊18650這種電池溫度太低,不行。所以動用功率大點的電烙鐵

其實這個電烙鐵被我改過,后面有個開關(guān),分成2檔,快和慢。

焊接好,效果不錯挺牢固的。

先組裝上去,看看2個USB孔的位置,還有決定手電LED要在哪開孔,然后就是動用電鉆在外殼上打孔了。

蓋子的大小和太陽能板大小差不多,用銼刀打磨太陽能板的四個角,磨成弧形。

用強力膠吧太陽能板和蓋子黏住


效果如下

到這里其實差不多結(jié)束了,不過我覺得紫色外殼有點坑爹,所以跑出去買了2罐噴漆回來,準備上色

噴成白色


最后還是被我噴成了黑色

跟掛臘腸似的。利用油漆未干的期間,編寫和調(diào)試程序。

全部搞定后組裝。

蓋上蓋子后還是有點像樣

打開手電

試用


忘了介紹,這個移動電源能通過太陽光充電,有電量顯示和手電功能。背部有一個開關(guān),單擊電量顯示,雙擊打開手電,長按能手動打開USB供電(保留),但 其實只要有手機接入,就會喚醒單片機控制MOS管導通,升壓,輸出5V,所以長按基本沒用到。
相關(guān)閱讀:
實用DIY:自制輕薄便攜移動電源
國產(chǎn)移動電源拆解:便宜也有好貨
移動電源DIY:將電池升壓至5V給手機充電