4G智能安全帽BW620E硬件接口文档

发布时间: 2025-07-28 10:10:27

1. 串口扩展节点:

/dev/ttyS2

2. GPIO控制节点:

/sys/custom_gpio/gpiox

对应gpio序号16进制+状态控制高地电平

gpio65:指示灯,拉高点亮发送echo 4101 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 4100 > /sys/custom_gpio/gpiox

Gpio06:指示灯,拉高点亮发送echo 0601 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 0600 > /sys/custom_gpio/gpiox

gpio66:录像灯,拉高点亮发送echo 4201 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 4200 > /sys/custom_gpio/gpiox

gpio67:爆闪灯,拉高点亮发送echo 4301 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 4300 > /sys/custom_gpio/gpiox

gpio68:镭射灯,拉高点亮发送echo 4401 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 4400 > /sys/custom_gpio/gpiox

gpio73:照明灯,拉高点亮发送echo 4901 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 4900 > /sys/custom_gpio/gpiox 

gpio31gpio32gpio33::近电感应预留

1F012001 2101

拉高点亮发送echo 1F01 > /sys/custom_gpio/gpiox

拉低关闭则发送echo 1F00 > /sys/custom_gpio/gpiox

gpio31            gpio32         gpio33

0                 0              0          220V

0                 0              1          10KV

0                 1              0          35KV

0                 1              1           110KV

近电检测口:

com.creator.android.KEYCODE_F9_DOWN          键值139 靠近感应com.creator.android.KEYCODE_F9_UP

com.creator.android.KEYCODE_F8_DOWN      键值138  无感应

com.creator.android.KEYCODE_F8_UP   

3. 按键广播说明:

com.creator.android.KEYCODE_POWER_DOWN        开关机键短按

com.creator.android.KEYCODE_POWER_UP               开关机键短按抬起

com.creator.android.KEYCODE_F1_DOWN                 PTT键短按

com.creator.android.KEYCODE_F1_UP                         PTT键短按抬起

com.creator.android.KEYCODE_F1_DOWNLONG       PTT键长按

com.creator.android.KEYCODE_F1_UPLONG              PTT键长按抬起

com.creator.android.KEYCODE_F2_DOWN                 LED键短按

com.creator.android.KEYCODE_F2_UP                         LED键短抬起

com.creator.android.KEYCODE_F2_DOWNLONG       LED键长按

com.creator.android.KEYCODE_F2_UPLONG              LED键长按抬起

com.creator.android.KEYCODE_F3_DOWN                 SOS键短按

com.creator.android.KEYCODE_F3_UP                         SOS键短按抬起

com.creator.android.KEYCODE_F3_DOWNLONG       SOS键长按

com.creator.android.KEYCODE_F3_UPLONG              SOS键长按抬起

4. 功能接口

充电状态灯:GPIO38

双距感STK3311:接近上报F11,远离上报F12

进入休眠模式,发送按键KEYCODE_SLEEP消息

任意键唤醒,同时会上报唤醒键值up事件

静默安装广播:com.android.silent.install.action

附加属性 install_path 文件路径

静默卸载广播:com.android.silent.uninstall.action

 附加属性 uninstall_package_name 应用包名

5. 传感器接口:

气压&温度传感器:

package com.asr.asrsports;

import android.app.Activity;

import android.content.Context;

import android.view.View;

import android.hardware.Sensor;

import android.hardware.SensorEvent;

import android.hardware.SensorEventListener;

import android.hardware.SensorManager;

import android.os.Bundle;

import android.view.View;

import android.widget.Button;

import android.widget.TextView;

import android.util.Log;

public class TemperatureActivity extends Activity implements SensorEventListener{

    private SensorManager mSensorManager;

    private Sensor tempratureSensor;

    private TextView temperatureTextView;

    private TextView atmosphericPressureTextView;

    short temperatureShort;

    short atmosphericPressureShort;

    @Override

    protected void onResume() {

        super.onResume();

        mSensorManager.registerListener((SensorEventListener) this, tempratureSensor, SensorManager.SENSOR_DELAY_NORMAL);

    }

    @Override

    protected void onPause() {

        super.onPause();

        mSensorManager.unregisterListener(this);

    }

    @Override

    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_temperature);

        mSensorManager = (SensorManager)getSystemService(SENSOR_SERVICE);

        tempratureSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE);

        temperatureTextView = (TextView)findViewById(R.id.temperature);

        atmosphericPressureTextView = (TextView)findViewById(R.id.atmospheric_pressure);

    }

 

    @Override

    public void onSensorChanged(SensorEvent event) {

        if(event.sensor.getType() == Sensor.TYPE_PRESSURE) {

            float combineFloat = event.values[0];

            int combineInt = Float.floatToIntBits(combineFloat);

            Log.v("TemperatureActivity", "Sensor Value is : " + Float.floatToIntBits(combineFloat));

            atmosphericPressureShort = (short)(combineInt & 0xFFFF);

            temperatureShort = (short)((combineInt >> 16) & 0xFFFF);

            float atmosphericPressureValue = atmosphericPressureShort;

            atmosphericPressureValue = atmosphericPressureValue/100;

            float temperatureValue = temperatureShort;

            temperatureValue = temperatureValue/100;

            temperatureTextView.setText("temperature: " + temperatureValue + " ");

            atmosphericPressureTextView.setText("atmospheric pressure: " + atmosphericPressureValue + " kPa");

        }

    }

     @Override

    public void onAccuracyChanged(Sensor sensor, int accuracy) {

    }

     @Override

    protected void onStop() {

        super.onStop();

    }

}

*#*#7388#*#*

关机:

        Intent testIntent = new Intent("com.android.silent.shutdown.action");

        testIntent.addFlags(0x01000000);

         mContext.sendBroadcast(testIntent);

 

支持红外夜视IRCUT的4G智能安全帽BW620Y,内部主板型号有,SAE01, asr8601 ,W20, k61v1_32_bsp_1gk62v1_64_bsp, soq_azw_05_Natv,soq_azw_01_NatvAZW003aqm6816,soq_azw_01_Natv,SC161, W25比传统的白光照明灯效果要好很多,可以避免图像中间大块的亮光斑,可以在雾天使用。https://www.bilibili.com/video/BV1594y1E7tB/

危险气体检测仪,通过4G/5G执法记录仪或者4G/5G智能安全帽上报到平台,https://www.besovideo.com/detail?t=1&i=273

智能安全帽~生命体征检测与危险气体检测一体化集成设计还是蓝牙无线外挂式方式好?https://www.besovideo.com/detail?t=1&i=279

智能安全帽~生命体征采集上报,https://www.besovideo.com/detail?t=2&i=506

智能安全帽,检测生命体征上报平台, https://v.douyin.com/e3oP4Yx/

AIoT万物智联,智能安全帽生产厂家,执法记录仪生产厂家,为大型国企央企提供移动视频类产品的ODM/OEM服务,单北斗定位智能安全帽智能头盔、智能头箍头盔记录仪独立北斗定位执法记录仪智能视频分析/边缘计算AI盒子车载视频监控/车载DVR/NVR、布控球智能眼镜智能手电、智能电子工牌、无人机4G补传系统等统一接入大型统一视频平台~融合通信可视指挥调度平台VMS/smarteye 。

什么是智能安全帽,如何选购智能安全帽,智能安全帽的主要功能,https://www.besovideo.com/detail?t=1&i=109

目前支持的AI智能算法、视频智能分析算法有哪些,https://www.besovideo.com/detail?t=1&i=297

视频演示1~单独北斗定位智能安全帽助力光伏新能源,  视频演示2~石油石化

海康、大华等5000路固定点摄像头走国标GB28181接入统一视频平台smarteye,支持eHome,ISUP, SIP,萤石云,CMSV6等

海康等IP摄像头走国标GB28181接入smarteye平台, https://www.besovideo.com/detail?t=1&i=244

国网+南网电力施工作业现场安全生产风险管控应用方案,https://www.besovideo.com/detail?t=1&i=50

轻危大型厂矿可视化监管系统方案(有内部作业视频数据安全保密的需求),https://www.besovideo.com/detail?t=1&i=258

小微型4G/WiFi执法记录仪、胸牌记录仪大全~智慧养老护工、银行机场客服、外勤、上门安装维修等,https://www.besovideo.com/detail?t=2&i=1784

超薄款4G工牌视频记录仪BH128,https://www.besovideo.com/detail?t=2&i=1575

4G/5G执法记录仪前端人脸识别、人脸比对使用说明,https://www.besovideo.com/detail?t=1&i=365

防抖执法记录仪、智能安全帽、头盔记录仪大全,https://www.besovideo.com/detail?t=2&i=1692

可拆卸智能安全帽、绑带式、粘贴式、贴合式、分体式智能头盔记录仪、智能头箍记录仪大全,https://www.besovideo.com/detail?t=2&i=1697

定位安全帽大全,人员定位考勤、电子围栏脱岗检查 all in smarteye,https://www.besovideo.com/detail?t=2&i=1843

