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.

[General] Baud Rate Calculation

Status
Not open for further replies.

TingYi Yong

Newbie level 1
Newbie level 1
Joined
May 3, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
10
I have this 3-axis dongle serial accelerometer connected using RS-232 cable. I am putting the baud rate as 9600 and im getting 80 XXXX-YYYY-ZZZZ raw data readout per second. I am trying to justify why does it shows 80 readings in a second, and here is my calculation,

2 Bytes of data x (1 Start bit + 1 Stop bit + 8 bits) = 20 bits
20 bits x 3 axis x 80 readouts = 4800 bits

While im getting 4800 bits instead of 9600 bits, so i am wondering did i miss out anything in justifying the 80 readouts?

Thanks guys :)
 

if each axis value is 2 bytes could they be followed by a newline (which could be carriage return and line feed characters)
 

What is the specified measurement repetition rate for the dongle? Does it transmit at the same time it measure? Have you looked at the datastream to see if there are any gaps between each dataset?
 
  • Like
Reactions: embpic

    embpic

    Points: 2
    Helpful Answer Positive Rating
I have this 3-axis dongle serial accelerometer connected using RS-232 cable. I am putting the baud rate as 9600 and im getting 80 XXXX-YYYY-ZZZZ raw data readout per second. I am trying to justify why does it shows 80 readings in a second, and here is my calculation,

2 Bytes of data x (1 Start bit + 1 Stop bit + 8 bits) = 20 bits
20 bits x 3 axis x 80 readouts = 4800 bits

While im getting 4800 bits instead of 9600 bits, so i am wondering did i miss out anything in justifying the 80 readouts?

Thanks guys :)

Hi,

i worked with 2 different accelerometer dongles (1 serial, 1 usb with virtual serial port driver) and both of them have some sort of configuration software (or configuration command) and i could change output rate (calculation rate) with that.it means that your output rate could be 1 output per second without any change in interface baud rate(9600bps).

I think you should take a closer look to datasheet of your dongle or manufacturer site.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top