This is an application where the MCU has to control a DAC to output varying voltage levels based on a look up table. I am planning to use a MCU with on board DAC like the Teensy3.2 or similar. ( The pattern is very random and hence cannot be made into a transfer function … easier is the look up table )
The total duration is 2 sec and this is divided into 200 nos of 10ms intervals. All the MCU has to do is to wait for a start command and then when it arrives, step through this look up table and update the DAC accordingly.
Now up to this it is a simple application. The problem starts when the user wants to modify the look up table. If it was a small LUT with few values I would have given a LCD interface to step through it.
Of course easy way is to directly edit the values in the code and do a download. But expecting a user to do this is a bit awkward to say the least. But I can always create a PC app ( in LabVIEW or C ) for editing the array and then link with the MCU via Serial.
Some how I am not able to visualize how to go about this further. Any ideas welcome. Thanks