Skip to content
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

Acceleration, G4 Interface Panel UI Improvements, BlinkM RGB Mood Light and Buzzer support #88

Open
wants to merge 63 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@jetty840
Copy link

commented Dec 21, 2011

Here are some G4 Interface Panel improvements to make it more usable and standalone. These changes merge all the recent UI changes by revarbat, RonGarrison and Eried, removing duplication of work between the 3 pull requests. I've also added some additional features / improvements where needed.

  • b251e6d Added Version menu item to show the motherboard and extruder firmware versions.
  • 3e79289 Added CONT to SHORT/LONG in JogMode whilst a key is held down. This mirrors Continuous Mode in ReplicatorG and saves from having to repeatedly hit a button to move around.
  • c5e0603 and 9da86f0 Adds Elapsed Time, % Complete and Estimated TimeLeft to builds from SD Card.
    These changes are improvements to commit 88d02da and de120a2 by revarbat, and are created from that work. This commit is meant as a replacement. Credit for the original code goes to revarbat.
    Note this is estimated time left based on the size of the .s3g and the progress through it. The estimate gets more accurate as the print progresses. Large rafts in particular will effect accuracy more at the beginning causing over estimation initially. Values are generally fairly accurate by 30% completion in this situation.
    Additions made to revarbat's commit are:
    1. Bug fix, elapsed time now stops increasing when the print finishes.
    2. Bug fix, firmware rrmbv12 now compiles
    3. Added Estimated Time Left which gets calculated after 1% of the build has completed.
    4. Elapsed Time, % Complete and Estimated TimeLeft set on a timed rotate
  • dea413c Changes to commit 8ac6524 by revarbat. This commit is meant as a replacement. Credit for the original code goes to revarbat:
    1. Changed name from "Heaters" to "Preheat" to mirror Control Panel in Replicator G
    2. Removed "Build % Complete" changes as they are covered by other patches
    3. Merged queryExtruderParameter and setExtruder16Bit Parameter into extruderCommand with a cmdType parameter
  • 2531e30 Changes to commit 881d776 by RonGarrison. This commit is meant as a replacement. Credit for the original code goes to RonGarrison.
    1. Used Extruder Controller changes only
    2. Change enum time_t to enum extruderSeconds to avoid confusion with time.h
    3. Removed changeTemp as it's covered by revarbat
    4. Improved UI and Code optimization
    5. Added stop button
    6. Allow time extruded to change midway
    7. Corrected foward / back direction
    8. Added temperature safety check before extruding
    9. Added RPM Extruder Speed (also remembered, value stored in eeprom)
    10. Extrude duration is now remembered in eeprom
    11. Word "Mode" dropped from Menu for consistency
    12. Added more extrude duration options
  • b79196b Changed static PROGMEM to const static PROGMEM so firmware will compile on newer avr-gcc
  • f788d79 Changes to commit 97db22a by RonGarrison (ESTOP support for Gen 4 Motherboard). This commit is meant as a replacement. Credit for the original code goes to RonGarrison. Fixed problem with it not compiling for target rrmbv12
  • aef0b13 Added BlinkM Mood Light Support (V2.4 Motherboard) for Gen 4 Interface(optional) and ReplicatorG. Uses Software I2C over pins A8/A9. Also see: https://github.com/makerbot/ReplicatorG/pull/249 (also requires 2574d0e and 2abd144) and thing 15347
  • e9ea3d2 Added "Home Axis" menu to Gen 4 interface to manually home x, y or z
  • 47ebca6 Bug fix: Steppers no longer hold when leaving Jog or Extrude Menu
  • 6d966ec Added Steppers menu to disable/enable steppers
  • 2a3d97e Added Test End Stops menu item to verify X/Y/Z endstops are working
  • 8606f47 Added Page Up / Page Down support with the Z+ / Z- keys. This change is a slight alteration to commit 9bd5fa5 by Eried. Menu.cc is not located in boards/mb24, this change reflects that and puts it back in shared. Credit for the original code goes to Eried.
  • ce3c870 Long filenames <=31 chars now scroll in the build menu
  • 98eb106 Bug fix: Volume names no longer show in the Build Menu when SD Card has been reformatted on a mac
  • a4dd32d Deleting .UART.cc.swp (old vi tmp file left by someone)
  • 2574d0e Fixed timing of mood light state recognition when Bot Status chosen
  • abb44e7 Added Z Position to build menu. Hitting OK Button stops rotation
  • 7a65b65 Added "Pause Build" during build from SD (includes jog/extrude during pause)
  • 4c08c0d Added "View" selection to the Jog Mode Menu. Buttons can be arranged in model view or user view
  • 2abd144 Fixed bug causing print to start when toolhead reached temp but before HBP reached temp
  • e70a36f Added "Auto Pause at Predetermined Z Position" feature
  • e789b6a Made the cancel menu in Build From SD more user friendly
  • e56df8e Added "Advance ABP" menu item
  • 58ac210 Added "Calibration" and "Home Offsets" menu item
  • 60f102f Workaround for hardware bug when USB is connected and power is turned on, and junk is displayed on LCD Screen. (also requires minor hardware patch and commit 60f102f). See thing 16181
  • 5fa302d Fixed #ifdef on commit: 60f102f
  • 0431835 Adds buzzer support for Motherboard V2.4. Also see: https://github.com/makerbot/ReplicatorG/pull/249 and thing 16170
  • dc7fd68 Added extruder fan menu
  • 5ef28af Added filament retraction to Pause and Pause@ZPos
  • b99c444 Fixed packet timeout issue on build from computer
  • cd608dd Added "Axis Steps:mm" menu to support machines other than ThingOMatics
  • 99c7ce4 Added Marlin based acceleration. 100mm/s (and faster) possible

