C# RADAR PROJECT YAKUP ÖZDEMİR

Slides:



Advertisements
Similar presentations
Goal: By the end of the lesson, students will be able to find the slope of a line from a graph.
Advertisements

Creating a Dialog-Based Comet Windows Program Brian Levantine.
1 Data Analysis Framework for DHC Tower Update - 07/28/2003 Kurt Francis - Northern Illinois University.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Magnetometer Testing Board Presented by Jianer Shi 04/25/2011.
DT265-2 Object Oriented Software Development 2 Lecture 3 : Windows Programming Lecturer Pat Browne
How to Use Remote Clock. Use the following link and save Remote Clock to your desktop or an easily accessible place:
Gimbal contor & Analysis Applicatıon M.Özgür Ağcakaya
LEGO NXT Robot Programming Introduction to Programming a Lego NXT robot in Java.
Embedded Systems Programming 1 ETEE 3285 Topic HW3: Coding, Compiling, Simulating.
Hardware Fundamentals. Instructor: G. Rudolph, Summer Key Hardware Components Microprocessor Memory Peripherals (I/O) Bus “Glue Logic”
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
TA: Chris Reilly Group 5: Benjamin, Ramie, Zachary, Dinal.
Light Gates –To Collect Data Not Connected To Computer 1.Press enter to select timing 2.Press or to select Set Timing Mode 3.Press Enter 4.Press or to.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Re-commissioning the Student Radio Telescope Michelle Ho Dr. Christopher Groppi.
SlopeALL Mixed Up Standard Form GraphingSlope Intercept Form $500 $400 $300 $200 $100.
20 pt 30 pt 40 pt 50 pt 10 pt 20 pt 30 pt 40 pt 50 pt 10 pt 20 pt 30 pt 40 pt 50 pt 10 pt Review 1Review 2Review 3Review 4Review 5 10 pt 20 pt 30 pt 40.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
Middle School Grades 6-8 Advanced Features of Inspiration.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Clap On, Clap Off Introductory Presentation. Opening Activity What is a sensor? Can you give examples? ?
The palm was created using a modular cavity design. It was designed using ProEngineer and printed using Rapid Prototype. The fingers were made using Polymorph.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)
ROBOTIC ARM 2 Wilmer Arellano © Hardware  Next slide shows sensor connection to analog pin 0 and Motor 1 connection. Lecture is licensed under.
Summary We had used and the need to learn and implement using the software of Microsoft Visual Studio 2008 into our system upgrade. The report documents.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
PROGRAMMING LANGUAGES FINAL PROJECT FATIH SÜRER Serial Communication with MSP430.
Test for timestamp : measure code execution time.
 The MSP430 is a mixed-signal microcontroller family from Texas Instruments. Built around a 16-bit CPU, the MSP430 is designed for low cost and, specifically,
C# SERIAL COMMUNICATION TEMPERATURE CONTROL WITH ARDUINO KAAN EREN
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Ultrasonic Radar with USB missile launcher Present by: Virendrasinh Jadeja( ) Parshotam Rozara ( ) Haresh Pithiya ( )
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Using Forms and Form Elements In Visual Basic.NET.
Forward Until Near Stop when near a wall.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Students Name: ………………………………………………………………….. Programming Control Systems using Minibloq Sayande Adekoye College of North West London.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
VBA Excel Macro 1.Create a Macro: To create a macro in Excel VBA, Create a Macro: To create a macro in Excel VBA,Create a Macro: To create a macro.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
CSE 341 Project : Ultrasonic Radar PRESENTED BY: NAME : AKIFA TASNEEM ID : SECTION: 02 1.
Introduction In this lab , we will learn
Chapter Topics 15.1 Graphical User Interfaces
ROBOTC for VEX Online Professional Development
ROBOTC for VEX Online Professional Development
Introduction To Programming with LEGO NXT 2
Introduction to VB6 Week 1 3/2/2004 PPCC - Introduction to VB6
Programming Part 2 Mod Kit
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Introductory Presentation
EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz
Back Cover Cover Page Page 1-Triple click in this textbox and enter your information for Page 1 of your book. Page2-Triple click in this textbox and enter.
Back Cover Cover Page Page 1-Triple click in this textbox and enter your information for Page 1 of your book. Page2-Triple click in this textbox and enter.
Stepper Motors A stepper motor is a “pulse-driven” motor that changes the angular position of the rotor in “steps” Define β = the step angle (per input.
By Sanjay and Arvind Seshan
Lego EV3 Mindstorms SW Programming Blocks.
Chapter 1 – Lesson 4: Jumping Jack Experiment
CBC v2 Using the CBC.
Chapter 15: GUI Applications & Event-Driven Programming
Coding Edbot Dream with Scratch
Graphic and Other Object in Origin
Transformations Review
F T T T F.
Graphing Using Processing
Presentation transcript:

C# RADAR PROJECT YAKUP ÖZDEMİR 2010514054

COMPONENTS MSP430 HC-SR04 ULTRASONIC RANGE SENSOR 28BYJ-48 STEPPER MOTOR JUMPER CABLES BREADBOARD

SOFTWARE I used a simple C# library for plotting the values read from the ultrasonic sensor. Here is the link; www.codeproject.com/Articles/32836/A-simple-C-library-for-graph-plotting I used the library below in order to rotate my stepper motor since original stepper library in Energia can not be applied to 28BYJ-48. www.instructables.com/id/BYJ48-Stepper-Motor/?ALLSTEPS For coding, i used Energia IDE and Microsoft Visual Studio

In order to use a library in your code, namespaces must be the same. I made some changes in library in order to succeed my task. For example, i needed to change the graph according to my needs such that i wanted to plot distance that is read in the first form. System.Windows.Forms.Form f = System.Windows.Forms.Application.OpenForms[ ‘’Form1’’]; gives me the oppurtunity to access variables in the other forms so that i will be able to use variables in the listbox. In order to use a library in your code, namespaces must be the same.

Using the System.IO.Ports; gives us the oppurtunity to get port names easily. Port names are transfered into the combobox. In the button click event, timer has started and if port is not open, i tried to open and set some necessary values such as baud rate.

In the disconnect button event, i stopped the timer and close the port. In the keydown event of the textbox, the only expected button is ‘Enter’ to write the value to the port. The reason why I substitue 9 from the original value is because of setting the speed of the motor.

In timer tick event, i read the values written by the sensor and transfer them into an array named ‘rng’ in order to plot the graph of the values.

This is the library that i use to rotate my motor This is the library that i use to rotate my motor. In each case motor’s coils are trigged with an order. In order to prevent cable mess, i had to rotate motor in counter clockwise as well. Serial communication is the most significant topic in my project.

REFERENCES http://www.rhyous.com/2010/06/18/how-to-limit-or-prevent-characters-in-a-textbox-in-csharp/ http://stackoverflow.com/questions/5348844/how-to-convert-a-string-to-ascii http://www.cagatayodabasi.com/2013/01/msp430-launchpad-bilgisayar-kontrollu.html http://energia.nu/Map.html http://msdn.microsoft.com/en-us/library/7ewkcdb3%28v=vs.110%29.aspx http://www.youtube.com/watch?v=7xCVSWVLRKg http://www.codeproject.com/Articles/32836/A-simple-C-library-for-graph-plotting http://www.instructables.com/id/BYJ48-Stepper-Motor/?ALLSTEPS

QUESTIONS