Arduino智能硬件入门(Tinkercad)
1. 第一单元 Arduino简介
1.1. 什么是Arduino
Arduino是目前国内和国际上最炙手可热的开源电子平台之一,我们可以从它的官方网站Arduino.cc看到它的自我介绍。
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.
Over the years Arduino has been the brain of thousands of projects, from everyday objects to complex scientific instruments. A worldwide community of makers - students, hobbyists, artists, programmers, and professionals - has gathered around this open-source platform, their contributions have added up to an incredible amount of accessible knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. As soon as it reached a wider community, the Arduino board started changing to adapt to new needs and challenges, differentiating its offer from simple 8-bit boards to products for IoT applications, wearable, 3D printing, and embedded environments. All Arduino boards are completely open-source, empowering users to build them independently and eventually adapt them to their particular needs. The software, too, is open-source, and it is growing through the contributions of users worldwide.
简单来说,Arduino是一个开源电子软硬件生态环境,其中包含了各种各样的电子设备和与之配套的软件。这其中最重要、最常用的就是Arduino开发板。
Arduino开发板是一种单芯片计算机(单片机)。与我们使用的PC机一样,其具备完整的冯诺依曼计算机结构,但与我们用的PC机不同的是,它可以直接接驳按钮、电阻、三极管、传感器等各种电子元件。虽然Arduino没有强大的计算性能和丰富的存储空间,但它价格低廉,体积小巧,功耗极低。现在 Arduino已经应用于物联网、3D打印、可穿戴设备等领域。让我们通过视频看看Arduino都能做到什么吧。
我们选择Arduino开发板作为本课程的实验设备的原因,除了上述优点以外,其最重要的是Arduino生态丰富。在互联网上可以检索到大量的案例、教程和程序源代码,在市面上可以轻松的采购到与Arduino相兼容的传感器、显示屏、存储卡、马达驱动器等硬件。很多从事Arduino相关硬件制造的厂家都为其产品编写了详尽的说明文档和示例代码,这些都大大降低了我们的学习成本。