Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Free protocol Net485 for network RS485.
Forum Updated to NodeBB v4.3 + New Features

Free protocol Net485 for network RS485.

Scheduled Pinned Locked Moved Solved Showcase
4 Posts 4 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • joaopagottoJ Offline
    joaopagottoJ Offline
    joaopagotto
    wrote on last edited by p3c0
    #1

    For those who want to communicate with RS232 or RS485 follows design of this backpack, open-source, a communication protocol for serial networks. The protocol is done in Qt, Arduino and PIC, any of these devices can assume the role of Master or Slave.

    Remembering only:

    • Network 485 only 1 master.
    • Only the master has the power to initiate communication with the slave.
    • The master has the power to send a packet to all (broadcast).

    Example:

    • Qt is in Master mode
    • Arduino in slave mode
    • PIC in slave mode

    Licensing: LGPLv3

    highlights:

    • Works in Half / Full Duplex mode.
    • Sending and receiving messages with confirmation.
    • Send and receive messages without confirmation.
    • Data reception via callback.
    • Sending messages to the broadcast.
    • Error handling and broken packages.
    • CRC16 check Algorithm.


    https://github.com/JoaoPagotto/Net485

    Moved from General and Desktop - p3c0

    1 Reply Last reply
    2
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by p3c0
      #2

      @joaopagotto,
      Thank you for sharing your work.

      157

      1 Reply Last reply
      1
      • T Offline
        T Offline
        Teratop
        wrote on last edited by
        #3

        HI,
        I am starting with CHIP FTDI FT232R, which allows the electrical conversion between RS485 and RS232, (+ A, -B, GND) <-> USB-COM, in principle it reads 8 bit, without problems, since the converter, set autobound, parity, stop bit, etc. Then I will comment if I can in Master mode, read and write RS485 datagrams through the RS232 endpoint.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chris44
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          -1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved