Replies: 17 comments
-
Hi @patrik156 This is the opposite of the standard, this is the opposit of the logical signal your manaSE board generate. You can reverse signal using a transistor (any NPN transistor is ok) as digital signal inverter between manaSE board and laser driver. Or if you want a software solution you should re-compile and flash grbl to your arduino control board. There is a macro in grbl config.h called |
Beta Was this translation helpful? Give feedback.
-
https://github.com/gnea/grbl/releases/tag/v1.1h.20190825 |
Beta Was this translation helpful? Give feedback.
-
it is perfectly normal |
Beta Was this translation helpful? Give feedback.
-
https://github.com/gnea/grbl/wiki/Frequently-Asked-Questions#compiling-grbl |
Beta Was this translation helpful? Give feedback.
-
i still have roblem , can you help me
C:\Users\PC1\Documents\Arduino\libraries\grbl/nuts_bolts.h:56:0: warning: "max" redefined #define max(a,b) (((a) > (b)) ? (a) : (b)) In file included from sketch\grblUpload.ino.cpp:1:0: C:\Users\PC1\Desktop\arduino-1.8.11-windows\arduino-1.8.11\hardware\arduino\avr\cores\arduino/Arduino.h:93:0: note: this is the location of the previous definition #define max(a,b) ((a)>(b)?(a):(b)) In file included from C:\Users\PC1\Documents\Arduino\libraries\grbl/grbl.h:43:0,
C:\Users\PC1\Documents\Arduino\libraries\grbl/nuts_bolts.h:57:0: warning: "min" redefined #define min(a,b) (((a) < (b)) ? (a) : (b)) In file included from sketch\grblUpload.ino.cpp:1:0: C:\Users\PC1\Desktop\arduino-1.8.11-windows\arduino-1.8.11\hardware\arduino\avr\cores\arduino/Arduino.h:92:0: note: this is the location of the previous definition #define min(a,b) ((a)<(b)?(a):(b)) In file included from C:\Users\PC1\Documents\Arduino\libraries\grbl/grbl.h:43:0,
C:\Users\PC1\Documents\Arduino\libraries\grbl/nuts_bolts.h:61:0: warning: "bit" redefined #define bit(n) (1 << n) In file included from sketch\grblUpload.ino.cpp:1:0: C:\Users\PC1\Desktop\arduino-1.8.11-windows\arduino-1.8.11\hardware\arduino\avr\cores\arduino/Arduino.h:124:0: note: this is the location of the previous definition #define bit(b) (1UL << (b)) Sketch uses 29762 bytes (96%) of program storage space. Maximum is 30720 bytes. |
Beta Was this translation helpful? Give feedback.
-
These question should be done on the github page of grbl project, not here (LaserGRBL project). https://github.com/gnea/grbl/issues?utf8=✓&q=warning+redefined |
Beta Was this translation helpful? Give feedback.
-
yes i find it , but now have another problem , i uncomment INVERT_SPINDLE_ENABLE_PIN , but it doesnt help |
Beta Was this translation helpful? Give feedback.
-
Just had to do that myself. Bought a new 5 watt laser from wish.com but it has the TTL signal reversed on the built in driver board. So when it's powered and the PWM signal from the Arduino is 0 the laser comes on and stays on. I enabled the INVERT_SPINDLE_ENABLE_PIN in config.h and compiled and re-uploaded grbl to the Arduino and it works perfectly. |
Beta Was this translation helpful? Give feedback.
-
Patrik, did you compile and upload grbl to the arduino after making the invert spindle change? |
Beta Was this translation helpful? Give feedback.
-
yes , but still have max power with M3 S0 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
thank you ,now it works ,but i have one more question because i think that my laser is weak . so i set M3 S1000 and input to my laser is 5,5V . it is maximum ? |
Beta Was this translation helpful? Give feedback.
-
If you set $30 to 1000 in grbl settings then that will be the maximum laser power. Any number in between that and the minimum setting on $31 (should be set to 0) will be lower power. So if you set $31 to 1000 in grbl and then set the laser power to 500 in Lasergrbl settings when you prepare an image, then it will be 1/2 power, 250 will be 1/4 power and so on. |
Beta Was this translation helpful? Give feedback.
-
please can someone help me with my laser. i have problem with laser control, when i set
M3 S0 i have max power
M3 S1000 is low
how i can change it
i use grbl1.1 , mana SE 3.2 LASER 5,5 w and TTL to PWM modul
Beta Was this translation helpful? Give feedback.
All reactions