documentclass[UTF8]{ctexart}
%documentclass{article}
itle{SPS30 datasheet PM2.5 sensor keyword你好}
author{leiyishan}
usepackage[utf8]{inputenc}
usepackage{ctex}
date{ oday}
usepackage{geometry}
geometry{a4paper,left=1cm,right=2cm,top=2cm,bottom=1cm}
usepackage{graphicx}
usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,urlcolor=black]{hyperref}
egin{document}
maketitle
ableofcontentssection{product Overview}
subsection{working principle}
subparagraph{Laser scattering}
subsection{life span}
subparagraph{More than eight years}
subsection{size}
subparagraph{41 x 41 x 12 mm}
section{Important parameters}
egin{center}
egin{tabular}{ p{5cm} p{2cm}p{2cm}p{5cm}p{1cm}}
hline
parameter & value & unit & Remarks \
hline
voltage& 4.5-5&V & -- \
Idle current & <8 & mA & Idle mode \
Average current & 60 & mA & -- \
Precision & $pm$ 10 & ug/m & 0-100ug/ m \
concentration & $pm$ 10 & $\%$ & 100-1000ug/ m \
I/Opin (RX/SDA,TX/SCL) & -0.3-5.5 & V & \
max IO pin current & 16 & mA & \hline
end{tabular}
end{center}
section{Pin parameter}
egin{center}
egin{tabular}{ p{1cm} p{2cm}p{5cm}p{6cm}p{1cm}}
hline
pin & name & description & remark \
1 & VDD &Support voltage & 5V $pm$ 10$\%$ \
2 & RX & UART Communication acceptance pin & TTL 5V and LVTTL 3.3V compatible \
& SDA & I2CSerial data output pin & TTL 5V and LVTTL 3.3V compatible \
3 & TX & UART Communication transmit pin & TTL 5V and LVTTL 3.3V compatible \
& SCL & I2C Serial clock input & TTL 5V and LVTTL 3.3Vcomatible \
4 & SEL & Interface selection & Floating mode selsection UART \&&&Grounding mode selection I2C \
5 & GND & Grounding mode selection & -- \
hline
end{tabular}
end{center}
section{ Typical UART application circuit.}
subparagraph{Both SCL and SDA lines are open drain I/Os. They should be connected to external pull-up resistors (e.g. Rp = 10 $ Omega $).}
subparagraph{in order to correctly select I2C as interface, the interface select (SEL) pin must be pulled to GND before or at the same time the sensor is powered up.}
egin{center}
includegraphics[scale=0.6]{uart.png}
subsection{Set Pointer Read Data}
subsection{Set Pointer Write Data}
subsection{Checksum Calculation}
subsection{I 2 C Commands}
subsection{Read Measured Values}
end{center}
end{document}