¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Arduino based DRO using cheap Calipers #ARD #DRO

 

Oh, forgot to add, here is the ino file saved as a .txt file. I don't have the Arduino development software, but others might want to read the code...

Chuck - if you want your circuit drawn up, I would do that if you want. If you have a paper drawing, take an photo of it and email it to me privately ( johndurbetaki@... ) and I'll send you back a pdf of an OrCAD drawing.

Buffalo John


On Wed, Nov 27, 2019 at 7:40 AM BuffaloJohn via Groups.Io <johndurbetaki=[email protected]> wrote:
If I understand your code, you receive a start bit and then a value of 20 bits (LSB first) followed by a sign bit and then a few bits you discard. Then, you take the value and convert it to a float and divide by 100. to make the result be 2 decimal place mm.

Since we know 1 inch equals 25.4 mm (exactly), if you were to take result (mm) and divide by 25.4, you would have inches. result is already a float, so the decimal point would be correct.

Add this to the end of your code before the 1 second delay:

? result=(result)/25.4; ? ? // convert to inches
? Serial.print(result,3);??? //print result with 3 decimals
? Serial.println(" in");

Buffalo John

On Wed, Nov 27, 2019 at 4:12 AM Chuck Pickering <chunk07@...> wrote:



In the pic, the breadboard next to the mouse has the logic shifting circuit to shift the caliper data and clock from 1.5v to 5v logic. The other breadboard has the adjustable 1.5v regulator to power the caliper. The leads connected to the caliper are soldered to the pads in the data port, as I have not yet found a cable to plug into the port. I am working on a 3d printed connector.
For the code, I pieced together bits from several websites, and have 3 working sketches. One just outputs the data stream as 1's and 0's, which I used to see which bits represented a + or - reading, and which bit represented inch or mm units. The other two output the caliper measurement in decimal,? one for mm, one for in. I hope to combine those two into one sketch.To give you an idea how it works, here's the sketch that displays the measurement in mm. The in/mm switch must be in mm .


Re: Arduino based DRO using cheap Calipers #ARD #DRO

 

If I understand your code, you receive a start bit and then a value of 20 bits (LSB first) followed by a sign bit and then a few bits you discard. Then, you take the value and convert it to a float and divide by 100. to make the result be 2 decimal place mm.

Since we know 1 inch equals 25.4 mm (exactly), if you were to take result (mm) and divide by 25.4, you would have inches. result is already a float, so the decimal point would be correct.

Add this to the end of your code before the 1 second delay:

? result=(result)/25.4; ? ? // convert to inches
? Serial.print(result,3);??? //print result with 3 decimals
? Serial.println(" in");

Buffalo John


On Wed, Nov 27, 2019 at 4:12 AM Chuck Pickering <chunk07@...> wrote:



In the pic, the breadboard next to the mouse has the logic shifting circuit to shift the caliper data and clock from 1.5v to 5v logic. The other breadboard has the adjustable 1.5v regulator to power the caliper. The leads connected to the caliper are soldered to the pads in the data port, as I have not yet found a cable to plug into the port. I am working on a 3d printed connector.
For the code, I pieced together bits from several websites, and have 3 working sketches. One just outputs the data stream as 1's and 0's, which I used to see which bits represented a + or - reading, and which bit represented inch or mm units. The other two output the caliper measurement in decimal,? one for mm, one for in. I hope to combine those two into one sketch.To give you an idea how it works, here's the sketch that displays the measurement in mm. The in/mm switch must be in mm .


Re: Arduino based DRO using cheap Calipers #ARD #DRO

Chuck Pickering
 




In the pic, the breadboard next to the mouse has the logic shifting circuit to shift the caliper data and clock from 1.5v to 5v logic. The other breadboard has the adjustable 1.5v regulator to power the caliper. The leads connected to the caliper are soldered to the pads in the data port, as I have not yet found a cable to plug into the port. I am working on a 3d printed connector.
For the code, I pieced together bits from several websites, and have 3 working sketches. One just outputs the data stream as 1's and 0's, which I used to see which bits represented a + or - reading, and which bit represented inch or mm units. The other two output the caliper measurement in decimal,? one for mm, one for in. I hope to combine those two into one sketch.To give you an idea how it works, here's the sketch that displays the measurement in mm. The in/mm switch must be in mm .


