“Metal Sensor”的版本间的差异

来自丢石头百科
(文本替换 - 替换“{|border=1; style="width:700px;" align="center"”为“{|border=1; style="width:400px;" align="center"”)
(文本替换 - 替换“http://{{”为“https://{{”)
第2行: 第2行:
 
{{外围模块|colorscheme=blue
 
{{外围模块|colorscheme=blue
 
|name = Metal Sensor
 
|name = Metal Sensor
|img=[[File:Metal-Sensor-intro.jpg|360px |alt=Metal-Sensor|link=http://{{SERVERNAME}}/shop/Metal-Sensor.htm | Metal Sensor]]
+
|img=[[File:Metal-Sensor-intro.jpg|360px |alt=Metal-Sensor|link=https://{{SERVERNAME}}/shop/Metal-Sensor.htm | Metal Sensor]]
 
|category1=传感器
 
|category1=传感器
 
|brand=Waveshare
 
|brand=Waveshare
第83行: 第83行:
 
<div class="tabbertab" title="资料">
 
<div class="tabbertab" title="资料">
 
===文档===
 
===文档===
<!--*[http://{{SERVERNAME}}/w/upload/1/1c/Metal-Sensor-UserManual.pdf 用户手册] <br>-->
+
<!--*[https://{{SERVERNAME}}/w/upload/1/1c/Metal-Sensor-UserManual.pdf 用户手册] <br>-->
*[http://{{SERVERNAME}}/w/upload/e/e7/Metal-Sensor-Schematic.pdf 原理图]<br>
+
*[https://{{SERVERNAME}}/w/upload/e/e7/Metal-Sensor-Schematic.pdf 原理图]<br>
  
 
===程序===
 
===程序===
*[http://{{SERVERNAME}}/w/upload/f/fb/Metal-Sensor-code.7z 示例程序]<br>
+
*[https://{{SERVERNAME}}/w/upload/f/fb/Metal-Sensor-code.7z 示例程序]<br>
 
===软件===
 
===软件===
*[http://{{SERVERNAME}}/w/upload/5/5f/Sscom.7z 串口调试助手]
+
*[https://{{SERVERNAME}}/w/upload/5/5f/Sscom.7z 串口调试助手]
 
转到:[[#软件]],[[#程序]],[[#文档]]
 
转到:[[#软件]],[[#程序]],[[#文档]]
 
<!--{{Join_us}}-->
 
<!--{{Join_us}}-->

2021年6月18日 (五) 17:59的版本

Metal Sensor
Metal-Sensor
{{{name2}}}
{{{name3}}}
基本信息
分类: 传感器模块
{{{userDefinedInfo1}}}: {{{userdefinedvalue1}}}
{{{userDefinedInfo2}}}: {{{userdefinedvalue2}}}
{{{userDefinedInfo3}}}: {{{userdefinedvalue3}}}
品牌: Waveshare
功能简介
特性 金属传感器
' 无特性,不解释
' 无特性,不解释
' 无特性,不解释
' 无特性,不解释
接口 AD I/Os
相关产品

{{{Product1}}}

{{{Product2}}}

{{{Product3}}}

{{{Product4}}}

{{{Product5}}}

{{{Product6}}}

产品特性

  • 电压比较器芯片:宽电压LM393
  • 工作电压:3.3V-5.3V
  • 产品尺寸:29.2mm*11.2mm
  • 固定孔尺寸:2.0mm

主要用途

金属的探测。

接口说明

接口说明
引脚号 标识 描述
1 DOUT 数字量输出
2 AOUT 模拟量输出
3 GND 电源地
4 VCC 电源正(3.3V-5.3V)

操作与现象

下面,以接入我们的开发板为例。
① 将配套程序下载到相应的开发板中。
② 将串口线和模块接入开发板,给开发板上电,打开串口调试软件。
模块与开发板连接如下表所示:

模块接入STM32开发板
端口 STM32单片机引脚
DOUT GPIOA.4
AOUT GPIOA.6
GND GND
VCC 3.3V


模块接入Arduino
端口 Arduino引脚
DOUT D2
AOUT A0
GND GND
VCC 5V


串口配置如下表所示:

串口配置表
Baud rate 115200
Data bits 8
Stop bit 1
Parity bit None

③ 传感器接触金属时,模块上的信号指示灯点亮。
传感器远离金属时,模块上的信号指示灯熄灭。
随着传感器与金属接触与分离,串口输出的数据会发生相应改变。

文档

程序

软件

转到:#软件#程序#文档

FAQ



Icon-mail.png 联系 丢石头

我们的工作时间是: 09:00-18:00 (UTC+8 周一到周六)