SlideShare a Scribd company logo
BÁO CÁO ĐỒ ÁN
KỸ THUẬT ĐIỆN TỬ
GVHD: Th.s Trần hữu danh.
Nhóm thực hiện:
Phạm Thái Bình _ 1117959
Tiết Xuân Sang _ 1118008
Trương Văn Nhờ _ 111999
Trần Công Nữ Huyền Trân _ 1118031
Giới Thiệu Đề Tài
Thực Hiện Đề Tài
Sơ Đồ Mạch
Demo Sản Phẩm
Giới thiệu đề tài
Thiết kế hệ thống tưới tiêu báo giờ tự động
Ý tưởng xây dựng đề tài
• Tự động tưới cây khi nhiệt độ môi trường lên cao
• Cài đặt được ngưỡng nhiệt độ mong muốn
• Thiết lập được thời gian cho các máy tưới
• Các máy tưới hoạt động hoàn toàn độc lập
• Việc cài đặt có thể thực hiện bằng phần mềm hoặc
phần cứng.
NHIỆT ĐỘ
THỜI GIAN
THỰC HIỆN TƯỚI
Mô hình
One
write
Setup
Sơ đồ khối phần cứng
Sơ lược về NUC-LB_002
NUC140VE3CN Thuộc dòng vi điều khiển
lõi ARM Cortex-M0
Tiêu thụ điện năng thấp, tiết kiệm năng
lượng
Điện thế hoạt động: 2,5V ~ 5,5V
Tích hợp sẵn nhiều chức năng và các thiết bị
ngoại vi như: RTC, UART, PWM,LCD, ma
trận phím, 7-seg.....
Dung lượng bộ nhớ FLASH ROM lớn
( lên đến 128K)
RTC
Kích hoạt
trạng thái
RTC
Kích hoạt
truy cập RTC
Bộ đếm sử
dụng thạch
anh 32768
KHz
Bộ chọn thời
gian chu kì
ngắt Stick
Thanh ghi
thiết lập thời
gian ngắt
Alarm
Thanh ghi
thiết lập thời
gian hiện tại
RTC
 Các thanh ghi của RTC
 Chế độ giờ của RTC
Khối nhiệt độ ( DS18b20 )
• Điện thế hoạt động: 3-5V
• Khoảng đo: -55  125 oC
• Tầm đo: -10  85oC
• Phương thức giap tiếp: chuẩn 1 dây.
• Dạng tín hiệu ngỏ ra: Digital.
• Độ phân giải: 8,9,10,11,12 bit.
• Có chức năng cảnh báo nhiệt độ khi vượt ngữơng cho phép.
• Thanh ghi địa chỉ: 64 bit.
V
D
D
3
D
Q
4
G
N
D
5
IC1
DS18S20
VCC
G
N
D
1
*
1
jp1
R
1
4K7
Địa chỉ:
Khối nhiệt độ ( DS18b20 )
 LỆNH ROM
Search ROM (0xF0)
Read ROM (0x33)
Match ROM (0x55)
Skip ROM
 LỆNH CHỨC NĂNG
Convert (0x44)
Write Scratchpad (0x4E)
 CÁC LỆNH CƠ BẢN
Read Scratchpad (0xBE)
Copy Scratchpad (0x48)
Read Power Suply (0xB4):
- 0 : cung cấp từ chân DQ.
- 1 : cung cấp từ chân VCC.
Khối nhiệt độ ( DS18b20 )
Cấu hình độ phân giải
 Tạo tín hiệu Reset
Khối nhiệt độ ( DS18b20 )
• Ghi Bit 0: Clear DQ  delay min(60us)  Set
DQ lên cao
• Ghi Bit 1: Clear DQ  delay max(15us)  Set
DQ lên cao  Delay ( 15us - 45us )
 GHI DỮ LIỆU VÀO DS18B20
• Đọc Bit 0: Clear DQ  delay (1us - 3us)  Lấy
mẫu  Delay 50us .
• Đọc Bit 1: Clear DQ  delay (1us - 3us)  Lấy
mẫu  Delay 50us.
• Thời gian đọc 1 bit không được quá 60us.
 ĐỌC DỮ LIỆU DS18B20
Khối hiển thị
Khối cài đặt và nạp chương trình
Khó khăn - Kết quả.
• Mạch chạy ổn định.
• Đúng yêu cầu đặt ra.
• Hoạt động đúng theo thời gian thực.
• Cài đặt được trên phần mềm và phần cứng
• Tạo được giao diện cài đặt và nạp code cho người sử dụng.
• Board Novuton NU-LB_002 chưa được sử dụng rộng rãi, nên tài liệu vẫn còn hạn chế.
• Chưa có thời gian đưa ứng dụng vào thực tiễn
 Khó khăn:
 Kết quả:
CẢM ƠN SỰ HƯỚNG DẪN
TẬN TÌNH CỦA THẦY!

More Related Content

