The time has come to revise the work and have an eye on the power consumption also the apperance of the program was slightly changed.
Due to the face that the original program on the Arduino was sampling all the time the microcontoller consumed a lot of energy. It sucks 22mA in a normal operational status which is quiet heavy for the operation we are doing. In order to save energy the Arduino is now set to sleep when he is no needed. This reduced the current input to 14mA, a huge save!
When the "Take a sample" button is pressed in the C# GUI, the PC sends a byte via the serial connection to the Arduino which wakes him up. He then responds with a 100 samples of the A/D converter (Ethanol Sensor) and falls back to sleep immediately.
In addition the Overall appearance of the GUI was changed and i learned how to merge cells which increases the visibility of the chart.
A short Video shows the operational program below
It was also necessary to create a little slideshow for the lecture. It can be found below if interested.
Alcodino Presentation 20.11.2013
Worked: (21h) + 4h30m = 25h30m
Keine Kommentare:
Kommentar veröffentlichen