Serial connection established and data shown with C# Chart control
The connection is now established and the Alcodino GUI is able to receive data from the Arduino. Therefore the data is shown in a chart using C# Chart control.The current solution is not more then a prototype showing the possiblies of the future program. Still a lot of nasty errors occured on the way there. For example when trying to use Serial commands in C# the message "Serial port is already open" occured and froze the PC. The modification was then to insert more Serial.Close commands which led to the problem of data corruption. It took some time until a nice and clean working serial environment was established.
The Data collection was then only time consuming but not challenging. Still there are some problems: while collecting the data the program is not controllable and the user has to wait until the sampletaking is finished.
Next steps are:
- Make it possible to abort the sampletaking
- Introduce the I2C Sensor
- Rework the C# GUI
![]() |
Alcodino Prototype - Serial connection + Data in Chart |
Keine Kommentare:
Kommentar veröffentlichen