BM-305 Mikrodenetleyiciler Güz 2016 (7. Sunu)

Slides:



Advertisements
Benzer bir sunumlar
Gerekli olduğunda insanlara ulaşın Yer Uzantıları Reach prospective customers at important moment with location extensions. Location Extentions.
Advertisements

Alakalı müşterileri hedefleyin. Google ile Yeniden Pazarlama Remarketing with Google. Target customers who are already showing interest in your business.
Google Display Network Targeting options.
Atama ve eşleme (eşleştirme) problemleri (Matching and Assignment problems)
Logical Design Farid Rajabli.
RELATIVE CLAUSES YASEMİN TURAN ( B ) ELT 1.
İŞ SIRALAMA VE ÇİZELGELEME DERS 5
S 2/e C D A Computer Systems Design and Architecture Second Edition© 2004 Prentice Hall Chapter 6 Overview Number Systems and Radix Conversion Fixed point.
Bir Problemin Programa Dönüştürülme Süreci
Hareket halindeki insanlara ulaşın.Mobil Arama Ağı Reklamları Reach customers with Mobile Search Network.
UNIT 18 CLIMATE “İklim” E x e r c i s e s. Translate into English sonunda ………………………………………………………. Mısır seyahati ………………………………………………………. sıcaklık hariç.
NOUN CLAUSES (İSİM CÜMLECİKLERİ).
DEVRE TEOREMLERİ.
Bilgisayarlar kodu nasıl işler?
Kampanyanızı optimize edin. Görüntülü Reklam Kampanyası Optimize Edici'yi Kullanma Display Ads Campaign Optimizer. Let Google technology manage your diplay.
COSTUMES KILIKLAR (KOSTÜMLER)
Key Terms from the Chapters. Chapter -1 Statistics, Data, and Statistical Thinking Fundemantal Elements of Statistics Statistics: EN: Statistics is the.
BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)
Yapısal Programlama Yüksek Düzeyli Dillerin Gelişim Süreci – , Fortran (by IBM), for creating scientific and engineering applications, first commercial.
21/02/2016 A Place In My Heart Nana Mouskouri « Istanbul « (A Different Adaptation)
RELIGIOUS TRADITIONS BAGS TO DO IN YOUR CITY T.C. Ünye Kaymakamlığı ANAFARTA ORTAOKULU.
MUSIC FOR COMENIUS BROTHER HOOD NEVER ENDS BROTHERHOOD NEVER ENDS…. *We are not going to give up yet *It's time for us to make our move *We fed up with.
Searching Thy Lover, To Be One Looking at the sky.. Behind every cloud and over the wings of the birds.. I always dreamt of you. You were looking for.
Improvement to Rankine cycle
Practice your writing skills
DISCUSSION
CHILD PORNOGRAPHY IŞIK ÜNİVERSİTESİ
Students social life and join the social clubs. BARIŞ KILIÇ - EGE DÖVENCİ IŞIK ÜNİVERSİTESİ
COUNTABLE AND UNCOUNTABLE NOUNS
Paralel Programlamaya Giriş
Motor Sürücü Devresi ile Kontrol
TREATMENT/TRETMAN.
Soldiers Who Died In Canakkale
BİLİMSEL ÇALIŞMA BASAMAKLARI SCIENTIFIC WORKING STEPS MHD BASHAR ALREFAEI Y
Bilgisayarlar kodu nasıl işler?
Bir Problemin Programa Dönüştürülme Süreci
W O R D A M G E U FOR N I T 1.
Would you like a different color?
Future: I will/shall & I am going to. Structure: Subject+will/shall+verb(base form)+object.
tomorrow soon next week / year in five minutes/ in two hours later today I'll go to the market tomorrow. Don’t worry. He will be here soon. There.
WEEKS Dynamics of Machinery
CONDITIONALS TYPE
Döngüler ve Shift Register
NİŞANTAŞI ÜNİVERSİTESİ
MAKİNA TEORİSİ II GİRİŞ Prof.Dr. Fatih M. Botsalı.
Turkish cuisine is very popular around the world. It has a very wide options for everyone. The variety of the recipes and the ingredients which are grown.
NİŞANTAŞI ÜNİVERSİTESİ
The Need for Program Design
“Differentiation for making a positive Difference!!!!”
Multipoint programlama
NİŞANTAŞI ÜNİVERSİTESİ
NİŞANTAŞI ÜNİVERSİTESİ
Before the Battle of Çanakkale. Why a Front in Çanakkale was Opened? In the summer of 1914, the war continued in Europe with all its intensity, and by.
(Dr. Öğr. Üyesi Deniz Dal)
Yapısal Programlama Yüksek Düzeyli Dillerin Gelişim Süreci
Chapter 5 – Balancing of accounts
Chapter 4 - The effect of profit or loss on capital and double entry system for expenses and revenues Bölüm 4 – Kâr ve zararın sermaye üzerindeki etkisi.
Imagine that you are a teacher and you are taking your 20 students to England for the summer school.
PREPARED BY: 9-B STUDENTS. Sumerians, who laid the foundations of great civilizations and the world cultural heritage, emerged to the st The Sumerians.
DÜZLEMSEL MEKANİZMALARIN
Bilgisayarlar kodu nasıl işler?
CONDITIONALS TYPE
“8. SINIFLAR” MASTERMIND UNIT 4 On the phone Wopenglish GURURLA SUNAR…
ELİF SU KÜÇÜKKAVRUK. plants When you touch this plant, it can be like the photograph. When you let go, it becomes normal.
People with an entrepreneurial mindset are always brave.
pnpn Yapılı Elektronik Elemanlar ve Diğerleri
Examples: In the Figure, the three points and coordinates are given that is obtained with CAD program. If these three points are represented by the curve.
Sunum transkripti:

