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.

Problem in interfacing 8051 with weighing machine

Status
Not open for further replies.

nilesh ghadge

Newbie level 2
Joined
Feb 16, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Actually I am new to this field & want some help from experts out there......
I want to interface 8051 with a weighing machines which works with 4800 & 2400 baud rates. I have no problem with 4800 but as I am trying to read data at 2400 it fails its not giving me any data at all... protocols for both the weighing machines are same
i.e. start character 6 digits end character & '\n'

CPU freq. 11.0592 with 6 clocks/cycle.. & for this freq I am using baud ...
 

I am using following values ...

for 9600 //works fine
TH1 = 0xF4;
TL1 = 0xF4;

for 4800 //works fine
TH1 = 0xE8;
TL1 = 0xE8;

for 2400 //not working
TH1 = 0xD0;
TL1 = 0xD0;

here I am using timer 1 in auto-reload mode
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top