Coder Social home page Coder Social logo

lasershark's People

Contributors

buzkill420 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

diy3dvn

lasershark's Issues

Trying to compile for Creality Melzi board

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!

Disarming while in Menu

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....

Increase Tech PWM frequency

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)

Get Amp Sensor input working

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 ?

Tech drops automaticly to LOW

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.

Add Remote control keypad

Add the ability to implement a basic voltage divider circuit (single pin input) to enable you to move the axis with a remote control.

melzi borad IDE compile error

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

PWM pin for laser

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.