iButton
flipper zero 支持 1 wire 设备通信协议,这种协议应用在被称为 ibutton 钥匙的小型电子钥匙中。这类钥匙用于门禁、温度测量、湿度测量、存储密钥等场景。 借助内置的 ibutton 模块,flipper zero 可以读取、写入和模拟 ibutton 门禁钥匙。该模块支持 dallas、cyfral 和 metakom 钥匙协议。 本页将概要介绍 ibutton 应用,并说明 ibutton 模块背后的硬件。 ibutton 菜单 你可以从 main menu 打开 ibutton 应用。在该应用中,你可以读取、保存、编辑、写入和模拟 ibutton 钥匙。 read https //docs flipper net/zero/zh/ibutton/read : 检测钥匙类型,读取并保存钥匙的唯一编号。 saved: 模拟、编辑和写入已保存的钥匙。 add manually https //docs flipper net/zero/zh/ibutton/add manually : 生成带唯一编号、可用于模拟的钥匙。 ibutton 硬件 flipper zero 内置的 ibutton 模块由一个 ibutton 触点板和三根 弹簧探针 https //www digikey cn/zh/articles/the basics of pogo pin connectors 组成,探针位于 ibutton 电路板上。 其中两根探针用于数据传输,并引出到 gpio 引脚 17。剩下的中间那根是接地。 触点板的平坦部分用于把 ibutton 钥匙(从设备)连接到 flipper zero(主设备)。读取和写入 ibutton 钥匙时,使用左侧的数据引脚和中间的接地引脚。 触点板的凸起部分用于把 flipper zero(从设备)连接到 ibutton 读头(主设备)。模拟 ibutton 钥匙时,使用右侧的数据引脚和中间的接地引脚。 读取 ibutton 钥匙 https //docs flipper net/zero/zh/ibutton/read 手动添加 ibutton 钥匙 https //docs flipper net/zero/zh/ibutton/add manually 向 ibutton 钥匙写入数据 https //docs flipper net/zero/zh/ibutton/write flipper zero 电路原理图 https //docs flipper net/zero/zh/development/hardware/schematic ibutton 应用源代码 https //github com/flipperdevices/flipperzero firmware/tree/dev/applications/main/ibutton