longmeier90
V2EX  ›  .NET

.net 刚通电没有触发怎么用软件主动获取红外传感器的信号。

  •  
  •   longmeier90 · Sep 27, 2023 · 1983 views
    This topic created in 979 days ago, the information mentioned may be changed or developed.
    我用.net 开发了一个软件,从红外传感器连接电脑的端口(com3)获取高低电平信号来判断当前设备处在是左眼、右眼上,但是有一个弊端是只有触发它才主动发出信号。

    我有一个需求是,当软件初始化时需要主动获取红外传感器当前的信号(因为没有触发当前不会发出信号),判断设备处在左眼还是右眼。

    有没有开发过这方面的大佬,请多多指教。
    3 replies    2023-09-28 01:56:55 +08:00
    Corolin
        1
    Corolin  
       Sep 27, 2023
    找找设备的开发文档 多半会有相对应的指令
    longmeier90
        2
    longmeier90  
    OP
       Sep 27, 2023
    @Corolin 没有开发文档,两台照相机、淘宝上买了一个红外避障传感器
    hanguofu
        3
    hanguofu  
       Sep 28, 2023 via Android
    在电脑和红外传感器之间添加一台单片机,以供电脑查询?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1296 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 23:40 · PVG 07:40 · LAX 16:40 · JFK 19:40
    ♥ Do have faith in what you're doing.