G
G
gerasim3522014-05-30 11:13:21
Programming
gerasim352, 2014-05-30 11:13:21

How to implement a program on a PC to send data through a COM port

I am writing a diploma, and I can’t write a program to send data via a COM port to a microcontroller and vice versa. Maybe someone has some work or already something ready. Please help.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
DancingOnWater, 2014-05-30
@gerasim352

QtSerialPort from Qt framework

P
Puma Thailand, 2014-05-30
@opium

that is, you send data to the com port, but the microcontroller does not receive them?

E
Eugene, 2014-05-30
@EvgenijDv

A diploma in working with a com port is strong :-)
Under what OS do you write, what MK?
In general, you open a com port here and there, configure it in the same way (speed, parity, number of bits, etc.), and then write and read to and from it to your heart's content.

G
gerasim352, 2014-05-30
@gerasim352

that is, I'm stupidly a teapot in this matter and for this I ask for help. But I need to do it somehow.

M
morello, 2014-05-30
@morello

Well, initially, it is desirable to reveal the topic of discussion in more detail. I will supplement the answer from @EvgenijDv . What programming language is preferred? Program - console or GUI? Which MK do you want to communicate with (or the name / type of device)? What kind of data will run on the com port?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question