SlideShare a Scribd company logo
1 of 2
Download to read offline
นางสาว ออนกิริยา อุทะเสน เลขที่ 28 ม.4/5

                                      ใบงานที่ 3.1
                             ส่วนประกอบไมโครคอนโทรลเลอร์

จงศึกษาและตอบคาถามดังต่อไปนี้

1.ไมโครคอนโทรลเลอร์ ตรงกับคาภาษาอังกฤษว่า

- microprocessor หมายถึง ชิปที่ใช้เป็นหน่วยประมวลผลกลางของเครื่องไมโครคอมพิวเตอร์

2. ส่วนประกอบของไมโครคอนโทรลเลอร์ มีองค์ประกอบ 5 ส่วน คือ

   1. หน่วยประมวลผลกลางหรือซีพียู (CPU : Central Processing Unit)
   2. หน่วยความจา (Memory) สามารถแบ่งออกเป็น 2 ส่วน คือ หน่วยความจาที่มีไว้สาหรับเก็บ
      โปรแกรมหลัก (Program Memory) เปรียบเสมือนฮาร์ดดิสก์ของเครื่องคอมพิวเตอร์ตั้งโต๊ะ คือ
      ข้อมูลใดๆ ที่ถูกเก็บไว้ในนี้จะไม่สูญหายไปแม้ไม่มีไฟเลี้ยง อีกส่วนหนึ่งคือหน่วยความจาข้อมูล
      (Data Memory) ใช้เป็นเหมือนกกระดาษทดในการคานวณของซีพียู และเป็นที่พักข้อมูลชั่วคราว
      ขณะทางาน แต่หากไม่มีไฟเลี้ยง ข้อมูลก็จะหายไปคล้ายกับหน่วยความแรม (RAM) ในเครื่อง
      คอมพิวเตอร์ทั่วๆ ไป แต่สาหรับไมโครคอนโทรลเลอร์สมัยใหม่ หน่วยความจาข้อมูลจะมีทั้งที่เป็น
      หน่วยความจาแรม ซึ่งข้อมูลจะหายไปเมื่อไม่มีไฟเลี้ยง และเป็นอีอีพรอม (EEPROM : Erasable
      Electrically Read-Only Mempry) ซึ่งสามารถเก็บข้อมูลได้แม้ไม่มีไฟเลี้ยง
   3. ส่วนติดต่อกับอุปกรณ์ภายนอก หรือพอร์ต (Port) มี 2 ลักษณะคือ พอร์ตอินพุต (Input Port) และ
      พอร์ตส่งสัญญาณหรือพอร์ตเอาต์พุต (Output Port) ส่วนนี้จะใช้ในการเชื่อมต่อกับอุปกรณ์ภายนอก
      ถือว่าเป็นส่วนที่สาคัญมาก ใช้ร่วมกันระหว่างพอร์ตอินพุต เพื่อรับสัญญาณ อาจจะด้วยการกด
      สวิตช์ เพื่อนาไปประมวลผลและส่งไปพอร์ตเอาต์พุต เพื่อแสดงผลเช่น การติดสว่างของหลอดไฟ
      เป็นต้น
   4. ช่องทางเดินของสัญญาณ หรือบัส (BUS) คือเส้นทางการแลกเปลี่ยนสัญญาณข้อมูลระหว่าง ซีพียู
      หน่วยความจาและพอร์ต เป็นลักษณะของสายสัญญาณ จานวนมากอยู่ภายในตัว
      ไมโครคอนโทรลเลอร์ โดยแบ่งเป็นบัสข้อมูล (Data Bus) , บัสแอดเดรส (Address Bus) และบัส
      ควบคุม (Control Bus)
5. วงจรกาเนิดสัญญาณนาฬิกา นับเป็นส่วนประกอบที่สาคัญมากอีกส่วนหนึ่ง เนื่องจากการทางานที่
      เกิดขึ้นในตัวไมโครคอนโทรลเลอร์ จะขึ้นอยู่กับการกาหนดจังหวะ หากสัญญาณนาฬิกามีความถี่
      สูง จังหวะการทางานก็จะสามารถทาได้ถี่ขึ้นส่งผลให้ไมโครคอนโทรลเลอร์จัวนั้น มีความเร็วใน
      การประมวลผลสูงตามไปด้วย

