# data[].attributes.attachment_link.keywords[]
arduino tutorials for high school students

# data[].attributes.attachment_link.keywords[]
getting started with arduinoarduino basic

# data[].attributes.attachment_link.description
This website is dedicated for beginners to learn Arduino. You will learn: how sensors/actuators work, how to connect sensors/actuators to Arduino, how to program Arduino step by step. The detail instruction, video tutorial, line-by-line code explanation are provided to help you quickly get started with Arduino. No matter who you are.

# data[].attributes.body
Thank you etwinning!!

# data[].attributes.headline
Using Ultrasonic Distance Sensor HC-SR04 with LCD Display and Arduino

# data[].attributes.subject
Using Ultrasonic Distance Sensor HC-SR04 with LCD Display and Arduino

# data[].attributes.headline
Distance measurement using Arduino and HC-SR04 sensor

# data[].attributes.subject
Distance measurement using Arduino and HC-SR04 sensor

# data[].attributes.body
we succeeded!

# data[].attributes.attachment_link.description
3D design 'Act4' created by daniela.macadon1 with Tinkercad.

# data[].attributes.body
Today we are tinkering all the 4 activities proposed by Greek team

# data[].attributes.body
We are tinkering all the 4 activities

# data[].attributes.attachment_link.description
See all the wonderful things aspasia.koutsouli@gmail.com has made

# data[].attributes.attachment_link.description
See all the wonderful things aspasia.koutsouli@gmail.com has made

# data[].attributes.attachment_link.description
See all the wonderful things aspasia.koutsouli@gmail.com has made

# data[].attributes.attachment_link.description
3D design 'lovemeter with one led ' created by texnologiaa with Tinkercad.

# data[].attributes.body
Your avatar
Add comment
led connection with 9V battery in series
Avatar of aspasia.koutsouli@gmail.com
aspasia.koutsouli@gmail.com
16d
led connection with 9V battery in series
star_border
RATE
Your avatar
Add comment
Circuit basics
Avatar of Carmen Daniela Macadon
Carmen Daniela Macadon
1mo
Circuit basics
Our activities
star_border
RATE
Your avatar
Add comment
Activity
Avatar of aspasia.koutsouli@gmail.com
aspasia.koutsouli@gmail.com
2mo
Activity
Greek students activities
star
star
star
star
star
1
RATE
Your avatar
Add comment
Introduction in electronics
Avatar of Carmen Daniela Macadon
Carmen Daniela Macadon
1mo
Introduction in electronics
star
star
star
star
star
1
RATE
Your avatar
Add comment
We have Arduino!

# data[].attributes.attachment_link.description
3D design 'simple thermometer' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.description
3D design 'lovemeter with buzzer ' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.description
3D design 'Christmas_tree_Lovemeter' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.description
3D design 'flashing led' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.description
3D design '3 leds - trafic lights ' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.title
Circuit design green orange red green orange red

# data[].attributes.attachment_link.description
3D design ' green orange red green orange red' created by texnologiaa with Tinkercad.

# data[].attributes.headline
green orange red orange green orange red orange green ...

# data[].attributes.subject
green orange red orange green orange red orange green ...

# data[].attributes.attachment_link.title
Circuit design green orange red orange green orange red orange green ...

# data[].attributes.attachment_link.description
3D design 'green orange red orange green orange red orange green ...' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.title
Circuit design cars and pedestrian traffic lights

# data[].attributes.attachment_link.description
3D design 'cars and pedestrian traffic lights ' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.description
3D design 'cars traffic lights' created by texnologiaa with Tinkercad.

# data[].attributes.headline
pedestrian and cars traffic lights with pushbutton

# data[].attributes.subject
pedestrian and cars traffic lights with pushbutton

# data[].attributes.attachment_link.title
Circuit design pedestrian and cars traffic lights with pushbutton

# data[].attributes.attachment_link.description
3D design 'pedestrian and cars traffic lights with pushbutton' created by texnologiaa with Tinkercad.

# data[].attributes.headline
cars traffic lights with pedestrian button

# data[].attributes.subject
cars traffic lights with pedestrian button

# data[].attributes.attachment_link.title
Circuit design cars traffic lights with pedestrian button

# data[].attributes.attachment_link.description
3D design 'cars traffic lights with pedestrian button ' created by texnologiaa with Tinkercad.

# data[].attributes.attachment_link.title
Circuit design Arduino και led (pin13) που αναβοσβήνει κάθε 1 δευτερόλεπτo

# data[].attributes.attachment_link.description
3D design 'Arduino και led (pin13) που αναβοσβήνει κάθε 1 δευτερόλεπτo' created by arduinoprojects9 with Tinkercad.

# data[].attributes.headline
led connection with 9V battery in series

# data[].attributes.subject
led connection with 9V battery in series

# data[].attributes.attachment_link.title
Circuit design led connection with 9V battery in series

# data[].attributes.attachment_link.description
3D design 'led connection with 9V battery in series' created by arduinoprojects9 with Tinkercad.

# data[].attributes.body
Our activities

# data[].attributes.attachment_link.description
Here's a list of every tutorial we have about the Arduino. Topics include setting up senors, relays, LCDs, and lots more.

# data[].attributes.body
Greek students activities

# data[].attributes.attachment_link.readable_text
Go get a drill. This can be a cordless or corded drill. It does not matter. Cordless drills are more convenient in some ways, but corded drills are cheaper and just as (or sometimes more) effective. Either will do the job. We are only going to be drilling through wood, plastic parts and some soft metal like aluminum.

It is not important to get anything too fancy. Just about any drill will do for the purposes of this class. Albeit, it couldn't hurt to spend a little extra dough if you plan on continuing building things after this class. Nevertheless, the most important part is to find something aesthetically pleasing. It is always important to look good while making things.

Get a set of standard sized multipurpose drill bits. If this is your first time doing something like this, any old set will do. Don't spend a lot of money. You will likely destroy them and need to buy another set at some point anyhow. As you start to figure out what you are doing, then you can invest in the fancy expensive drill bits.

Even though you can technically screw things very tight with your power drill, sometimes you just want to screw things the old fashioned way. It's good to have a range of screwdrivers in your arsenal. While I am not going to dive too deep into this, I will say that you should get a set of mini screwdrivers. These will come in particularly handy when working with electronics.

You will also need a pair of scissors. You should already have one of these lying about, and learned how to use them if you ever attended Kindergarten. So... Moving on...

The other razor sharp tool you should have is a razor blade or craft knife. It is recommended you get something with a nice safe handle like a box cutter.

When a razor blade just won't cut it, you can be sure a hacksaw will. With enough patience you can cut through most anything with a hacksaw. This hand saw will be extremely handy to have around.

Diagonal cutting pliers, or put simply, diagonal cutters, are another extremely useful tool to have at your disposal. It's recommended you get a good solid pair of these, and not one of those discount ones. These will be used a lot to cut through plastic, and thin metal parts. This tool is a bit like scissors for solid objects. No - it is exactly like scissors for solid objects.

Speaking of pliers, you are probably more familiar with the kind that don't cut. You should get at least one pair of general use snub nose pliers. Pictured here is a multipurpose tool centered around a pair of pliers. If you have the income at your disposal, you may as well invest in a nice multipurpose tool. The added functionality always comes in handy and it will make you seem more legit to have one of these in your arsenal. Again, I would like to reiterate the importance of looking like you really know what you are doing.

Adjustable wrenches come in a wide range of sizes. You are likely not building anything too extreme and will be fine with just a small one (or two). These are largely used for tightening and loosening nuts and bolts, and you may be able to get away without it for this class.

Having a couple small C-clamps around can't hurt. In fact, they are meant to hold things down to prevent injury. It's good to have a few of these about for holding things when drilling or smashing things. Using your hand for this purpose can end in disaster.

Zip ties are the greatest. They are quick, strong, reliable, and dirt cheap. If you make a mistake, they are exceptionally easy to undo. Building things using zip ties lets you iterate quickly and try out different solutions. You can chain them together, or trim them down. They can wrap around strange angles and be used to solve all kinds of problems. If you have not already deduced by my effusive praise, they will be the fastener of choice in this class. It is important that you get a lot of zip ties in a variety of sizes.

Less functional than zip ties, hot glue guns are a quick and dirty way to attach things together. These come in particularly handy when you need to quickly hold an electronic component in place inside of an enclosure and don't feel like figuring out a way to mechanically fasten it.

Aside from making great construction material, it is very helpful to have a few rulers around. As they say, 'measure twice - cut once.'

And, of course, if you are going to be employing rulers in your electronics activities, you got to have some permanent markers to go along with them. We will be making a lot of cut and drill marks, and your marker will get a lot of mileage.

When all else fails, smash things.

We are only using one smashing tool - the trusty hammer.

On occasion we will need to smash things. It is unavoidable.

# data[].attributes.attachment_link.description
Go get a drill. This can be a cordless or corded drill. It does not matter. Cordless drills are more convenient in some ways, but corded drills are cheaper and just as (or sometimes more) effective. Either will do the job. We are only going to be drilling through wood, plastic parts and some soft metal like aluminum.

# data[].attributes.body
How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

# data[].attributes.attachment_link.title
How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

# data[].attributes.body
1. LED bar graph

Turns on a series of LEDs based on the value of an analog sensor.

This is a simple way to make a bar graph display. Though this graph

uses 10 LEDs, you can use any number by changing the LED count

and the pins in the array.

This method can be used to control any series of digital outputs that

