-
Notifications
You must be signed in to change notification settings - Fork 193
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
... not so much a pull request, but more a test request #132
base: master
Are you sure you want to change the base?
Commits on Feb 26, 2018
-
create config.h for site specific configuration
.. this should help to configure non-auto-detectable features. Signed-off-by: Helmut Raiger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ee1fca - Browse repository at this point
Copy the full SHA 7ee1fcaView commit details -
add configuration option for FET drivers
for heater and fan. They are non-inverted now, i.e. on if high. Change pin setup and reverse PWM. Signed-off-by: Helmut Raiger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c77b208 - Browse repository at this point
Copy the full SHA c77b208View commit details -
add configuration option to swap 1-wire to P0.5
... this is in preparation for the secondary heater patch. If this is selected the 1-wire pin is moved from P0.7 to P0.5 to allow access to PMW2 (P0.7). NOTE: the display code simply writes to P1 pins, this would disturb the 1-wire communication if one of the P1 pins would have been used. Safer to stay on port 0!
Configuration menu - View commit details
-
Copy full SHA for 4e672d1 - Browse repository at this point
Copy the full SHA 4e672d1View commit details -
support secondary heater at P0.7 (PMW2)
.. currently this is simply driven with the same values as the original heater, this needs further investigation.
Configuration menu - View commit details
-
Copy full SHA for e6f939e - Browse repository at this point
Copy the full SHA e6f939eView commit details -
allow baudrate configuration for UART0
... just give it a standard baudrate and it'll work. This is mainly to support communication issues with 115200. As additional goody the serial interface now reports what it did not understand.
Configuration menu - View commit details
-
Copy full SHA for 51ca75b - Browse repository at this point
Copy the full SHA 51ca75bView commit details -
dissect main.c to allow simplification and ...
shell integration. Currently the serial command interpreter is disabled.
Configuration menu - View commit details
-
Copy full SHA for 40d65d2 - Browse repository at this point
Copy the full SHA 40d65d2View commit details -
simplify LCD output, use printf style
... GUI should be just the same, but more wrapped up.
Configuration menu - View commit details
-
Copy full SHA for d9bdf9c - Browse repository at this point
Copy the full SHA d9bdf9cView commit details -
cleanup static globals in main.c
only one left which is shared between Edit_Profile_Mode and Select_Profile_Mode().
Configuration menu - View commit details
-
Copy full SHA for adb8c69 - Browse repository at this point
Copy the full SHA adb8c69View commit details -
add the most simple logging system
currently this is more or less like the printfs before, but the level may be changed at runtime and new formats may be implemented. Currently only the level is prepended.
Configuration menu - View commit details
-
Copy full SHA for 553aa1a - Browse repository at this point
Copy the full SHA 553aa1aView commit details -
clean up GUI, mostly cosmetic ...
but a few things were sacrificed for simplicity. The bake timer is now not settable to infinity anymore. If no coldjunction sensor is installed it simply vanishes instead of stating 'not present'. Bake mode controls don't vanish on value limits, but in setup this won't either.
Configuration menu - View commit details
-
Copy full SHA for 0e38643 - Browse repository at this point
Copy the full SHA 0e38643View commit details -
https://github.com/matthiasb85/SimpleCLI Needs commands and better texts. Shows internal commands as internal and external?
Configuration menu - View commit details
-
Copy full SHA for 1c9024c - Browse repository at this point
Copy the full SHA 1c9024cView commit details -
shell: implement some commands
- implement non-mode-switching commands - improve user experience (prompt, version ...) - prepare main for mode switching Fix a bug in Makefile (used a wrong path for SimpleCLI includes).
Configuration menu - View commit details
-
Copy full SHA for e84eae1 - Browse repository at this point
Copy the full SHA e84eae1View commit details -
shell: allow to set log levels ...
set log_lvl 7 ... for verbose set reflow_log_lvl 7 ... for standby logging set reflow_log_lvl 0 ... for logging during bake and reflow
Configuration menu - View commit details
-
Copy full SHA for 545d87a - Browse repository at this point
Copy the full SHA 545d87aView commit details -
shell: finalize port to SimpleCLI
... implement reflow and bake. This is still a bit clumsy, it switches the display mode to keep the serial interface consistent with the GUI. The 'setting x y' was not implemented on purpose for now. Actually these values should not be set remotely (and most probably only once during first set-up).
Configuration menu - View commit details
-
Copy full SHA for 6125284 - Browse repository at this point
Copy the full SHA 6125284View commit details -
change eeprom format and add save profile ...
- completely change the EEPROM format, holds 4 custom profiles now change temperature encoding to byte (20 .. 275 deg C allowed). - allow a profile to be saved from the shell: like: save NEW_PROFILE 30,40,50,60,... - custom profiles may have names now (only from the shell) - they may still be edited via the keyboard Some things are gone, like non-volatile bake setpoint.
Configuration menu - View commit details
-
Copy full SHA for d81d3d9 - Browse repository at this point
Copy the full SHA d81d3d9View commit details
Commits on Mar 8, 2018
-
simplify adc.c and USE_PRECISION_OPAMP
adc.c used a buffer of 2 x 256 x 2 byte = 1024 bytes to calculate the sum over the last 256 values for oversampling. This is pretty useless in the first place as accuracy below 1K are not to be expected even with a precision opamp instead of the TLC27L2. The current implementation at least gets rid of the buffer completely by using a running average method. Along with the change the sampling is reduced to once per ms instead of ever 100us, which was an overkill, new values are delivered every 256ms now, which is good enough. USE_PRECISION_OPAMP switches the internal gain to 0.36845 as the pre-amplifier is supposed to have a gain of 222.2 (see adc.c). At 300 degree C it uses 834 LSBs instead of only 307. Using an OPA2333 or similiar and replacing the trim resistors by fixed (and accurate) resistors will do the trick.
Configuration menu - View commit details
-
Copy full SHA for 17dd69b - Browse repository at this point
Copy the full SHA 17dd69bView commit details
Commits on Mar 9, 2018
-
minor fixes and cosmetics, BUG with bake mode!
.. there is still a bug when baking, this needs more than a few lines of code.
Configuration menu - View commit details
-
Copy full SHA for 83d1ace - Browse repository at this point
Copy the full SHA 83d1aceView commit details
Commits on Mar 11, 2018
-
- simplify interface - make it an independent state machine (no external state switching). - move non-reflow stuff out to shell.c and main.c - get setpoint from profile using time (not index) - improve readability, lots of comments, lower complexity Compiles, but does not work yet.
Configuration menu - View commit details
-
Copy full SHA for 0fa4ffe - Browse repository at this point
Copy the full SHA 0fa4ffeView commit details -
- Reflow_GetSetpointAtTime() - add timing stuff standby fan control not yet working, switch out of reflow screen ...
Configuration menu - View commit details
-
Copy full SHA for fed6aa8 - Browse repository at this point
Copy the full SHA fed6aa8View commit details
Commits on Mar 12, 2018
-
reflow.c: cosmetics and more ...
- move plot profile to main.c, have profiles zero-terminated - make setpoint reporting independent of look-ahead drive
Configuration menu - View commit details
-
Copy full SHA for d57274b - Browse repository at this point
Copy the full SHA d57274bView commit details -
... to visualize bake mode better. Still very buggy.
Configuration menu - View commit details
-
Copy full SHA for 0b2a16e - Browse repository at this point
Copy the full SHA 0b2a16eView commit details -
reflow: change abort state to cooling state
.. don't use PID to cool down, go full speed and stop.
Configuration menu - View commit details
-
Copy full SHA for 036fb37 - Browse repository at this point
Copy the full SHA 036fb37View commit details -
.. fix last value interpolation in Reflow_GetSetpointAtTime()
Configuration menu - View commit details
-
Copy full SHA for 5385131 - Browse repository at this point
Copy the full SHA 5385131View commit details
Commits on Mar 19, 2018
-
reflow_profiles: move shell specifics to shell.c
... print and dump moved to shell.c. Show current profile in 'profiles'
Configuration menu - View commit details
-
Copy full SHA for 30e9f5e - Browse repository at this point
Copy the full SHA 30e9f5eView commit details -
This is to visualize the forced cooling cycle after any bake or reflow (even if aborted). Only after cooling a new heating cycle can be started, this also fixes a few strange behaviours when started from the shell.
Configuration menu - View commit details
-
Copy full SHA for d88700a - Browse repository at this point
Copy the full SHA d88700aView commit details
Commits on Mar 21, 2018
-
main.c: setup, fix fan control
... this was removed during the change of the reflow state machine and can now be done directly using Set_Fan().
Configuration menu - View commit details
-
Copy full SHA for 745b6b1 - Browse repository at this point
Copy the full SHA 745b6b1View commit details
Commits on Mar 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 749063c - Browse repository at this point
Copy the full SHA 749063cView commit details -
add -Wextra and fix the warnings, mostly cosmetic
- lots of unsigned/signed comparision warnings, non of them critical - a few more unused argument warnings
1Configuration menu - View commit details
-
Copy full SHA for 02578c1 - Browse repository at this point
Copy the full SHA 02578c1View commit details
Commits on Apr 2, 2018
-
tried using -O2 instead of -Os
... as space is not critical use -O2 instead, BUT this fails completely! Won't start anymore, so the code is buggy at some point not allowing for this kind of optimization. So, onl make some of the time critical functions inlineable, i.e. put them in the headers and make them static inline. This is in preparation for the reduction of interrupt latencies in onewire.c, which block interrupts for quite some time (as identified and modified by radensb).
Configuration menu - View commit details
-
Copy full SHA for 7090354 - Browse repository at this point
Copy the full SHA 7090354View commit details -
reduce interrupt latency in onewire.c
.. block and unblock on byte boundaries instead of whole sequences. This follows a patch by radensb.
Configuration menu - View commit details
-
Copy full SHA for 8d82026 - Browse repository at this point
Copy the full SHA 8d82026View commit details
Commits on Apr 15, 2018
-
serial.c: improve interrupt handling
... use the HW-FIFOs and ring buffer adequately.
Configuration menu - View commit details
-
Copy full SHA for 977eeda - Browse repository at this point
Copy the full SHA 977eedaView commit details -
cosmetic: rename TC_AVERAGE to TO_CONTROL
... in preparation of composing a control temperature which may be something else than a simple average.
Configuration menu - View commit details
-
Copy full SHA for 963d7a3 - Browse repository at this point
Copy the full SHA 963d7a3View commit details -
fix bug in reflow.c concerning fan
In standby mode the fan and heater were always turned off, so that in setup mode the fan was turned on and off all the time. Along with this fix the PWM control in io.c is simplified.
Configuration menu - View commit details
-
Copy full SHA for 8526a71 - Browse repository at this point
Copy the full SHA 8526a71View commit details
Commits on Apr 16, 2018
-
sensor.c: let sensor be configured, remove auto-detect
This is in preparation for the implementation of a new control strategy. Auto-detection of sensors may be neat, but has it's drawbacks if sensors disappear during operation. Currently this is not fixed with the change either, but it will allow such a change more easily. This also improves the performance of Sensor_DoConversion() as it will not check for the existance of sensors during the reflow process.
Configuration menu - View commit details
-
Copy full SHA for 01973ae - Browse repository at this point
Copy the full SHA 01973aeView commit details -
Add setup screen for the LR_WEIGHTED_AVERAGE control
This allows the user to select the 'weight' of the PCB to be soldered. The value 0-100% goes from: 'super light weight': nearly no components, thin PCB material next to no reflective zones on it (it picks up lots of radiated heat). 'heavy weight': larger and heavier components (increased thermal capacity or lots of reflective zones (less radiation pickup). ... and everything in between. Note: this requires the termal couples to be patched, see wiki.
Configuration menu - View commit details
-
Copy full SHA for 3677c20 - Browse repository at this point
Copy the full SHA 3677c20View commit details
Commits on May 19, 2018
-
add weight to LR_WEIGHTED_AVERAGE control in shell
- left TC is light, right TC is heavy - change weight to be integer from 0 .. 100 - add weight argument to reflow command in the shell
Configuration menu - View commit details
-
Copy full SHA for 6ea2ab3 - Browse repository at this point
Copy the full SHA 6ea2ab3View commit details
Commits on Jun 15, 2018
-
tweak cooling phase with LR_WEIGHTED_AVERAGE
When simulating the PCB temperature the radiation pattern seems to overheat the PCB even with the lowest weight selected, if the PCB is placed on stand-offs in the drawer. But it works super stable having them placed on the drawer bottom directly! This spreads the heat on the board aswell! The drawback is the cooling is lagging a lot, even slower than the heavy thermo couple (which is more exposed to the air stream caused by the fan). The solution so far: - place the PCB directly on the drawer bottom - with pretty normal PCBs select a weight of about 20% - remove the cooling ramp from the profiles this makes the reflow state machine go to COOLING and fully ventilate the drawer. - tweak the control temperature so that it reflects something more likely to be the real PCB temperature (mostly informational anyway). - show the cooling phase on the display The best solution definitely would be to directly measure the PCB temperature, but ramp-up with the simulator is about +/-5K on the setpoint (the PID control still not fixed). The cooling process is very dependent on the position in the drawer, it's a lot more air on the left side!
Configuration menu - View commit details
-
Copy full SHA for 00ba609 - Browse repository at this point
Copy the full SHA 00ba609View commit details