Questions tagged [baud-rate]

"baud-rate" refers to the number of signal or symbol changes that occur per unit time. This tag is for questions that get, set, or otherwise manipulate the baud rate.

In telecommunications and electronics, baud (/ˈbɔːd/, unit symbol "Bd") means symbols per second or pulses per second. A symbol being one of several voltage, frequency, or phase changes.

Thus a "baud-rate" refers to the number of signal or symbol changes that occur over time—most commonly per second. A baud rate differs from a bit-rate in that a single symbol transition (baud) can communicate more than one bit during the interval, whereas a bit rate is a single bit per interval. However, if only two symbols are defined for some system, e.g. "0" and "1", then the baud/bit rates are synonymous.

This tag is OS and Language independent, as long as there's a mechanism for manipulating the serial data rate this tag can apply.

211 questions
3
votes
1 answer

Serial Programming for POSIX, non-standard baud rate

I am implementing a simple program in unix that takes a RS232 input and saves it into a file. I've used these references: http://en.wikibooks.org/wiki/Serial_Programming/Serial_Linux and http://www.easysw.com/~mike/serial/serial.html #include…
David Portabella
  • 12,390
  • 27
  • 101
  • 182
3
votes
1 answer

Getting faster baud rates with termios

Using Non-Canonical Input Processing, I am reading in the serial data being sent to a Xbee S2B Pro (ZB) using a Xbee Interface XBIB-R-Dev with a "DB9-to-USB" cable. I am using some of the example code from…
M B
  • 41
  • 5
3
votes
1 answer

Calculate Thread.Sleep() for bitrate limit

I have a class reading a http stream file. static long CurrentMilliseconds { get { return Environment.TickCount; } } public void ReadFile() { ... while(true) { int r = stm.Read(buf, 0, bufSize); …
albert
  • 1,493
  • 1
  • 15
  • 33
3
votes
1 answer

RS-485 Serial Port Baud Rate Performance Efficiency

I am developing an application in Python that communicates to a device over RS-485 two wire, half-duplex. I have enough of the application working that I can perform some performance tests. I am using a laptop with a USB to 485 converter. The…
Timothy Vann
  • 2,537
  • 2
  • 20
  • 23
3
votes
2 answers

Dealing with serial port at 100 baud rate

I am looking to know if it is possible to read from a serial port at 100 baud rate. As per termio.h there is no provision to set 100 as baud rate. I am working in Linux. The communicating device on the other end is sending data at 100 baud rate and…
user_abh
  • 357
  • 3
  • 6
  • 20
3
votes
1 answer

changing baud rate on bluetooth SPP connection

I have the requirement to collect bluetooth data from a remote bluetooth device at the rate of 1.15k with bluetooth SPP. I connect to the remote device as follows. try { tmp = device.createRfcommSocketToServiceRecord(MY_UUID); } catch (IOException…
raij1
  • 81
  • 1
  • 1
  • 5
2
votes
1 answer

serial port communication with POS from .NET

I am trying to communicate with a cash register through the serial port from a C# app I am building and I have a small utility provided from the manufacturer which gives me some info about the device like firmware version etc. In the protocol…
user626873
  • 177
  • 4
  • 11
2
votes
2 answers

Read data off USB at 31250 baud rate

I've got an Arduino board and want to read the data it's spitting off using USB at a custom baud rate. Hacking up some of the code Arduino suggest, I get this C code: int serialport_init(const char* serialport, int baud) { struct termios…
Lee
  • 21
  • 1
  • 3
2
votes
2 answers

SPI and writing data to registers

How can I set multiple bits to 0 in C when working with CR registers with SPI? I know that for setting individual bits I do: SPI1->CR1 |= (1<<2); // To set bit 2 SPI1->CR1 &= ~(1<<7); // To reset bit 7 Context: I am setting a prescaler for the baud…
Kim
  • 23
  • 5
2
votes
2 answers

Change baud rate in C# without closing connection

I have a similar problem to the following link. How to change baud rate without closing the connection?. But i use C# in stead of java. I am beginning with baud rate 300. Then after a hand shake i have to change my baud rate to 4800. I send a…
Ferda-Ozdemir-Sonmez
  • 674
  • 2
  • 13
  • 38
2
votes
1 answer

Unexpected Serial communication using timer interrupt in with ARM 32 bit

My code is for serial communication and led blinking using timer interrupt, where led is toggle at a fix interval of time with some line prints on serial terminal and for fix time i have used timer. Scenario: I am sending data "while" on the serial…
Naren
  • 159
  • 1
  • 7
2
votes
1 answer

Baud rate limits in software and serial communication with an external device

I am using a USB port port operating as a virtual COM port to achieve serial communication with an external device using MATLAB or Visual Basic 6. I am facing baud rate limitations depending on the software I use to communicate with the device.…
velvetshelter
  • 37
  • 1
  • 6
2
votes
1 answer

u-blox M8N doesn't save Baudrate and no fw update possible

yesterday I got my "Ublox M8N Module". I bought it at ebay. I connected it with Arduino Uno as USB to Serial Bridge. I can change Baud rate to 115'200, disconnect in Ucenter and connect with 115'200. If I unplug the module from USB, the config is…
unimetal
  • 41
  • 6
2
votes
0 answers

Problems setting baud rate in Matlab

I am trying to increase the baud rate for serial communication to a microcontroller using Matlab and it seems Matlab does not want to cooperate. My very basic setup in Matlab is: s =…
thkemp
  • 121
  • 3
2
votes
1 answer

Baud rate on Arduino

I am implementing a simple visible light communication module with two Arduinos, as a transmitter and a receiver, with a short text message consisting of 120 characters. I have used Manchester encoding with on-off -keying modulation. Altogether, in…
Anne
  • 21
  • 1
  • 2
1 2
3
14 15