buzkill420 / lasershark Goto Github PK
View Code? Open in Web Editor NEWFirmware for using a Laser with Tech cooling on a CNC/3D Printer. Forked from Marlin 1.1.9.1
Firmware for using a Laser with Tech cooling on a CNC/3D Printer. Forked from Marlin 1.1.9.1
add enable/disable option in temperature controls for auto tech cooling as well as a means to adjust said settings (new Auto Temp menu page)
add an enable/disable option in Temperature settings to turn on and off a relay controlling the air pump.
using digital out pin?
Need to find the pin out on the DSN-VC288 Volt/Ammeter to get the amperage signal to tap of.
then add scaling and such to make reading accurate.
using analog in pin ?
Add the ability to implement a basic voltage divider circuit (single pin input) to enable you to move the axis with a remote control.
Need to increase the pwm frequency on Pin 7 to allow for the mosfet to effectively power the Tech cooler.
seems to be the higher the frequency the less filtering required (ie. closer to true DC)
Unlikely, but if you happen to disarm while in the menu, the laser will disarm, but laser power does not get set to 0 unless the encoder is moved, the button is pressed, or you time out to the status screen, meaning if rearmed the laser will power up again.The menu timeout leaves only 5-seconds (default) for the issue to arise, so not life threatening, but still not something i like....
IF the laser is turned off the tech drops down to low, until the laser reaches room temp, BUT if say the laser over heats it ends up also dropping to low. Should check to see if laser temp is high and stay active accordingly and ramp down as laser approaches room temp.
Hi I would like to run your modified firmware on a melzi board with reprap full graph display but I can't compile the firmware correctly, arduino ide always gives me errors. Could you get me the preconfiguration files like you did for RAMP in your reposity
hi, i was hoping to use this with a ender3 pro melzi board but it keeps asking for e stepper plug left for y2. can you help?
Hello, i wonder what's the pin to control a co2 psu. The firmware compiled and loaded succesfully on my arduino mega + ramps 1.4
Great project! I am trying to compile a version for my spare creality v1.1.4 Melzi board but I am running into issues. When I copy the marlin 1.1.9.1 config files over to the LaserShark folder I get the following errors:
sketch\Marlin_main.cpp: In function 'void setup()':
Marlin_main.cpp:15222:7: error: 'TCCR4B' was not declared in this scope
TCCR4B &= ~myEraser;
^~~~~~
sketch\Marlin_main.cpp:15222:7: note: suggested alternative: 'TCCR0B'
TCCR4B &= ~myEraser;
^~~~~~
TCCR0B
exit status 1
'TCCR4B' was not declared in this scope
After trying to compile again I get the following
sketch\ultralcd.cpp: In function 'void lcd_prepare_menu()':
ultralcd.cpp:2733:20: error: 'ARMED_PIN' was not declared in this scope
if(digitalRead(ARMED_PIN) == LOW){
^~~~~~~~~
sketch\ultralcd.cpp:2733:20: note: suggested alternative: 'LED_PIN'
if(digitalRead(ARMED_PIN) == LOW){
^~~~~~~~~
LED_PIN
ultralcd.cpp:2738:21: error: 'ARMED_PIN' was not declared in this scope
if (digitalRead(ARMED_PIN) == HIGH) MENU_MULTIPLIER_ITEM_EDIT(int3, "Laser Power", &fanSpeeds[1], 0, 255); //only if laser is armed will you see laser power option
^~~~~~~~~
sketch\ultralcd.cpp:2738:21: note: suggested alternative: 'LED_PIN'
if (digitalRead(ARMED_PIN) == HIGH) MENU_MULTIPLIER_ITEM_EDIT(int3, "Laser Power", &fanSpeeds[1], 0, 255); //only if laser is armed will you see laser power option
^~~~~~~~~
LED_PIN
sketch\ultralcd.cpp: In function 'void _air_pump()':
ultralcd.cpp:3527:8: error: 'air_assist' was not declared in this scope
if (air_assist == true && fanSpeeds[1] > 0 )digitalWrite(PUMP_PIN, HIGH);
^~~~~~~~~~
ultralcd.cpp:3527:61: error: 'PUMP_PIN' was not declared in this scope
if (air_assist == true && fanSpeeds[1] > 0 )digitalWrite(PUMP_PIN, HIGH);
^~~~~~~~
sketch\ultralcd.cpp:3527:61: note: suggested alternative: 'PB5_PIN'
if (air_assist == true && fanSpeeds[1] > 0 )digitalWrite(PUMP_PIN, HIGH);
^~~~~~~~
PB5_PIN
ultralcd.cpp:3528:67: error: 'PUMP_PIN' was not declared in this scope
else if (air_assist == false || fanSpeeds[1] == 0)digitalWrite(PUMP_PIN, LOW);
^~~~~~~~
sketch\ultralcd.cpp:3528:67: note: suggested alternative: 'PB5_PIN'
else if (air_assist == false || fanSpeeds[1] == 0)digitalWrite(PUMP_PIN, LOW);
^~~~~~~~
PB5_PIN
sketch\Marlin_main.cpp: In function 'void setup()':
Marlin_main.cpp:15222:7: error: 'TCCR4B' was not declared in this scope
TCCR4B &= ~myEraser;
^~~~~~
sketch\Marlin_main.cpp:15222:7: note: suggested alternative: 'TCCR0B'
TCCR4B &= ~myEraser;
^~~~~~
TCCR0B
exit status 1
'ARMED_PIN' was not declared in this scope
Any help to get this up and running would be appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.