Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore ใบความรู้ที่ 6 การใช้งาน Arduino ควบคุม 7 Segment

ใบความรู้ที่ 6 การใช้งาน Arduino ควบคุม 7 Segment

Published by kowit2551, 2018-04-02 11:50:20

Description: Control 7 Segments in Arduino

Search

Read the Text Version

การใชง้ านอารด์ ยุ โน ควบคมุ 7 SegmentControl 7 Segments in Arduino

ความรู้พืน้ ฐานเก่ียวกบั 7 Segment เป็ นอปุ กรณ์แสดงผลท่ีประยกุ ต์นาไดโอดเปลง่ แสงมาเปลี่ยนรูปร่างให้มี ลกั ษณะเป็นขีดยาวจานวน 7 ขีดเรียงตอ่ กนั คล้ายเลข 8 และจดุ 1 จดุ

ประเภทของ 7 Segment แบบคอมมอนแคโทด (Common Cathode)

ประเภทของ 7 Segment แบบคอมมอนแคโทด (Common Cathode) InputG F Binary B A Hexadecimal Number EDC0 1 1 1 1 1 1 3Fh 00 0 0 0 1 1 0 06h 11 0 1 1 0 1 1 5Bh 21 0 0 1 1 1 1 4Fh 31 1 0 0 1 1 0 66h 41 1 0 1 1 0 1 6Dh 51 1 1 1 1 0 1 7Dh 60 0 0 0 1 1 1 07h 71 1 1 1 1 1 1 7Fh 81 1 0 1 1 1 1 6Fh 9

ประเภทของ 7 Segment แบบคอมมอนแอโนด (Common Anode)

ประเภทของ 7 Segment แบบคอมมอนแอโนด (Common Anode) InputBinary Hexadecimal NumberGF EDCBA 40h 0 79h 11 0 0 00 00 34h 2 30h 31111001 19h 4 12h 50100100 02h 6 78h 70110000 00h 8 10h 9001100100100100000010111100000000000010000

การนา 7 Segment ไปใช้งาน ตาแหน่งขาตา่ งๆ บนอปุ กรณ์จริง

การสแกน 7 Segment โดยตรง

การสแกน 7 Segment โดยใช้ไอซีถอดรหสัสญั ลักษณ์ หมายเลขขา คาอธิบาย 3 lamp test input (active LOW) LT 4 ripple blanking input (active LOW) 5 latch enable input (active HIGH) BL address (data) input 7,1,2,6 ground supply voltage LE 8 segment outputD0 – D3 13,12,11,10,9,15,14 supply voltage VSSQa - Qg 16 VDD

การสแกน 7 Segment โดยใช้ไอซีถอดรหสั

คาถามท้ายใบความรู้ท่ี 6 จงอธิบายโครงสร้างและสว่ นประกอบของเซเวนเซกเมนต์ จงบอกความแตกตา่ งของเซเวนเซกเมนต์แบบคอมมอนแอโนด และคอมมอนแคโทด จงบอกความแตกตา่ งระหวา่ งการควบคมุ เซเวนเซกเมนต์ แบบใช้ไอซีถอดรหสั และแบบไมใ่ ช่ไอซีถอดรหสั

ใบงานการทดลองท่ี 4 การใช้งานอาร์ดยุ โนเพ่อื ควบคมุ 7 Segment ด้วยวธิ ีการสแกน

ใบงานการทดลองท่ี 5 การใช้งานอาร์ดยุ โนเพื่อควบคมุ 7 Segment ด้วยการใช้ไอซีถอดรหสั


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook