Тёмный
No video :(

Baud Rate Setting in Serial Communication in 8051 Microcontroller 

Shrikrishna Kolhar
Подписаться 540
Просмотров 31 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@akshadabharade8795
@akshadabharade8795 6 лет назад
Really nice 👍🏼 it actually cleared all my doubt regarding this concept 'baud rate'😊
@reubengoh8056
@reubengoh8056 6 лет назад
This is why i love indians
@diegoenrique03
@diegoenrique03 6 лет назад
Yeah they have a lot of good information.
@yatanik
@yatanik 6 лет назад
kindly explain how updating -3 in TH1 changes the signal
@gauravkothari5263
@gauravkothari5263 5 лет назад
what is the maximum baud rate that we can set using 11.0592. as per the calculation i think its 28800 what we can set.. because if we try increasing the baud rate say like 57600, the answer will be 0.5, so in this case what should be the TH value.
@imtiyazroshan8550
@imtiyazroshan8550 3 года назад
Can you help me in gps module sim39ea can be sdjusted from baud rate 115200 to 9600
@sharvarisane4334
@sharvarisane4334 3 года назад
please make more videos on microcontroller ARM
@srikanth409tube
@srikanth409tube 5 лет назад
Why taking negative for 3 and 12
@beforth
@beforth 4 года назад
Because timer counts up and triggers the UART on overflow (FFh to 00h transition). -3 (FDh) means timer will overflow in 3 ticks which divides base uart frequency by 3.
@viralkothari5360
@viralkothari5360 3 года назад
what value has to be loaded to TH1 for baud rate of 115200 28800 / 115200 = 0.25
@kalakatiraja4629
@kalakatiraja4629 7 лет назад
hi sir what is AUTO reload in timers how it works in Serial communication??
@wakeelmohammed2473
@wakeelmohammed2473 7 лет назад
timers in 8051 can be configured into 4 modes. 1. Timer 1 mode 0 [13 bit counter] 2. Timer 1 mode 1 [16 bit counter] 3. Timer 1 mode 2 [Auto reload] 4. Timer 0 mode 3 [split timer 0 into two 8 bit counters] [since 8051 has two 16 bit timers/counters
@hanumanth5359
@hanumanth5359 7 лет назад
Why cant we use i/0 pins as serial com pins
@hanumanth5359
@hanumanth5359 7 лет назад
If we have general i/o pins in 8051 micro cntrlr why we use serial port for sending and recieving data serially we can use those i/o pins isn't it?
@shrikrishnakolhar9800
@shrikrishnakolhar9800 7 лет назад
First advantage of using serial port is that no. of pins are saved as only RxD and TxD pins are used for data transmission. Second thing is serial communication is long distance communication.
@hanumanth5359
@hanumanth5359 7 лет назад
Sir my question is why with number 32 only we can use other number to get 28,800hz?
@humayun007
@humayun007 6 лет назад
It depends upon the UART circuitry. In 8051 circuitry it is by default 32. It may vary from controller to controller
@waterblaster2656
@waterblaster2656 5 лет назад
hello sir how to set baud rate in in timer 0 mode 1 ?
@sadhucharanmoharana3586
@sadhucharanmoharana3586 4 года назад
Can we take timer 0 mode for baud rate selection?
@surajgend3590
@surajgend3590 4 года назад
No
@kalakatiraja4629
@kalakatiraja4629 7 лет назад
why we are using baud rate usually 9600 kbps in UART??
@beforth
@beforth 4 года назад
Because a 8051 core is not fast enough to leverage higher baudrates. 9600kbps generally adapts better to the 8051 processing speed.
@parth1450
@parth1450 5 лет назад
We got TH value what about TL value??
@beforth
@beforth 4 года назад
TL is not used in 8 bit mode (TH is used to reuse the 16 bit mode overflow circuitry)
@myworldmychoice
@myworldmychoice 5 лет назад
how to set baud rate of 115200..?
@surajgend3590
@surajgend3590 4 года назад
Why timer 1 for uart why not timer 0????
@hanumanth5359
@hanumanth5359 7 лет назад
Why machine cycle frequency is divided by 32 only
@shrikrishnakolhar9800
@shrikrishnakolhar9800 7 лет назад
To obtain the operating frequency of UART (28, 800 Hz) circuit, the crystal frequency is divided by 32.
@anjuvinnu757
@anjuvinnu757 5 лет назад
Why r u doing decrement.. why u r not doing increment..
@wakeelmohammed2473
@wakeelmohammed2473 7 лет назад
What is meant by D0,D1,....D7????
@akshadabharade8795
@akshadabharade8795 6 лет назад
These are the data bits
@prashantdaharwal7519
@prashantdaharwal7519 4 года назад
sir,,mazidi ki book khol kr pd rhe ho bs,.......me B same book pd rha hu.......wo value negative kesi hui whi doubt k lia utube open kiya.............
@shrikrishnakolhar9800
@shrikrishnakolhar9800 4 года назад
The ans is 3. Subtract it from (FF) hex which comes out to be (FD) hex its 2's complement will be -3 so value taken is negative
@prashantdaharwal7519
@prashantdaharwal7519 4 года назад
@@shrikrishnakolhar9800 sry for that comment if u felt bad ,dnt tk it prsnl .....the comment id for video not on your knowlegde sir.....and thnk u so much for clarification. if u can handle negative comment then u r good to go.
@prashantdaharwal7519
@prashantdaharwal7519 4 года назад
@@shrikrishnakolhar9800 why we are taking this 2 s complement
@darshitgandhi9122
@darshitgandhi9122 4 года назад
@@shrikrishnakolhar9800 sir why we are subtracting 3 from FF...and what will happen if we set TH1 with FD..means how will it set the baud rate to 9600
@shrikrishnakolhar9800
@shrikrishnakolhar9800 4 года назад
@@darshitgandhi9122 there is no difference between -3 and FD. As shown in the example in video 28800 Hz is divided by 9600 to get TH1 value as -3 or FD hex
@hanumanth5359
@hanumanth5359 7 лет назад
Why cant we use i/0 pins as serial com pins
@beforth
@beforth 4 года назад
Because UART send and receive registers connections are hardwired to the TX and RX pins. You could use regular I/O pins for serial data transfer, but you should have to code your own uart in software (much slower).
@hanumanth5359
@hanumanth5359 7 лет назад
Why cant we use i/0 pins as serial com pins
@shrikrishnakolhar9800
@shrikrishnakolhar9800 7 лет назад
there is SBUF register which acts as parallel in serial out shift register for TX and serial in parallel out shift register for RX. While transmission of data the data is first copied into SBUF register which is framed with start and stop bit and it is then serial (one bit at a time) transmitted on TxD pin. Same way at the time of reception the data is received on RxD pin one bit at a time and copied into SBUF register and then taken out in some another register. Every pin has its dedicated role according to the hardware inside the chip.
Далее
Serial Communication in 8051 Microcontroller
48:05
Просмотров 55 тыс.
Understanding UART
6:11
Просмотров 183 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 21 млн
RS 232 Connection to 8051
14:25
Просмотров 14 тыс.