SlideShare a Scribd company logo
1 of 16
Download to read offline
•  เป็นต้นแบบของ temperature sensor network
•  ตัวอ่านอุณหภูมิขนาดจิ๋วที่อยู่ในกล่องเก็บความเย็น
สามารถอ่านอุณหภูมิจากภายนอกได้โดยผ่านทาง
คลื่นแม่เหล็ก
เครื่องอ่าน
•  ฝั่งรับ (มีเซนเซอร์) ต้องทํางานได้เมื่ออยู่ใกล้เสาอากาศตัวส่ง	
•  แหล่งจ่ายแรงดันขนาดไม่เกิน 12V, 2A
•  ทํางานที่ความถี่ 100-150kHz	
•  เสาอากาศเป็นขดลวดแกนอากาศเท่านั้น
•  ขนาดของเสาอากาศส่งไม่เกิน 30x30cm2, เสาอากาศรับไม่
เกิน 10x10cm2
•  การทํางานของฝั่งรับต้องอาศัยพลังงานจากสนามแม่เหล็ก
ที่มาจากฝั่งส่งเท่านั้น
•  ฝั่งรับ (เซนเซอร์) ห้ามใช้แบตเตอรี่ช่วย	
•  แสดงผลอุณหภูมิได้ 0-100oC ±1oC
•  ห้ามใช้ไมโครคอนโทรลเลอร์	
•  ส่งข้อมูลกลับไปยังตัวส่งโดยอาศัยเสาอากาศชุดเดียวกัน
•  ทีมละ 1-2 คน	
•  คะแนนของชิ้นงานวัดจากระยะการใช้งาน และความ
แม่นยําของอุณหภูมิเป็นหลัก 	
•  มีรางวัลสําหรับสามทีมที่ได้รับคะแนนสูงสุด	
•  นักศึกษาในทีมสามอันดับแรกจะมีสิทธิ์ได้รับคัดเลือกเข้า
ฝึกงานที่บริษัทซิลิคอน คราฟท์
•  สามารถเบิกค่าอุปกรณ์ได้ในวันที่นําผลงานมาส่งระยะอ่าน
ตัวส่ง	
(ด้านข้าง)
ตัวรับ	
(ด้านข้าง)
การจัดวางอุปกรณ์เพื่อวัดระยะใช้งาน
Transmitter
RF Front-End
Temp
Sensor
ADC
Control
DISPLAY
ส่งผลงาน 25 Nov 56
ชิ้นงาน – 70 pts
ตอบคำถาม – 30 pts
คะแนนพิเศษ – 50 pts (หน้าถัดไป)
Batteryless
Sensor
ENC
Modu-
lator
Low
Pass
Filter
Demodu-
lator
DISPLAY
Transmitter
RF Front-End
Temp
Sensor
ADC
Control
DISPLAY
Batteryless
Sensor
•  Control timing of the A/D converter
(MCP3551)
•  Binary to BCD conversion
•  BCD to 7-Segment conversion
•  Driving 7-Segment LCD
More Details
http://www.dragonwins.com/domains/getteched/de248/bin2bcd.htm#Adjust and Shift
Conversion Algorithm
PROCEDURE:
1.  Initialize the BCD digits to zero.
2.  Perform the following steps N times
where N is the number of bits in the
binary value:
•  FOR each BCD digit, adjust as
necessary in preparation for the
multiply:
•  IF the BCD value exceeds 4
•  ADD 3 to the present
value of the digit
•  Multiply the BCD value and add
in the next binary bit by
concatenating and shifting both to
the left one bit.
A > B
B
10
‘0000’ ‘0011’
4 4 4
+
A
4
‘0100’
4
4
IN
OUT
4
ADJ
0
1
CLKDIV = 000001
&& SDO = ‘0’
CLKDIV = 110000
SCKENB=‘0’ 0
1
CLKDIV = 000101 CLKDIV = 100101
RST=‘0’
0
1
CLKDIV = 100010
LD=‘1’
SCKENB=‘1’ RST=‘1’
LD=‘0’
SCLK=CLKDIV[6] or SCKENB
SCLK
CLK32
SDO 23rd
RST
LD*
SDO_r
QH 21 20 19 18 17 16 15
BCD0[0..3]
BCD1[0..3]
BCD2[0..3]
14
*Need a delay to
avoid display glitch
CLKDIV06
SCKENB
CLKDIV = ‘000001’
&& SDO_r = ‘0’
1st
11th
21st
31st
41st
48th
5th
37th
34th
CLKDIV
[07..11]
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 263130
15th
7th
23rd
15th
7th
•  ตัววัดอุณหภูมิจะทํางานได้ระยะไกลหรือไม่ขึ้นกับสอง
ปัจจัยหลักคือ	
–  ภาคส่งต้องส่งกําลังงานเข้าไปที่เสาอากาศให้ได้มากที่สุด นั่น
คือต้องออกแบบให้แรงดันตกคร่อมเสาอากาศสูงสุด	
–  ภาครับต้องกินพลังงานต่ําสุด ดังจะเห็นได้จากตัวอย่างวงจร ที่
เลือกใช้ชิพตระกูล CMOS สําหรับภาคควบคุม และชิพอื่นๆใน
วงจรล้วนแต่กินกําลังงานเพียงระดับไมโครแอมป์	
•  ภาคแสดงผลฝั่งรับจะต้องเป็น LCD ซึ่งกินไฟต่ํา หากใช้
LED จะกินกําลังงานมากเกินไป พลังงานจากสนามแม่
เหล็กมีไม่เพียงพอที่จะทําให้ LED สว่าง
•  http://electronbunker.ca/
InductanceCalcRc.html
2012(c) Silicon Craft
ตัวส่ง	
ตัวรับ	
Mini Design Challenge 2012

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

