Hello, I'm planning a quite big project based on Atmega controller. Basically, it's gonna be a light multi-meter. It should measure light brightness, it's CRI, power consumed by a light source etc...Few parameters attached directly to a source and few to a current that flows through it.
Anyways. One of the assumptions is visualizing the measurements. I decided to do it in C# Win Forms Application, as I am already quite experienced in it (+"using System.IO.Ports" <3 ).
And here is my question: how should ROLE SPLITTING, WHEN IT COMES TO CALCULATIONS, LOOK LIKE:
a) All the measurements that come from different sensors (here i.e : TCS3200, BH1750, ACS712...) should be directly sent via USB(UART,RS<->USB-call it what u want) and all the scalling, visualizing and saving should be done by PC(which is "little bit" faster);
b) uC should be sending values that are already scaled and in correct format, PC would only visualize them.
Personally, I think that option a) is much more bug-free and can make it easier when it will (one day...) come to coding this stuff :>
Thank you in advance, if what I wrote isn't too precise, ask me a question, I will try to precise my thoughts.
*Sorry for all the mistakes in grammar