... konulu sunumlar: "BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)"— Sunum transkripti:
BM-305 Mikrodenetleyiciler Güz 2015 (6. Sunu) (Yrd. Doç. Dr. Deniz Dal)
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ü.
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. http://www.digilentinc.com/classroom/Electronics101/p1.cfm 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).
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. http://www.engineersgarage.com/microcontroller/8051projects/seven-segment-multiplexing-AT89C51-circuit 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/