Author Topic: baud and bit rate in case of RS-232  (Read 3301 times)

0 Members and 1 Guest are viewing this topic.

Offline m4rtinTopic starter

  • Regular Contributor
  • *
  • Posts: 93
baud and bit rate in case of RS-232
« on: November 19, 2013, 10:48:02 pm »
If I connect to a network device over a console port, I usually choose the speed "9600" in my terminal program(I tend to use minicom). Some equipment support for example "115200" speed. However, is it bit rate or baud rate? I guess in case of RS-232 the bit rate is always the same as baud rate?
 

Offline Hideki

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: no
Re: baud and bit rate in case of RS-232
« Reply #1 on: November 19, 2013, 11:11:33 pm »
For RS-232, one bit is one symbol, so you are absolutely right.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13869
  • Country: gb
    • Mike's Electric Stuff
Re: baud and bit rate in case of RS-232
« Reply #2 on: November 19, 2013, 11:17:40 pm »
Depends how you interpret it...
baudrate determines the time between bits.
However as every byte has a start and a stop bit, the maximum throughput of actual data bits transmitted is 0.8 x the baudrate
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Hideki

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: no
Re: baud and bit rate in case of RS-232
« Reply #3 on: November 20, 2013, 12:03:57 am »
The start and stop bits are overhead on top of the useful data, but the baud- or bit-rate isn't concerned with that.

Baud rate is how many times the signal actually changes per second.
Bit rate can be higher (like QAM256), the same (like UART signals, including RS-232 voltage levels) or lower (like 10/100 Mbit Ethernet), depending on the type of modulation.
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: baud and bit rate in case of RS-232
« Reply #4 on: November 20, 2013, 12:23:12 am »
Addition: The bit-rate / baud-rate is the "frequency" of the stream, the "Byte" size may vary from a min of 10 to 15+
UARTS can have 2 stop bits, some include address-line decoding option and at least one I've used allowed for 12 data bits !
Then there are the IrDA variants, so a 9600 baud line may have max 960 Bytes down to ~620 or less. Check the UART specs
Hello <tap> <tap> .. is this thing on?
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12119
  • Country: us
Re: baud and bit rate in case of RS-232
« Reply #5 on: November 21, 2013, 02:18:14 am »
For RS-232, one bit is one symbol, so you are absolutely right.

Seconded. For RS-232 interfaces the bit rate is the same as the baud rate. Hence 9600 baud is 9600 bits per second. But as has been mentioned, not every bit is necessarily a data bit. There are start bits, stop bits and parity bits to consider. As a rule of thumb divide by 10 to get bytes per second, so that 9600 baud is ~960 bytes per second.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf