SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
• RN is the resistance of the NTC thermistor under the rated temperature TN. Here, the numerical value of RN is
10k.
• TK is a Kelvin temperature and the unit is K. Here, the numerical value of TK is 273.15 + degree Celsius.
• TN is a rated Kelvin temperature; the unit is K too. Here, the numerical value of TN is 273.15+25.
• And B(beta), the material constant of NTC thermistor, is also called heat sensitivity index with a numerical
value 3950.
• exp is the abbreviation of exponential, and the base number e is a natural number and equals 2.7 approximately.
Convert this formula TK=1/(ln(RT/RN)/B+1/TN) to get Kelvin temperature that minus 273.15 equals degree Celsius.
This relation is an empirical formula. It is accurate only when the temperature and resistance are within the effective
range.
This code refers to plugging Rt into the formula TK=1/(ln(RT/RN)/B+1/TN) to get Kelvin temperature.
temp
=
temp
-
273.15
Convert Kelvin temperature into centigrade degree.
Fah
=
Cel
*
1.8
+
32
Convert the centigrade degree into Fahrenheit degree.
(
'Celsius:
%.2f
°C Fahrenheit:
%.2f
'
%
(Cel, Fah))
Print centigrade degree, Fahrenheit degree and their units in the shell.
3.4.14 Light Theremin
Theremin is an electronic musical instrument that does not require physical contact. It produces different tones by
sensing the position of the player’s hand.
The instrument’s controlling section usually consists of two metal antennas that sense the relative position of the
thereminist’s hands and control oscillators for frequency with one hand, and amplitude (volume) with the other. The
electric signals from the theremin are amplified and sent to a loudspeaker.
We cannot reproduce the same instrument through Pico, but we can use photoresistor and passive buzzer to achieve
similar gameplay.
•
3.4. Projects
93
Содержание Thales Kit
Страница 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Страница 2: ......
Страница 4: ...ii ...
Страница 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Страница 10: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 6 Chapter 1 Introduction to Raspberry Pi Pico ...
Страница 12: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 8 Chapter 2 What is Included in This Kit ...
Страница 13: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 1 Components List 2 1 Components List 9 ...
Страница 42: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 38 Chapter 2 What is Included in This Kit ...
Страница 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Страница 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...