Giter Club home page Giter Club logo

infraredmodule's Introduction

  • Author : ShaoPu
  • Version : v1.0
  • Update : 2016/10/14

Description

Infrared Module是基于红外上进行二次开发的无线设备,由STM8L151G4U(控制器)、CC1101(无线模块433M)等组成,使用外部12V电源供电,主要实现安防监控(需要与安防控制盒进行配对),整体体积15 * 30* 5 mm。

Hardware

  • 控制器  : STM8L151G4U6
  • 无线芯片 : CC1101
  • 外接介面 : 1 x KEY
  • PCB 尺寸 : 15 x 30 x 1 mm
  • 設計軟體 : Altium Designer 09

Software

该设备采用433M通信频率,无线芯片采用CC1101。考虑到电池使用寿命及报警器的工作特点,传感器类终端设备采用单向通信,发送数据只有一种帧结构,包含报警、电池欠压和设备状态信息。帧格式如下所示:

同步码 帧长度 控制码 产品序列号 模式
8799 08 00 301234567890 00/F0/08

该设备与安防控制盒工作流程:

  1. 该设备发向后台的信息,安防控制盒按照信息的含义完成相应的功能,并且都可作为心跳,表示终端在线

  2. 该设备发生报警需要连续发送二次报警信息给安防控制盒,两次发送数据间隔随机200-500毫秒

  3. 该设备报警发送F0,安防控制盒向后台发送告警信息,并提示有人闯入。

  4. 该设备空闲超过3小时(即心跳)需要发送工作状态安防控制盒

  5. 该设备空闲超过12小时(即电压检测),一天检测两次,即每4次心跳,需检测,如果电池欠压则需叠加电池欠压信息(08)发送工作状态安防控制盒

  6. 该设备需在第一次上电时需检测电量,每次报警被触发时,不带欠压告警

  7. 该设备需在特定Flash地址写入12位序列号,每个设备的序列号不能重号

infraredmodule's People

Contributors

shaopus avatar

Watchers

行在路上 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.