jetty840 added some commits Dec 21, 2011

Added CONT to SHORT/LONG in JogMode for the Gen 4 Interface whilst a …
…key is held down. This mirrors Continuous Mode in ReplicatorG and saves from having to repeatedly hit a button to move around.
Adds Elapsed Time, % Complete and Estimated TimeLeft to builds from S…
…D Card.

These changes are improvements to commit 88d02da and  de120a2 by revarbat, and are created from that work. This commit is meant as a replacement.  Credit for the original code goes to revarbat.

Additions made to revarbat's commit are:

1. Bug fix, elapsed time now stops increasing when the print finishes.
2. Bug fix, firmware rrmbv12 now compiles
3. Added Estimated Time Left which gets calculated after 1% of the build has completed.
4. Elapsed Time, % Complete and Estimated TimeLeft set on a timed rotate
Changes to commit 8ac6524 by revarbat. This commit is meant as a repl…
…acement. Credit for the original code goes to revarbat.

1. Changed name from "Heaters" to "Preheat" to mirror Control Panel in Replicator G
2. Removed  "Build % Complete" changes as they are covered by other patches
3. Merged queryExtruderParameter and setExtruder16Bit Parameter into extruderCommand with a cmdType parameter
Changes to commit 881d776 by RonGarrison. This commit is meant as a r…
…eplacement. Credit for the original code goes to RonGarrison.

1. Used Extruder Controller changes only
2. Change enum time_t to enum extruderSeconds to avoid confusion with time.h
3. Removed changeTemp as it's covered by revarbat
4. Improved UI and Code optimization
5. Added stop button
6. Allow time extruded to change midway
7. Corrected foward / back direction
8. Added temperature safety check before extruding
9. Added RPM Extruder Speed (also remembered, value stored in eeprom)
10. Extrude duration is now remembered in eeprom
11. Word "Mode" dropped from Menu for consistency
12. Added more extrude duration options
@revarbat

This comment has been minimized.

Copy link

commented on c5e0603 Dec 28, 2011

Neat. I'll admit that the main reason I didn't implement estimated time left is that it was almost always wildly inaccurate, especially while printing a raft, or a part with varied cross sections. I was often getting estimates about 2x actual.

jetty840 added some commits Dec 29, 2011

Changes to commit 97db22a by RonGarrison (ESTOP support for Gen 4 Mot…
…herboard). This commit is meant as a replacement. Credit for the original code goes to RonGarrison. Fixed problem with it not compiling for target rrmbv12
Added BlinkM Mood Light Support for V2.4 Motherboard. This uses the B…
…linkM MaxM

 and RGB LED Strip to create a mood light effect.  Mood light can be controlled
via Gen 4 Interface or via GCode from ReplicatorG.  Communication is via Software
I2C over Arduino Mega ports A8 and A9.  4.7K pullups are required on these ports.
Added Test End Stops menu item to G4 Interface. Used for verifying en…
…d stops are working,

useful for verifying connections on the motherboard have been put back correctly after
servicing, and avoiding slamming bot into an axis because of a missing connection.
Adding Page Up / Page Down support with the Z+ / Z- keys. This change…
… is a slight

alteration to commit 9bd5fa5 by Eried.  Menu.cc is not located in boards/mb24, this
change reflects that.  Credit for the original code goes to Eried.
Bug Fix: Fixed bug causing Volumes Name to be occasionally displayed …
…in the list of files in the build menu. SDCard.cc was ignoring the

attributes of the files returned and blindly assuming every entry was a file.  It now ignores hidden, system, directories and volume names.
Added "Pause Build" to Build From SD. When paused, Z moves up 2mm (to…
… avoid mushing the plastic as in ReplicatorG), then you can jog and extrude as necessary to change filament. When exiting pause mode, everything returns back to where it was (requires consistent mechanical X/Y/Z positioning).
Added a "view" mode to the Jog Menu. You can choose if you the X-/X+/…
…Y-/Y+ buttons move the platform from the point of view of the model, or from the point of view of the user. "Model" matches Control Panel in RepG and the original Jog Mode, this is the default. This setting is remembered. Also the "Jog Amount" is now remembered in Eeprom.
Added "Pause at ZPos" to the cancel menu when building from SD Card. …
…The enables the user to preprogram in a set Z Position (in mm), where the build will pause. Multiple pauses can be setup, by setting up a new pause after the current pause has completed. A value of zero cancels the current pause. A build that will pause is indicated by an asterisk on the build monitor screen. Your bot should not be left unattended when this feature is used, because the Extruder and HBP will remain at temperature.
Workaround for hardware bug when USB is connected and power is turned…
… on, and junk is displayed on LCD

Screen.  Connect ATX Pin 8 (Power Good) to Arduino Analog Pin 10, then motherboard will reset when
a power good is asserted after not being asserted.
Implements Buzzer functionality on V2.4 Motherboard. Buzzer required …
…with Internal Drive (max 20mA). Buzzes for Build Complete, Pause@ZPos and Safety Cutoff triggered.

Also, M codes 213/214 can be used to control and issue buzzes via gcode.

jetty840 and others added some commits Jan 21, 2012

Implemented an Estimator to estimate the build time accurately when B…
…uilding From SD Card. The build process also

now provides the length of filament used.
Added "Filament Used" menu to indicate the lifetime amount of filamen…
…t used. Also fixed display bug in "Filament Used" in build menu.
Added ABP Printing Multiple Copies. This is accessible via the new "B…
…uild Settings" menu. Also, new build phase information added for the copy number. "Print another" added to the Cancel Build Menu after print has completely finished.
Fixed bug with ATX Power Good Reset that caused previous build name t…
…o be displayed when switched on if user switched off during or at the completion of a build.
Added 4 profiles which can save X/Y/Z Home Offsets and Platform / Ext…
…ruder Temps and Extruder RPM. This enables quick switching from HBP to ABP and different plastic types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.