BM-305 Mikrodenetleyiciler Güz 2016 (7. Sunu) (Yrd. Doç. Dr. Deniz Dal)

ARDUINO İÇİN C++ KÜTÜPHANESİ (LIBRARY) GELİŞTİRİLMESİ

LM35DZ Sıcaklık Sensörü LM35DZ temperature sensor gives an output of 10mV for every 1 degree Celcius. With aRef at 1.1V, the temperature range of the LM35 is limited to 0 to 110 degrees Celcius.

LM35DZ Kütüphanesi ve Arduino IDE Ortamına Entegrasyon LM35DZ.h LM35DZ.cpp keywords.txt LM35DZTest LM35DZTest.ino Arduino klasörünün altındaki libraries klasörünün bir alt klasörü. https://www.arduino.cc/en/Hacking/LibraryTutorial

LM35DZ.h

LM35DZ.cpp

tab keywords.txt tab

LM35DZTest.ino

Sketch - > Include Library - > LM35DZ File - > Examples - > LM35DZTest

ORTAK KATOTLU/ANOTLU TEK DİJİT 7 PARÇALI GÖSTERGENİN SÜRÜLMESİ

Tek Dijit 7 Parçalı Gösterge

Tek Dijit 7 Parçalı Gösterge

Ortak Katotlu Tek Dijit 7 Parçalı Gösterge

Ortak Katotlu Tek Dijit 7 Parçalı Göstergenin Pinout Diyagramı

Ortak Katotlu Tek Dijit 7 Parçalı Göstergenin Testi

Ortak Katotlu Tek Dijit 7 Parçalı Göstergenin Desimal Sayıcı Olarak Sürülmesi QUESTION: Instead of using 8 resistors, could you just add one kilo-ohm resistor to the common ground of the unit and have the equivalent circuit? ANSWER: Actually you would not get an equivalent circuit with the single-kilo-ohm resistor setup you propose. The reason why is that not all the segments on the 7-segment display is going to be on all the time. Displaying an "8" consumes more current as opposed to a "1". Because the current consumption varies, so will the voltage across the single resistor (remember Ohm's Law: V=IR), which causes the voltage across the LEDs to vary as well. So what you get is that the LED segments will vary in brightness depending on how many segments are on at once. With the parallel network of resistors, each LED will be the same brightness no matter how many segments are on at once.

SSD SSD.h SSD.cpp keywords.txt SSDTest SSDTest.ino SSD (Seven Segment Display) Kütüphanesi ve Arduino IDE Ortamına Entegrasyon SSD SSD.h SSD.cpp keywords.txt SSDTest SSDTest.ino Arduino klasörünün altındaki libraries klasörünün bir alt klasörü.

SSD.h

SSD.cpp

SSD.cpp

SSD.cpp

SSD.cpp

SSD.cpp

tab keywords.txt tab

SSDTest.ino

Sketch - > Include Library - > SSD File - > Examples - > SSDTest

9’s Complement SSD 1 SSD 2 To obtain the 9’s complement of any number we have to subtract the number from (10n - 1), where n = number of digits in the number.

ORTAK KATOTLU/ANOTLU 4 DİJİT 7 PARÇALI GÖSTERGENİN SÜRÜLMESİ

PN2222 NPN Transistor (40 V, 0.6 A (600 mA), TO-92) Bipolar Junction Transistors, BJTs, are three-terminal devices. The terminals of a BJT are called the base (B), the collector (C) and the emitter (E). The symbol used to represent an NPN type BJT is shown in Figure a. The physical appearance of a PN2222 BJT is shown in Figure b along with the relative locations of the base, collector and emitter for that BJT. If we apply a voltage to the base of the BJT, current is allowed to flow from the collector to the emitter of the BJT. Typically, the higher the voltage applied to the base of the BJT, the more current flows from the emitter. The BJT can act as a switch; low base voltages turn off the switch (the emitter current is zero) while high base voltages turn the switch on (the emitter current is non-zero). http://www.digilentinc.com/classroom/Electronics101/p1.cfm

An NPN Transistor as a Switch

Görüntünün Sürekliliği (Persistence of Vision) Teorisi http://www.engineersgarage.com/microcontroller/8051projects/seven-segment-multiplexing-AT89C51-circuit Human brain cannot differentiate between two events occurring at a time difference of less than 0.04 (1/25) sec. For example, if the individual digits of a 4 digit 7 seven segment display are displayed one after the other so fast, the human brain cannot detect the difference. Although only one digit is displayed at a time, it appears as a four digit number. http://www.youtube.com/watch?v=IpFqXNPH1NU

Çoğullama (Multiplexing) Multiplexing is a technique to control more than one 7 segment displays with a few IO pins. It is based on having two or more 7 segment displays and connecting them together. (An example of what they would display is 00, 11, 22, 33, 44, 55, 66, 77, 88, 99.) But what we do in this case is control each GND (-) individually which turns it into a multiplexed display. We will switch displays every 0.5 ms which gives us control of each display. It is useful when you are building a project with lots of components and are short of IO pins. For example, without multiplexing, driving two 7 segment displays requires 14 IO pins to control the whole circuitry. On the other hand, we can control two 7 segment displays with 9 IO pins using multiplexing. http://www.instructables.com/id/Arduino-7-segment-countdown-timer/step2/What-is-multiplexing/

4 Dijit 7 Parçalı Gösterge

Ortak Katotlu 4 Dijit 7 Parçalı Göstergenin Pinout Diyagramı

Ortak Katotlu 4 Dijit 7 Parçalı Göstergenin Testi

Ortak Katotlu 4 Dijit 7 Parçalı Göstergenin Sürülmesi