depends on an analog input.

The circuit:

* LEDs from pins 2 through 11 to ground

created 4 Sep 2010

by Tom Igoe

This example code is in the public domain.

http://www.arduino.cc/en/Tutorial/BarGraph

*/

// these constants won't change:

const int analogPin = A0;   // the pin that the potentiometer is attached to

const int ledCount = 10;    // the number of LEDs in the bar graph

int ledPins[] = {

2, 3, 4, 5, 6, 7,8,9,10,11 };   // an array of pin numbers to which LEDs are attached

void setup() {

// loop over the pin array and set them all to output:

for (int thisLed = 0; thisLed < ledCount; thisLed++) {

pinMode(ledPins[thisLed], OUTPUT);

}

}

void loop() {

// read the potentiometer:

int sensorReading = analogRead(analogPin);

// map the result to a range from 0 to the number of LEDs:
int ledLevel = map(sensorReading, 0, 1023, 0, ledCount);

// loop over the LED array:

for (int thisLed = 0; thisLed < ledCount; thisLed++) {

// if the array element's index is less than ledLevel,

// turn the pin for this element on:

if (thisLed < ledLevel) {

digitalWrite(ledPins[thisLed], HIGH);

}

// turn off all pins higher than the ledLevel:

else {

digitalWrite(ledPins[thisLed], LOW);

}

}

}

2. Our Traffic lights

int led_red = 0; // the red LED is connected to Pin 0 of the Arduino

int led_yellow = 1; // the yellow LED is connected to Pin 1 of the Arduino

int led_green = 2; // the green LED is connected to Pin 2 of the Arduino

int led_blue = 3; // the green LED is connected to Pin 3 of the Arduino

void setup() {

// set up all the LEDs as OUTPUT

pinMode(led_red, OUTPUT);

pinMode(led_yellow, OUTPUT);

pinMode(led_green, OUTPUT);

pinMode(led_blue, OUTPUT);

}

void loop() {

// turn the green LED on and the other LEDs off

digitalWrite(led_red, LOW);

digitalWrite(led_yellow, LOW);

digitalWrite(led_green, HIGH);

digitalWrite(led_blue, LOW);

delay(1000);    // wait 2 seconds

// turn the yellow LED on and the other LEDs off

digitalWrite(led_red, LOW);

digitalWrite(led_yellow, HIGH);

digitalWrite(led_green, LOW);

digitalWrite(led_blue,LOW);

delay(2000);   // wait 1 second

// turn the red LED on and the other LEDs off

digitalWrite(led_red, HIGH);

digitalWrite(led_yellow, LOW);

digitalWrite(led_green, LOW);

digitalWrite(led_blue, LOW);

delay(3000);  // wait 3 seconds

// turn the blue LED on and the other LEDs off

digitalWrite(led_red, LOW);

digitalWrite(led_yellow, LOW);

digitalWrite(led_green, LOW);

digitalWrite(led_blue, HIGH);

delay(4000);  // wait 3 seconds

}
3.  MEASURE DISTANCE

// Pinul Trigger de la senzor la pinul 9 de pe Arduino

#define TRIGGER 9

// Pinul Echo de la senzor la pinul 8 de pe Arduino

#define ECHO 8

// aceasta variabila salveaza cat timp are nevoie un sunet pentru a reflecta si a reveni inapoi

//valoarea initiala este zero

long durata=0;

//variabila care salveaza distanta masurata

long distanta=0;

void setup() {

pinMode(TRIGGER, OUTPUT); // trigger pin este iesire

pinMode(ECHO, INPUT); // echo pin este intrare

Serial.begin(9600); //pornesc comunicarea seriala astfel incat pot vedea valorile masurate

}

void loop() {

digitalWrite(TRIGGER, LOW); // aici oprim tensiunea pentru o perioada scurta de timp la trigger

delayMicroseconds(2); // durata de 2 microsecunde

digitalWrite(TRIGGER, HIGH); // acum trimitem un sunet

delayMicroseconds(10); // durata de 10 microsecunde

digitalWrite(TRIGGER, LOW); // oprim sunetul

durata = pulseIn(ECHO, HIGH); // Cu comanda "pulseIn" arduino contorizeaza timpul in microsecunde pana cand sunetul revine la senzorul cu ultrasunete

distanta = (durata/2) * 0.03432;

//daca distanta masurata este de peste 500 centimetrii sau sub 0 cm...

if(distanta >= 500 ||  distanta <=0) {

// monitorul serial va afisa acest text deoarce valorile masurate in aceste zone sunt gresite sau inexacte

Serial.println ("nu am chef sa masor asta");

} else //in caz contrar

{

Serial.print(distanta); // valoarea distantei va fi afisata pe monitor

Serial.println(" cm");

}

delay(1000);

}

# data[].attributes.body
Simulator introduction