Serial COM Tutorial Part 4 (Visual Studio C#)

preview_player
Показать описание
This tutorial shows how one can use their PC virtual COM ports for easy serial communication.

download the example code (C# serial instance messaging):

BTW, check out my other video tutorials for C++ serial COM

you can download the c++ example:

If you like the video please like or subscribe :)

Have fun!
Рекомендации по теме
Комментарии
Автор

thank you for the serial-port tutorial...I was badly looking for one. you should make more tutorials for serial communication like b/w microcontroller and visual C#.

Aelevant
Автор

Check out our new podcast on work, life, money, and everything in between for the working professionals!

KelvinLeUT
Автор

Hi did I over see a Video of you on how to make the combobox with all the available com ports and how to use them in c#? Would be awesome to See this in a video of yours.

MrSabifa
Автор

I love this one, I can figure the rest out by my self, working in c++ but c# helps

bowensong
Автор

GREAT If I could only figure out the other half of it; receiving from the serial port that would be great, any chance you will do a tutorial on that part?

carlosbarberis
Автор

How come you chose COM18 in the end? I can't get the program and putty to communicate.

Kazshmir
Автор

Hi Kelvin,

 I am following your videos to connect PC to RS485 interface by using USB to RS485 cable provided by FTDI(which i use in VCP mode). PC program is in C# VS2010

I am facing a issue.

I am just trying ton send a character on rs485 link from C# program.

When i check at PCs actual COM port output trammit line and see data on scope no problem i.e i see 10 bits. But when i use FTDI  vertual COM port i see one additional  zero bit getting added to the data i.e i see 11 bits, for the identical setting in both cases.

Can you help me. I  can relevent details if u require.
I will really appriciate aearly reply

Regards 
Haresh

singhharesh
Автор

Exactly what I looking for... :) Thanks

markovicb
Автор

hi kelvin. thanks for tutorial. how to read the com port ?

gurpreetgill
Автор

Very good tutorial. If you can make another/biggest tutorial I will be glad for you.

sebolek
Автор

I remember back in the days when I wish there was more tutorials like this.
VS C# is a great software that can integrate embedded systems to the end user.

KelvinLeUT
Автор

Hi sir, nice work on serial communication. Can you make another video about Ethernet communication?

zoeyan
Автор

Nice tutorial, really helped me. Could you just please explain how you managed to get putty and your app to communicate?? Did you physically connect your PC ports? Thanks.

juvanerik
Автор

Hello friend! Could you help me to build a program which it needs to read a serial port connected a printer ? I need to get data about spooler's printer or all information that can be printed on a paper !

BaringerDaniel
Автор

could you show how to receive data from serial port for different size of data. 1 byte to 4 bytes.

yowassup
Автор

duuuude you are so freaking awesome to me right now :D

kingmcbrian
Автор

you need two usb-serial adapters
each will be assigned to a specific com port
they are really cheap on ebay
get the CP type and not the PL type

KelvinLeUT
Автор

Thank you so much !! Where could I download the source code for both the C++ and C# applications for the serial port routines

carlosbarberis
Автор

Thanks for your tutorials..Keep up your good work brother, , :D :)

macxfadz
Автор

any tutorial for wpf in respct to communication with usb ??

samosamealoo