Click here to Skip to main content
13,006,180 members (68,073 online)
Rate this:
Please Sign up or sign in to vote.
hi all,
i have some problems.
the case is, i want to transmitted some data with serial RS-232 to my project windows Form application.
i send that data using microcontroller AVR.
all data is (temperature, humidity , air pressure , and RPM speed)
( float data, int data , int data , int data )

on my GUI, i will receive all data, and than will show all data like control panel.
my problem is,,
1. can this case will be reality??
2. if this can, how to receive all data and show to my GUI and view like control panel. because i tested it to receive data in my GUI not a numeric data, and i cant trim all data.

can all help me,,,
i'am newbie here.
Posted 22-Apr-12 13:44pm
SAKryukov 22-Apr-12 22:47pm
Where is you code? Do you use SerialPort class or so something or low-level? how? The questions are not clear. Reality... trim... not a numeric... what?
tetuko99 23-Apr-12 2:01am
i'am sorry for that.
i can't explain with good sense.
lukeer 23-Apr-12 3:03am
Then try to explain by showing the relevant code parts. There must be
1. one part to receive the data and
2. one part to display the data.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

First of all serial communication with RS232 should have to be reliable. no exception.

Now splitup your problem in to three parts
1. General Protocol, what data mean what. Say you are sending temperature, humidity. both are floating point data, how would you know? you will have to identify them properly.
2. Micro-controller part. Develop micro-controller application which will transfer collect data and send it to your computer. clarify it make sure it works.
3. Desktop application part: If you have proper method to identify your data then there is lots solution you will get on internet to program RS232 Serial Port

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 25 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100