User:Vanished user 1929210/Arduino
File:Genuino Logo.svg | |
类型 | Single-board microcontroller |
---|---|
作業系統 | None |
中央处理器 | AVR, ARM Cortex, Intel Quark |
記憶體 | SRAM |
硬盘儲存空間 | Flash Memory, EEPROM |
图形处理器 | None |
網站 | arduino |
Arduino, sold as Genuino outside the U.S. and U.K., is a hardware and software company, project, and user community that designs and manufactures computer open-source hardware, open-source software, and microcontroller-based kits for building digital devices and interactive objects that can sense and control physical devices.[1]
The project is based on microcontroller board designs, produced by several vendors, using various microcontrollers. These systems provide sets of digital and analog input/output (I/O) pins that can interface to various expansion boards (termed shields) and other circuits. The boards feature serial communication interfaces, including Universal Serial Bus (USB) on some models, for loading programs from personal computers. For programming the microcontrollers, the Arduino project provides an integrated development environment (IDE) based on a programming language named Processing, which also supports the languages C and C++.
The first Arduino was introduced in 2005, aiming to provide a low cost, easy way for novices and professionals to create devices that interact with their environment using sensors and actuators. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats, and motion detectors.
Arduino boards are available commercially in preassembled form, or as do-it-yourself kits. The hardware design specifications are openly available, allowing the Arduino boards to be produced by anyone. Adafruit Industries estimated in mid-2011 that over 300,000 official Arduinos had been commercially produced,[2] and in 2013 that 700,000 official boards were in users' hands.[3]
History
[编辑]Colombian student Hernando Barragán created the development platform Wiring as his Master's thesis project in 2004 at the Interaction Design Institute Ivrea (IDII) in Ivrea, Italy. Massimo Banzi and Casey Reas (known for his work on Processing) were supervisors for his thesis. The goal was to create low cost, simple tools for non-engineers to create digital projects. The Wiring platform consisted of a hardware PCB with an ATmega128 microcontroller, an IDE based on Processing and library functions to easily program the microcontroller.[4]
In 2005, Massimo Banzi, with David Mellis (then an IDII student) and David Cuartielles, added support for the cheaper ATmega8 microcontroller to Wiring. But instead of continuing the work on Wiring, they forked (or copied) the Wiring source code and started running it as a separate project, called Arduino.[4]
The Arduino's initial core team consisted of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, and David Mellis.[5]
The name Arduino comes from a bar in Ivrea, where some of the founders of the project used to meet. The bar was named after Arduin of Ivrea, who was the margrave of the March of Ivrea and King of Italy from 1002 to 1014.[6]
Following the completion of the Wiring platform, its lighter, lower cost versions[7] were created and made available to the open-source community. Associated researchers, including David Cuartielles, promoted the idea.[5]
Hardware
[编辑]模板参数错误!(代码34)
|
An Arduino board historically consists of an Atmel 8-, 16- or 32-bit AVR microcontroller (although since 2015 other makers' microcontrollers have been used) with complementary components that facilitate programming and incorporation into other circuits. An important aspect of the Arduino is its standard connectors, which let users connect the CPU board to a variety of interchangeable add-on modules termed shields. Some shields communicate with the Arduino board directly over various pins, but many shields are individually addressable via an I²C serial bus—so many shields can be stacked and used in parallel. Before 2015, Official Arduinos had used the Atmel megaAVR series of chips, specifically the ATmega8, ATmega168, ATmega328, ATmega1280, and ATmega2560. In 2015, units by other producers were added. A handful of other processors have also been used by Arduino compatible devices. Most boards include a 5 V linear regulator and a 16 MHz crystal oscillator (or ceramic resonator in some variants), although some designs such as the LilyPad run at 8 MHz and dispense with the onboard voltage regulator due to specific form-factor restrictions. An Arduino's microcontroller is also pre-programmed with a boot loader that simplifies uploading of programs to the on-chip flash memory, compared with other devices that typically need an external programmer. This makes using an Arduino more straightforward by allowing the use of an ordinary computer as the programmer. Currently, optiboot bootloader is the default bootloader installed on Arduino UNO.[9]
At a conceptual level, when using the Arduino integrated development environment, all boards are programmed over a serial connection. Its implementation varies with the hardware version. Some serial Arduino boards contain a level shifter circuit to convert between RS-232 logic levels and transistor–transistor logic (TTL) level signals. Current Arduino boards are programmed via Universal Serial Bus (USB), implemented using USB-to-serial adapter chips such as the FTDI FT232. Some boards, such as later-model Uno boards, substitute the FTDI chip with a separate AVR chip containing USB-to-serial firmware, which is reprogrammable via its own ICSP header. Other variants, such as the Arduino Mini and the unofficial Boarduino, use a detachable USB-to-serial adapter board or cable, Bluetooth or other methods, when used with traditional microcontroller tools instead of the Arduino IDE, standard AVR in-system programming (ISP) programming is used.
The Arduino board exposes most of the microcontroller's I/O pins for use by other circuits. The Diecimila[a], Duemilanove[b], and current Uno[c] provide 14 digital I/O pins, six of which can produce pulse-width modulated signals, and six analog inputs, which can also be used as six digital I/O pins. These pins are on the top of the board, via female 0.1-inch (2.54 mm) headers. Several plug-in application shields are also commercially available. The Arduino Nano, and Arduino-compatible Bare Bones Board[10] and Boarduino[11] boards may provide male header pins on the underside of the board that can plug into solderless breadboards.
Many Arduino-compatible and Arduino-derived boards exist. Some are functionally equivalent to an Arduino and can be used interchangeably. Many enhance the basic Arduino by adding output drivers, often for use in school-level education, to simplify making buggies and small robots. Others are electrically equivalent but change the form factor, sometimes retaining compatibility with shields, sometimes not. Some variants use different processors, of varying compatibility.
Official boards
[编辑]The original Arduino hardware was produced by the Italian company Smart Projects.[12] Some Arduino-branded boards have been designed by the American companies SparkFun Electronics and Adafruit Industries.[13] 截至2016年[update], 17 versions of the Arduino hardware had been commercially produced.
-
Arduino Diecimila in Stoicheia
-
Arduino Duemilanove (rev 2009b)
-
Arduino UNO
-
Arduino Leonardo
-
Arduino Mega
-
Arduino MEGA 2560 R3 (front side)[d]
-
Arduino MEGA 2560 R3 (back side)[d]
-
Arduino Nano
-
Arduino Due
(ARM Cortex-M3 core) -
LilyPad Arduino (rev 2007)
-
Arduino Yun
Shields
[编辑]Arduino and Arduino-compatible boards use printed circuit expansion boards called shields, which plug into the normally supplied Arduino pin headers. Shields can provide motor controls for 3D printing and other applications, Global Positioning System (GPS), Ethernet, liquid crystal display (LCD), or breadboarding (prototyping). Several shields can also be made do it yourself (DIY).[15][16][17]
-
Multiple shields can be stacked. In this example the top shield contains a solderless breadboard.
-
Dragino Lora Shield allows the user to send data and reach extremely long ranges at low data-rates.
-
Screw-terminal breakout shield in a wing-type format
-
Adafruit Motor Shield with screw terminals for connection to motors
-
Adafruit Datalogging Shield with a Secure Digital (SD) card slot and real-time clock (RTC) chip
-
HackARobot Fabric Shield – designed for Arduino Nano to hook up motors and sensors such as gyroscope or GPS, and other breakout boards such as WiFi, Bluetooth, RF, etc.
Software
[编辑]File:Arduino 1.0 IDE, Ubuntu 11.10.png | |
開發者 | Arduino Software |
---|---|
当前版本 | 1.6.9(2016年5月10日[18]) |
编程语言 | Java, C and C++ |
操作系统 | Microsoft Windows, OS X, Linux |
平台 | IA-32, x86-64, ARM |
类型 | Integrated development environment |
许可协议 | LGPL or GPL license |
网站 | arduino |
The Arduino project provides the Arduino integrated development environment (IDE), which is a cross-platform application written in the programming language Java. It originated from the IDE for the languages Processing and Wiring. It is designed to introduce programming to artists and other newcomers unfamiliar with software development. It includes a code editor with features such as syntax highlighting, brace matching, and automatic indentation, and provides simple one-click mechanism to compile and load programs to an Arduino board. A program written with the IDE for Arduino is called a "sketch".[19]
The Arduino IDE supports the languages C and C++ using special rules to organize code. The Arduino IDE supplies a software library called Wiring from the Wiring project, which provides many common input and output procedures. A typical Arduino C/C++ sketch consist of two functions that are compiled and linked with a program stub main() into an executable cyclic executive program:
- setup(): a function that runs once at the start of a program and that can initialize settings.
- loop(): a function called repeatedly until the board powers off.
After compiling and linking with the GNU toolchain, also included with the IDE distribution, the Arduino IDE employs the program avrdude to convert the executable code into a text file in hexadecimal coding that is loaded into the Arduino board by a loader program in the board's firmware.
Sample program
[编辑]Most Arduino boards contain an LED and a load resistor connected between pin 13 and ground which is a convenient feature for many tests.[20]
A typical program for a beginning Arduino programmer blinks a light-emitting diode (LED) on and off. This program is usually loaded in the Arduino board by the manufacturer. In the Arduino environment, a user might write such a program as shown:[20]
#define LED_PIN 13
void setup() {
pinMode(LED_PIN, OUTPUT); // Enable pin 13 for digital output.
}
void loop() {
digitalWrite(LED_PIN, HIGH); // Turn on the LED.
delay(1000); // Wait one second (1000 milliseconds)
digitalWrite(LED_PIN, LOW); // Turn off the LED.
delay(1000); // Wait one second.
}
Other IDE
[编辑]Arduino programs may be written in any programming language with a compiler that produces binary machine code. Atmel provides a development environment for their microcontrollers, AVR Studio and the newer Atmel Studio, which can be used for programming Arduino.[21][22]
Development
[编辑]Arduino is an open-source hardware. The hardware reference designs are distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino website. Layout and production files for some versions of the hardware are also available. The source code for the IDE is released under the GNU General Public License, version 2.[23]
Although the hardware and software designs are freely available under copyleft licenses, the developers have requested that the name "Arduino" be exclusive to the official product and not be used for derived works without permission. The official policy document on use of the Arduino name emphasizes that the project is open to incorporating work by others into the official product.[24] Several Arduino-compatible products commercially released have avoided the Arduino name by using -duino name variants.[25]
Applications
[编辑]- Xoscillo, an open-source oscilloscope[26]
- Scientific equipment[27] such as the Chemduino[28]
- Arduinome, a MIDI controller device that mimics the Monome
- OBDuino, a trip computer that uses the on-board diagnostics interface found in most modern cars
- Ardupilot, drone software and hardware
- ArduinoPhone, a do-it-yourself cellphone[29][30]
- GertDuino, an Arduino mate for the Raspberry Pi[31]
- Water quality testing platform[32]
- Homemade CNC using Arduino and DC motors with close loop control by Homofaciens[33]
- DC motor control using Arduino and H-Bridge[34]
Recognitions
[编辑]The Arduino project received an honorary mention in the Digital Communities category at the 2006 Prix Ars Electronica.[35]
Trademark dispute
[编辑]In early 2008, the five cofounders of the Arduino project created a company, Arduino LLC,[36] to hold the trademarks associated with Arduino. The manufacture and sale of the boards was to be done by external companies, and Arduino LLC would get a royalty from them. The founding bylaws of Arduino LLC specified that each of the five founders transfer ownership of the Arduino brand to the newly formed company.[來源請求]
At the end of 2008, Gianluca Martino's company, Smart Projects, along with Microsoft, registered the Arduino trademark in Italy and kept this a secret from the other cofounders for about two years. This was revealed when the Arduino company tried to register the trademark in other areas of the world (they originally registered only in the US), and discovered that it was already registered in Italy. Negotiations with Gianluca and his firm to bring the trademark under control of the original Arduino company failed. In 2014, Smart Projects began refusing to pay royalties. They then appointed a new CEO, Mr. Musto, who renamed the company to Arduino SRL and created a website named arduino.org, copying the graphics and layout of the original Arduino.cc. This resulted in a rift in the Arduino development team. All Arduino boards are still available to consumers, and the designs are open source, so the implications of this are uncertain.[37][38][39]
In May 2015, "Genuino" was created around the world as another trademark, held by Arduino LLC, and is currently being used as Arduino LLC's brand name outside of the US.[40]
See also
[编辑]- Comparison of single-board computers
- Intel Edison
- List of Arduino boards and compatible systems
- IOIO
Notes
[编辑]References
[编辑]- ^ Arduino - Introduction. arduino.cc.
- ^ How many Arduinos are "in the wild?" About 300,000. Adafruit Industries. May 15, 2011 [2013-05-26].
- ^ Arduino FAQ – With David Cuartielles. Malmö University. April 5, 2013 [2014-03-24].
- ^ 4.0 4.1 Home. arduinohistory.github.io. 2016-01-01 [2016-03-06].
- ^ 5.0 5.1 David Kushner. The Making of Arduino. IEEE Spectrum. 26 Oct 2011.
- ^ Justin Lahart. Taking an Open-Source Approach to Hardware. The Wall Street Journal. 27 November 2009 [7 September 2014].
- ^ Rhizome - Interview with Casey Reas and Ben Fry. 2009-09-23 [2014-08-23].
- ^ Hardware Index. Arduino Project. [2013-12-10].
- ^ Optiboot Bootloader for Arduino and Atmel AVR. [2015-10-01].
- ^ Bare Bones Board.
- ^ Boarduino.
- ^ Redirect.... smartprj.com.
- ^ Schmidt, M. ["Arduino: A Quick Start Guide"], Pragmatic Bookshelf, January 22, 2011, Pg. 201
- ^ Arduino - ArduinoBoardMega2560. arduino.cc.
- ^ Arduino breadboard shield: $10 & 10 mins. todbot blog.
- ^ Arduino Shields for Prototyping. tigoe.net.
- ^ Jonathan Oxer. Arduino Shield list. [5 Nov 2013].
- ^ Arduino Software Release Notes. Arduino Project. [March 11, 2016].
- ^ Programming Arduino Getting Started with Sketches. McGraw-Hill. Nov 8, 2011 [2013-03-28].
- ^ 20.0 20.1 "Blink Tutorial". Arduino.cc.
- ^ Using Atmel Studio for Arduino development. Megunolink.com. [2013-01-18].
- ^ Using AVR Studio for Arduino development. Engblaze.com. [2013-01-18].
- ^ The arduino source code. The arduino source code.
- ^ Policy. Arduino.cc. [2013-01-18].
- ^ Freeduino Open Designs. Freeduino.org. [2008-03-03].
- ^ xoscillo – A software oscilloscope that acquires data using an arduino or a parallax (more platforms to come). – Google Project Hosting. Code.google.com. [2013-01-18].
- ^ Pearce, Joshua M. 2012. "Building Research Equipment with Free, Open-Source Hardware". Science 337 (6100): 1303–1304. (open access)
- ^ Kubínová, S. and Šlégr, J., 2015. ChemDuino: Adapting Arduino for Low-Cost Chemical Measurements in Lecture and Laboratory. Journal of Chemical Education, 92(10), pp.1751-1753.
- ^ ArduinoPhone. Instructables.com (2013-07-17). Retrieved on 2013-08-04.
- ^ DIY Cellphone, MIT
- ^ Raspberry Pi Spy. Introducing the GertDuino Add-on Board for Raspberry Pi. Retrieved on 2014-11-09.
- ^ Bas Wijnen, G. C. Anzalone and Joshua M. Pearce, Open-source mobile water quality testing platform. Journal of Water, Sanitation and Hygiene for Development, 4(3) pp. 532–537 (2014). doi:10.2166/washdev.2014.137 open access
- ^ CNC V2.0. Homofaciens.de . Retrieved on 2016-02-24
- ^ Arduino Robot – Motor Control. DarkBlueBit.com. Retrieved on 2016-04-16
- ^ Ars Electronica Archiv. [2015-03-27].
- ^ Business Entity Summary for Arduino LLC. Mass.gov. State of Massachusetts.
- ^ Allan, Alasdair. Arduino Wars: Group Splits, Competing Products Revealed?. makezine.com. Maker Media, Inc. 6 March 2015 [21 April 2015].
- ^ Banzi, Massimo. Massimo Banzi: Fighting for Arduino. makezine.com. Maker Media, Inc. 19 March 2015 [21 April 2015].
- ^ Williams, Elliot. Arduino SRL to Distributors: "We’re the Real Arduino". Hackaday.com. Hackaday.com. 28 March 2015 [21 April 2015].
- ^ Arduino Announces New Brand, Genuino, Manufacturing Partnership with Adafruit. Make:. 16 May 2015 [17 May 2015].
Further reading
[编辑]- Getting Started with Arduino; Massimo Banzi, Michael Shiloh; 262 pages; 2014; ISBN 1-4493-6333-4.
- Make: Sensors; Tero Karvinen, Kimmo Karvinen, Ville Valtokari; 400 pages; 2014; ISBN 978-1-4493-6810-4.
- Arduino For Dummies; John Nussey; 446 pages; 2013; ISBN 978-1118446379.
- Programming Arduino Next Steps: Going Further with Sketches; Simon Monk; 2013; ISBN 978-0071830256.
- Exploring Arduino: Tools and Techniques for Engineering Wizardry; Jeremy Blum; 384 pages; 2013; ISBN 978-1118549360.
- Arduino Workshop: A Hands-On Introduction with 65 Projects; John Boxall; 392 pages; 2013; ISBN 978-1593274481.
- Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers; Jack Purdum; 280 pages; 2012; ISBN 978-1430247760.
- Programming Arduino: Getting Started With Sketches; Monk Simon; 162 pages; 2011; ISBN 978-0071784221.
- Make: Electronics (Learning by Discovery); Charles Platt; 352 pages; 2009; ISBN 978-0596153748.
External links
[编辑]- 官方网站, Arduino LLC
- 互联网电影数据库(IMDb)上《Arduino The Documentary》的资料(英文), Vimeo
- Installing additional Arduino libraries
- Arduino cheat sheets
- An online platform and collaboration platform for Arduino users
- Arduino Board Pinout Diagrams: Due, Esplora, Leonardo, Mega, Micro, Mini, Nano, Uno
- Evolution tree for Arduino
- Massimo Banzi在TWiT.tv上的節目《Triangulation》的採訪(英文)
- Template:FLOSSweekly
- Arduino, LLC v. Arduino S.R.L. et al; Federal district court docket from the United States Courts Archive
- Intel Edison Kit for Arduino (Hardware Guide), Intel, February 2015