Ardunio ve Bluetooth ile RC araba kontrolü

Benzer belgeler
ARDUİNO PROJESİ Arduino Kullanarak Android Bluetooth Uygulama ile RC Araba Kontrolü

Keyestudio SHT31 Temperature and Humidity Module / SHT31 Sıcaklık ve Nem Modülü

CNC MACH breakout board user manual V8 type

Present continous tense

D-Link DSL 500G için ayarları

Virtualmin'e Yeni Web Sitesi Host Etmek - Domain Eklemek

Teknoloji Servisleri; (Technology Services)

a, ı ı o, u u e, i i ö, ü ü

ZTM112 BİLGİSAYAR DESTETEKLİ ÇİZİM TEKNİĞİ

Elif İLİKSİZ. Keziban TURAN. Radio Frekanslarla Hareket Eden Araç

IDENTITY MANAGEMENT FOR EXTERNAL USERS

BBC English in Daily Life

GGS01 - GSM GPS SHIELD KULLANIM VE BAĞLANTI KILAVUZU. Kılavuz ver. :

Online Elektronik Devre Simülasyonu 123D Circuits

Exercise 2 Dialogue(Diyalog)

Choreography Notes for: Usta-Çırak 2014 Schadia, all rights reserved

Start Streamin. now! MiniPod Bluetooth Streamin speakers

5İ Ortak Dersler. İNGİLİZCE II Okutman Aydan ERMİŞ

PROJE ADI; ARDUİNO DESTEKLİ QUADCOPTER PROJE SORUMLUSU; PROF. DR. AHMET DEMİR HAZIRLAYANLAR; AHMET EMİN ARGÜL MEHMET

EGE UNIVERSITY ELECTRICAL AND ELECTRONICS ENGINEERING COMMUNICATION SYSTEM LABORATORY

Arduino Uno ile Hc-Sr04 ve Lcd Ekran Kullanarak Mesafe Ölçmek

1- KULLANILACAK DEVRE ELEMANLARININ TANITILMASI

Newborn Upfront Payment & Newborn Supplement

HIGH SPEED PVC DOOR INSTALLATION BOOK

Terminal Üzerinden Led Kontrol Uygulaması

KARABÜK ÜNİVERSİTESİ MÜHENDİSLİK FAKÜLTESİ MEKATRONİK MÜHENDİSLİĞİ BÖLÜMÜ

a, ı ı o, u u e, i i ö, ü ü şu that (something relatively nearby) şu ekmek o that (something further away) o dondurma

Helping you to live more independently. Insanlari ve bagimsiz yasami destekleme. Daha bagimsiz yasamak için size yardim ediyor

a) Present Continuous Tense (Future anlamda) I am visiting my aunt tomorrow. (Yarin halamı ziyaret ediyorum-edeceğim.)

From the Sabiha Gokçen Airport to the Zubeydehanim Ogretmenevi, there are two means of transportation.

DECEMBER 6 YRS

My Year Manager is Sınıf Müdürüm. P.E. is on Beden eğitimi dersimin günü

KULLANMA KLAVUZU / USER'S GUIDE GTİP/HS Code:

If you have any issue in outlook mail account like spam mail, mail send or receive issues, mail delivery problem, mail sending too late and.

Seri kablo bağlantısında Windows95/98/ME'ten Windows 2000'e bağlantı Windows95/98/ME - NT4 bağlantısına çok benzer.

Lesson 30: will, will not Ders 30: will, will not

A LANGUAGE TEACHER'S PERSONAL OPINION

Example: 1 Shall I give the baby some tea? (Bebeğe biraz çay vereyim mi?)

8. SINIF KAZANIM TESTLERİ 1.SAYI. Ar-Ge Birimi Çalışmasıdır ŞANLIURFA İL MİLLİ EĞİTİM MÜDÜRLÜĞÜ DİZGİ & TASARIM İBRAHİM CANBEK MEHMET BOZKURT

Travel Getting Around

1. English? a. She is b. Is c. He d. Is she. 1. This is an office, and tables. a. those are b. that are c. these d. that is. 1. This is girlfriend.

