RS485-like multi-drop bus

15,271

RS485-like multi-drop bus
RS485-like multi-drop bus

PBUS is an RS485-like multi-drop bus for interconnecting PIC and other microcontroller-driven devices. Protocol and software is written by Jap. Just include a separate pbus library file into your project and add your command handlers for the specific device in a few lines. More: There are three PIC source versions:

* PB12 is for 12-bit slave devices without interrupt
* PBUS is for slave devices with an interrupt, software UART implementation
* PB628 is for slave devices with an interrupt and a free hardware UART

The PBUS system operates as a multi-drop communication bus, allowing multiple devices to be connected and communicate over a single set of differential lines, similar to RS485 protocols. This configuration enhances the robustness of the communication, making it suitable for various applications where noise immunity and long-distance communication are critical.

The architecture supports three distinct versions tailored to different device capabilities. The PB12 version is designed for 12-bit slave devices that do not require interrupt handling. This version is ideal for applications where data integrity is paramount, and the simplicity of communication without interrupts can suffice.

The PBUS version introduces support for devices that utilize interrupts, leveraging a software UART implementation. This allows for more efficient handling of data transmission and reception, enabling devices to respond to events promptly. This version is particularly useful in scenarios where timely communication is essential, such as in real-time control systems.

Lastly, the PB628 version enhances the capabilities further by incorporating a free hardware UART for slave devices with interrupts. This hardware implementation offloads the communication tasks from the main processor, allowing for faster and more efficient data handling. This version is suitable for high-performance applications requiring rapid data exchange and minimal latency.

To implement the PBUS protocol, users need to integrate the provided pbus library file into their projects. This library simplifies the process of setting up communication by offering predefined functions and structures. Developers can easily add command handlers specific to their devices, facilitating customization and flexibility in how data is managed and processed across the bus.PBUS is an RS485-like multi-drop bus for interconnecting PIC and other microcontroller-driven devices. Protocol and software is written by Jap. Just include a separate pbus library file into your project and add your command handlers for the specific device in a few lines.

There are three PIC source versions: * PB12 is for 12-bit slave devices without interrupt * PBUS is for slave devices with an interrupt, software UART implementation * PB628 is for slave devices with an intterupt and a free hardware UART 🔗 External reference