支持南方电网WAPI无线网络的4G/5G执法记录仪、智能布控球、智能安全帽产品,https://www.besovideo.com/detail?t=1&i=404

各种布控球分类列表大全,https://www.besovideo.com/detail?t=1&i=339

北斗双频高精度定位智能工卡电子工牌大全,https://www.besovideo.com/detail?t=2&i=1689

多年来给各个行业客户定制的各种智能安全帽-头盔摄像头等,万物智联~各类智能安全帽/头盔摄像头统一接入优视多源融合统一视频可视指挥调度平台SmartEye,https://www.besovideo.com/detail?t=1&i=20

无人机4G/5G图传到远程指挥中心统一视频平台smarteye或者海康等国标大平台, https://www.besovideo.com/detail?t=2&i=1775

县级应急指挥调度系统建设, https://www.besovideo.com/detail?t=1&i=411

智慧铁路,铁路应急指挥通信系统建设,可视化作业现场风险管控系统应用方案,https://www.besovideo.com/detail?t=1&i=413

智慧港口可视化作业风险管控系统建设方案,https://www.besovideo.com/detail?t=1&i=414

石油石化可视化巡检系统安全风险管控系统应用方案,https://www.besovideo.com/detail?t=1&i=415

车载视频监控产品,车载DVR/NVR、4G行车记录仪系列产品,https://www.besovideo.com/detail?t=2&i=1850

为什么武警、特警拉练演习的MESH自组网系统都不约而同的选择了smarteye平台?https://www.besovideo.com/detail?t=2&i=1215

anti-jitterEIS, groupPTT/push2talk/PoC, star-light night vision, explosion-proof 4G/5G/GPS body camera DVR, 4G/5G/GPS helmet camera DVR/hardhat cameraODM/OEM acceptableAI boxvehicle mount mDVRGPS tracker, 4G/5G HDMI DVR for drones/UAV, walkie talkie, fixed/cable IPcamera, all-in-one dome PTZ 4G/5G camera, RTK/UWB, 4G torch camera DVR, glass camera/AR glass camera, all in large scale VMS/smarteye, RTSP to milestone.

mobile CCTV worldwide applications, 4G body cameras, hardhat camera, https://www.besovideo.com/en/detail?t=2&i=548

mobile surveillance in construction safety,grid,railway etc,  https://www.besovideo.com/en/detail?t=1&i=79

Kinds of hardhat/helmet 4G/5G/WiFi/GPS camera DVR,all in VMS/SmartEye, for people safety in construction, https://www.besovideo.com/en/detail?t=1&i=20

police law enforcement solution,  https://www.besovideo.com/en/detail?t=1&i=2

wifi glass camera BX102, RTSP/GB28181 to VMS/smarteye, https://www.besovideo.com/en/detail?t=2&i=1808

bluetooth earphone-like WiFi camera DVR BF101, live streaming to VMS/smarteye,  https://www.besovideo.com/en/detail?t=2&i=1556

covert-shot spy cameras, remote evidence recorder over 4G/WiFi network, covert shot,cloud recording,  https://www.besovideo.com/en/detail?t=1&i=111

pls visit our tiktok site for more demo videos, https://www.tiktok.com/@mobile4gcamera

device simulator&VMS/smarteye, it explains how the whole system works,  https://www.besovideo.com/en/detail?t=1&i=155 

extreme low-price high-performance 4G body camera BA280, high performance 2+16GB, android 12 system, https://www.besovideo.com/en/detail?t=2&i=1151

kinds of IPcamera connects to VMS/smarteye by GB28181, https://www.besovideo.com/en/detail?t=1&i=244

replace CMSV6 with smarteye, https://www.besovideo.com/en/detail?t=1&i=393

kinds of removable detachable hardhat helmet camera DVR, https://www.besovideo.com/en/detail?t=2&i=1697

kinds of all-in-one dome PTZ 4G/5G camera,https://www.besovideo.com/detail?t=1&i=339

large scale mobile CCTV video management platform VMS/smarteye, https://www.besovideo.com/en/detail?t=1&i=84

kinds of small 4G/WIFI body cameras all in VMS/smarteye, https://www.besovideo.com/en/detail?t=2&i=1784

kinds of vehicle mount mDVR products,all-in-smarteye, https://www.besovideo.com/en/detail?t=2&i=1850

GPS tracker(ACC-wired or battery&magnetic) list, https://www.besovideo.com/en/detail?t=2&i=1804

wifi glass camera BX102, GB28181 to VMS/smarteye,  https://www.besovideo.com/en/detail?t=2&i=1808

 

face recognition on 4G/5G body cameras, https://www.besovideo.com/en/detail?t=1&i=365