What did you mod today?

9584 posts / 0 new
Last post
Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

Yes. On my new-to-me 1996 Milltronics Vertical Machining Center (which is really pis*ing me off) . Anyone here know Java Script? I need a translator. This old dog only has a couple of tricks left to learn and Java Script is NOT one of them.

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

MRsDNF
MRsDNF's picture
Offline
Last seen: 10 hours 51 min ago
Joined: 12/22/2011 - 21:18
Posts: 13456
Location: A light beam away from the missus in the land of Aus.

Orsm video Bucket. Thanks for posting it up. Your enthusiasm is infectious and ability amazing. I have no doubt you will be on top of the programming soon. Maybe it will be a xmas present to you. Silly
You are seriously in a class above the rest of us here. Smile Beer

 

djozz quotes, "it came with chinese lettering that is chinese to me".

                      "My man mousehole needs one too"

old4570 said "I'm not an expert , so don't suffer from any such technical restrictions".

Old-Lumens. Highly admired and cherished member of Budget Light Forum. 11.5.2011 - 20.12.16. RIP.

 

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

I knew you would like the video Smile

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

Bucket’s the only guy I know that can carve a reflector out of bar stock without using a CNC machine. Wink

Ok guys, my forgetfulness has me stumped on this one…. I have a little X5 with an AHorton aspheric on it, it uses Bistro with a 14500 cell but I can’t identify the emitter! It’s on a mtnelectronics 20mm MCPCB, sliced and diced, the substrate should clue y’all in as to what it is. I don’t recognize it to save my life…

Can anybody tell me what emitter this is?

No bond wires, no dot’s like on the Cree or Luminus emitters, it’s not a Samsung LH351D, it’s not a Nichia 219C, I just don’t recognize the dark grey/black substrate… ceramic no doubt but what is it?

EasyB
Offline
Last seen: 5 days 10 hours ago
Joined: 03/09/2016 - 15:24
Posts: 2078
Location: Ohio

DB Custom wrote:

Ok guys, my forgetfulness has me stumped on this one…. I have a little X5 with an AHorton aspheric on it, it uses Bistro with a 14500 cell but I can’t identify the emitter! It’s on a mtnelectronics 20mm MCPCB, sliced and diced, the substrate should clue y’all in as to what it is. I don’t recognize it to save my life…

Can anybody tell me what emitter this is?

No bond wires, no dot’s like on the Cree or Luminus emitters, it’s not a Samsung LH351D, it’s not a Nichia 219C, I just don’t recognize the dark grey/black substrate… ceramic no doubt but what is it?


Is it a luxeon V? I don’t have any of those but that is another recent flip-chip LED.

Edit: no, looks like the luxeon V has phosphor covering the whole package where in your it looks like it stops at the die.

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

I probably “diced” it when I sliced the dome off, when I do a vertical cut to remove phosphor from the substrate around the die I call it dicing, as it’s reminiscent of dicing onions or whatever. Smile

Enderman
Enderman's picture
Offline
Last seen: 4 hours 46 min ago
Joined: 11/03/2016 - 22:42
Posts: 4116
Location: Vancouver, Canada

Slicing and dicing Silly

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

I don’t remember ever having bought a Luxeon V though. I know I got my first mtnelectronics 20mm stars not all that long ago (ok, could have been a year or even two, my memory, you know, but I don’t think Richard has had his own MCPCB’s that long…. I could be wrong about that too.)

At any rate, this emitter being on an mtnelectronics star kind of dates it… to some degree.

I thought the substrate would give it away, need to look through the multitudes of emitters that CRX has documented I guess…

MRsDNF
MRsDNF's picture
Offline
Last seen: 10 hours 51 min ago
Joined: 12/22/2011 - 21:18
Posts: 13456
Location: A light beam away from the missus in the land of Aus.

Bucket wrote:
I knew you would like the video Smile

Any pictures of your home made threading tool?

 

djozz quotes, "it came with chinese lettering that is chinese to me".

                      "My man mousehole needs one too"

old4570 said "I'm not an expert , so don't suffer from any such technical restrictions".

Old-Lumens. Highly admired and cherished member of Budget Light Forum. 11.5.2011 - 20.12.16. RIP.

 

Tom E
Tom E's picture
Offline
Last seen: 3 hours 55 min ago
Joined: 08/19/2012 - 08:23
Posts: 13581
Location: LI NY

The LH351C or LH351D looks like it. The lower right corner angled like that appears to be a good match.

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA
MRsDNF wrote:
Bucket wrote:
I knew you would like the video Smile
Any pictures of your home made threading tool?

I’ll have to take one next time I’m in the garage.

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

Tom E
Tom E's picture
Offline
Last seen: 3 hours 55 min ago
Joined: 08/19/2012 - 08:23
Posts: 13581
Location: LI NY

Bucket wrote:
MRsDNF wrote:
Bucket wrote:
I knew you would like the video :)
Any pictures of your home made threading tool?
I'll have to take one next time I'm in the garage.

Wow! I watched some of the vid but not sure of your Java script problem. I haven't done much in Java, yet alone Java scripting. I've done some mods but never full development. Java scripting though is usually easier/simpler than the full implementation. I work in C# every day and Java and C# have a lot in common, least the language but the package/support stuff is vastly different.

CRX
CRX's picture
Offline
Last seen: 3 hours 31 min ago
Joined: 04/02/2013 - 15:27
Posts: 4227
Location: Scotland

Good video, I need one of those Smile

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

Very nice W, big time. The stuff dreams are made of… so, now, if you could only … (where to start)

djozz
djozz's picture
Offline
Last seen: 6 hours 53 min ago
Joined: 09/07/2012 - 17:04
Posts: 17329
Location: Amsterdam

LH351D would be my best bet too.

MRsDNF
MRsDNF's picture
Offline
Last seen: 10 hours 51 min ago
Joined: 12/22/2011 - 21:18
Posts: 13456
Location: A light beam away from the missus in the land of Aus.

Tom E]<p>[quote=Bucket wrote:
I work in C# every day and Java and C# have a lot in common, least the language but the package/support stuff is vastly different.

I apologize in advance but does C stand for Chinese? Silly

 

djozz quotes, "it came with chinese lettering that is chinese to me".

                      "My man mousehole needs one too"

old4570 said "I'm not an expert , so don't suffer from any such technical restrictions".

Old-Lumens. Highly admired and cherished member of Budget Light Forum. 11.5.2011 - 20.12.16. RIP.

 

Tom E
Tom E's picture
Offline
Last seen: 3 hours 55 min ago
Joined: 08/19/2012 - 08:23
Posts: 13581
Location: LI NY

C followed B of course! smile Actually, B and BCPL were predecessors to the C language, as defined in the gospel of C: the K&R book, or the Book of K&R, and written by the prophets.

Yeah, yeah, I know... 40 years in programming and you would be a little off the wall too cryinnocent

MRsDNF
MRsDNF's picture
Offline
Last seen: 10 hours 51 min ago
Joined: 12/22/2011 - 21:18
Posts: 13456
Location: A light beam away from the missus in the land of Aus.

Tom E wrote:

C followed B of course! smile Actually, B and BCPL were predecessors to the C language, as defined in the gospel of C: the K&R book, or the Book of K&R, and written by the prophets.



Thanks Tom E. It is all Chinese. Smile Happy Xmas buddy.

 

djozz quotes, "it came with chinese lettering that is chinese to me".

                      "My man mousehole needs one too"

old4570 said "I'm not an expert , so don't suffer from any such technical restrictions".

Old-Lumens. Highly admired and cherished member of Budget Light Forum. 11.5.2011 - 20.12.16. RIP.

 

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

Thanks for the direction guys, looks like that X5 did indeed have a Samsung LH351D emitter, when I diced the sides off it removed the wavy look that identifies it for me.

I replaced it with a Black Flat and it makes 95.75Kcd in the little aspheric X5. Big Smile (AHorton aspheric, Bistro through a 14500)

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

Tom, I’ll start a new (OFF TOPIC) thread asking the Java question. Here’s a teaser.

case “tapping”: F = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed); if (properties.useRigidTapping != “no”) { writeBlock(mFormat.format(29), sOutput.format(spindleSpeed)); } writeBlock( gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 74 : 88), getCommonCycle(x, y, z, cycle.retract), “P” + secFormat.format(P), feedOutput.format(F) );

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

Yikes!

Tom E
Tom E's picture
Offline
Last seen: 3 hours 55 min ago
Joined: 08/19/2012 - 08:23
Posts: 13581
Location: LI NY

Bucket wrote:
Tom, I'll start a new thread asking the Java question. Here's a teaser. case "tapping": F = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed); if (properties.useRigidTapping != "no") { writeBlock(mFormat.format(29), sOutput.format(spindleSpeed)); } writeBlock( gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 74 : 88), getCommonCycle(x, y, z, cycle.retract), "P" + secFormat.format(P), feedOutput.format(F) );

Should look like this in regular code format:

case "tapping":
   F = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed);
   if (properties.useRigidTapping != "no")
   {
      writeBlock(mFormat.format(29), sOutput.format(spindleSpeed));
   }
   writeBlock(
         gRetractModal.format(98),
         gAbsIncModal.format(90),
         gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 74 : 88),
         getCommonCycle(x, y, z, cycle.retract), "P" + secFormat.format(P),
         feedOutput.format(F)
   );

Interesting, unfortunately I'm not so adept in machinery lingo. I suppose the writeBlock() guy is sending the commands/data out to the machine, but some of those codes they use like 28, 98, 90, etc. I have no clue about.

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

I need F to equal thread pitch. Not thread pitch * RPM

The numbered codes are g-code numbers. The machines use them directly.

The whole thing is a string substitution / variable mash that I can’t quite figure out.

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

Tom E
Tom E's picture
Offline
Last seen: 3 hours 55 min ago
Joined: 08/19/2012 - 08:23
Posts: 13581
Location: LI NY

Ok, then just change the F line to:

 F = tool.getThreadPitch();

All statements must end in semi-colon, that's why I'm leaving it there.

 

That expression, in case you are confused about, for gCycleModal:

 gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 74 : 88)

All it means is:

if (tool.type == TOOL_TAP_LEFT_HAND)
gCycleModal.format(74);
else
gCycleModal.format(88);

The "?" and ":" represents an  "if then" and "else".

 

CRX
CRX's picture
Offline
Last seen: 3 hours 31 min ago
Joined: 04/02/2013 - 15:27
Posts: 4227
Location: Scotland

Couple wee lights finished recently.

CRX DQG Ti XP-L HD v6 3D - FET 15 - 14250 - Rv Clicky Sw - 750lm. Keyring Flashlight.DQG Slim Ti XP-L HD v6 3D - FET 15 - 14250 - Rv Clicky Sw - 750lm..Titanium body (can use 14500 cell with extra extension piece)
Cree XP-L HD v6 3D on DTP MCPCB
Mule
MTN FET 15+1 driver (GuppyDrv3)
Reverse clicky tail switch
Green GITD bezel
Hand made copper pill & switch enclosures

Length - 52mm
Width - 17mm
Weight - 31g (with 14250 cell)
Max - 750lm OTFDQG Slim Ti XP-L HD v6 3D - FET 15 - 14250 - Rv Clicky Sw - 750lm..

.

Maratac CR123 Rev3 - Triple Nichia 219B SW45K - LD-A4 3A - 16340 - Lighted Rv Clicky Tail Sw - 600lm.Maratac CR123 Rev3 - Triple Nichia 219B SW45K - LD-A4 3A - 16340 - Lighted Rv Clicky Tail Sw - 600lm.Triple Nichia 219B SW45K on 18mm L4P DTP MCPCB
L4P LD-A4 3A driver
10507 Carclo optic
Green GITD glow disc
ARC glass
Copper lined aluminium pill/ heatsink
Hand made copper switch enclosure
ILC-0 reverse clicky green lighted tail switch
Lockout-able
Length – 70mm
Width – 22mm
Weight – 104g (with 16340 cell)
Max - 600lm OTF (3A)Maratac CR123 Rev3 - Triple Nichia 219B SW45K - LD-A4 3A - 16340 - Lighted Rv Clicky Tail Sw - 600lm.

 

Henk4U2
Henk4U2's picture
Offline
Last seen: 6 hours 21 min ago
Joined: 02/13/2014 - 17:52
Posts: 3703
Location: The heart of the Netherlands (GMT+1)
Tom E wrote:

Bucket wrote:
Tom, I’ll start a new thread asking the Java question. Here’s a teaser. case “tapping”: F = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed); if (properties.useRigidTapping != “no”) { writeBlock(mFormat.format(29), sOutput.format(spindleSpeed)); } writeBlock( gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format((tool.type TOOL_TAP_LEFT_HAND) ? 74 : 88), getCommonCycle(x, y, z, cycle.retract), "P" + secFormat.format(P), feedOutput.format(F) );

Should look like this in regular code format:

case "tapping":
   F = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed);
   if (properties.useRigidTapping != "no")
   {
      writeBlock(mFormat.format(29), sOutput.format(spindleSpeed));
   }
   writeBlock(
         gRetractModal.format(98),
         gAbsIncModal.format(90),
         gCycleModal.format((tool.type  TOOL_TAP_LEFT_HAND) ? 74 : 88),
         getCommonCycle(x, y, z, cycle.retract), “P“ + secFormat.format(P),
         feedOutput.format(F)
   );

Interesting, unfortunately I’m not so adept in machinery lingo. I suppose the writeBlock() guy is sending the commands/data out to the machine, but some of those codes they use like 28, 98, 90, etc. I have no clue about.

Come on, isn’t there really nobody here who says:

Hrrmpf, I luv it when you talk dirty?

You are a flashaholic if you are forced to come out of the closet, to make room for more flashlights.

Henk4U2
Henk4U2's picture
Offline
Last seen: 6 hours 21 min ago
Joined: 02/13/2014 - 17:52
Posts: 3703
Location: The heart of the Netherlands (GMT+1)

Nothing else needed modding, just waiting for PostNL.
Used a whetstone, a piece of 1000 paper, a small round file, an ounce of elbow grease and almost 2 hours
to turn a 98% copper Canadian penny into a C8-sized shim. (To rule is to think ahead Tired ).

You are a flashaholic if you are forced to come out of the closet, to make room for more flashlights.

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

I started a thread in General Discussion.

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

DB Custom
DB Custom's picture
Offline
Last seen: 2 days 5 hours ago
Joined: 01/13/2013 - 22:28
Posts: 20698
Location: Heart of Texas

Bucket, I’d be interested in buying one of those set-ups for the Streamlight for my neighbor. He retired from the Police Department but still does work on special events, ball games, traffic events, funeral processions, that sort of thing. He was among the first to have the rechargeable Streamlight on our Police Force and loves his. I think I’ve modded it for him before but your kit would certainly make it more professional and with the blue stripe, he’d absolutely love it! Give me a shout and let me know what can be worked out please… Smile

Bucket
Bucket's picture
Offline
Last seen: 1 year 9 months ago
Joined: 07/19/2013 - 16:25
Posts: 689
Location: Altoona, PA

I’ll PM you.

Dangit! I forgot to take a pic of my single point thread mill for oresome.

“If you don’t read the newspaper, you are uninformed; if you do read the newspaper, you are misinformed.”
—Mark Twain

Pages