Featured

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
Pixeldarts
 
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
ThinkNow
 
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
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
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
Neil 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 2024
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 

Featured (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

NUVOTON

  • 1. BÁO CÁO ĐỒ ÁN KỸ THUẬT ĐIỆN TỬ GVHD: Th.s Trần hữu danh. Nhóm thực hiện: Phạm Thái Bình _ 1117959 Tiết Xuân Sang _ 1118008 Trương Văn Nhờ _ 111999 Trần Công Nữ Huyền Trân _ 1118031
  • 2. Giới Thiệu Đề Tài Thực Hiện Đề Tài Sơ Đồ Mạch Demo Sản Phẩm
  • 3. Giới thiệu đề tài Thiết kế hệ thống tưới tiêu báo giờ tự động
  • 4. Ý tưởng xây dựng đề tài • Tự động tưới cây khi nhiệt độ môi trường lên cao • Cài đặt được ngưỡng nhiệt độ mong muốn • Thiết lập được thời gian cho các máy tưới • Các máy tưới hoạt động hoàn toàn độc lập • Việc cài đặt có thể thực hiện bằng phần mềm hoặc phần cứng. NHIỆT ĐỘ THỜI GIAN THỰC HIỆN TƯỚI
  • 6. Sơ đồ khối phần cứng
  • 7. Sơ lược về NUC-LB_002 NUC140VE3CN Thuộc dòng vi điều khiển lõi ARM Cortex-M0 Tiêu thụ điện năng thấp, tiết kiệm năng lượng Điện thế hoạt động: 2,5V ~ 5,5V Tích hợp sẵn nhiều chức năng và các thiết bị ngoại vi như: RTC, UART, PWM,LCD, ma trận phím, 7-seg..... Dung lượng bộ nhớ FLASH ROM lớn ( lên đến 128K)
  • 8. RTC Kích hoạt trạng thái RTC Kích hoạt truy cập RTC Bộ đếm sử dụng thạch anh 32768 KHz Bộ chọn thời gian chu kì ngắt Stick Thanh ghi thiết lập thời gian ngắt Alarm Thanh ghi thiết lập thời gian hiện tại
  • 9. RTC  Các thanh ghi của RTC  Chế độ giờ của RTC
  • 10. Khối nhiệt độ ( DS18b20 ) • Điện thế hoạt động: 3-5V • Khoảng đo: -55  125 oC • Tầm đo: -10  85oC • Phương thức giap tiếp: chuẩn 1 dây. • Dạng tín hiệu ngỏ ra: Digital. • Độ phân giải: 8,9,10,11,12 bit. • Có chức năng cảnh báo nhiệt độ khi vượt ngữơng cho phép. • Thanh ghi địa chỉ: 64 bit. V D D 3 D Q 4 G N D 5 IC1 DS18S20 VCC G N D 1 * 1 jp1 R 1 4K7 Địa chỉ:
  • 11. Khối nhiệt độ ( DS18b20 )  LỆNH ROM Search ROM (0xF0) Read ROM (0x33) Match ROM (0x55) Skip ROM  LỆNH CHỨC NĂNG Convert (0x44) Write Scratchpad (0x4E)  CÁC LỆNH CƠ BẢN Read Scratchpad (0xBE) Copy Scratchpad (0x48) Read Power Suply (0xB4): - 0 : cung cấp từ chân DQ. - 1 : cung cấp từ chân VCC.
  • 12. Khối nhiệt độ ( DS18b20 ) Cấu hình độ phân giải  Tạo tín hiệu Reset
  • 13. Khối nhiệt độ ( DS18b20 ) • Ghi Bit 0: Clear DQ  delay min(60us)  Set DQ lên cao • Ghi Bit 1: Clear DQ  delay max(15us)  Set DQ lên cao  Delay ( 15us - 45us )  GHI DỮ LIỆU VÀO DS18B20 • Đọc Bit 0: Clear DQ  delay (1us - 3us)  Lấy mẫu  Delay 50us . • Đọc Bit 1: Clear DQ  delay (1us - 3us)  Lấy mẫu  Delay 50us. • Thời gian đọc 1 bit không được quá 60us.  ĐỌC DỮ LIỆU DS18B20
  • 15. Khối cài đặt và nạp chương trình
  • 16. Khó khăn - Kết quả. • Mạch chạy ổn định. • Đúng yêu cầu đặt ra. • Hoạt động đúng theo thời gian thực. • Cài đặt được trên phần mềm và phần cứng • Tạo được giao diện cài đặt và nạp code cho người sử dụng. • Board Novuton NU-LB_002 chưa được sử dụng rộng rãi, nên tài liệu vẫn còn hạn chế. • Chưa có thời gian đưa ứng dụng vào thực tiễn  Khó khăn:  Kết quả:
  • 17. CẢM ƠN SỰ HƯỚNG DẪN TẬN TÌNH CỦA THẦY!