Re: #3D #3D

 

¿ªÔÆÌåÓý

?

Hi guys

?

This is where my ER20 collets end up.? From left to right the TTS collet holder from Little Machine Shop before they started providing ones with the slot for the tool changer arm.

The middle one is from China and there isn't even room for a tool changer slot.? Not sure how I'll deal with it.? The far right is just a standard 3/8" tool holder also from Little Machine Shop w/o the slot for the tool changer.

?

As long as the automatic draw bar will push out the tool then the auto tool changer could still 'catch' the middle tool.? Of course there's also enough room to add some sort of clamp ring that has a slot in the right place for a tool changer.

?

I think 3D printing for some of the parts of a tool changer is a really good application for 3D printing in the machine shop.?

?

John Dammeyer

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: November-26-19 11:16 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #3D

?

This one is only 4.5 hours and 22meters of filament.? Much more doable.? But my ER20s came in this box.? But I can see ordering more of a specific size to fit the various tooling I have in the Tormach Tool holders.??? So if I ordered a bunch of same size singles I might then need a box of sorts.

?

John Dammeyer

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Lindo
Sent: November-26-19 12:50 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #3D

?

Attached an STL file a tray for ER 20 collets
Hope it works for John, if not the tray will make a good pigeon egg incubator. LOL.
STL scaled from the ER 32 tray by a .625 scale factor.
Normal ER 20 collet set is 13 pieces, printed 15 for symmetry only.
A few months ago I printed a box and lid fro my ER 20 and ER 25 collets.,
but the collets are in individual plastic boxes. my ER 32 collets arrived in flimsy cardboard boxes.
and a tray more appropriate to me as they are used more.


--
John


Re: #3D #3D

 

¿ªÔÆÌåÓý

This one is only 4.5 hours and 22meters of filament.? Much more doable.? But my ER20s came in this box.? But I can see ordering more of a specific size to fit the various tooling I have in the Tormach Tool holders.? ??So if I ordered a bunch of same size singles I might then need a box of sorts.

?

John Dammeyer

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Lindo
Sent: November-26-19 12:50 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #3D

?

Attached an STL file a tray for ER 20 collets
Hope it works for John, if not the tray will make a good pigeon egg incubator. LOL.
STL scaled from the ER 32 tray by a .625 scale factor.
Normal ER 20 collet set is 13 pieces, printed 15 for symmetry only.
A few months ago I printed a box and lid fro my ER 20 and ER 25 collets.,
but the collets are in individual plastic boxes. my ER 32 collets arrived in flimsy cardboard boxes.
and a tray more appropriate to me as they are used more.


--
John


Re: Arduino based DRO using cheap Calipers #ARD #DRO

Bruce J
 

¿ªÔÆÌåÓý



On Nov 26, 2019, at 10:15 AM, CLevinski <clevinski@...> wrote:

Chuck,

Wow, I would like to see that.? I am especially interested in how you are reading the data from the caliper.? Any further info, photos, sketches would be helpful.? Great job in adapting it¡­


Here¡¯s a couple URL¡¯s with explainers that I've kept:


?

Note Harbor Freight calipers DO have the port available, at least on mine. Other calipers may not make it available, but I¡¯ll wager that most have the circuitry in place...


--?
Bruce Johnson

"Wherever you go, there you are." B. Banzai, PhD


Alternative to anodizing aluminum? #MISC

 

A friend has asked me if I know of a DIY process similar to black anodizing for some aluminum parts he has made. Most of the spray-on stuff I see seems to be of questionable safety or result. Has anyone been successful with a black substitute on aluminum?

John L., I recall that you told me you had used a process on your Minnie tractor that involved shoe polish mixed with something (oil of some kind?) and worked pretty well.? Might that work here?

Thanks in advance for any info.
--
Regards,

Charlie
New Jersey, USA

MURPHY'S CONSTANT:?Matter will be damaged in direct proportion to its value.


Re: Arduino based DRO using cheap Calipers #ARD #DRO

 

Chuck,

