Professional Documents
Culture Documents
ESD-Ch3 2018 P2 PDF
ESD-Ch3 2018 P2 PDF
HỒ CHÍ MINH
TRƯỜNG ĐẠI HỌC BÁCH KHOA
KHOA ĐIỆN-ĐIỆN TỬ
BỘ MÔN KỸ THUẬT ĐIỆN TỬ
1. Basic I/O
2. Sensor
1
1. Button Interface
• Find the fastest edge of the incoming signal – or determine the fastest frequency
of the incoming signal and assume an edge speed of 1/100th of the input period
(a 1 kHz input frequency has an edge of 10 µs).
• Select ‘R’. Usually this can be selected to a common value already in the
system, such as 1 kΩ.
• In some cases, the input signal is a very slow moving signal (button press, switch
closure, etc.), so the value of ‘C’ can be then changed to match a common value
on the board, as long as the order of magnitude is maintained.
Bộ môn Kỹ Thuật Điện Tử 5
Input protection
SW DIP-10
R1
1 2
3
4
5
6
7
8
9
10
RESISTOR SIP 10
decimal
point
VCC
3 3 3 3
8 8 8 8
DP 5 DP 5 DP 5 DP 5
VCC VCC VCC VCC
A B C D E F G A B C D E F G A B C D E F G A B C D E F G
7
6
4
2
1
9
10
7
6
4
2
1
9
10
7
6
4
2
1
9
10
7
6
4
2
1
9
10
G
G
C
D
C
D
C
D
C
D
A
B
A
B
A
B
A
B
E
F
F
P1.0 R413 100 A
P1.1 R414 100 B
P1.2 R415 100 C
P1.3 R416 100 D
P1.4 R417 100 E
P1.5 R418 100 F
P1.6 R419 100 G
E communications
R/W bus
RS
DB7–DB0
8
LCD
controller
LCD Module
https://www.displaymodule.com/
DS1820
MCP9808
https://www.mouser.com/blog/what-are-you-sensing-pros-and-cons-of-four-
temperature-sensor-types
Accuracy vs precision
Bộ môn Kỹ Thuật Điện Tử 21
Resistance Thermometer Detectors (RTD)
• Complementary filter
• Kalman filter
• Mahony filter
• Madgwick filter
http://www.starlino.com/imu_kalman_arduino.html
Bộ môn Kỹ Thuật Điện Tử 35
IR (infrared)
TSOP31238
3V PH.MODULE 38KHZ
https://www.atlas-scientific.com/