Arduino

From Hidden Wiki
Jump to navigation Jump to search

Template:Short description Template:Other uses Template:Redirect Template:Infobox information appliance

Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control both physically and digitally. Its products are licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL),[1] permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form or as do-it-yourself (DIY) kits.

Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards or breadboards (shields) and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs from personal computers. The microcontrollers are typically programmed using a dialect of features from the programming languages C and C++. In addition to using traditional compiler toolchains, the Arduino project provides an integrated development environment (IDE) based on the Processing language project.

The Arduino project started in 2003 as a program for students at the Interaction Design Institute Ivrea in Ivrea, Italy,[2] aiming to provide a low-cost and 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.

The name Arduino comes from a bar in Ivrea, Italy, 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.[3]

History

The Arduino project was started at the Interaction Design Institute Ivrea (IDII) in Ivrea, Italy.[2] At that time, the students used a BASIC Stamp microcontroller at a cost of $50, a considerable expense for many students. In 2003 Hernando Barragán created the development platform Wiring as a Master's thesis project at IDII, under the supervision of Massimo Banzi and Casey Reas. Casey Reas is known for co-creating, with Ben Fry, the Processing development platform. The project goal was to create simple, low cost tools for creating digital projects by non-engineers. The Wiring platform consisted of a printed circuit board (PCB) with an ATmega168 microcontroller, an IDE based on Processing and library functions to easily program the microcontroller.[4] In 2003, Massimo Banzi, with David Mellis, another IDII student, and David Cuartielles, added support for the cheaper ATmega8 microcontroller to Wiring. But instead of continuing the work on Wiring, they forked the project and renamed it Arduino.[4]

The initial Arduino core team consisted of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, and David Mellis,[2] but Barragán was not invited to participate.[4]

Following the completion of the Wiring platform, lighter and less expensive versions were distributed in the open-source community.

It was estimated in mid-2011 that over 300,000 official Arduinos had been commercially produced,[5] and in 2013 that 700,000 official boards were in users' hands.[6]

In October 2016, Federico Musto, Arduino's former CEO, secured a 50% ownership of the company. In April 2017, Wired reported that Musto had "fabricated his academic record.... On his company's website, personal LinkedIn accounts, and even on Italian business documents, Musto was until recently listed as holding a PhD from the Massachusetts Institute of Technology. In some cases, his biography also claimed an MBA from New York University." Wired reported that neither University had any record of Musto's attendance, and Musto later admitted in an interview with Wired that he had never earned those degrees.[7]

Around that same time, Massimo Banzi announced that the Arduino Foundation would be "a new beginning for Arduino."[8] But a year later, the Foundation still hasn't been established, and the state of the project remains unclear.[9]

The controversy surrounding Musto continued when, in July 2017, he reportedly pulled many Open source licenses, schematics, and code from the Arduino website, prompting scrutiny and outcry.[10]

In October 2017, Arduino announced its partnership with ARM Holdings (ARM). The announcement said, in part, "ARM recognized independence as a core value of Arduino ... without any lock-in with the ARM architecture.” Arduino intends to continue to work with all technology vendors and architectures.[11]

Trademark dispute

In early 2008, the five co-founders of the Arduino project created a company, Arduino LLC,[12] 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.Template:Citation needed

At the end of 2008, Gianluca Martino's company, Smart Projects, 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, Federico Musto, who renamed the company Arduino SRL and created the website arduino.org, copying the graphics and layout of the original arduino.cc. This resulted in a rift in the Arduino development team.[13][14][15]

In January 2015, Arduino LLC filed a lawsuit against Arduino SRL.[16]

In May 2015, Arduino LLC created the worldwide trademark Genuino, used as brand name outside the United States.[17]

At the World Maker Faire in New York on October 1, 2016, Arduino LLC co-founder and CEO Massimo Banzi and Arduino SRL CEO Federico Musto announced the merger of the two companies.[18]

By 2017 Arduino AG owned many Arduino trademarks. In July 2017 BCMI, founded by Massimo Banzi, David Cuartielles, David Mellis and Tom Igoe, acquired Arduino AG and all the Arduino trademarks. Fabio Violante is the new CEO replacing Federico Musto, who no longer works for Arduino AG.[19][20]

Hardware

File:Arduino-compatible R3 UNO Sku066313-01.jpg
Arduino-compatible R3 UNO board made in China with no Arduino logo, but with identical markings, including "Made in Italy" text

Arduino is 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.

Although the hardware and software designs are freely available under copyleft licenses, the developers have requested the name Arduino to 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.[21] Several Arduino-compatible products commercially released have avoided the project name by using various names ending in -duino.[22]

File:Arduino316.jpg
An early Arduino board[23] with an RS-232 serial interface (upper left) and an Atmel ATmega8 microcontroller chip (black, lower right); the 14 digital I/O pins are at the top, the 6 analog input pins at the lower right, and the power connector at the lower left.

Most Arduino boards consist of an Atmel 8-bit AVR microcontroller (ATmega8,[24] ATmega168, ATmega328, ATmega1280, ATmega2560) with varying amounts of flash memory, pins, and features.[25] The 32-bit Arduino Due, based on the Atmel SAM3X8E was introduced in 2012.[26] The boards use single or double-row pins or female headers that facilitate connections for programming and incorporation into other circuits. These may connect with add-on modules termed shields. Multiple and possibly stacked shields may be individually addressable via an I²C serial bus. Most boards include a 5 V linear regulator and a 16 MHz crystal oscillator or ceramic resonator. Some designs, such as the LilyPad, run at 8 MHz and dispense with the onboard voltage regulator due to specific form-factor restrictions.

Arduino microcontrollers are pre-programmed with a boot loader that simplifies uploading of programs to the on-chip flash memory. The default bootloader of the Arduino UNO is the optiboot bootloader.[27] Boards are loaded with program code via a serial connection to another computer. 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.

File:UnoConnections.jpg
An official Arduino Uno R2 with descriptions of the I/O locations

The Arduino board exposes most of the microcontroller's I/O pins for use by other circuits. The Diecimila,Template:Efn Duemilanove,Template:Efn and current UnoTemplate:Efn 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[28] and Boarduino[29] 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

Template:Further The original Arduino hardware was produced by the Italian company Smart Projects.[30] Some Arduino-branded boards have been designed by the American companies SparkFun Electronics and Adafruit Industries.[31] Template:As of, 17 versions of the Arduino hardware have been commercially produced. Template:Clear

Shields

Arduino and Arduino-compatible boards use printed circuit expansion boards called shields, which plug into the normally supplied Arduino pin headers.[48] 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).[49][50][51]

Software

