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
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
@@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 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.
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
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 ;)
@@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
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
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.
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.
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!
Keep getting "expected '}' at end of input " error on compile . Problem is the correct charactors are right there !!!! SOmething is missing in this video
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 !
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.