Difference between revisions of "About Arduino"
Line 24: | Line 24: | ||
Arduino is involved in lots of works. Here are some examples: | Arduino is involved in lots of works. Here are some examples: | ||
− | [https://m-h-z.net/rippler/ | + | *[https://m-h-z.net/rippler/ Sound sculptures] |
+ | *[http://www.susannahertrich.com/work/jacobsons-fabulous-olfactometer/ Sensing pollution] | ||
+ | *[http://vtol.cc/filter/works/you-me-and-all-these-machines Performance / Microphone manipulation] | ||
+ | *[https://vimeo.com/241028491 Light swarm] | ||
+ | *[http://www.mkontopoulos.com/portfolio/machines-that-almost-fall-over/ Machines that almost fall over] | ||
+ | *[http://vtol.cc/filter/works/antenna Mom, I hit a man] | ||
+ | *[http://katihyyppa.com/forbidden-fruit-machine/ Forbidden fruit machine] | ||
+ | *[http://katihyyppa.com/as-light-goes-by/ As light goes by] | ||
+ | *[https://vimeo.com/236594080 Instant messanging?] | ||
+ | *[https://vimeo.com/116904791 String fountain] | ||
+ | *[https://vimeo.com/45747333 What the phonics] | ||
+ | *[https://www.niklasroy.com/project/88/my-little-piece-of-privacy A piece of privacy] | ||
+ | *[https://vimeo.com/224595171 Can be very simple] | ||
+ | *[https://vimeo.com/232937979 Even more simple] | ||
+ | *[https://vimeo.com/74354990 Bottle song test] | ||
+ | *[https://vimeo.com/78889495 Bottle song] | ||
+ | *[https://vimeo.com/201825170 Simple and with a sense of humor 1] | ||
+ | *[https://vimeo.com/140870602 Simple and with a sense of humor 2] | ||
+ | *[https://vimeo.com/138062157 Same but different] | ||
− | + | =The Arduino board= | |
− | + | The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjunction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions. | |
− | + | <br> | |
− | + | [[File:Board_layout.PNG | 500 px]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [ | ||
− | |||
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=Getting started on the Arduino board and software = | =Getting started on the Arduino board and software = |
Revision as of 10:57, 10 January 2023
What is an Arduino
From the Wikipedia article on Arduino we read[1]:
Arduino is an open-source computer hardware and software company, project and user community that designs and manufactures kits for building digital devices and interactive objects that can sense and control the physical world. Arduino boards may be purchased preassembled, or as do-it-yourself kits; at the same time, the hardware design information is available for those who would like to assemble an Arduino from scratch.
Arduino is an open source physical computing platform based on a simple input/output (I/O) board and a development environment that implements the Processing language. Arduino can be used to develop standalone interactive objects or can be connected to software on your computer. These types of work are usually called Physical Computing.
Physical Computing creates interactive systems by using electronics. The purpose is to prototype new materials for designers and artists.
Arduino is composed of two major parts: the Arduino board, which is the piece of hardware you work on when you build your objects; and the Arduino IDE, the piece of software you run on your computer. You use the IDE to create a sketch (a little computer program) that you upload to the Arduino board. The sketch tells the board what to do.
In the meantime, HERE you can find anything about Arduino, including download the software.
In essence Arduino is just another μController development board. The main purpose of such a μController development board is to make it easy for developers to evaluate the functions of, or create a quick prototype with, a certain type of μController. μControllers come in al sorts of tastes and sizes hence there are many different flavours of μController development boards as well. Do, for example, a Google search on microcontroller development board. You will see an abundance of different different platforms and most likely you will find some Arduino flavours there as well.
A bit of Arduino history
The project is based on a family of microcontroller board designs manufactured primarily by SmartProjects in Italy, and also by several other vendors, using various 8-bit Atmel AVR microcontrollers or 32-bit Atmel ARM processors. These systems provide sets of digital and analog I/O pins that can be interfaced to various extension boards and other circuits. The boards feature serial communications interfaces, including USB on some models, for loading programs from personal computers. For programming the microcontrollers, the Arduino platform provides an integrated development environment (IDE) based on the Processing project, which includes support for C and C++ programming languages.
The first Arduino was introduced in 2005. The project leaders sought to provide an inexpensive and easy way for hobbyists, students, and professionals to create devices that interact with their environment using sensors and actuators. Common examples for beginner hobbyists include simple robots, thermostats and motion detectors.
What do you use Arduino for?
Arduino is involved in lots of works. Here are some examples:
- Sound sculptures
- Sensing pollution
- Performance / Microphone manipulation
- Light swarm
- Machines that almost fall over
- Mom, I hit a man
- Forbidden fruit machine
- As light goes by
- Instant messanging?
- String fountain
- What the phonics
- A piece of privacy
- Can be very simple
- Even more simple
- Bottle song test
- Bottle song
- Simple and with a sense of humor 1
- Simple and with a sense of humor 2
- Same but different
The Arduino board
The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjunction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.
Getting started on the Arduino board and software
Now that we have our board we should start by figuring put if our Arduino is all good or it is somehow damaged. To do this we are running a simple script on the board. Once you downloaded the Arduino software from here:[1] you are ready to upload the script.
Go to File ---> Examples ---> Basics --->Blink
So we have something like this
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the Uno and
Leonardo, it is attached to digital pin 13. If you're unsure what
pin the on-board LED is connected to on your Arduino model, check
the documentation at http://www.arduino.cc
This example code is in the public domain.
modified 8 May 2014
by Scott Fitzgerald
*/
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
GOOOD! lets dissect this
- commenting / one line and multiple lines
- setup
- loop
Choose board
Choose port
Lets compile this
--- Press/ Click upper most left button, looks like a Tick. Observe the messages appearing in the bottom of the Arduino software window ( there must be a sentence Done Compiling
Lets upload this
And we should have a Blinking aka Flashing on board LED
OK, so your Ardiono blinks, that was Hello World!'