Arduino

Source: Wikipedia, the free encyclopedia.
Arduino
Developerarduino.cc
ManufacturerArduino
TypeSingle-board microcontroller
Operating systemNone (default) / Xinu
CPU
  • Atmel AVR
    (8-bit)
  • ARM Cortex-M0+
    (32-bit)
  • ARM Cortex-M3
    (32-bit)
  • Intel Quark (x86) (32-bit)
MemorySRAM
StorageFlash, EEPROM
Websitearduino.cc

Arduino (/ɑːrˈdwn/) is an Italian open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed under a CC BY-SA license, while the software is 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 from the official website or through authorized distributors.[2]

Arduino board designs use a variety of

toolchains, the Arduino project provides an integrated development environment (IDE) and a command line tool developed in Go
.

The Arduino project began in 2005 as a tool for students at the Interaction Design Institute Ivrea, Italy,[3] 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 project's founders 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.[4]

History

Founding

The first Arduino ever made

The Arduino project was started at the

ATmega128 microcontroller, an IDE based on Processing and library functions to easily program the microcontroller.[5]
In 2005, Massimo Banzi, with David Mellis, another IDII student, and David Cuartielles, extended Wiring by adding support for the cheaper ATmega8 microcontroller. The new project, forked from Wiring, was called Arduino.[5]

The initial Arduino core team consisted of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, and David Mellis.[3]

Following the completion of the 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,[6] and in 2013 that 700,000 official boards were in users' hands.[7]

Trademark dispute

In early 2008, the five co-founders of the Arduino project created a company, Arduino LLC,[8] to hold the trademarks associated with Arduino. The manufacture and sale of the boards were 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.[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 co-founders 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 Martino and his firm to bring the trademark under the 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.[9][10][11]

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

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

At the World Maker Faire in New York on 1 October 2016, Arduino LLC co-founder and CEO Massimo Banzi and Arduino SRL CEO Federico Musto announced the merger of the two companies.[14] Around that same time, Massimo Banzi announced that in addition to the company a new Arduino Foundation would be launched as "a new beginning for Arduino", but this decision was withdrawn later.[15][16]

In April 2017,

open source licenses, schematics, and code from the Arduino website, prompting scrutiny and outcry.[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]

Post-dispute

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.[21] Under Violante's guidance, the company started growing again and releasing new designs. The Genuino trademark was dismissed and all products were branded again with the Arduino name.

In August 2018, Arduino announced its new open source command line tool (arduino-cli), which can be used as a replacement of the IDE to program the boards from a shell.[22]

In February 2019, Arduino announced its IoT Cloud service as an extension of the Create online environment.[23]

As of February 2020, the Arduino community included about 30 million active users based on the IDE downloads.[24]

Hardware

Arduino-compatible R3 Uno board with no Arduino logo

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 the use of the Arduino name emphasizes that the project is open to incorporating work by others into the official product.[25] Several Arduino-compatible products commercially released have avoided the project name by using various names ending in -duino.[26]

An early Arduino board[27] 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

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,[31]
run at 8 MHz and dispense with the onboard voltage regulator due to specific form-factor restrictions.

Arduino microcontrollers are pre-programmed with a

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.

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,[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[33] and Boarduino[34] 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,[35] 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 manufactured by the Italian company Smart Projects.[36] Some Arduino-branded boards have been designed by the American companies SparkFun Electronics and Adafruit Industries.[37] As of 2016, 17 versions of the Arduino hardware have been commercially produced.

Shields

Arduino and Arduino-compatible boards use printed circuit expansion boards called shields, which plug into the normally supplied Arduino pin headers.

liquid crystal display (LCD), or breadboarding (prototyping). Several shields can also be made do it yourself (DIY).[55][56][57]

  • Some shields offer stacking headers which allow multiple shields to be stacked on top of an Arduino board. Here, a prototyping shield is stacked on two Adafruit motor shield V2s.
    Some shields offer stacking headers which allow multiple shields to be stacked on top of an Arduino board. Here, a prototyping shield is stacked on two
    Adafruit
    motor shield V2s.
  • Screw-terminal breakout shield in a wing-type format, allowing bare-end wires to be connected to the board without requiring any specialized pins
    Screw-terminal breakout shield in a wing-type format, allowing bare-end wires to be connected to the board without requiring any specialized pins
  • Adafruit Datalogging Shield with a Secure Digital (SD) card slot and real-time clock (RTC) chip along with some space for adding components and modules for customization
    Adafruit Datalogging Shield with a
    Secure Digital
    (SD) card slot and real-time clock (RTC) chip along with some space for adding components and modules for customization
  • Adafruit Motor Shield with screw terminals for connection to motors. Officially discontinued, this shield may still be available through unofficial channels.
    Adafruit Motor Shield with screw terminals for connection to motors. Officially discontinued, this shield may still be available through unofficial channels.
  • The Adafruit Motor Shield V2 uses I2C, requiring vastly fewer digital I/O pins than attaching each motor directly.
    The Adafruit Motor Shield V2 uses I2C, requiring vastly fewer digital I/O pins than attaching each motor directly.
  • A USB host shield which allows an Arduino board to communicate with a USB device such as a keyboard or a mouse
    A USB host shield which allows an Arduino board to communicate with a USB device such as a keyboard or a mouse

Software

A program for Arduino hardware may be written in any

AVR and 32-bit ARM Cortex-M based microcontrollers: AVR Studio (older) and Atmel Studio (newer).[58][59][60]

Legacy IDE

Arduino Legacy IDE
Developer(s)Arduino Software
Stable release
1.8.19 / 21 December 2021; 2 years ago (2021-12-21)[61]
Written in
ARM
TypeIntegrated development environment
LicenseLGPL or GPL license
Websitewww.arduino.cc/en/software

The Arduino

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.[62]

The Arduino IDE supports the languages

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.

From version 1.8.12, Arduino IDE windows compiler supports only Windows 7 or newer OS. On Windows Vista or older one gets "Unrecognized Win32 application" error when trying to verify/upload program. To run IDE on older machines, users can either use version 1.8.11, or copy "arduino-builder" executable from version 11 to their current install folder as it is independent from IDE.[63]

IDE 2.0

Arduino IDE 2.3.2
Developer(s)Arduino Software
Stable release
2.3.2 / 20 February 2024; 60 days ago (2024-02-20)[64]
Written inTypeScript, JavaScript, Go
Operating systemMicrosoft Windows, macOS, Linux
Platformx86-64
TypeIntegrated development environment
LicenseGNU Affero General Public License v3.0
Websitewww.arduino.cc/en/software

An initial alpha preview of a new Arduino IDE was released on October 18, 2019, as the Arduino Pro IDE. The beta preview was released on March 1, 2021, renamed IDE 2.0. On September 14, 2022, the Arduino IDE 2.0 was officially released as stable.[65]

The system still uses Arduino CLI (Command Line Interface), but improvements include a more professional development environment and autocompletion support.[66] The application frontend is based on the Eclipse Theia Open Source IDE. Its main new features are:[67]

  • Modern, fully featured development environment
  • New Board Manager
  • New Library Manager
  • Board List
  • Basic Auto-Completion
  • Serial Monitor
  • Dark Mode

Sketch

A sketch is a program written with the Arduino IDE.[68] 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 consists of only two functions:[69]

  • setup(): 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. It is analogous to the function main().[70]
  • loop(): After setup() function exits (ends), the loop() function is executed repeatedly in the main program. It controls the board until the board is powered off or is reset. It is analogous to the function while(1).[71]
Blink example
Power LED and Integrated LED on Arduino Compatible Board
Power LED (red) and User LED (green) attached to pin 13 on an Arduino-compatible board

Most Arduino boards contain a

Hello, World!, is "blink", which repeatedly blinks the on-board LED integrated into the Arduino board. This program uses the functions pinMode(), digitalWrite(), and delay(), which are provided by the internal libraries included in the IDE environment.[73][74][75]
This program is usually loaded into a new Arduino board by the manufacturer.

const int 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.
}

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.

Operating systems/threading

There is a Xinu OS port for the ATmega328P (Arduino Uno and others with the same chip), which includes most of the basic features.[76] The source code of this version is freely available.[77]

There is also a threading tool, named Protothreads. Protothreads are described as "extremely lightweight stackless threads designed for severely memory constrained systems, such as small embedded systems or wireless sensor network nodes.[78]

There is a port of FreeRTOS for the Arduino.[79] This is available from the Arduino Library Manager. It is compatible with a number of boards, including the Uno.

Applications

Simulation

  • Tinkercad, an analog and digital simulator supporting Arduino Simulation, which is most commonly used to create 3D models
  • Wokwi, a digital and free to use simulator for Arduino boards

Recognitions

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

The Arduino Engineering Kit won the Bett Award for "Higher Education or Further Education Digital Services" in 2020.[85]

See also

Explanatory notes

  1. ^ Diecimila means "ten thousand" in Italian
  2. ^ Duemilanove means "two thousand and nine" in Italian
  3. ^ Uno means "one" in Italian

References

  1. ^ "Getting Started: FOUNDATION > Introduction". arduino.cc. Archived from the original on 2017-08-29. Retrieved 2017-05-23.
  2. ^ "Arduino - Home". www.arduino.cc. Retrieved 2022-10-27.
  3. ^ a b c Kushner, David (2011-10-26). "The Making of Arduino". IEEE Spectrum.
  4. ^ Lahart, Justin (27 November 2009). "Taking an Open-Source Approach to Hardware". The Wall Street Journal. Retrieved 2014-09-07.
  5. ^ a b Barragán, Hernando (2016-01-01). "The Untold History of Arduino". arduinohistory.github.io. Retrieved 2016-03-06.
  6. ^ "How many Arduinos are "in the wild?" About 300,000". Adafruit Industries. May 15, 2011. Retrieved 2013-05-26.
  7. ^ "Arduino FAQ – With David Cuartielles". Malmö University. April 5, 2013. Archived from the original on 2017-09-06. Retrieved 2014-03-24.
  8. ^ "Business Entity Summary for Arduino LLC". Mass.gov. State of Massachusetts.
  9. ^ Allan, Alasdair (6 March 2015). "Arduino Wars: Group Splits, Competing Products Revealed?". makezine.com. Maker Media, Inc. Retrieved 21 April 2015.
  10. ^ Banzi, Massimo (19 March 2015). "Massimo Banzi: Fighting for Arduino". makezine.com. Maker Media, Inc. Retrieved 21 April 2015.
  11. ^ Williams, Elliot (28 March 2015). "Arduino SRL to Distributors: "We're the Real Arduino"". Hackaday.com. Retrieved 21 April 2015.
  12. ^ "Arduino LLC vs Arduino SRL lawsuit; United States Courts Archive". Archived from the original on 2017-07-09. Retrieved 20 February 2018.
  13. ^ "Arduino Announces New Brand, Genuino, Manufacturing Partnership with Adafruit". Make. 16 May 2015. Retrieved 17 May 2015.
  14. ^ "Arduino Blog – Two Arduinos become one". Arduino Blog. October 2016. Retrieved 2016-10-02.
  15. ^ "Free Arduino | Make". Make: DIY Projects and Ideas for Makers. 2017-06-09. Retrieved 2017-12-22.
  16. ^ "The Arduino Foundation: What's Up?". Hackaday. 2017-06-19. Retrieved 2017-12-22.
  17. ^ "Arduino's New CEO, Federico Musto, May Have Fabricated His Academic Record". WIRED. Retrieved 2017-12-22.
  18. ^ Biggs, John. "CEO controversy mars Arduino's open future". TechCrunch. Retrieved 2017-12-22.
  19. ^ "Arduino Blog – A new era for Arduino begins today". Arduino Blog. 28 July 2017. Retrieved 19 Jan 2018.
  20. ^ Davis, Tom (31 July 2017). "BCMI Acquires Arduino AG and Makers Breathe a Sigh of Relief". techwombat.com. Retrieved 29 November 2018.
  21. ^ "Arduino reborn partners with ARM". Electronics Weekly. 2017-10-06. Retrieved 2017-11-03.
  22. ^ "Announcing the Arduino Command Line Interface (CLI)". Arduino Blog. 2018-08-24. Retrieved 2020-06-23.
  23. ^ "Announcing the Arduino IoT Cloud Public Beta". Arduino Blog. 2019-02-06. Retrieved 2020-06-23.
  24. ^ Emilio, Maurizio Di Paolo (2020-02-04). "Open-source HW in the Modern Era: Interview of Arduino's CEO Fabio Violante". EE Times Europe. Retrieved 2020-06-23.
  25. ^ "Policy". Arduino.cc. Retrieved 2013-01-18.
  26. ^ "Freeduino Open Designs". Freeduino.org. Archived from the original on 2008-04-10. Retrieved 2008-03-03.
  27. ^ "Hardware Index". Arduino Project. Retrieved 2013-12-10.
  28. ^ "Chip Hall of Fame: Atmel ATmega8". IEEE Spectrum: Technology, Engineering, and Science News. Retrieved 2017-10-10.
  29. ^ "Arduino - Products". www.arduino.cc. Retrieved 20 February 2018.
  30. ^ "Microcontroller Maniacs Rejoice: Arduino Finally Releases the 32-Bit Due". Wired. Retrieved 20 February 2018.
  31. ISSN 0392-2790
    .
  32. ^ "Optiboot Bootloader for Arduino and Atmel AVR". GitHub. Retrieved 2015-10-01.
  33. ^ "Bare Bones Board (BBB) Kit". moderndevice.com. Archived from the original on 30 July 2013. Retrieved 29 November 2018.
  34. ^ "DC Boarduino (Arduino compatible) Kit (w/ATmega328) - v1.0". adafruit.com. Retrieved 29 November 2018.
  35. S2CID 181368197
    .
  36. ^ "Redirect..." smartprj.com. Archived from the original on 2016-03-05. Retrieved 2011-05-03.
  37. .
  38. ^ "Arduino - ArduinoBoardSerial". www.arduino.cc. Retrieved 20 February 2018.
  39. ^ "Arduino - ArduinoBoardDiecimila". www.arduino.cc. Retrieved 20 February 2018.
  40. ^ "Arduino - ArduinoBoardDuemilanove". www.arduino.cc. Retrieved 20 February 2018.
  41. ^ "Arduino Uno Rev3". www.arduino.cc. Retrieved 20 February 2018.
  42. ^ Smith, (c) 2018, W.A. "Differences Between the Arduino Uno Revision 2 and Revision 3". startingelectronics.org. Retrieved 20 February 2018.{{cite web}}: CS1 maint: multiple names: authors list (link) CS1 maint: numeric names: authors list (link)
  43. ^ "Arduino - ArduinoBoardUnoSMD". www.arduino.cc. Retrieved 20 February 2018.
  44. ^ "Arduino Leonardo with Headers". www.arduino.cc. Retrieved 20 February 2018.
  45. ^ "Arduino Pro". www.arduino.cc. Retrieved 20 February 2018.
  46. ^ "Arduino Mega official webpage (arduino.cc)". Retrieved 20 February 2018.
  47. ^ "Arduino Nano". www.arduino.cc. Retrieved 20 February 2018.
  48. ^ "LilyPad Arduino Main Board". www.arduino.cc. Retrieved 20 February 2018.
  49. ^ "Arduino Robot". www.arduino.cc. Retrieved 20 February 2018.
  50. ^ "Arduino Esplora". www.arduino.cc. Retrieved 20 February 2018.
  51. ^ "Arduino Ethernet Rev3 without PoE". www.arduino.cc. Retrieved 20 February 2018.
  52. ^ "Arduino Yún". www.arduino.cc. Retrieved 20 February 2018.
  53. ^ "Arduino Due". www.arduino.cc. Retrieved 20 February 2018.
  54. ^ "Arduino - ArduinoShields". www.arduino.cc. Retrieved 2017-10-04.
  55. ^ "Arduino breadboard shield: $10 & 10 mins". todbot blog. 11 July 2006.
  56. ^ "Arduino Shields for Prototyping". tigoe.net. Archived from the original on 2017-07-02. Retrieved 2011-09-16.
  57. ^ Oxer, Jonathan. "Arduino Shield list". Retrieved 5 Nov 2013.
  58. ^ "Using Atmel Studio for Arduino development". Megunolink.com. Archived from the original on 2013-01-28. Retrieved 2013-01-18.
  59. ^ "Using AVR Studio for Arduino development". Engblaze.com. Archived from the original on 2012-08-28. Retrieved 2013-01-18.
  60. ^ "Ch Arduino". Retrieved 2016-10-07.
  61. ^ "Releases · arduino/Arduino · GitHub". GitHub. Retrieved 12 November 2022.
  62. ^ "arduino/Arduino". August 27, 2020 – via GitHub.
  63. ^ "arduino/Arduino". May 5, 2021 – via Arduino.cc.
  64. ^ "Releases · arduino/arduino-ide · GitHub". GitHub. Retrieved 20 February 2024.
  65. ^ "It's here: please welcome Arduino IDE 2.0". 14 September 2022. Retrieved 12 November 2022.
  66. ^ Williams, Al (21 October 2019). "The Arduino IDE Finally Grows Up". Hackaday. Retrieved 26 October 2019.
  67. ^ "Introducing new Arduino Pro IDE with advanced features". Seed Studio. 21 October 2019. Retrieved 26 October 2019.
  68. .
  69. ^ "Arduino - BareMinimum". www.arduino.cc. Retrieved 20 February 2018.
  70. ^ "setup() - Arduino Reference". www.arduino.cc.
  71. ^ "loop() - Arduino Reference". www.arduino.cc.
  72. ^ "pinMode() - Arduino Reference". www.arduino.cc.
  73. ^ "digitalWrite() - Arduino Reference". www.arduino.cc.
  74. ^ "delay() - Arduino Reference". www.arduino.cc.
  75. ^ "xinu-avr: The Xinu OS for AVR ATmega328P". se.fi.uncoma.edu.ar.
  76. ^ "xinu-arduino". October 9, 2022 – via GitHub.
  77. ^ Dunkels, A.; Schmidt, O.; Voigt, T. (2005). Using Protothreads for Sensor Node Programming. Proceedings of the REALWSN 2005 Workshop on Real-World Wireless Sensor Networks Presented at the REALWSN 2005 Workshop on Real-World Wireless Sensor Networks.
  78. ^ "FreeRTOS for Arduino". www.arduino.cc.
  79. PMID 29425185
    .
  80. .
  81. .
  82. .
  83. ^ "Ars Electronica Archiv". Archived from the original on 2019-06-30. Retrieved 2015-03-27.
  84. ^ "Arduino Education nominated for Bett Award". Arduino Blog. 2020-01-20. Retrieved 2020-07-01.

Further reading

External links

Historical