Page 1 of 1
Case Light Pin location. *SOLVED*
Posted: Sun Dec 06, 2015 7:47 pm
by Holy1
I am looking to use the case light function in the firmware (repetier 92.6). I see how to turn it on and off > M355. How would I go about physically locating the pin and finding out what pin it is in the firmware to activate / assign it. I have searched but can't find an answer.
The wiki page confuses me.
Thanks
Tony
Re: Case Light Pin location.
Posted: Sun Dec 06, 2015 8:28 pm
by Xenocrates
I believe it's pin 13, which is also used for PWM-3, and is physically pin PB7. (this is for the Rambo) I believe that the LED_PIN in pins.h (repetier firmware), is where you would find the pin, and RAMBO development would be where you translate arduino pin numbers to physical numbers.
http://reprap.org/wiki/Rambo_development
Re: Case Light Pin location.
Posted: Sun Dec 06, 2015 10:00 pm
by Holy1
Xenocrates wrote:I believe it's pin 13, which is also used for PWM-3, and is physically pin PB7. (this is for the Rambo) I believe that the LED_PIN in pins.h (repetier firmware), is where you would find the pin, and RAMBO development would be where you translate arduino pin numbers to physical numbers.
http://reprap.org/wiki/Rambo_development
Yes, this is for the Rambo, should have mentioned that. Thanks, I'll check it out.
Re: Case Light Pin location.
Posted: Thu Dec 10, 2015 4:46 pm
by Holy1
I found an easy solution - I put #define CASE_LIGHTS_PIN ORIG_FAN2_PIN in the Configuratin.h file, and simply wired my LED lights to the fan2 connector on the header.
With a M355/1 or M355/0 in your start /or end script you and control your lights. There is also a new control available in the LCD menu under Quick settings to toggle on or off.
I like my machine to warm up, print the purge line, pause of a second and then "boom" all the lights come on and the show stars. It adds a cool factor.
I am easily amused.

Re: Case Light Pin location.
Posted: Thu Dec 10, 2015 5:12 pm
by fletcher
Holy1 wrote:I like my machine to warm up, print the purge line, pause of a second and then "boom" all the lights come on and the show stars. It adds a cool factor.
I am easily amused.

Me too apparently because that sounds pretty cool!

Re: Case Light Pin location. *SOLVED*
Posted: Fri Dec 11, 2015 3:22 pm
by Eaglezsoar
That is an excellent idea and I think I will give it a try! Thanks!