Visual Studio C# Serial Communication Tutorial - Part 1

  Рет қаралды 203,791

Rohit Suri

Rohit Suri

Күн бұрын

Пікірлер: 73
@nicholaslacerda346
@nicholaslacerda346 8 жыл бұрын
Great explanation!!! I wasted much time trying to do this until to find your video. Thanks very much!
@imanamsyar7879
@imanamsyar7879 8 жыл бұрын
Can we sharing idea for this activity ?
@bharathbhat880
@bharathbhat880 4 жыл бұрын
very nice tutorial Sir . Unlike other tutorials everything is explained well
@fantasmack6705
@fantasmack6705 Жыл бұрын
WOOOOOW, I LUV UR CONTENT! The best of forms c#
@RobotFountain23
@RobotFountain23 8 жыл бұрын
Excellent walk-through: Both parts 1 and 2!
@PasanKarunanayake
@PasanKarunanayake 9 жыл бұрын
Very nice TUT. Keep adding more serial port projects with C#. There are tons of people who look around to learn from a good source. Including me. :)
@smartradllc5882
@smartradllc5882 9 жыл бұрын
Excellent tutorial! I've been trying to find something simple and straight-forward to get started. This worked very well. A follow-on tutorial about receiving data asynchronously (possibly with a timer to look for data within a window of time?) would be appreciated. In many serial interface applications, data is generated by the external source spontaneously and needs to be captured by the program. For instance an external device reading temperature from a sensor to be displayed on the screen and/or captured to a log file.
@bernardbussy6603
@bernardbussy6603 8 жыл бұрын
This is the most wonderful Tutorial. Good Job Bro.
@kevintamez
@kevintamez 8 жыл бұрын
Very nice and helpfull tutorial. I'll use it in my project of course
@akevinc
@akevinc 9 жыл бұрын
Thank you, from the very far away Perú (South America) you saved me ='D
@zumpitu
@zumpitu 6 жыл бұрын
Thank you for the nice Tutorial ! Is helping me a lot
@shakirahsanromeo7863
@shakirahsanromeo7863 7 жыл бұрын
Thank you. It got me going at last.
@zoeyan7225
@zoeyan7225 8 жыл бұрын
Hi sir, nice work on serial communication. Can you make another video about Ethernet connection?
@esipro1000
@esipro1000 7 жыл бұрын
its simple and easy to undrestand
@temirkhanamanbaev42
@temirkhanamanbaev42 9 жыл бұрын
Very good. Thanks man!!!
@JacobsSax
@JacobsSax 7 жыл бұрын
very thanks, very well the video, I am learn lot more that with my profesor
@JaafarMuhammad
@JaafarMuhammad 9 жыл бұрын
Very effecient, thank a lot.
@veryrichbryan2
@veryrichbryan2 9 жыл бұрын
Thank you, well done tutorial.
@fatsackpat
@fatsackpat 8 жыл бұрын
Great tutorial! Thanks!
@anshumantripathi8630
@anshumantripathi8630 8 жыл бұрын
Great Tutorial (Y)
@wengmenghui
@wengmenghui 8 жыл бұрын
Thanks a lot for this video
@IamLahiruW
@IamLahiruW 9 жыл бұрын
Nice Work,keep it up!!!
@imanamsyar7879
@imanamsyar7879 8 жыл бұрын
Hi, can you show how to data from Machine that connected with RS232 can insert into MSFlexGrid or Data Grid that using Ms. Access as a Database ? Thank you with your tutorial.
@faryadali01
@faryadali01 8 жыл бұрын
Thanks. Good Tutorial
@zoeyan7225
@zoeyan7225 8 жыл бұрын
Hi, I want to write a serial communication between PC and Roboteq controller DC1406 using RS232 and USB adapter, is your tutorial suitable for me to use?
@kaykreiziboy9632
@kaykreiziboy9632 6 жыл бұрын
this video is clear and working, but i want to send two values to the arduino simultaneously this time around, and i seem to be struggling with it. can you help me out and maybe send me the arduino code allowing for that to happen or visual studio code
@zrabat
@zrabat 8 жыл бұрын
I am using Visual Studio 2010 and also do not see any visible ports.
@younes1828
@younes1828 7 жыл бұрын
Hi I am currently work on Gem5 simulation. I configs on bare-metal and need to connect UART to send and receive data from/to My ARM simulated. But I confused a bit for script code in Cpp or Pythone for defining UART port . If you have some suggestion or example I would be delightful for me thanks
@markc7933
@markc7933 9 жыл бұрын
this is great I have been looking for two way comm to anduino for a long time now. You did a great job!!! can you post the arduino scrip in comments? Is there anyway you can also show how to have read always looking and how you send keyboard commands? id love to use for buttons on controller for emulator and or ir reciver for mediacenter pc. If not you helped me a lot already thanks.
@SnIpEuRDesign
@SnIpEuRDesign 8 жыл бұрын
I cant see my list of PORT available when execute the method : getAvailablePorts(), maybe that's cause i'm on a laptop ?
@uprishaa98
@uprishaa98 4 жыл бұрын
Mb try plugging in smth. :'D
@raimiss8
@raimiss8 8 жыл бұрын
Hi. Thanks for nice tutorial. IS any way to use gridview instead of text box for serial data. I did tried but no luck :(
@muhammadnaeem8552
@muhammadnaeem8552 9 жыл бұрын
great job dude.....!!! be happy :)
@shreejanpoudel8364
@shreejanpoudel8364 9 жыл бұрын
i tried ur program and I have been using visual studio8.and I had come across problem that the ports name are not displayed in combobox1.iteams
@ashishgupta1212
@ashishgupta1212 6 жыл бұрын
Is it possible can we read and write data on same port? I'm asking because after writing a data not able to get acknowledgement DataReceived not fire Basically i'm trying to send command to patlite device. You can see the command list from this pdf document(drive.google.com/file/d/1ZVIWYLJz28DEeN6-NSsLExEpJI4ZJ4pq/view?usp=sharing) For Example:- private void PORTOPEN(byte[] data) { mSerialPort = new SerialPort(); if (mSerialPort.IsOpen) { mSerialPort.Close(); } mSerialPort.DataReceived += SerialPort_DataReceived; mSerialPort.ErrorReceived += MSerialPort_ErrorReceived; mSerialPort.ReadBufferSize = 10240; mSerialPort.PortName = "COM5"; mSerialPort.BaudRate = 9600; mSerialPort.StopBits = (StopBits)1; mSerialPort.DataBits = 8; mSerialPort.Parity = Parity.None; //mSerialPort.ReceivedBytesThreshold = 9; //mSerialPort.RtsEnable = true; mSerialPort.DtrEnable = true; mSerialPort.Handshake = Handshake.RequestToSend; //mSerialPort.ReadTimeout = 5000; //mSerialPort.WriteTimeout = 5000; mSerialPort.Open(); //{ 0x40,0x3F,0x3F,0x4D,0x21 }; // //{ 0x40, 0x35, 0x36, 0x30, 0x32, 0x21 }; //string s = "@ ?? 1 3 2 !"; //byte[] data = Encoding.ASCII.GetBytes(s); mSerialPort.Write(data, 0, data.Length); string read=mSerialPort.ReadExisting(); } private void SerialPort_DataReceived(object sender, SerialDataReceivedEventArgs e) { } private void MSerialPort_ErrorReceived(object sender, SerialErrorReceivedEventArgs e) { }
@eduardoguths5617
@eduardoguths5617 8 жыл бұрын
can you share your project in the description or something? appreciate it
@bestinpsebastian4381
@bestinpsebastian4381 6 жыл бұрын
Is this possible to get a reading value from a weighing machine to a windows Application using c#?
@mgg0071
@mgg0071 5 жыл бұрын
yes it is possible, did you could do it?,
@jonescastillo1062
@jonescastillo1062 7 жыл бұрын
Nice Video !
@ahmedmonire
@ahmedmonire 8 жыл бұрын
You are awesome (:
@christophermartinez1769
@christophermartinez1769 7 жыл бұрын
its not showing serial ports, HELP! :(
@christophermartinez1769
@christophermartinez1769 7 жыл бұрын
THANKYOU SO MUCH! THAT WAS IT! ---REMEMBER TO PLUG YOUR COM DEVICE----
@nikolicaboskovic
@nikolicaboskovic 9 жыл бұрын
This not work ?
@salimshahzada4786
@salimshahzada4786 6 жыл бұрын
SIR,, meri english achi nahi hay, mujay lukta hay kay aap URDU/HINDI bool suktay, j please, mujay aap ka email address day shukria
@salimshahzada4786
@salimshahzada4786 6 жыл бұрын
sir, may aap ko private messege send kurna chahta hoon, please, whatapp number day, ya email addrress,
@salimshahzada4786
@salimshahzada4786 6 жыл бұрын
SIR, can i have your email address, i have experience of programing, in dBASE III+ and FOXBASE
@RohitSuri
@RohitSuri 6 жыл бұрын
What do you need help with?
@yowassup46
@yowassup46 8 жыл бұрын
It doesn't show any ports!!
@shakirahsanromeo7863
@shakirahsanromeo7863 7 жыл бұрын
Connect your serial port device with your PC first
@shaikhnouman8438
@shaikhnouman8438 6 жыл бұрын
Try This public Form1() { InitializeComponent(); getport(); } void getport() { string[] ports = SerialPort.GetPortNames(); foreach (string port in ports) { comboBox1.Items.Add(port); }
@frizstyler
@frizstyler 6 жыл бұрын
thanks shaikh!
@salimshahzada4786
@salimshahzada4786 6 жыл бұрын
please, sir
@OutOfGear
@OutOfGear 6 жыл бұрын
bla bla bla........
@maheshguin330
@maheshguin330 8 жыл бұрын
sale fraph kese plot karte hein
@electengin820
@electengin820 6 жыл бұрын
fake
@venenen_khedel1709
@venenen_khedel1709 4 жыл бұрын
Thank you very much! You are my savior!))
Visual Studio C# Serial Communication Tutorial - Part 2
9:56
Rohit Suri
Рет қаралды 110 М.
Read Data From Arduino Sensors in Visual Studio C#
9:07
Coding With Brett
Рет қаралды 21 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
Python Serial Port Commuincation
16:13
Amit Dhanawade
Рет қаралды 44 М.
C# Tutorial - Serial Communication | FoxLearn
5:46
Fox Learn
Рет қаралды 170 М.
USB COM Ports in C++
35:42
EETechStuff
Рет қаралды 33 М.
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Рет қаралды 109 М.
C# Serial Port auslesen in 7min
8:17
Sven
Рет қаралды 20 М.
Visual Studio 2022 C# Serial Port window form application for arduino
20:44
Visual Basic .NET | Receive Serial Data From Arduino
17:55
Uteh Str
Рет қаралды 114 М.
#2 Arduino - Reading Data with C# Interface
13:30
Gömülü Mühendis
Рет қаралды 47 М.
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 558 М.