{{#invoke:Infobox|infobox}}

A program for Arduino hardware may be written in any programming language with compilers that produce binary machine code for the target processor. Atmel provides a development environment for their 8-bit AVR and 32-bit ARM Cortex-M based microcontrollers: AVR Studio (older) and Atmel Studio (newer).[52][53][54]

IDE

The Arduino integrated development environment (IDE) is a cross-platform application (for Windows, macOS, Linux) that is written in the programming language Java. It originated from the IDE for the languages Processing and Wiring. It includes a code editor with features such as text cutting and pasting, searching and replacing text, automatic indenting, brace matching, and syntax highlighting, and provides simple one-click mechanisms to compile and upload programs to an Arduino board. It also contains a message area, a text console, a toolbar with buttons for common functions and a hierarchy of operation menus. The source code for the IDE is released under the GNU General Public License, version 2.[55]

The Arduino IDE supports the languages C and C++ using special rules of code structuring. The Arduino IDE supplies a software library from the Wiring project, which provides many common input and output procedures. User-written code only requires two basic functions, for starting the sketch and the main program loop, that are compiled and linked with a program stub main() into an executable cyclic executive program 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 encoding that is loaded into the Arduino board by a loader program in the board's firmware.

Sketch

A sketch is a program written with the Arduino IDE.[56] Sketches are saved on the development computer as text files with the file extension .ino. Arduino Software (IDE) pre-1.0 saved sketches with the extension .pde.

A minimal Arduino C/C++ program consist of only two functions:[57]

  • Template:Code: This function is called once when a sketch starts after power-up or reset. It is used to initialize variables, input and output pin modes, and other libraries needed in the sketch.[58]
  • Template:Code: After Template:Code function exits (ends), the Template:Code function is executed repeatedly in the main program. It controls the board until the board is powered off or is reset.[59]
Blink example
File:Power and Pin13 LED on Arduino Compatible Board.jpg
Power LED (red) and User LED (green) attached to pin 13 on an Arduino compatible board

Most Arduino boards contain a light-emitting diode (LED) and a current limiting resistor connected between pin 13 and ground, which is a convenient feature for many tests and program functions.[60] A typical program used by beginners, akin to Hello, World!, is "blink", which repeatedly blinks the on-board LED integrated into the Arduino board. This program uses the functions Template:Code, Template:Code, and Template:Code, which are provided by the internal libraries included in the IDE environment.[61][62][63] This program is usually loaded into a new Arduino board by the manufacturer.

<source lang="arduino" style="font-size:10pt;">

  1. define LED_PIN 13 // Pin number attached to LED.

void setup() {

   pinMode(LED_PIN, OUTPUT);       // Configure pin 13 to be a digital output.

}

void loop() {

   digitalWrite(LED_PIN, HIGH);    // Turn on the LED.
   delay(1000);                    // Wait 1 second (1000 milliseconds).
   digitalWrite(LED_PIN, LOW);     // Turn off the LED.
   delay(1000);                    // Wait 1 second.

} </source>

Libraries

The open-source nature of the Arduino project has facilitated the publication of many free software libraries that other developers use to augment their projects.

Applications

Recognitions

The Arduino project received an honorary mention in the Digital Communities category at the 2006 Prix Ars Electronica.[68]

See also

Template:Portal

Notes

Template:Notelist

References

1 }}
     | references-column-width 
     | references-column-count references-column-count-{{#if:1|30em}} }}
   | {{#if: 
     | references-column-width }} }}" style="{{#if: 30em
   | {{#iferror: {{#ifexpr: 30em > 1 }}
     | Template:Column-width
     | Template:Column-count }}
   | {{#if: 
     | Template:Column-width }} }} list-style-type: {{#switch: 
   | upper-alpha
   | upper-roman
   | lower-alpha
   | lower-greek
   | lower-roman = {{{group}}}
   | #default = decimal}};">
  1. Template:Cite web
  2. 2.0 2.1 2.2 Template:Cite journal
  3. Template:Cite journal
  4. 4.0 4.1 4.2 Template:Cite web
  5. Template:Cite web
  6. Template:Cite web
  7. Template:Cite news
  8. Template:Cite news
  9. Template:Cite news
  10. Template:Cite news
  11. Template:Cite news
  12. Template:Cite web
  13. Template:Cite web
  14. Template:Cite web
  15. Template:Cite web
  16. Template:Cite web
  17. Template:Cite web
  18. Template:Cite web
  19. Template:Cite web
  20. Tom Davis: BCMI Acquires Arduino AG and Makers Breathe a Sigh of Relief 31 July 2017 techwombat.com, accessed 29 November 2018
  21. Template:Cite web
  22. Template:Cite web
  23. Template:Cite web
  24. Template:Cite news
  25. Template:Cite web
  26. Template:Cite web
  27. Template:Cite web
  28. Template:Cite web
  29. Template:Cite web
  30. Template:Cite web
  31. Schmidt, M. ["Arduino: A Quick Start Guide"], Pragmatic Bookshelf, January 22, 2011, Pg. 201
  32. Template:Cite web
  33. Template:Cite web
  34. Template:Cite web
  35. Template:Cite web
  36. Template:Cite web
  37. Template:Cite web
  38. Template:Cite web
  39. Template:Cite web
  40. Template:Cite web
  41. Template:Cite web
  42. Template:Cite web
  43. Template:Cite web
  44. Template:Cite web
  45. Template:Cite web
  46. Template:Cite web
  47. Template:Cite web
  48. Template:Cite web
  49. Template:Cite web
  50. Template:Cite web
  51. Template:Cite web
  52. Template:Cite web
  53. Template:Cite web
  54. Template:Cite web
  55. Template:Cite web
  56. Template:Cite web
  57. Template:Cite web
  58. Documentation for function setup (arduino.cc)
  59. Documentation for function loop (arduino.cc)
  60. Documentation for function pinMode (arduino.cc)
  61. Documentation for function digitalWrite (arduino.cc)
  62. Documentation for function delay (arduino.cc)
  63. Template:Cite journal
  64. Template:Cite journal
  65. Template:Cite journal
  66. Template:Cite journal
  67. Template:Cite web

Further reading

  • Getting Started with Arduino; Massimo Banzi, Michael Shiloh; 262 pages; 2014; Template:ISBN.
  • Make: Sensors; Tero Karvinen, Kimmo Karvinen, Ville Valtokari; 400 pages; 2014; Template:ISBN.
  • Arduino For Dummies; John Nussey; 446 pages; 2013; Template:ISBN.
  • Programming Arduino Next Steps: Going Further with Sketches; Simon Monk; 2013; Template:ISBN.
  • Exploring Arduino: Tools and Techniques for Engineering Wizardry; Jeremy Blum; 384 pages; 2013; Template:ISBN.
  • Arduino Workshop: A Hands-On Introduction with 65 Projects; John Boxall; 392 pages; 2013; Template:ISBN.
  • Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers; Jack Purdum; 280 pages; 2012; Template:ISBN.
  • Programming Arduino: Getting Started With Sketches; Monk Simon; 162 pages; 2011; Template:ISBN.
  • Arduino: A Quick Start Guide; Maik Schmidt; Pragmatic Bookshelf; 276 pages; 2011; Template:ISBN.
  • Make: Electronics (Learning by Discovery); Charles Platt; 352 pages; 2009; Template:ISBN.

External links

Template:Commons category

Software
Historical

Template:Single-board computer Template:Microcontrollers Template:Ambient intelligence