2013 KMITL mini-design challenge

  • 1.
  • 2. •  เป็นต้นแบบของ temperature sensor network •  ตัวอ่านอุณหภูมิขนาดจิ๋วที่อยู่ในกล่องเก็บความเย็น สามารถอ่านอุณหภูมิจากภายนอกได้โดยผ่านทาง คลื่นแม่เหล็ก เครื่องอ่าน
  • 3. •  ฝั่งรับ (มีเซนเซอร์) ต้องทํางานได้เมื่ออยู่ใกล้เสาอากาศตัวส่ง •  แหล่งจ่ายแรงดันขนาดไม่เกิน 12V, 2A •  ทํางานที่ความถี่ 100-150kHz •  เสาอากาศเป็นขดลวดแกนอากาศเท่านั้น •  ขนาดของเสาอากาศส่งไม่เกิน 30x30cm2, เสาอากาศรับไม่ เกิน 10x10cm2 •  การทํางานของฝั่งรับต้องอาศัยพลังงานจากสนามแม่เหล็ก ที่มาจากฝั่งส่งเท่านั้น •  ฝั่งรับ (เซนเซอร์) ห้ามใช้แบตเตอรี่ช่วย •  แสดงผลอุณหภูมิได้ 0-100oC ±1oC •  ห้ามใช้ไมโครคอนโทรลเลอร์ •  ส่งข้อมูลกลับไปยังตัวส่งโดยอาศัยเสาอากาศชุดเดียวกัน
  • 4. •  ทีมละ 1-2 คน •  คะแนนของชิ้นงานวัดจากระยะการใช้งาน และความ แม่นยําของอุณหภูมิเป็นหลัก •  มีรางวัลสําหรับสามทีมที่ได้รับคะแนนสูงสุด •  นักศึกษาในทีมสามอันดับแรกจะมีสิทธิ์ได้รับคัดเลือกเข้า ฝึกงานที่บริษัทซิลิคอน คราฟท์ •  สามารถเบิกค่าอุปกรณ์ได้ในวันที่นําผลงานมาส่งระยะอ่าน ตัวส่ง (ด้านข้าง) ตัวรับ (ด้านข้าง) การจัดวางอุปกรณ์เพื่อวัดระยะใช้งาน
  • 5. Transmitter RF Front-End Temp Sensor ADC Control DISPLAY ส่งผลงาน 25 Nov 56 ชิ้นงาน – 70 pts ตอบคำถาม – 30 pts คะแนนพิเศษ – 50 pts (หน้าถัดไป) Batteryless Sensor
  • 7.
  • 8.
  • 9. •  Control timing of the A/D converter (MCP3551) •  Binary to BCD conversion •  BCD to 7-Segment conversion •  Driving 7-Segment LCD
  • 10. More Details http://www.dragonwins.com/domains/getteched/de248/bin2bcd.htm#Adjust and Shift Conversion Algorithm PROCEDURE: 1.  Initialize the BCD digits to zero. 2.  Perform the following steps N times where N is the number of bits in the binary value: •  FOR each BCD digit, adjust as necessary in preparation for the multiply: •  IF the BCD value exceeds 4 •  ADD 3 to the present value of the digit •  Multiply the BCD value and add in the next binary bit by concatenating and shifting both to the left one bit. A > B B 10 ‘0000’ ‘0011’ 4 4 4 + A 4 ‘0100’ 4 4 IN OUT 4 ADJ
  • 11.
  • 12. 0 1 CLKDIV = 000001 && SDO = ‘0’ CLKDIV = 110000 SCKENB=‘0’ 0 1 CLKDIV = 000101 CLKDIV = 100101 RST=‘0’ 0 1 CLKDIV = 100010 LD=‘1’ SCKENB=‘1’ RST=‘1’ LD=‘0’ SCLK=CLKDIV[6] or SCKENB
  • 13. SCLK CLK32 SDO 23rd RST LD* SDO_r QH 21 20 19 18 17 16 15 BCD0[0..3] BCD1[0..3] BCD2[0..3] 14 *Need a delay to avoid display glitch CLKDIV06 SCKENB CLKDIV = ‘000001’ && SDO_r = ‘0’ 1st 11th 21st 31st 41st 48th 5th 37th 34th CLKDIV [07..11] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 263130 15th 7th 23rd 15th 7th
  • 14. •  ตัววัดอุณหภูมิจะทํางานได้ระยะไกลหรือไม่ขึ้นกับสอง ปัจจัยหลักคือ –  ภาคส่งต้องส่งกําลังงานเข้าไปที่เสาอากาศให้ได้มากที่สุด นั่น คือต้องออกแบบให้แรงดันตกคร่อมเสาอากาศสูงสุด –  ภาครับต้องกินพลังงานต่ําสุด ดังจะเห็นได้จากตัวอย่างวงจร ที่ เลือกใช้ชิพตระกูล CMOS สําหรับภาคควบคุม และชิพอื่นๆใน วงจรล้วนแต่กินกําลังงานเพียงระดับไมโครแอมป์ •  ภาคแสดงผลฝั่งรับจะต้องเป็น LCD ซึ่งกินไฟต่ํา หากใช้ LED จะกินกําลังงานมากเกินไป พลังงานจากสนามแม่ เหล็กมีไม่เพียงพอที่จะทําให้ LED สว่าง