Hello
I want to calculate how much bit/s of data my arduino is sending to my APP through HC-05 Bluetooth.
I'm currently operating at 48000 baud rate
I'm just transferring the serial monitor output data (printing) to the APP
8 (1 or 0's) switches
5 (degrees) flex sensors
3 (integers) accelerometer
3 (integers) gyroscope
18 tabs
I want to calculate the total number of bits I'm transferring from my collected data/tabs of my program.
My goal is to find the bits/s transferred to the APP.
Thank you in advance.
Cookie
Robin2
March 19, 2016, 4:39pm
2
I suspect you mean 4800 baud as that is one of the standard rates.
The baud rate is the number of bits per second. Assuming you are using the normal 8N1 system each byte takes 10 bits allowing for the start-bit and the stop-bit so 4800 baud will give about 480 bytes per second.
...R
Hi,
I calculated my total data transfer to be 384 bits/sec
If i'm operating at 4800 baudrate,
Would that be 12.5 lines per second it would output to the serial monitor?
Thanks
Robin2
March 20, 2016, 8:26pm
4
cookie89:
I calculated my total data transfer to be 384 bits/sec
If i'm operating at 4800 baudrate,
If you mean BYTES per second that is probably reasonable.
Would that be 12.5 lines per second it would output to the serial monitor?
How many characters are there per line?
...R
26 characters
11 integers
18 tabs (characters)
@ a baudrate of 4800
Robin2
March 21, 2016, 8:06am
6
cookie89:
26 characters
11 integers
18 tabs (characters)
@ a baudrate of 4800
I presume I am meant to add these together. But both 1 and -12345 are integers with very different numbers of characters.
You need to write out a typical line and count the characters.
...R