Wow, I would like to see that.? I am especially interested in how you are reading the data from the caliper.? Any further info, photos, sketches would be helpful.? Great job in adapting it...
--
Regards,

Charlie
New Jersey, USA

MURPHY'S CONSTANT:?Matter will be damaged in direct proportion to its value.


Re: #GR #GR

 

Hi, John,

Further to my post above,..?

The purpose of the ACCEL trimpot on the mini-lathe is to do exactly what you want to do.? Below please find an excerpt from the KBLC manual on the lathe controller.? I believe this manual is for the latest one, but the functionality of the trim pots should be the same.? Under section 7, ¡°Trimpot Adjustments and Control Function¡±, it states (I added the bold type for emphasis):
?
TRIMPOT ADJUSTMENTS AND CONTROL FUNCTIONS
The KBIC? is factory adjusted to provide 0 to full speed range using a 5K potentiometer. Minimum and
maximum speed trimpots are provided to change the speed range from other than 0 to full speed. An
acceleration (ACCEL) trimpot (located directly behind the MIN trimpot) is factory set to provide motor
acceleration from 0 to full speed over a time period of 2 seconds (approx.) each time the AC power is applied.
The current limiting (CL, or torque output) adjustment is factory set to approximately one and a half times the
motor rating. The IR Compensation (IR) is factory adjusted to provide excellent motor regulation under normal
operation. See Figure 1, on page 4, for trimpot locations.

Note: In order for the IR comp and CL trimpot settings to be correct, the proper Plug-in Horsepower
Resistor? must be installed for the particular motor and input voltage being used. Do not attempt to change
the settings of the trimpots unless absolutely necessary since they are factory adjusted to near optimum
settings.
?
IMPORTANT NOTE:
Readjusting the ACCEL time will affect the MAX speed and IR Comp. settings that will have to be readjusted
(see this Section). If the ACCEL time is decreased to the minimum time of 0.5 seconds (6 o'clock trimpot
position), then increase the IR trimpot 25% CW rotation and decrease the MAX trimpot 20% CCW rotation. If
the ACCEL time is increased to the maximum time of 4 seconds (full rotation), then decrease the IR and
increase the MAX as per above percentages of rotation.
The following procedure is presented in required order of adjustment. It should be followed when readjusting
all trimpot functions:
?
7.1 Acceleration Trimpot (ACCEL)
The ACCEL Trimpot is provided, to allow for a smooth
start over an adjustable time period, each time the AC
power is applied or the Main Speed Potentiometer is
adjusted to a higher speed.

The ACCEL Trimpot has been factory set to 2 seconds,
which is the amount of time it will take for the motor to
accelerate from zero speed to full speed. To increase the
acceleration time, rotate the ACCEL Trimpot clockwise.
To decrease the acceleration time, rotate the ACCEL
Trimpot counterclockwise.

I hope this helps...
--
Regards,

Charlie
New Jersey, USA

MURPHY'S CONSTANT:?Matter will be damaged in direct proportion to its value.


Re: #3D #3D

 

Attached an STL file a tray for ER 20 collets
Hope it works for John, if not the tray will make a good pigeon egg incubator. LOL.
STL scaled from the ER 32 tray by a .625 scale factor.
Normal ER 20 collet set is 13 pieces, printed 15 for symmetry only.
A few months ago I printed a box and lid fro my ER 20 and ER 25 collets.,
but the collets are in individual plastic boxes. my ER 32 collets arrived in flimsy cardboard boxes.
and a tray more appropriate to me as they are used more.


--
John


Re: #3D #3D

 

Phill

Thanks, it looks like STL file transfer works.
Good to know for the future.
In Mastercam, provided you scale(size) from the origin, all sizes change equally.
there are options to scale in X Y Z selectively.
--
John


Re: #3D model railway accessories. #3D

 

Charlie

Basically the wool was transported by rail, after shearing from numerous outlying North UK sheep farms, the baskets were used to transport the wool for processing to MILLS . Spun, dyed and put onto spools for weaving.
This method was adopted until closure or axed? (Dr Beeching,a politician) of local railway lines and eventual closure of the Yorkshire mills.
The collapse of all this industry starting in and around the 1960?s.The Yorkshire area for industry has never recovered and you can draw a parallel to the Rust Belt.
The US was a major world source of producing steel, and industrial tools, Pittsburgh steel second to none. UK Sheffield HSS and Stainless similar.?

A lot of the axed lines are now a "mecca" for steam railway buffs. We all owe a lot to the Industrial revolution and inventions using steam.
Thanks for your interest.
--??
John


Re: #MISC carbide single flute milling cutter. #MISC

 

carbide is carbon and a metal and there are a variety of carborized metals

Buffalo John


On Sun, Nov 24, 2019 at 10:29 PM John Lindo <bechetboat@...> wrote:
Ralph
I thought the generic word "carbide" was powdered forms of Tungsten and Cobalt ?

--
John


Re: Arduino based DRO using cheap Calipers #ARD #DRO

Richard
 

I am no expert on Arduino but I would be interested in taking a look at
your code, particularly the imperial/metric problem you are having.
If you are happy mail me at the address in this post.
Sounds very interesting
Richard

On 24/11/2019 14:27, Chuck Pickering wrote:
I enjoy working with Arduino's and making useful projects with them. I
am not a real great programmer, but I can usually understand or figure
out how a sketch works.
I have successfully built a Arduino based control setup to run my
rotary table. I studied several others work and combined pieces of
sketches to make the controller do what I wanted. For example, I
modified my sketch to include input from a 4x4 matrix keypad, making
data entry easier.
My current project id using an Arduino Uno to read the data from a
cheap Chinese digital Caliper (think Harbor Freight in the US). I have
two sketches that work, one displays the correct measurement in
inches, and one works if the caliper is in mm mode. I cannot figure
out how to get the two functions into one sketch. I had this working a
few years back, including using bluetooth to send the data to an
Android Tablet running Youri's Touch DRO. I somehow lost the working
sketch, and am now trying to get it working again.
Anyone here played with this concept?


Re: Arduino based DRO using cheap Calipers #ARD #DRO

 

Chuck

Nice post.
Keep going on the caliper project, and bring us up to speed, I have a few bits and pieces of Arduino kit, and a lot more to learn.
--
John


Re: #MISC carbide single flute milling cutter. #MISC

 

probable, shows what I know :-)


On Mon, Nov 25, 2019 at 1:29 AM John Lindo <bechetboat@...> wrote:
Ralph
I thought the generic word "carbide" was powdered forms of Tungsten and Cobalt ?

--
John


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Re: #3D model railway accessories. #3D

 

Nice, John!

Could you please clarify what they represent?? I think you mentioned it to me recently...
--
Regards,

Charlie
New Jersey, USA

MURPHY'S CONSTANT:?Matter will be damaged in direct proportion to its value.


Re: #3D #3D

 

John Lindo,, thanks for making the STL file?availalble very nice model.?

John D if you want the ER 20 model just resize the 32 down I have just done it for my ER 25's work well.

Phill?


Re: #MISC Making a simple 4 mm keyway slotter holder and bit. #MISC

 

You can use square HSS blanks, already hardened, but you would need a surface grinder for accuracy to produce the 4 rake angles.
Using a off hand bench grinder possibly, but certainly a Surface grinder is a good machine to have, but with my workshop space limitations,
I don?t think having a SG in the dining room would keep peace and harmony with SWMBO.?
A good book to read is Ivan Law?s Gear cutting,. it fully explains how to produce involute fly cutting tools, similar method to making keyway cutters.

--
John


Re: #3D #3D

 

¿ªÔÆÌåÓý

Looks like it will fit on my build plate and it matches your 14 hour print time.? But as it turns out I also only have ER-20 collets.? Thought I had ER-32s too.?? So for now the little wooden box that holds the ER-20s will do.?

?

Still though, you created a nice project.

John Dammeyer

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Lindo
Sent: November-24-19 10:24 PM
To: [email protected]
Subject: Re: [digitalhobbyist] #3D

?

John

see STL file.ER 32 Tray
I use Mastercam v 8.1 (2002) for all my CAD and CAM.
Old version but never lets me down for Mill and 3D printer, still working
on g codes for my CNC lathe .Almost there.

Thanks
John
--
John