ljwinkler, thank you for your tips (good job with the fixed USB peripheral name, I plan to use this trick as well), that's a nice project you have here. Concerning data visualization, my needs are pretty basic
I was indeed planning to dump a CSV file into Excel, because as I mentioned the primary goal is just to check if (and when) the voltage goes under a predefined value, and when that happens I may check the other values, such as instantaneous current, in order to estimate whether the voltage drop is primarily caused by a heavy load in my parents' house or in other houses around.
I don't know have experience in creating nice dashboards. HoracioDos suggested Grafana and it's not the first time I hear about it, I also saw it being used
here. But I don't know if it could fulfil your needs about interactivity and not-hardcoded ranges, I haven't tried it. Also
this guy used PHP/SQLite and Google Charts to display his curves (in French)
I tried Thingspeak, it is very easy to use indeed. I just created an account, used curl to send test values and that's it. At first glance, the included visualisations seem pretty basic but I'm not too worried as there is a CSV export button available.
However, I'm curious to see what you finally choose to use for visualisation because in version 2 of this project I may need that as well. Currently, my parents have a Geo Minim+ energy "monitor" (just a simple LCD display really) to help them manage their electricity consumption (mainly because there are more than 17 kW of heaters in the house and they have a 12 kVA contract, so obviously they can't all be turned on AND at full throttle at the same time), but this meter is not accurate because it only monitors current; not voltage nor power factor. So the readings are a fair bit off, particularly with large voltage swings. If I manage to get a Raspberry Pi to grab all the real values from the official energy meter, I could as well build another little device to display them instead of the Minim+. I was thinking maybe an old Android phone connected to wifi and displaying a webpage hosted on the Raspberry Pi. Otherwise, an Arduino or another Raspi Zero with a small Oled display could also work. All of that isn't going to happen soon, because my HTML skills are near zero for now.
If anyone has suggestions for that matter, I am interested as well!
mariush, thank you very much for this detailed post. I really appreciate your suggestions. I don't have any experience with that kind of external memory chips. I assume they could be useful additions to standalone microcontroller projects as well. In the rest of your post you talk about USB ports, SD cards etc so I assume that the context of your reply is: using a Raspberry Pi to run the show, and not going completely custom with any µC and doing all the firmware myself. Am I correct? But then, what is the advantage of using one of those FRAM chips instead of the onboard RAM, before sending to USB or to a remote server?
Thank you for your idea of printing, I won't go into this level of redundancy but it is a fascinating idea, I've never heard of something like that. I will also see if I can find any data concerning the reliability of USB sticks vs. SD cards. Anyway, nice addition to have 2 of them. I will also keep the idea of data compression if needed.
Again, thank you everyone for your support
cheers