assadmahmood
Junior Member level 3
- Joined
- Oct 23, 2011
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Karachi Pakistan
- Activity points
- 1,531
Greetings EveryBody!
I have to interface multiple slaves with one Master, master can either be a microcontroller or a computer (PC), by using RS485 interface. Its my first attempt to interface something by RS485. I read about it and got the concept that how to interface MAX485 and data transfer in it etc.
Somethings are still unclear which I have to ask from you experts.
1- How to control RE and DE signals of MAX485 by microcontroller? and what to do with them?
2- If MAX485 is interfaced with PC via MAX232 then it is recommended to control RE and DE by RTS pin of Serial port. OKay, but how to control that, what to do in software's side?
3- If Master calls something, would it be listen by all the slaves?
Kindly let me know these thing bcz I have to do this task with in very short given time.
Many thanks for your kind consideration.
I have to interface multiple slaves with one Master, master can either be a microcontroller or a computer (PC), by using RS485 interface. Its my first attempt to interface something by RS485. I read about it and got the concept that how to interface MAX485 and data transfer in it etc.
Somethings are still unclear which I have to ask from you experts.
1- How to control RE and DE signals of MAX485 by microcontroller? and what to do with them?
2- If MAX485 is interfaced with PC via MAX232 then it is recommended to control RE and DE by RTS pin of Serial port. OKay, but how to control that, what to do in software's side?
3- If Master calls something, would it be listen by all the slaves?
Kindly let me know these thing bcz I have to do this task with in very short given time.
Many thanks for your kind consideration.