Sunum yükleniyor. Lütfen bekleyiniz

Sunum yükleniyor. Lütfen bekleyiniz

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

Benzer bir sunumlar


... konulu sunumlar: "BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)"— Sunum transkripti:

1 BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)

2 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ü. Arduino klasörünün altındaki examples klasörünün bir alt klasörü.

3 SSD.h

4 SSD.cpp

5

6

7

8

9 keywords. txt tab

10 SSDTest.ino

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

12 9’s Complement SSD 2 SSD 1

13 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).

14 An NPN Transistor as a Switch

15 Görüntünün Sürekliliği (Persistence of Vision) Teorisi 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.

16 Ç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.

17 4 Dijit 7 Parçalı Gösterge

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

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

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


"BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)" indir ppt

Benzer bir sunumlar


Google Reklamları