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.

8051 interface with max485

Status
Not open for further replies.

srinu_gonuguntla

Newbie level 3
Joined
Dec 12, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
max485

hi,
i am using max 485 to communicate with meter.
problem is i am unable to send my data through max485.
my max485 ic pin voltages(i am using 485 as half duplex)

R0 = 4.7V
DE&RE/ = 0.6V
DI = 3.0V
VCC =5V
GND
A&B = 0.6V

WHY i am not getting data what i have send from 8051 to hyper terminal.
(i am using hyperterminal for testing whether communication is working or not).
i am using baud rate 9600.

please help me.
 

8051 max485

sequency of program for send one BYTE:

1. jnb TI,$ ; wait for finish last transmit
2. setb DE&RE ; enable RS485 transceiver for send
3. mov sbuf, byte_to_send
4. jnb TI, $ ; very important!!!!! wait for trasmit whole BYTE
5. clr TI
6. clr DE&rRE ; enable receive

note:pins 1 & 2 shorted
 

max485 8051

actually i am sending only one charecter only.
contineously i am sending same character but i am not getting any thing.
any way thak's for responce.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top