Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to use a pneumatic cylinder | Arduino tutorial
ChannelCrazy Russian HaunterDescription from the creator
Hey everyone! If this video went a little fast, and you would like a BEGINNER ARDUINO TUTORIAL. check this video out; youtube.com/watch?v=vS2-lkh3hM8&t=249s . In this video, the basics of Arduino are explained IN DEPTH. So check it out, if you would like to broaden your knowledge.
PARTS:
Cylinder (Recommended): amzn.to/2NG5Qna
Tubing: amzn.to/2NJtIWO
Tube connectors: amzn.to/2CfAz8p
1/4" female to 1/8" male (for air compressor fitting): amzn.to/2NH5Jb0
Air compressor intake fittings: amzn.to/2yluNzc
OPTIONAL Air dispursers: amzn.to/2J1MdW1
OPTIONAL speed controller (Airflow adjuster): amzn.to/2pTAiRl
Solenoid: amzn.to/2CidK4a
Relay: amzn.to/32Ia85U
Air compressor (I use and like): amzn.to/2CNW2q6
Arduino: amzn.to/2xCHm8V
9V battery connector for Arduino: amzn.to/2RNycyY
(Optional) Wired power for Arduino: amzn.to/2pUpZMQ
Wiring for Arduino: amzn.to/2xApX0y
Motion sensor: amzn.to/2Cfr4pM
plumbers tape: amzn.to/2CjoAqe
Power adaptor with connections: amzn.to/2IUh5r8
___________CODE____________
int sol = 8; //Tell the Arduino that the positive end of the solenoid is
//plugged into pin 8
int sen = 1; //Tell the Arduino that the positive end of the Sensor is
//plugged into pin 1
void setup() { //this is included in every code we will be
//dealing with. This part runs once.
pinMode(sol, OUTPUT); //These two lines tell the Arduino if the
pinMode(sen, INPUT); // connections are INPUTS or OUTPUTS
}
void loop() { // this will run continuously after the Void setup has
// run once
int val = digitalRead(sen); // Instate a new variable, that is reading
// whether the sensor is sensing
//movement or not. (High or Low)
if(val == HIGH){ //If statutes ask the Arduino if the
//sensor value is reading HIGH (movement)
digitalWrite(sol, HIGH); // if it is high we will send power
// to the solenoid
delay(1000);
}else{ // if it is high we will send power
// to the solenoid
digitalWrite(sol, LOW);
delay(1000);
}
}
PARTS:
Cylinder (Recommended): amzn.to/2NG5Qna
Tubing: amzn.to/2NJtIWO
Tube connectors: amzn.to/2CfAz8p
1/4" female to 1/8" male (for air compressor fitting): amzn.to/2NH5Jb0
Air compressor intake fittings: amzn.to/2yluNzc
OPTIONAL Air dispursers: amzn.to/2J1MdW1
OPTIONAL speed controller (Airflow adjuster): amzn.to/2pTAiRl
Solenoid: amzn.to/2CidK4a
Relay: amzn.to/32Ia85U
Air compressor (I use and like): amzn.to/2CNW2q6
Arduino: amzn.to/2xCHm8V
9V battery connector for Arduino: amzn.to/2RNycyY
(Optional) Wired power for Arduino: amzn.to/2pUpZMQ
Wiring for Arduino: amzn.to/2xApX0y
Motion sensor: amzn.to/2Cfr4pM
plumbers tape: amzn.to/2CjoAqe
Power adaptor with connections: amzn.to/2IUh5r8
___________CODE____________
int sol = 8; //Tell the Arduino that the positive end of the solenoid is
//plugged into pin 8
int sen = 1; //Tell the Arduino that the positive end of the Sensor is
//plugged into pin 1
void setup() { //this is included in every code we will be
//dealing with. This part runs once.
pinMode(sol, OUTPUT); //These two lines tell the Arduino if the
pinMode(sen, INPUT); // connections are INPUTS or OUTPUTS
}
void loop() { // this will run continuously after the Void setup has
// run once
int val = digitalRead(sen); // Instate a new variable, that is reading
// whether the sensor is sensing
//movement or not. (High or Low)
if(val == HIGH){ //If statutes ask the Arduino if the
//sensor value is reading HIGH (movement)
digitalWrite(sol, HIGH); // if it is high we will send power
// to the solenoid
delay(1000);
}else{ // if it is high we will send power
// to the solenoid
digitalWrite(sol, LOW);
delay(1000);
}
}
About this tutorial
Crazy Russian Haunter published this 15:22 video tutorial on October 26, 2017. It has been watched 533,645 times on YouTube.
- Channel
- Crazy Russian Haunter
- Category
- Entertainment
- Duration
- 15:22
- Published
- October 26, 2017
- Views
- 533,645
- Likes
- 5,105
Tags
Share
This tutorial in other languages
- FRComment utiliser un vérin pneumatique | tutoriel Arduino
- ESCómo usar un cilindro neumático | tutorial de Arduino
- PTComo usar um cilindro pneumático | tutorial Arduino
- ITCome utilizzare un cilindro pneumatico | esercitazione Arduino
- DEWie ein Pneumatikzylinder verwenden | Arduino Tutorial
- NLHoe maak je een pneumatische cilinder te gebruiken | Arduino Tutorial
- RUКак использовать пневматический цилиндр | Arduino учебник
- PLJak korzystać z cylindra pneumatycznego | Arduino poradnik
- JA空気圧シリンダーの使い方| Arduinoのチュートリアル
- ARكيفية استخدام اسطوانة هواء مضغوط | البرنامج التعليمي اردوينو
- HIएक वायवीय सिलेंडर का उपयोग कैसे करें | Arduino ट्यूटोरियल
- IDCara menggunakan silinder pneumatik | tutorial Arduino