I have made a project and need to modify them now.
Let me explain what function my project do.
I have 18 sets of ATMEGA128A microcontroller boards located widely in very noisy areas due to near heavy induction motors and inverters.
And I do remote control the boards with monitoring program written in delphi.
I want to modify the firmware and monitoring program as follows;
1) modify ADC routine of NTC to DS18b20 to get temperature.
The pin of port should be same.
The reason why I change it is that the ADC output data is not stable.
Even though doing average, the ADC value is not acceptable.
2) modify telecommunication routine for good rx/tx.
Now, I have bad receiving rate and often could not receive correct data for long time. I guess it was by much noise.
You can add hamming code or do better code for good rx/tx.
3) Monitoring program in delphi has difficulties to telecommunicate 8bit level data.
I guess delphi is trying to send 2bytes though I try to send 1 byte and receive 2bytes even though I send 1 byte.
And if firmware is modifies, the monitoring program should be modified accordingly.
4) I want to check both firmware and delphi monitoring program if there are another wrong codes.
Who can solve these problems?
Please propose me with detail solution for each article.
I will choose who propose in detail.