3. บริษัทที่พัฒนาไมโครคอนโทรลเลอร์ตัวแรกของโลก คือ อินเทล มีชื่อเรียกว่า Microprocessor

4. การทางานของไมโครคอนโทรลเลอร์ จะประมวลคาสั่งข้อมูลในรูปสัญญาณแบบใด มีลักษณะการ
ทางานเช่นใด หน่วยประมวลผลกลางหรือซีพียู (CPU : Central Processing Unit)

5. ยกตัวอย่างอุปกรณ์ที่นาเอาอุปกรณ์ชุดไมโครคอนโทรลเลอร์ มาใช้ในการผลิต เช่น ตู้เย็น คอมพิวเตอร์
โทรทัศน์ โทรศัพท์

6. ภาษาคอมพิวเตอร์ที่ติดตัวมากับไมโครคอนโทรลเลอร์ คือภาษา ภาษา เบสิก ภาษา C

7. ภาษาที่ใช้เขียนติดต่อกับไมโครคอนโทรลเลอร์ ได้แก่   ภาษา C

8. ATMEGA-16 คือ โปรแกมควบคุมและพัฒนาการทางานได้ด้วยภาษาแอสเซมบลี เบสีก โดย
ที่จะเน้นไปที่โปรแกรมภาษา C

9. ATMEGA-16 มีองค์ประกอบที่สาคัญอะไรบ้าง
-หน่วยความจาโปรแกรมภายใน 16 kByte
-หน่วยความจา RAM 1 kByte
-ทางานด้วยความเร็ว 16 ล้านคาส่งต่อ วินาทีที่คริสตอล 16 MHz
-พอร์ตอินพุดเอาตพุด 32 ตาแหน่ง
-วงจรพัส์วิดธ์มอดูเลเตอร์ 4 ช่อง
-ไทเมอร์เคาร์เตอร์ 3 ตัว
-การสื่อสารอนุกรม
-วงจรแปลงสัญญาณอะนาลอกเป็นดิจิตอล 10 บิต 8 ช่อง
-สามารถโปรแกรมและลบได้นับหมื่นครั้ง

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

