Description: 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
Instructions for constructing and utilizing a basic PIC programmer using readily available and inexpensive components. The total cost for building the programmer is under $1.50.
The simple PIC programmer is designed to facilitate the programming of PIC microcontrollers, which are widely...
This project outlines a simple and cost-effective method for integrating a digital thermometer and data logging capability into a PC. It utilizes a PIC microcontroller to obtain temperature data from the Microchip MCP9701 sensor and transmits this information to a...
If a page name is not selected by pressing the button, the previously selected page name continues to be used. The value is stored in EEPROM and may be changed at any time. When the unit is first powered on,...
Using a switch to power up your microcontroller projects may not be a good idea if you need to "wake" the PIC during some events. For example: A metal detector sends a pulse indicating a car is ready to enter...
The SP6691 circuit is designed to provide a high output voltage using a lower voltage boost regulator by incorporating a charge pump circuit. This configuration can convert a standard 30V boost regulator into a 60V boost regulator if necessary. Testing...
PIC C Compilers are utilized to compile source code, leveraging the extensive built-in functions offered by these compilers. A single C statement can produce multiple pages of PIC RISC instructions, eliminating the need for manual coding. CCS charges $125 for...
The two optical sensors will provide a count of individuals to the microcontroller, which will relay this value to MCU-II. The microcontroller will detect the entrance of any person through high-to-low pulse transitions on input pins A3 and A4.
The circuit...
The widespread application of Flash technology in microprocessors has led to significant advancements in the development and utilization of one-chip computers. Designers have transitioned from traditional in-circuit emulators (ICE) and JTAG interfaces to more cost-effective and user-friendly development methods. While...
C code for a PIC frequency counter operating up to approximately 50 MHz. The project utilizes an HD47880 LCD for display purposes and employs Timer 1 to count the edges of the input signal.
This frequency counter project is designed to...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more