[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
<>玩转树莓派(一)基础知识
树莓派(Raspberry Pi)是主要跑Linux系统的一个小型电脑,可以将树莓派连接电视、显示器、键盘鼠标等设备使用。
<>一、树莓派各型号差异
<>二、外设和配件
<>2.1 SD卡
SD卡是必须要有的,树莓派板载没有内置Flash,不管是系统引导,还是Linux运行,都是基于SD卡读写。
<>2.2 RAM内存
树莓派内置内存芯片,无法拔插,无法外置增加。
<>2.3 鼠标键盘
树莓派的USB口有4个,所以挂一个鼠标,再挂一个键盘绰绰有余。
<>2.4 HDMI显示器
树莓派主要是通过HDMI输出到显示器。但是有些小伙伴可能一时半会找不到合适的显示器,就想着通过HDMI接到笔记本电脑来显示,but这是不行的。
因为HMDI设备分为HDMI输入和HDMI输出,树莓派和笔记本电脑属于HDMI输出,显示器和电视属于HDMI输入,HDMI输出接HDMI输入才能正常显示,而输出接输出那啥也不是。
<>2.5 显示触摸屏
有些商店提供了3.5英寸甚至7英寸的显示触摸屏,看着很小巧方便,还能触摸操作,但是其实在我们实际使用中用处不大。
* 首先官网给的Raspberry Pi OS系统是不支持外置显示触摸屏的,插上去是点不亮的,需要适配驱动,或者找购买显示触摸屏的商家要,就比较麻烦。
*
其次,我们正常使用过程中,是基于树莓派进行Linux学习和编程的,这时候鼠标键盘就更方便。看代码的话,也是屏幕越大越好。而这时候3.5英寸和7英寸就显得太小了。
<>2.6 声音
* HDMI支持声音输出
* 3.5mm 音频输出,可以插耳机和音响。
* 如果需要mic输入,则可以使用USB声卡
<>2.7 电源
工作电压5V,通过micro USB供电, 一般需要保证有3A的电流。而我们目前的手机快充充电头就够用了。