Presentation is loading. Please wait.

Presentation is loading. Please wait.

EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz

Similar presentations


Presentation on theme: "EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz"— Presentation transcript:

1 EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz 2011514066
C# CONTROLLED HOME EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz

2 MY AIM OF THAT PROJECT In this Project, I wanted to show that we can easily control the electronical devices just click a button in our home over C# and Arduino commnuication.

3 EQUIPMENTS Arduino Uno Board, Leds, LDR,
DHT11 Humidity and temperature sensor, Servo Motor, Jumper wires, Breadboard.

4 SERIAL COMMUNICATION This is the communication (data exchange) between the computer and the device that is connected to a serial port of the computer (most used are USB and RS232). Only one bit can send at a time. Baud Rate is an important factor. The messages are of 10 bits.(or 11 with parity). The ways are Simplex, Half Duplex, Full Duplex.

5 THE MEANING OF MY CODES C# : FORM1- KEY SCREEN
-Form1 is the Key screen.

6 THE MEANING OF MY CODES C# : FORM2- CONTROL PANEL
I also changed the forecolors, background images, maximum, minimum sizes, form types, locations of forms. And I also changed the specifications of the buttons.

7 THE MEANING OF MY CODES C# : FORM2- CONTROL PANEL

8 THE MEANING OF MY CODES C# : CONTROL PANEL -Serial ports declarations,
-And some functions.

9 THE MEANING OF MY CODES C#: BUTTON VISIBILITY AT THE START
All buttons are invisible at first. Tetbox1 can only be read.

10 THE MEANING OF MY CODES ARDUINO SECTION 1 : Declarations -Assignments

11 THE MEANING OF MY CODES ARDUINO : LED CONTROLS C# : BUTTON CONTROLS

12 THE MEANING OF MY CODES ARDUINO : SERVO DOOR CONTROL
C# : BUTTON CONTROLS

13 THE MEANING OF MY CODES ARDUINO : TAKING THE SENSORS VALUES
C#: READING THE SENSORS VALUES

14 THE MEANING OF MY CODES C#: ROOM CHOSEN
-While the buttons are already standing clicked For preventing the complexity.

15 THE MEANING OF MY CODES C# : TERMINATING THE FORM
This.Close(); closes only that form but; Application.Exit(); closes all the forms that are open

16 REFERANCES : https://www.arduino.cc/
TempSensor tr/library/system.io.ports.serialport(v=vs.110).aspx My own informations

17 THANKS FOR ATTENTION ! ANY QUESTION ?


Download ppt "EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz"

Similar presentations


Ads by Google