C# SERIAL COMMUNICATION TEMPERATURE CONTROL WITH ARDUINO KAAN EREN

Slides:



Advertisements
Similar presentations
Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
Advertisements

EMS1EP Lecture 4 Intro to Programming Dr. Robert Ross.
Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
ARDUINO FRAMEWORK.
Intermediate Electronics and Lilypad Where Electronics Meet Textiles Workshop with Lynne Bruning and Troy Robert Nachtigall Sponsored by Spark Fun and.
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
How to use Arduino By: Andrew Hoffmaster.
Embedded Sumo 1T4 – 1T5 UTRA.
Introduction to Arduino Programming January MER-421:Mechatronic System Design.
Intro to Arduino with LilyPad Make a MakerSpace, Artisan’s Asylum Linz Craig, Chris Taylor, Mike Hord & Joel Bartlett.
Intro to Programming and Microcontrollers. Activity Group into pairs and sit back-to-back. Pick one person who is going to draw. The other person will.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Embedded Programming and Robotics
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Basic Circuits – Lab 2 Arduino and Sensors
Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer.
Programming Hexors on Arduino Uno. Arduino Uno Arduino is an open-source electronics platform based on easy- to-use hardware and software. It's intended.
ProtoSnap Introduction to Arduino Casey Haskell, Pete Lewis, David Stillman, Jim Lindblom, Pete Dokter, Lindsay Levkoff, Trevor Zylstra.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin.
Franz Duran INTRODUCTION TO A RDUINO PROGRAMMING & INTERFACING Engr. Franz Duran, MEP-ECE RapidSignal Electronics.
Introduction to Sensor Technology Week Five Adam Taylor
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Who Are You, Arduino? Er. Sahil Khanna
PROGRAMMING LANGUAGES FINAL PROJECT FATIH SÜRER Serial Communication with MSP430.
Microcontroller basics Embedded systems for mortals.
Lecture 9: Introduction to Arduino Topics: Arduino Fundamentals, Bean Date: Mar 22, 2016.
ME 120: Arduino Programming Arduino Programming Part II ME 120 Mechanical and Materials Engineering Portland State University
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Ultrasonic Sensor TYWu.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
CSE 341 Project : Ultrasonic Radar PRESENTED BY: NAME : AKIFA TASNEEM ID : SECTION: 02 1.
Arduino Programming. THE ARDUINO IS A MICROCONTROLLER – A LOW COST, LOW PERFORMANCE COMPUTER.
Arduino.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
Prototyping with Microcontrollers and Sensors
Microcontroller basics
Val Manes Department of Math & Computer Science
Microcontroller basics
Microprocessors Tutorial 1: Arduino Basics
Arduino & its hardware interfacing
Microcontroller basics
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
Arduino - Introduction
Roller Coaster Design Project
Introduction to Arduinos
Roller Coaster Design Project
What is an Arduino ? Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino? By James Tedder.
Arduino : Introduction & Programming
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Aeroponic Engineering and Vertical Farming
Lab #1: Getting Started.
Arduino Uno circuit basics
Setting up a basic program with Arduino
Introduction to Arduinos
Introduction to arduino
Introduction to Arduino IDE and Software
Presentation transcript:

C# SERIAL COMMUNICATION TEMPERATURE CONTROL WITH ARDUINO 2012514503 KAAN EREN

SENSOR ARDUINO SERIAL COMMINUCATION VISUAL STUDIO C# COMPUTER CONTROL

WE MEASUREMENT THE SIGNAL OF THE SENSOR AND READ FOR ARDUINO. ARDUINO HAS CONNECTED COMPUTER VIA SERIAL COMPORT. C# CONNECT ARDUINO AFTER WE READ THE SIGNAL AND CALCULATED TEMPERATURE AND INTERVAL VALUE. THEN WE SHOW THE TEMPERATURE AND INTERVAL VALUE OF THE C#.

EQUIPMENT Arduino is an open-source prototyping platform based on easy-to-use hardware and software.This project I use the arduino uno board.

EQUIPMENT

EQUIPMENT LM35 TEMPERATURE SENSOR HC-SR04 ULTRASONIC SENSOR 3x LED

ARDUINO

ARDUINO Thats part I initialize the value and identify what we use inculude part of same using system.

ARDUINO The setup() function is called when a sketch starts. Use it to initialize variables, pin modes, start using libraries. The setup function will only run once, after each powerup or reset of the Arduino board.I defined output and input pin for arduino.Serial.begin(9600), opens serial port, sets data rate to 9600 bps

ARDUINO After creating a setup() function, which initializes and sets the initial values, the loop() function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board. analogRead() ; Reads the value from the specified analog pin. Serial.avaiable(); Get the number of bytes (characters) available for reading from the serial port.

ARDUINO Serial.read(); Reads incoming serial data. Serial.printIn(); Prints data to the serial port digitalWrite(pinnumber,HIGH or LOW); Write a HIGH or a LOW value to a digital pin. Delay(); Wait the program for the amount of time (in miliseconds)

C# DESİGNER This section was designed for user input.

C# DESİGN Defined initial values for the user name and password. Program check the user name and password if statement .If you wrong user name and password , you show the messagebox there is a error.

C# DESİGN

SerialPort(); Initializes a new instance of the SerialPort class. C# CODE SerialPort(); Initializes a new instance of the SerialPort class. SerialPort.GetPortNames() Gets an array of serial port names for the current computer.

C# CODE This two method,I read and take value of arduino and the convert electric signal to degree and centimetre unit.

C# CODE If we click button connect ,timer and serial comminucation begin. serialComport.BaudRate; Gets or sets the serial baud rate. serialComport.Open(); open serial comminucaiton. serialComport.PortName Write the port name combobox.

C# CODE

C# CODE Timer set interval to generate recurring events. serialComport.WriteLine() ; Writes data to the serial port. Chart1.Series[‘’Series1’’].Points.AddY(); show the temperature in graph

C# CODE Control statement temperature and lamp.Forexample if temperature bigger than threetysix,write serialcomport 1 and redlamp active the other lamp visible false.

REFERENCES http://arduinoturkiye.com/arduino-c-net-haberlesmesi/ http://elektrikelektronikprojeleri.blogspot.com.tr/ http://mvaslan.blogspot.com.tr/ http://playground.arduino.cc/Csharp/SerialCommsCSharp http://www.depositericrobotic.com http://www.electrocorner.net/ https://msdn.microsoft.com/ http://www.darreningram.net/c-serial-communication-with-arduino/ https://www.arduino.cc/ http://www.depositericrobotic.com/