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.
since u r using master slave combination.it is easy to communicate.you should use uart for serial communication.For comm. you need to give address of the slave before transmission...for more detail study uart transmission for 8051 on atmel website.
i do not know much about avr series.but in opinion the serial port programming remain same ,cause avr also have uart. so using the rs-485 protocol will remain same. u want to send a clock data. study the atmel rs -485 rules for serial communication. u have to send the address of master uC, to...
since u ar using rs- 485.u need to have use a driver say max 485.
for communication.since rs-485 have 2 wire comm. u have to use serial comm.using uart
can u tell me which controller u are using?
i am giving different addresses for different controllers,but when i compile my program it show error. i am usin saadr and saden register for addresing controllerrs. but keil is not identifying them. can u teell me other way to do this
---------- Post added at 14:30 ---------- Previous post...
i am interfacing four 8051 micro controllers using rs 485 protocol, with one as a master while other as slave.I am using max-485 for serial communication.I want to send data to a particular slave,remining other idle.Can any one tell me how to select a particular controller in program
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.