Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assuing one start bit and one stop bit for each byte of data sent, how long woul

ID: 3789794 • Letter: A

Question

Assuing one start bit and one stop bit for each byte of data sent, how long would it take to send 50 bytes of data if the following commands are used to initialize the Arduino serial port? a. Serial.begin(9600); b. Serial.begin(14400); c. Serial.begin(57600);
Assuing one start bit and one stop bit for each byte of data sent, how long would it take to send 50 bytes of data if the following commands are used to initialize the Arduino serial port? a. Serial.begin(9600); b. Serial.begin(14400); c. Serial.begin(57600);
Assuing one start bit and one stop bit for each byte of data sent, how long would it take to send 50 bytes of data if the following commands are used to initialize the Arduino serial port? a. Serial.begin(9600); b. Serial.begin(14400); c. Serial.begin(57600);

Explanation / Answer

We all know:

1 Byte = 8 bits

Since in our case, we have 2 bits extra for per byte data sent across [1 bit for start, 1 bit for stop]

[baud rate- bits per second]

As per our new conversion rate, 50 Bytes = 500 bits

9600 bits sent in 1 second

So 500 bits will be sent in = 500/9600 seconds
Note: To understand unitary method, 500 bits is less amount of data which could be sent across in much lesser time than 9600 bits

Duration (seconds)

0.008680556

We all know:

1 Byte = 8 bits

Since in our case, we have 2 bits extra for per byte data sent across [1 bit for start, 1 bit for stop]

So now one has to send 2 bits data extra per 1 Byte of information. Now, 1 Byte=10 bits Now "Serial.begin(bps)" ==> This api sends the data in baud rate send across through Arduino serial port.

[baud rate- bits per second]

So, Serial.begin(9600) ==> Sends 9600 bits of data per second Now in our case, we have to send 50 Bytes of Data

As per our new conversion rate, 50 Bytes = 500 bits

So it means we need to send 500 bits of data at 3 different rates and get the time duration to send across the message using simple unitary method concepts, we understand the following:

9600 bits sent in 1 second

So 500 bits will be sent in = 500/9600 seconds
Note: To understand unitary method, 500 bits is less amount of data which could be sent across in much lesser time than 9600 bits

Commands

Duration (seconds)

a. Serial.begin(9600); 0.052083333 b. Serial.begin(14400); 0.034722222 c. Serial.begin(57600);

0.008680556

So,it clearly implies that the time duration for sending data across 57600 baud rate is the least among all.
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote