Case Light Pin location. *SOLVED*

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

Case Light Pin location. *SOLVED*

Postby Holy1 » Sun Dec 06, 2015 7:47 pm

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 viewtopic.php?f=59&t=7808

User avatar
Xenocrates
ULTIMATE 3D JEDDI
Posts: 1545
Joined: Wed Sep 23, 2015 2:55 pm

Re: Case Light Pin location.

Postby Xenocrates » Sun Dec 06, 2015 8:28 pm

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: 349
Joined: Fri Jan 24, 2014 12:53 pm

Re: Case Light Pin location.

Postby Holy1 » Sun Dec 06, 2015 10:00 pm

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 viewtopic.php?f=59&t=7808

Holy1
Printmaster!
Posts: 349
Joined: Fri Jan 24, 2014 12:53 pm

Re: Case Light Pin location.

Postby Holy1 » Thu Dec 10, 2015 4:46 pm

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 viewtopic.php?f=59&t=7808

fletcher
Prints-a-lot
Posts: 21
Joined: Tue Oct 13, 2015 11:21 pm

Re: Case Light Pin location.

Postby fletcher » Thu Dec 10, 2015 5:12 pm

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 JEDDI
Posts: 7185
Joined: Sun Apr 01, 2012 5:26 pm

Re: Case Light Pin location. *SOLVED*

Postby Eaglezsoar » Fri Dec 11, 2015 3:22 pm

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


Return to “Troubleshooting”

Who is online

Users browsing this forum: noname117 and 4 guests