นางสาว ออนกิริยา อุทะเสน เลขที่ 28 ม

  • 1. นางสาว ออนกิริยา อุทะเสน เลขที่ 28 ม.4/5 ใบงานที่ 3.1 ส่วนประกอบไมโครคอนโทรลเลอร์ จงศึกษาและตอบคาถามดังต่อไปนี้ 1.ไมโครคอนโทรลเลอร์ ตรงกับคาภาษาอังกฤษว่า - microprocessor หมายถึง ชิปที่ใช้เป็นหน่วยประมวลผลกลางของเครื่องไมโครคอมพิวเตอร์ 2. ส่วนประกอบของไมโครคอนโทรลเลอร์ มีองค์ประกอบ 5 ส่วน คือ 1. หน่วยประมวลผลกลางหรือซีพียู (CPU : Central Processing Unit) 2. หน่วยความจา (Memory) สามารถแบ่งออกเป็น 2 ส่วน คือ หน่วยความจาที่มีไว้สาหรับเก็บ โปรแกรมหลัก (Program Memory) เปรียบเสมือนฮาร์ดดิสก์ของเครื่องคอมพิวเตอร์ตั้งโต๊ะ คือ ข้อมูลใดๆ ที่ถูกเก็บไว้ในนี้จะไม่สูญหายไปแม้ไม่มีไฟเลี้ยง อีกส่วนหนึ่งคือหน่วยความจาข้อมูล (Data Memory) ใช้เป็นเหมือนกกระดาษทดในการคานวณของซีพียู และเป็นที่พักข้อมูลชั่วคราว ขณะทางาน แต่หากไม่มีไฟเลี้ยง ข้อมูลก็จะหายไปคล้ายกับหน่วยความแรม (RAM) ในเครื่อง คอมพิวเตอร์ทั่วๆ ไป แต่สาหรับไมโครคอนโทรลเลอร์สมัยใหม่ หน่วยความจาข้อมูลจะมีทั้งที่เป็น หน่วยความจาแรม ซึ่งข้อมูลจะหายไปเมื่อไม่มีไฟเลี้ยง และเป็นอีอีพรอม (EEPROM : Erasable Electrically Read-Only Mempry) ซึ่งสามารถเก็บข้อมูลได้แม้ไม่มีไฟเลี้ยง 3. ส่วนติดต่อกับอุปกรณ์ภายนอก หรือพอร์ต (Port) มี 2 ลักษณะคือ พอร์ตอินพุต (Input Port) และ พอร์ตส่งสัญญาณหรือพอร์ตเอาต์พุต (Output Port) ส่วนนี้จะใช้ในการเชื่อมต่อกับอุปกรณ์ภายนอก ถือว่าเป็นส่วนที่สาคัญมาก ใช้ร่วมกันระหว่างพอร์ตอินพุต เพื่อรับสัญญาณ อาจจะด้วยการกด สวิตช์ เพื่อนาไปประมวลผลและส่งไปพอร์ตเอาต์พุต เพื่อแสดงผลเช่น การติดสว่างของหลอดไฟ เป็นต้น 4. ช่องทางเดินของสัญญาณ หรือบัส (BUS) คือเส้นทางการแลกเปลี่ยนสัญญาณข้อมูลระหว่าง ซีพียู หน่วยความจาและพอร์ต เป็นลักษณะของสายสัญญาณ จานวนมากอยู่ภายในตัว ไมโครคอนโทรลเลอร์ โดยแบ่งเป็นบัสข้อมูล (Data Bus) , บัสแอดเดรส (Address Bus) และบัส ควบคุม (Control Bus)
  • 2. 5. วงจรกาเนิดสัญญาณนาฬิกา นับเป็นส่วนประกอบที่สาคัญมากอีกส่วนหนึ่ง เนื่องจากการทางานที่ เกิดขึ้นในตัวไมโครคอนโทรลเลอร์ จะขึ้นอยู่กับการกาหนดจังหวะ หากสัญญาณนาฬิกามีความถี่ สูง จังหวะการทางานก็จะสามารถทาได้ถี่ขึ้นส่งผลให้ไมโครคอนโทรลเลอร์จัวนั้น มีความเร็วใน การประมวลผลสูงตามไปด้วย 3. บริษัทที่พัฒนาไมโครคอนโทรลเลอร์ตัวแรกของโลก คือ อินเทล มีชื่อเรียกว่า Microprocessor 4. การทางานของไมโครคอนโทรลเลอร์ จะประมวลคาสั่งข้อมูลในรูปสัญญาณแบบใด มีลักษณะการ ทางานเช่นใด หน่วยประมวลผลกลางหรือซีพียู (CPU : Central Processing Unit) 5. ยกตัวอย่างอุปกรณ์ที่นาเอาอุปกรณ์ชุดไมโครคอนโทรลเลอร์ มาใช้ในการผลิต เช่น ตู้เย็น คอมพิวเตอร์ โทรทัศน์ โทรศัพท์ 6. ภาษาคอมพิวเตอร์ที่ติดตัวมากับไมโครคอนโทรลเลอร์ คือภาษา ภาษา เบสิก ภาษา C 7. ภาษาที่ใช้เขียนติดต่อกับไมโครคอนโทรลเลอร์ ได้แก่ ภาษา C 8. ATMEGA-16 คือ โปรแกมควบคุมและพัฒนาการทางานได้ด้วยภาษาแอสเซมบลี เบสีก โดย ที่จะเน้นไปที่โปรแกรมภาษา C 9. ATMEGA-16 มีองค์ประกอบที่สาคัญอะไรบ้าง -หน่วยความจาโปรแกรมภายใน 16 kByte -หน่วยความจา RAM 1 kByte -ทางานด้วยความเร็ว 16 ล้านคาส่งต่อ วินาทีที่คริสตอล 16 MHz -พอร์ตอินพุดเอาตพุด 32 ตาแหน่ง -วงจรพัส์วิดธ์มอดูเลเตอร์ 4 ช่อง -ไทเมอร์เคาร์เตอร์ 3 ตัว -การสื่อสารอนุกรม -วงจรแปลงสัญญาณอะนาลอกเป็นดิจิตอล 10 บิต 8 ช่อง -สามารถโปรแกรมและลบได้นับหมื่นครั้ง