İngilizce de selamlaşma maksatlı kullanılabilecek pek çok yapı vardır. Bunlar Türkçeleri ile beraber aşağıda verilmektedir:

BBC English in Daily Life

Q26.1 a ve b arasında iki farklı bağlama şekilde görülmektedir. Buna göre hangi bağlamada en düşük direnç değeri elde edilebilir.

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

STATE OF THE ART. Be Goıng To Functıons (İşlevleri) 1. Planned future actions (Planlanmış gelecek zaman etkinlikleri)

AB surecinde Turkiyede Ozel Guvenlik Hizmetleri Yapisi ve Uyum Sorunlari (Turkish Edition)

Uzaktan Kumandalı Manyetik Küresel Dengelemeli Robot

Melih Hilmi ULUDAĞ. Yazılım Mühendisi Mekatronik Mühendisi. a aittir.

1. Superlative lerden sonra gelen fiil infinitive olur. ( the latest species to join the

Hukuk ve Hukukçular için İngilizce/ English for Law and Lawyers

> what is ansible*? "infrastructure as code"

NİLÜFER LOTUS. Dikey Reyon / Vertical Multideck NİLÜFER FL LOTUS FL

PACKAGE STITCHING SYSTEMS KOLİ DİKİŞ SİSTEMLERİ. MAKİNA SAN.TİC.LTD.ŞTİ KOLİ DİKİŞ MAKİNALARI ve DİKİŞ TELİ İMALATI GÜVENİLİR ÜRETİMDE DOĞRU TERCİH

Put on make-up: Makyaj yapmak Brush: Taramak Long: Uzun. Then: Sonra Ask: Sormak Look: Görünmek All right: İyi

e-tartı LTR3 Firmware Upgrade Yazılım Güncelleme Moduler Connection LTR3 Firmware Upgrade / LTR3 Yazılım Güncelleme v1.0.

BİLGİSAYAR BİLİMİ DERSİ (KUR-2)

ingilizce.com-müşterilerle En çok kullanılan Kelime ve Deyimler-Top words and phrases to use with customers

Lesson 66: Indirect questions. Ders 66: Dolaylı sorular

WEEK 11 CME323 NUMERIC ANALYSIS. Lect. Yasin ORTAKCI.

VTIY DERS-4 YARDIMCI NOTLARI -2018

Welcome. Hos Geldiniz. Summer Schools Presentation. Yaz Okulları Sunumu. Sandi Engler Overseas College Counselor Yurtdışı Üniversiteler Danışmanı

Giriş Nanobot düşük fiyatlı her yaş grubuna hitap eden bir robot ki dir. Kurulumu ve kullanımı çok basi r.

JABRA stone3. Kullanım Kılavuzu. jabra.com/stone3. jabra

PCC 6505 PROFILE CUTTING LINE

Y O L T A R İ F L E R İ

Final Sınavı Soruları Bahar 2018

ARDUINO NEXTION UYGULAMASI. Bu makale, Arduino UNO kartı ile Nextion HMI ekranlarının nasıl kontrol edildiğini anlatmaktadır.

FIDEL CASTRO BY VOLKER SKIERKA DOWNLOAD EBOOK : FIDEL CASTRO BY VOLKER SKIERKA PDF

WILLIAM SHAKESPEARE BY TERRY EAGLETON DOWNLOAD EBOOK : WILLIAM SHAKESPEARE BY TERRY EAGLETON PDF

Örnek. int analogpin = 3; int val = 0; void setup() { Serial.begin(9600); } void loop() { val = analogread(analogpin); Serial.

THE ENGLISH SCHOOL OF KYRENIA an exceptional school

Ünite 12. Listmania. Ortak Dersler. İngilizce II. Okt. Derya KOCAOĞLU

İngilizce konu anlatımlarının devamı burada Tıkla! Spot On 8 Ders Kitabı Tüm Kelimeleri. How do we spell the Present Continuous Tense?

SAFETY FOOTWEAR SHOES COLLECTION AYAKKABI KOLEKSİYONU

CmpE 320 Spring 2008 Project #2 Evaluation Criteria

"Farklı?-Evrensel Dünyada Kendi Kimliğimizi Oluşturma" İsimli Comenius Projesi Kapsamında Yapılan Anket Çalışma Sonuçları.

myp - communıty&servıce ınstructıons & forms

REFLECTIONS. 8.Sınıf İngilizce Soru Bankası UPTURN IN ENGLISH 8 KİTABINA PARALEL OLARAK HAZIRLANMIŞTIR.

İNGİLİZCE. My Daily Routine. A) It's one o'clock. It s on Monday. Zeka Küpü Yayınları

Şimdi de kesin bir zorunluluğun bulunmadığını ifade eden cümlelere örnekler verelim:

web-sitesi : satış : teknik destek : tel : IM-SMO20 Ultrasonik Mesafe Sensörü Özellikler

First Stage of an Automated Content-Based Citation Analysis Study: Detection of Citation Sentences

WOULD. FUTURE in PAST [1] (geçmişteki gelecek) [past of WILL] He said he would be. She hoped (that) we would com. I thought that he would ref

Paralel ve Seri İletişim. Asenkron/Senkron İletişim. Şekil 2: İletişim Modları

Islington da Pratisyen Hekimliğinizi ziyaret ettiğinizde bir tercüman istemek. Getting an interpreter when you visit your GP practice in Islington

LALE TULIP. Alçak Dikey Reyon / Semi-Vertical Multideck

Mart Ayı Değerler Eğitimi. Samimiyet

İÇİNDEKİLER VII İÇİNDEKİLER 1 ARDUINONUN TEMELLERİ 1

KÜP YAPIMI. Küp 6 kenarı eşit uzunlukta olan üç boyutlu bir şekildir. Küp. PROJE GÖREVİ mm boyutlarında bir küp tasarlamak

Bilgisayar Bilimcileri Haklıymış

Gelir Yönetimi. Gönüllü

Fıstıkçı Şahap d t c ç

İNGİLİZCE II Yrd. Doç. Dr. Emrah EKMEKÇİ

Diyalog Sistemleri. Sohbet ve sanal asistan uygulamaları

Lesson 23: How. Ders 23: Nasıl

Lesson 31: Interrogative form of Will. Ders 31: Will kalıbının soru biçimi

Learn how to get started with Dropbox: Take your stuff anywhere. Send large files. Keep your files safe. Work on files together. Welcome to Dropbox!

«Soru Sormak ve Bir Şey İstemek»

Kısaltılmış biçimi: Olumlu cümlelerde ('ll) Olumsuz cümlelerde: (Won't) A WILLINGNESS (İsteklilik) PROMISE (Vaad):

Transkript:

Ardunio ve Bluetooth ile RC araba kontrolü Gerekli Malzemeler: 1) Arduino (herhangi bir model); bizim kullandığımız : Arduino/Geniuno uno

2) Bluetooth modül (herhangi biri); bizim kullandığımız: Hc-05 3) 9v Batarya

4) Arduino batarya kablosu 5) Arduino Mini BreadBoard

6) Arduino Motor Shiled (L293D) 7) Arduino Kablo (erkek erkek)

1) Arduino/Geniuno uno Kullanılacak arduino türü projenin türüne göre farklılık gösterebilir. Burada dikkat edilmesi gereken unsur: proje geliştirme aşamasında kullanılacak arduino türünün seçili olmasısır. 2) Arduino Motor Shiled (L293D) Dört adet motorun bağlanmasına imkan vermektedir. Bizim projemizde iki adet motor bulunmaktadır: Ön ( sağ-sol); Arka (ileri-geri) 3) 9v Batarya Rc arabadaki bataryalar ile birlikte arduinomuzun harici olarak çalışmasına imkan vermektedir. 4) Arduino Batarya Kablosu 9v luk bataryayı arduinomuza bağlamamız için ihtiyaç duyduğumuz gereçtir. 5) Arduino Mini BreadBoard Oluşturulacak projede bağlantı sayımız ne kadar çok ise ve projemiz ne kadar komplike yapıda ise kullanmaya ihtiyaç duyduğumuz bread board un boyutu aynı oranda büyümektedir. Bizim oluşturduğumuz projede bread board u bir tek bluetooth modülü bağlamak için kullandık. 6) Bluetooth Modulü Kullanacağumız program yardımı ile telefonumuzdan alduğı komutları arduino ya iletecek olan uzaktan bağlantı modülümüz. 7) Arduino Kablo (Erkek Erkek) Oluşturacağınız projenizin türüne göre ihtiyaç duyacağınız kablo çeşidi ve miktarı farklılık gösterir. Biz projemizde bluetooth modülü bağlamak için 4 adet (erkek erkek ) kablo kullandık. Motorlarımızın arduinoya monte etmemiz için gerekli olan kabloları mevcuttur.

KODLARI //----------------------------------------------------------- ------------------------------------------------------------- --------------- //Basic Remote Control Car - Bill Tarpy - North East CoderDojo 17/01/2015 //Feel free to use this software as a basis for your own. #include <SoftwareSerial.h> //the library for seial communication #include <AFMotor.h> // the library for the Adafruit L293 Arduino Motor Shield int incomingbyte = 0; // for incoming serial data int speed_min = 135; //the minimum speed the motors will turn - take it lower and motors don t turn int speed_max = 255; //the maximum speed the motors will turn you can t put in higher int speed_left = speed_max; // set both motors to maximum speed int speed_right = speed_max; //as we added a Motor Shield Library we can just use the following code to define our M1 and M2 motors and their PWM frequency //the library takes care of all the complexity of the physical interface the Arduino uses to talk to the shield

and the motor AF_DCMotor motor_left(1, MOTOR12_1KHZ); // create motor #1, 1KHz pwm AF_DCMotor motor_right(4, MOTOR12_1KHZ); // create motor #2, 1KHz pwm void setup() { Serial.begin(9600); // set up Serial library at 9600 bps - this is the speed the serial interface will work at Serial.println( Motor test! );// display message for test purposes when connected to a serial monitor } void loop() { //this is our repeating loop - that will go round and round until we switch the Arduino off motor_left.setspeed(speed_left); // minimum speed 135 max speed 255 motor_right.setspeed(speed_right); // minimum speed 135 max speed 255 //first check if there is anything on the serial interface //we are using the Arduino s default serial interface (pins 0 and 1)so no need to define these if (Serial.available() > 0) { // read the incoming byte: incomingbyte = Serial.read();

} // if there is something on the serial interface it is read and assigned to incomingbyte // we then use a SWITCH (case) statement which, depending on incomingbyte, does different things // it runs the left and right motors to produce movement Forward, Backward, Left, Right or Stop //that s all there is to it! switch(incomingbyte) { case S : // stop all motors { motor_left.run(release); // stopped motor_right.run(release); // stopped Serial.println( Stop\n ); //display message for test purposes when connected to a serial monitor case F : // turn it on going forward { motor_left.run(forward);

Serial.println( Forward\n );//display message for test purposes when connected to a serial monitor case B : // turn it on going backward { motor_left.run(backward); Serial.println( Backward\n );//display message for test purposes when connected to a serial monitor case R : // turn right { motor_right.run(forward); Serial.println( Rotate Right\n );//display message for test purposes case L : // turn left {

motor_right.run(backward); Serial.println( Rotate Left\n );//display message for test purposes case 1 : // Put what you like in here - for example - change the motor speeds { speed_left = speed_min; // set both motors to minimum speed speed_right = speed_min; Serial.println( Speed 1\n );//display message for test purposes case 2 : // Put what you like in here - for example - turn on some LED lights on the car { Serial.println( Lights on\n );//display message for test purposes //why not use the motor sheild s spre motors - M3 and M4 - to turn lights on and off

//you would need to define M3/4 in your program setup, and a few extra veriables to hold values //then FORWARD and BACKWARD would send a voltage one way then the other through the M3 and M4 terminals as you require } } //----------------------------------------------------------- ------------------------------------------------------------