Giter VIP home page Giter VIP logo

Comments (1)

xmaihh avatar xmaihh commented on June 23, 2024 1

首先,能够接收数据,但是数据错误,说明串口通信成功了。

1)RS232 是全双工的 发送和接收可以同时进行
2)RS485 是半双工的,发送和接收不能同时进行,发送和接收切换开关需要控制
3)信号干扰、传输距离太远、通信速率过高等原因导致数据传输出现错误

在您的情况下,您可以尝试以下措施:

  1. 增加线缆的屏蔽性能或使用双绞线来减少信号干扰;
  2. 缩短通信距离或使用信号放大器来增强信号;
  3. 降低通信速率;
  4. 检查RS485发送和接收的电路和程序是否正确;
  5. 如果可能,请使用逻辑分析仪或示波器等工具来分析信号。

from android-serialport.

Related Issues (20)

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.