Тёмный

Arduino Serial Communication using UART 

BINARYUPDATES
Подписаться 40 тыс.
Просмотров 158 тыс.
50% 1

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

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@Montee1979
@Montee1979 8 месяцев назад
Honestly this was alot simpler than I originally thought it would be, thanks for the video.
@BINARYUPDATES
@BINARYUPDATES 8 месяцев назад
Hi Montee, Glad you liked it!
@faizandarsot2440
@faizandarsot2440 Год назад
I enjoyed the break down of the serial communication and the ease of understanding UART so quickly!
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Faiz, great to know your Serial communication with Arduino is working. Enjoy and have a fun with your Arudino Uno. Cheers!
@ahmedalrefai6752
@ahmedalrefai6752 3 года назад
Your methodology is Great, how you break down things!
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Hi Ahmed, Glad you think so!
@benshke
@benshke 10 месяцев назад
How would you set the program to get for example 4 digital inputs, 4 digital outputs and 2 analog signals.
@johnrees44..G4EIJ
@johnrees44..G4EIJ 4 года назад
Thank you..Did you ever make the video on how to use other pins as TX/RX for serial? John
@fuzzs8970
@fuzzs8970 3 года назад
Hi Thank you very much. Nice video. Do you think the Arduino can be used as UART reader to write in airbag ECU with renesas MCU? Rf561725. There's a reset pin normally used
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Yes, you can
@billferner6741
@billferner6741 5 лет назад
Is it me only? I miss the connection and programming of the UART. The video shows only how to program and connect Arduino via USB.
@sachinm3519
@sachinm3519 5 лет назад
These are in built functions of the Arduino.. to understand completely you will have to learn the basics of UART and hote data is transmitted in 8051. It is pretty simple. Once you understand try to write the functions yourself
@jaimestuardo4655
@jaimestuardo4655 4 года назад
@@sachinm3519 Arduino microcontroller is not 8051, or it is compatible with that? By the way... it is not that simple. It is not that simple as just connecting RX/TX pins to TX/RX of the other device. RX/TX pins in arduino sends 0 V for "1" and +5 V for "0". I tested this connecting those lines to a PC and to other device and it did not work. Finally, I had to use other pins and use SoftwareSerial library to send inverted bit. That way I could use a PC to monitor the sent data and finally, to connect to other device, which is actually a Modem. It would be more useful if a video using RX and TX pins of Arduino is uploaded.
@crateer
@crateer 4 года назад
He literally said it in the within the first 60 Seconds of the video :D
@search4truth616
@search4truth616 4 года назад
@@jaimestuardo4655 Did you find any videos of the type you were searching for?
@jaimestuardo4655
@jaimestuardo4655 4 года назад
@@crateer Even he mentions it, the demo he shows was using the USB port to connect to the PC. The title should be different because many people (including me) came here expecting to find a demo of using P0 and P1 pins. That's the point.
@rednibcoding3827
@rednibcoding3827 6 лет назад
Baudrate is not bits per second, its symbols per second or pulse per second. Where one symbol can contain several bits.
@mordaljohan75
@mordaljohan75 6 лет назад
Yes you are Wright ! I learning arduino c and this byte/second .1 byte is height bits . 1 caracter = 1byte . ex: 9600 bauds/sec = 9600 caracters /second ....thanks .....johan
@briandenley
@briandenley 5 лет назад
Although back in the day, 300 baud was 300 bps.
@ricardoffnunes
@ricardoffnunes 5 лет назад
Baud rate is the number of times a signal on a communication channel changes state, or varies. For example, 9600 baud rate means that the channel can change state up to 9600 times per second. The term "change state" means that it can vary from 0 to 1 or from 1 to 0 to X times (in this case 9600) per second. Please inform yourself before misleading others. - Ricardo Nunes, Portuguese Electronics and Automation Engineer ;)
@martinkuliza
@martinkuliza 2 года назад
Exactly, that's why i just told him
@martinkuliza
@martinkuliza 2 года назад
@@briandenley right....... But even as 300 bp/s it was not referring to transmission speed but symbol changes per second because the symbols are indeed bits although the purpose of the bits is not to justify speed but to define data and data content by changing state X times per second also bps was still the incorrect way to refer to Baud so let's try and clear up the confusion between bit rate and baud rate shall we
@EngineerAnandu
@EngineerAnandu 9 месяцев назад
Good
@baili8654
@baili8654 5 месяцев назад
Thank you, you are genius!
@BINARYUPDATES
@BINARYUPDATES 5 месяцев назад
Hi Baili, Glad it helped!
@ademguler8931
@ademguler8931 3 года назад
You said we would communicate through tx and rx pins, why didn't we use them here?
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Hi Adem, because Tx and Rx Pins on Arduino is already in use with USB Connector and since its internally connected we don't need to connect Tx,Rx pins externally. I hope this will help you understand. Good day
@muhamadkarzan3213
@muhamadkarzan3213 5 лет назад
thank you very much its a very good code for the biginners like me.💜
@jaimestuardo4655
@jaimestuardo4655 4 года назад
Bad video. I was expecting what you promised... UART communication using TX/RX pins. You only showed the trivial part, using the USB cable to send serial data.
@vandana342
@vandana342 5 лет назад
Can we define rx and tx as outputs or inputs pin
@luizalmeida1209
@luizalmeida1209 5 лет назад
If you use the 'SoftwareSerial' library you can choose any port to be RX and TX
@brixtongun
@brixtongun 3 года назад
Very helpful will be rewatching
@saipratyushapratyusha8717
@saipratyushapratyusha8717 5 лет назад
The code is working for Arduino uno but led doesnot blink in Arduino ng \w Atmega8. Are there any modifications?
@ShaniKumar-gn4oq
@ShaniKumar-gn4oq 4 года назад
if we send string like "On" or "Off" from serial moniter instead of one char '1'or 0 then how to handle this please help.....thankyou
@shawnjones2238
@shawnjones2238 4 года назад
Try using ascii values. It should send the chars as hexa decimal values. Just do boolean comparisons on the hexa decimal values you receive to see if they match the corresponding ascii values. You will have to compare them one char at a time though. You could have two arrays, or nested if statements or something a long those lines.
@christoffere425
@christoffere425 3 года назад
Can't really find any "send" function here?
@elmirakassymova380
@elmirakassymova380 2 года назад
Hello, how to do this using interrupt?
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Hi Emira, you can use UART peripheral with Interrupt. Also consider using interrupt vector available in ATmega328 microcontroller on Arduino. There are some video out there you can explore on YT. Good luck for your project and best wishes!
@ronchampagne8484
@ronchampagne8484 4 года назад
Keep getting "expected '}' at end of input " error on compile . Problem is the correct charactors are right there !!!! SOmething is missing in this video
@momeerehman973
@momeerehman973 4 года назад
Hello...... Can you make a video for esp8266 serial communication coding?
@BINARYUPDATES
@BINARYUPDATES 4 года назад
Yes Sure
@momeerehman973
@momeerehman973 4 года назад
Thanks bro.... 👍 Guide in full series, your videos so in4mativ and your guidance mathod, it's really good👏 so helpful for biginers.... Keep it up
@Ticks_and_Chaos
@Ticks_and_Chaos Год назад
Thank you so much
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Karthik, you're most welcome!
@shah6868
@shah6868 2 года назад
This configuration has nothing to do with UART Tx/Rx, it is simply using pin 13 as output with Serial
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Yes, you're right. I explained it to let viewers know there is UART Pins Tx, Rx does exist in Arduino
@ronchampagne8484
@ronchampagne8484 4 года назад
This doesn't work . Between the uppercase/lowercase and syntax errors This doesn't work ! Auto formating gives me code that will not compile !!! THere are important details left out here !
@rekhakaushik4292
@rekhakaushik4292 2 года назад
Nice
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Thanks Rekha!
@ARIEZACHANNEL
@ARIEZACHANNEL 5 лет назад
very nice tutorial
@samarjain214
@samarjain214 Год назад
Proper click bait video.. Man has kept UART in the caption but hasn't taught anything related to UART. Please don't misguide.
@BINARYUPDATES
@BINARYUPDATES Год назад
This video demonstrate the use of Arduino Serial class which uses USART/UART protocol means Tx and Rx pin on Atmega328 MCU. In Arduino, Tx and Rx is internally connected to Type-B USB Hub. Please read more on Arduino website about how Serial function is built.
@zeexhanhaider8664
@zeexhanhaider8664 3 года назад
nice video
@dhwajaffhighlight
@dhwajaffhighlight 2 месяца назад
Bhai saba thik hai leken itini wisil kiy mar reheho 😅
Далее
Hacker's Guide to UART Root Shells
17:40
Просмотров 489 тыс.
how does UART work??? (explained clearly)
10:52
Просмотров 307 тыс.
Which part do you like?😂😂😂New Meme Remix
00:28
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
Просмотров 1,3 млн
Serial Communication with Arduino - The details!
16:51
Using Serial.read() with Arduino | Part 1
10:30
Просмотров 135 тыс.
I2C Part 1 - Using 2 Arduinos
25:51
Просмотров 416 тыс.
Understanding UART
6:11
Просмотров 191 тыс.
Принцип работы UART
40:11
Просмотров 39 тыс.
Arduino - Send Commands with Serial Communication
17:23