\documentclass[UTF8]{ctexart}指针
\title{SPS30 datasheet PM2.5传感器keyword}接口
\author{雷贻山}产品
\date{\today}it
\usepackage{geometry}io
\geometry{a4paper,left=2cm,right=2cm,top=2cm,bottom=2cm}table
\usepackage{graphicx}class
\begin{document}原理
\maketitledate
\tableofcontents\section{产品概要}通信
\subsection{工做原理}
\subparagraph{激光散射}
\subsection{工做寿命}
\subparagraph{超过八年}
\subsection{尺寸大小}
\subparagraph{41 x 41 x 12 mm³}
\section{重要参数}
\begin{center}
\begin{tabular}{ p{6cm} p{3cm}p{2cm}p{4cm}p{3cm}}
\hline
参赛 & 值 & 单位 & 条件 \\
\hline
电源电压 & 4.5-5&V & -- \\
空闲电流 & <8 & mA & 空闲模式 \\
平均电流 & 60 & mA & 测量模式 \\
质量精度 & ± 10 & ug/m3 & 0至100μg/ m 3 \\
质量浓度 & ± 10 & $\%$ & 100至1000μg/ m 3 \\
I/O引脚 (RX/SDA,TX/SCL) & -0.3-5.5 & V & \\
最高IO口电流 & 16 & mA & \\\hline
\end{tabular}
\end{center}
\section{管脚参数}
\begin{center}
\begin{tabular}{ p{5cm} p{2cm}p{2cm}p{3cm}p{3cm}}
\hline
pin & 名字 & 描述 & 备注 \\
1 & VDD &支持电压 & 5V ± 10$\%$ \\
2 & RX & UART通讯接受引脚 & TTL 5V和 LVTTL 3.3V兼容 \\
& SDA & I2C串行数据输出引脚 & TTL 5V和 LVTTL 3.3V兼容 \\
3 & TX & UART通讯发送引脚 & TTL 5V和 LVTTL 3.3V兼容 \\
& SCL & I2C串行时钟输入 & TTL 5V和 LVTTL 3.3V兼容 \\
4 & SEL & 接口选择 & 浮空模式选UART \\&&&接地模式选择I2C \\
5 & GND & 接地 & -- \\
\hline
\end{tabular}
\end{center}
\section{典型的UART应用电路}
\subparagraph{SCL和SDA线均为漏极开路I / O。 它们应链接到外部上拉电阻(例如Rp = 10kΩ)。}
\subparagraph{重要说明:为了正确选择I2C做为接口,必须在传感器上电以前或同时将接口选择(SEL)引脚拉至GND}
\begin{center}
\includegraphics[scale=0.6]{uart.png}
\subsection{设置指针并读取数据}
\subsection{设置指针并写入数据}
\subsection{校验和计算}
\subsection{I2C命令}
\subsection{读取测量值}
\subsection{校验和计算}
\end{center}
\end{document}