Raspberry Pi是什么?
引用维基百科的一句话:
The Raspberry Pi is a credit card sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools.
简单地说,它就是一个基于ARM CPU的、信用卡那么大的迷你计算机。
In short, Pi is an ARM-based mini computer which has a credit card size.
下面是我在折腾树莓派的过程中积累的一些想法,愿与大家交流。
文章来源:http://www.codelast.com/
【1】我为什么爱树莓派 / Why I love Raspberry Pi
话说现在的电脑都已经很便宜了,随便买一台上网本都比树莓派的性能要强得多,而且用来开发软件也更容易(编译快,运行快,等等),为什么要“自虐”般地使用树莓派这样一个貌似“不健全”的卡片式电脑呢?
Personal computers are very cheap nowadays, any low price netbooks must have much better performance than Raspberry Pi, so why we use such an deficient card-size computer like Pi(may be autosadism)?
或者换另一个问题,明明都已经有了很多很流行的嵌入式平台,例如Arduino这样的东西,而且Arduino还很便宜,为什么要用树莓派这样的东西来实现一些它可以实现的功能?
Or consider another question: we already have many very popular embedded platforms, such as Arduino, and Arduino is very cheap, too, so why we use Raspberry Pi to do something it can do?
我只想从我个人的角度来谈谈这些问题。
I want to talk about this from my personal view.
文章来源:http://www.codelast.com/
先从一个故事说起吧。很久以前,我想自己做一个桌面软件与嵌入式软件结合的系统——例如,一个搭载嵌入式系统的手持设备,需要与Windows上的软件交互——但我个人能力有限,无法自己开发嵌入式程序,因此,我一直想学一些嵌入式系统开发知识,由于工作原因,计划一直搁置。我一直觉得,如果能在嵌入式系统上直接用C++,调用STL库来写程序,那该多好啊,那样我就可以利用自己已经掌握的一部分知识来实现自己的愿望了。
Let me start it from a story. Long time ago I ever wanted to build a system which combines the desktop & embedded software, e.g. a handheld device which has an embedded OS, it can interact with the Windows software. But I couldn't develop the embedded software myself due to my knowledge limitation, so I always want to learn some embedded software development knowledge since then, but because of busy work the plan has be lying on the table for a long time. Sometimes I think that how wonderful it is if I can use C++ to invoke STL library to write programs on the embedded system, then I can use some of the knowledge which I already had to make my wish reality.
终于,树莓派出现了。装上了Arch Linux ARM的树莓派就像是一个完整的桌面电脑,我可以在上面跟x86计算机一样,没有多少差别地编写程序了!
Finally Raspberry Pi came to my sight one day. A Raspberry Pi which installed with Arch Linux ARM acts like a full functional desktop computer and I can write C++ programs with not much difference as that on x86 computers!
而树莓派同时又具有超便宜的价格、超低的功耗、超小的体积,这些完美地结合在一起,圆了我可以一个人“做点什么”的梦。
And the Raspberry Pi has a super low price, super low power consumption, ultra small size, all these combined together make my dream of "do something" reality.
所以我爱树莓派爱得深。尽管我不如那些大神一般牛,我不能用它设计出一个令人惊叹的系统,但是我也从上面找到了自己的快乐。
That's why I love Pi so much. Although I'm not as brilliant as those talented people and I'm not able to use it to design an amazing system, I still found my joy from it.
【2】中国的学生与树莓派 / Chinese students and Raspberry Pi
树莓派的初衷就是刺激计算机教育,我们已经看到了很多树莓派在学校中的应用的例子,例如这个链接。
我觉得这在西方发达国家不会让人觉得很稀奇,但是在教育模式相对落后的中国大陆,这种事真的是比较罕见。
树莓派这玩意很便宜,非常适合于在贫困地区推广,但是同时也有一个问题,贫困地区的教育水平非常落后,要找到有能力教授以Linux为基础的计算机知识的老师,不是一件容易的事情。我认为在这件事情上,不是捐献一批树莓派就可以解决的,光有硬件完全不顶用,还要人这个“软件”同步跟上才行。
文章来源:https://www.codelast.com/
➤➤ 版权声明 ➤➤
转载需注明出处:codelast.com
感谢关注我的微信公众号(微信扫一扫):
Arduino 是单片机,更硬派