Case Light Pin location. *SOLVED*

Having a problem? Post it here and someone will be along shortly to help
Post Reply
Holy1
Printmaster!
Posts: 344
Joined: Fri Jan 24, 2014 12:53 pm

Case Light Pin location. *SOLVED*

Post 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
Last edited by Holy1 on Thu Dec 10, 2015 4:47 pm, edited 1 time in total.
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: Case Light Pin location.

Post 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
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
Holy1
Printmaster!
Posts: 344
Joined: Fri Jan 24, 2014 12:53 pm

Re: Case Light Pin location.

Post 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.
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
Holy1
Printmaster!
Posts: 344
Joined: Fri Jan 24, 2014 12:53 pm

Re: Case Light Pin location.

Post 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. :D
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
fletcher
Prints-a-lot
Posts: 21
Joined: Tue Oct 13, 2015 11:21 pm

Re: Case Light Pin location.

Post 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. :D
Me too apparently because that sounds pretty cool! :idea:
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Case Light Pin location. *SOLVED*

Post by Eaglezsoar »

That is an excellent idea and I think I will give it a try! Thanks!
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
Post Reply

Return to “Troubleshooting”