-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformIO, Code cleanup, safety, and facilities for inverting the fan/SSR outputs #12
base: master
Are you sure you want to change the base?
Conversation
Also, add .gitignore.
Mostly lots of unsigned/signed comparisons, and removed `char* string2char(String command)` because it was an abomination.
…gic numbers everywhere. Also, add facilities for managing inverted-output fan/SSR signals.
Oh hey, this is awesome! But it seems we've clashed :) I have a v1.09 that already has a bunch of what you have listed implemented... not all though and no platform.io support. My v1.09
v1.09 is already going to customers on current Reflow Masters I am shipping I also have a v1.10 in dev that has more changes and new features. So I'm not going to be able to merge this PR - at least not until after my new changes are here. Unfortunately I have no ETA on that right now as I am swamped with other work. |
That makes sense, though I can rebase off of whatever branch is preferred. Is there a dev branch somewhere? |
No dev branch on github, sorry. I usually only push to github when I'm happy with the release. |
That seems like the canonical purpose of having a |
Well, I don't release every code version to the public, so not really. |
That kind of seems like it's not open source at that point. Anyways, is there any chance you could plonk stuff up somewhere so I don't wind up duplicating work that's already been done? I'm at the point where I'm trying to get my DIY oven going, and have time to spend on helping out/improving the code at the moment. |
e31aba7
to
9ec6c9e
Compare
I put together a little hacked up board running this for reflow purposes.
It's quite nice, but there's a fair number of things I didn't like. This is basically my improvements:
Generally, there's no good reason to PWM at more then a few hertz, since the thermal mass of the oven will probably result in response bandwidth on the order of many seconds.
currentDetla
? Probably more)millis()
rolls over, things will probably break in some manner. This can be solved by treating time as a unsigned int and only ever computing relative time deltas, but switching the current system to that will require careful checking.This is WIP, but I think most of it is valuable. Using PIO for building is particularly useful since it means multi-platform builds (such as #3) would be much easier.