Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

rs 485 library and help!!

Status
Not open for further replies.

rrk

Junior Member level 1
Joined
Mar 1, 2005
Messages
15
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,378
hi

I am using servo motors with built in controllers and have to communicate with my controller via rs485 ...
i was wondering is it possible to use the rs 485 library in mikro c compilers with slaves whose program is compiled with different compilers .

another thing is that does any one know where i can get microchip's library for rs485

Thanks!
 

Hi,
As far as your program is concerned RS485 does not matter, it is only a hardware driver to drive long lines, and it can be connected to RS232 serial TX/RX pins, the program will not even know about it. Read more about RS485 from www.maxim-ic.com .
Regards,
Laktronics
 

    rrk

    Points: 2
    Helpful Answer Positive Rating
RS485 is simply a 2-wire balanced line (electrically) system of transmitting RS232 UART protocol. It also includes addressing bytes to get the attention of other specific microcontrollers "listening" to the wires. Each microcontroller connected to the wires requires a RS485 IC connected to its UART RX/TX pins and 1 or 2 control lines for either Writing or "Listening"/Reading what's on the lines.

It doesn't matter what compiler programmed the other controllers. You only need to know how to get their attention (through RS232 communication) and talk to them with your microcontroller. That communication information you can get from the manufacturer of the servo controller. How to directly control the writing and reading the lines is found in the 485 IC manufacturer's datasheet, including how to physically make the connection.

Here is an example of someone who sells such 485 servo controllers and provides that information about their system:

https://www.jrkerr.com/overview.html


https://www.jrkerr.com/docs.html
 

    rrk

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top