Hey all,
Thank you for the great replies, all very helpful.
Of course, I am left with some(less) questions.
@graynomad.
The psuedo code looks great though at first I didnt catch the psuedo and was like, "Holy crap! When did C++ get so plain language?"
In your code you use #define. How does this compare in memory usage to an int or byte. Seems like one could replace a lot of constants with these but I haven't seen them much.
As far as the gauges? You say that this depends on the gauge. I was thinking of using a 0-5V meter but perhaps there are better ones.
I have seen some 0-5V meters online for cheap, seems like they could work pretty well. I also have some old pyrometers I would like to use. I guess I'll have to get over to a powersupply and see about their specs.
@Crossroads.
RC circut? I have learned of this but will have to go back and refresh myself. The basic idea is this will smooth the power out, yeah?
As far as millis. I have searched around for some clock code (forgot that a clock doesnt need to be a volt clock for the code to be applicable) and found some millis() implementations such as this one:
if (millis() - lastTick >= 1000) {
lastTick = millis();
serialOutput();
second++;
}
I understand and like this usage but what happens with millis() overflows?
@gradbert
I definitely want the discret steps, at least for now. I have seen your clock and when I started my hunt (inspired by the torrent meter) yours was one of the ones that I saw. I had a bit of a hard time deciphering your code though/wanted to write my own anyways. I think my biggest need for help right now is the electronics end of things.
I will certainly let you all know as the project progresses and let you know how it turns out.
Thanks!