TimberKing Sawmills



Please visit this sponsor

The Largest Inventory of Used Chainsaw Parts in the World

Toll Free 1-800-582-0470

LogRite Tools

Lucas Sawmills

Forest Products Industry Insurance

Norwood Industries Inc.

Eggimann Motor and Equipment Sales Inc.

Sawmill & Woodlot Magazine

Wood-Mizer Band Blades

Carolina Machinery Sales is a machinery dealer that specializes in the Wood Processing Industry.

Wood Processing equpment. Splitters, Processors, Conveyors

Your source for Portable Sawmills, Edgers, Resaws, Sharpeners, Setters, Bandsaw Blades and Sawmill Parts

Portable Sawmill and Planers Made by Logosol.

EZ Boardwalk Sawmills. More Saw For Less Money!

STIHLDealers.com sponsored by Northeast STIHL

Lawn-Gardening-Tools.com

Hutto Wood Products

Woodland Sawmills

Margeson Insurance

Forestry Forum Tool Box

Author Topic: Homegrown Setworks  (Read 9035 times)

0 Members and 1 Guest are viewing this topic.

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Homegrown Setworks
« on: December 14, 2009, 03:22:30 pm »
Pineywoods,

On this topic http://www.forestryforum.com/board/index.php?topic=40761.msg586561 my brother let slip that he and I have been building a home grown "setworks".  You asked for more information, and rather than hijack the existing thread I decided to start a new one. 

It all started when I dropped by his place to watch him cut one of his first logs.  I couldn't believe that the up/down adjustment was being done "by eye" and boldly declared I could easily make a digital height adjustment for his saw.  Since then I've learned that such a thing has the official name of "Setworks".  I've never seen so much as a picture of Setworks, so I'm not sure this replaces it.  But my brother (victorh) seems pretty happy, and that's the point.

Since then I've been a lot more careful about shooting my mouth off around my brother.  It hasn't been as easy as I expected. 

Many, many hours later I've nearly finished a custom micro-controller circuit that will allow the operator to move and stop the saw-head with 1/32" precision.  The software has been written.  I've worked out how to measure the movement of the sawhead with the required precision (A hall-effect sensor is used near the motor to count motor revolutions).  I've got a schematic of the saw and understand exactly how to interface with the existing electrical system.  In short all of the parts are in place and mostly tested.

Last night I finished the preliminary control board case:  --Photos MUST be in the Forestry Forum gallery!!!!!--/yc8cgkd and it looks good.  You can browse those picture to get a sense of what it has taken to build the gadget.  This weekend I plan to drag the whole shooting match and install it into my brother's beloved saw.  Assuming my job and family don't interfere. 

It gadget works like this.  The operator to enters a distance, say 4" inches, into the system.  The operator then holds down the green button to indicate that the system should stop the saw-head at the designated position and uses the existing lever to move the head.  When the head reaches that position, the electric motor that moves the saw-head motor is stopped.

If you don't hold the green button when you start moving the saw head, the saw works just like it always did. 

It is actually pretty simple to operate.  Since I don't own a saw, I'm using a garage door opener to test with.  The neighbors must wonder why my garage door won't stay closed.  :)

Pineywoods, I hope that satisfies your curiosity.  Let me know if you want more info.

Thanks,

Shannon

P.S. Can someone tell me how to embed photos and URL's into my posts? 


Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline beenthere

  • Senior Member x2
  • *****
  • Posts: 14171
  • Location: Southern Wisconsin
  • Gender: Male
  • EIEIO
Re: Homegrown Setworks
« Reply #1 on: December 14, 2009, 03:39:50 pm »
Welcome to the forum. Anxious to see what you designed and fabricated. I'm envious of your ability to put this type of control together. Just out of reach for my skills, but not my interest and a bit of understanding.

Pics are easy, and just need to set up a gallery for yourself, and use the Java uploader (see the way below this blue window) and/or go to the "Behind the Forum" Board on the Home page for a good tutorial. The .jpg file needs to be somewhere in your computer so you just click on the Java Uploader and brouse for your pic. The resizing will be done automatically for you, and the pics will be at the full 500 pixel limit.
south central Wisconsin
 It may be that my sole purpose in life is simply to serve as a warning to others

Online VictorH

  • Full Member
  • **
  • Posts: 78
  • Age: 45
  • Location: Southeast Nebraska
  • Gender: Male
Re: Homegrown Setworks
« Reply #2 on: December 14, 2009, 03:51:38 pm »
I will add that my brothers proposal came after hearing that the factory setworks was only available for 97 and newer units.  I've got a 95. 

Offline ronwood

  • Senior Member x2
  • *****
  • Posts: 1031
  • Age: 54
  • Location: Warrenton, Mo.
  • Gender: Male
  • Enjoy Making Sawdust !!
Re: Homegrown Setworks
« Reply #3 on: December 14, 2009, 04:06:13 pm »
Shannon,

Welcome to the forum.

I bought the new Simple Setworks for my Woodmizer. Thought about doing my own also but as you seen it takes quite a bit of work. My mill is a 2003 and the sensor is mounted on the pully of the gearbox instead of the motor. Another thing to make sure if it is on a Woodmizer that the chain on the up/down is tension per service manual.

Ron
Sawing part time mostly urban logs -St. Louis/Warrenton, Mo.
LT40HG25 Woodmizer Sawmill
LX885 New Holland Skidsteer

Offline Magicman

  • Senior Member x2
  • *****
  • Posts: 9855
  • Age: 68
  • Location: Brookhaven, Ms.
  • Gender: Male
  • Knothole Sawmill, LLC
Re: Homegrown Setworks
« Reply #4 on: December 14, 2009, 04:12:05 pm »
Welcome to FF shaworth.  Looks/sounds like you've been here, at least in spirit, for a while.  Good luck with your project.  I'm interested in hearing about your results.
'98 Wood-Mizer LT40SuperHydraulic/Lombardini

There is much that I need to do, more that I want to do, and less that I can do.

Never allow your "need" to make money to exceed your "desire" to provide quality service.

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #5 on: December 14, 2009, 04:14:46 pm »
Shannon,

Welcome to the forum.

I bought the new Simple Setworks for my Woodmizer. Thought about doing my own also but as you seen it takes quite a bit of work. My mill is a 2003 and the sensor is mounted on the pully of the gearbox instead of the motor. Another thing to make sure if it is on a Woodmizer that the chain on the up/down is tension per service manual.

Ron

Actually, I think I arrived at the same solution.  I have six magnets on the pulley that has spokes.  These little magnets wizz by the sensor and the micro-controller counts the pulses to determine the position of the saw head.  I'm not going to take too much credit here - this is pretty standard fare in the world of industrial control.

I'll defer any saw-mill specific details to my brother - oh Victor!

Shannon

Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Online VictorH

  • Full Member
  • **
  • Posts: 78
  • Age: 45
  • Location: Southeast Nebraska
  • Gender: Male
Re: Homegrown Setworks
« Reply #6 on: December 14, 2009, 04:17:07 pm »
We'll check that chain tension - Thanks for the tip.

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #7 on: December 14, 2009, 04:28:38 pm »
Thanks for the warm welcome everyone.  

Someone (a moderator?) modified my post and removed the link to the photos on flickr, sigh.

Is there any chance that the forestry forum's photo gallery software supports uploads directly from my android cell phone?  I'll be happy to research this myself if someone in the know can tell me what software powers the photo gallery.  There is hope since the android apps are written in Java, and the upload thingy is also written in Java.  Being a software engineer I'm actually willing to modify the java app to run on the android if that is necessary.

On flicker, and all the other sites I post photos, everything is sent directly from my phone, at the push of a button.  I push a button, check the photos I want to send, and select the sites to send them to.  That simple.  I'm not exactly relishing the thought of downloading my photos from the other sites (all of which provide android apps) to my PC for the sole purpose of uploading them back to Forestry Forum using a PC.  Life is too short to shuffle photos from site to site.  So, please, please help me put this on our phones.

Thanks,

Shannon




Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline Planman1954

  • Full Member x2
  • ***
  • Posts: 246
  • Location: Marion, Louisiana
  • Gender: Male
Re: Homegrown Setworks
« Reply #8 on: December 14, 2009, 06:07:10 pm »
I use my cellphone and download the photos into My documents-My pictures.

Then I open up my photo gallery, and click on JUPload on the left...This has a program associated with it that downsizes the photo so that it will load fast. Hit the album button and name or select a gallery you've made. Then scroll down and hit browse..and click my documents, my pictures, and then your photo, then hit upload, and then ok.

When you do a post, put your curser where you want the photo, go to your photo gallery by using the forum extras button, click on the photo you want to enter, and then scroll down to the green area, click on it to insert the photo. Then hit preview, and then post.

yeah, nothin' to it, huh. Ha...took me a while.

Planman..
Norwood Lumbermate 2000 / Solar Dry Kiln

Online VictorH

  • Full Member
  • **
  • Posts: 78
  • Age: 45
  • Location: Southeast Nebraska
  • Gender: Male
Re: Homegrown Setworks
« Reply #9 on: December 14, 2009, 07:26:28 pm »

Offline sdunston

  • Senior Member
  • ****
  • Posts: 313
  • Age: 53
  • Location: Carlisle NY
  • Gender: Male
  • New York (the great tax state)
Re: Homegrown Setworks
« Reply #10 on: December 14, 2009, 08:13:57 pm »
Looks good, I was thinking about a setworks for manual mills, somthing as simple as a read out with a zero set?
Sam
WM LT28, American fordge 18x8 planer,Orange and white chainsaws, NH TC33, IHT6 dozer, IH-H tractor and alot of other stuff that keeps me agravated trying to keep running

Offline sgschwend

  • Senior Member
  • ****
  • Posts: 525
  • Location: Oak Harbor, WA
  • My new Brand X sawmill
    • Brideck Enterprises Portable Sawmill Service, Washington
Re: Homegrown Setworks
« Reply #11 on: December 14, 2009, 08:26:35 pm »
Wow, talk about building from scratch!  ;D

Are you going to have the capability to search for the set point?  Do you need to reach the set point from the same direction?

Good work, your brother owes you big, he will need to cut you a house. ;)

Offline Woodwalker

  • Senior Member
  • ****
  • Posts: 657
  • Age: 57
  • Location: Pine Valley (not on any maps)
  • Gender: Male
  • Old, ugly, rude, cude and sociability un-acceptable.
Re: Homegrown Setworks
« Reply #12 on: December 14, 2009, 09:53:06 pm »
shaworth, can you "read" or reference zero at the bed? or do you just read plus or minus from the position of the saw head?
Nice work, I had an old Professor that would have liked the way you are putting it together.

Looks good, I was thinking about a setworks for manual mills, somthing as simple as a read out with a zero set?
Sam

Something like this? (Rotate the picture ninety degrees)



Digital tape, one end clamped to the head the other to the frame. Reads fractions or metric.
Just cause your head's pointed, don't mean you are sharp.

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #13 on: December 14, 2009, 09:59:16 pm »
Looks good, I was thinking about a setworks for manual mills, somthing as simple as a read out with a zero set?
Sam

I don't know the first thing about sawmills, so excuse me if my assumptions are wrong.  

By a manual mill, I'm guess you mean the sawhead is raised and lowered using some sort of manual crank.  If not then the rest of this post isn't going to make any sense.  If so, keep reading.

Currently the gadget is programmed to cut off power to the motor (Via a relay) when the set point is reached.  However it would be trivial to modify the programming to count-down to the correct value and flash lights or do something similar when you reach the point.  

If I'm way off base, tell me where I went wrong and I'll try again.

Shannon
Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #14 on: December 14, 2009, 10:09:48 pm »
shaworth, can you "read" or reference zero at the bed? or do you just read plus or minus from the position of the saw head?
Nice work, I had an old Professor that would have liked the way you are putting it together.

Looks good, I was thinking about a setworks for manual mills, somthing as simple as a read out with a zero set?
Sam

Something like this? (Rotate the picture ninety degrees)

(Image hidden from quote, click to view.)

Digital tape, one end clamped to the head the other to the frame. Reads fractions or metric.


Man that is elegant.  Currently I measure the relative position of the saw-head.  However I am planning to also measure the absolute distance from the saw bed - soon.  The approach I planned to take is almost like your rather amazing, hack.  Nice work.

The folks that build computer controlled CNC machines use what are essentially long timing belts stretched along their axis of movement.  To this a pulley with a encoder wheel is attached - allowing very precise, wiggle-free position to be maintained.  The next revision...

Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #15 on: December 14, 2009, 10:14:58 pm »
I use my cellphone and download the photos into My documents-My pictures.

Then I open up my photo gallery, and click on JUPload on the left...This has a program associated with it that downsizes the photo so that it will load fast. Hit the album button and name or select a gallery you've made. Then scroll down and hit browse..and click my documents, my pictures, and then your photo, then hit upload, and then ok.

When you do a post, put your curser where you want the photo, go to your photo gallery by using the forum extras button, click on the photo you want to enter, and then scroll down to the green area, click on it to insert the photo. Then hit preview, and then post.

yeah, nothin' to it, huh. Ha...took me a while.

Planman..

Thanks for the tips!  I ended up pulling them down, resizing them and uploading them. 
Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline Woodwalker

  • Senior Member
  • ****
  • Posts: 657
  • Age: 57
  • Location: Pine Valley (not on any maps)
  • Gender: Male
  • Old, ugly, rude, cude and sociability un-acceptable.
Re: Homegrown Setworks
« Reply #16 on: December 14, 2009, 10:23:23 pm »


  The next revision...


[/quote]

You may not have a mill, but your hooked.  :D Keep us posted on any updates.
Just cause your head's pointed, don't mean you are sharp.

Offline pineywoods

  • Senior Member x2
  • *****
  • Posts: 2452
  • Age: 76
  • Location: Marion, Louisiana
  • Gender: Male
  • Engineering analysis-just sittin thinkin about it
Re: Homegrown Setworks
« Reply #17 on: December 14, 2009, 11:31:44 pm »
Shannon, thanks for the details. Pretty much like I figured you would do it. Did you program the plc yourself ?
I was considering using one of the old junker laptops I have laying around. That would take care of the inputs and displays, pick up a couple of outputs off the parallel port. A hall effect sensor will trigger the data in pin on the serial port. Probably could get away with programming the whole mess in basic. Quick and dirty  ;D
Now if you really want to get on Victors good side, click here.

http://www.forestryforum.com/board/index.php/topic,33159.msg491067.html#msg491067

 BTW my mill is the same, 95 woodmizer LT40 manual, except it now sports home-made hydraulics.
1995 Wood Mizer LT 40, Liquid cooled kawasaki,homebuilt hydraulics. Homebuilt solar dry kiln.  Woodmaster 718 planner, Kubota M4700 with homemade forks and winch, stihl  012, 028, 029, Ms390

Offline shaworth

  • member
  • *
  • Posts: 47
  • Age: 48
  • Location: Richmond, Virginia
  • Gender: Male
    • VH Timberworks
Re: Homegrown Setworks
« Reply #18 on: December 15, 2009, 02:04:40 am »
Shannon, thanks for the details. Pretty much like I figured you would do it. Did you program the plc yourself ?
I was considering using one of the old junker laptops I have laying around. That would take care of the inputs and displays, pick up a couple of outputs off the parallel port. A hall effect sensor will trigger the data in pin on the serial port. Probably could get away with programming the whole mess in basic. Quick and dirty  ;D
Now if you really want to get on Victors good side, click here.

http://www.forestryforum.com/board/index.php/topic,33159.msg491067.html#msg491067

 BTW my mill is the same, 95 woodmizer LT40 manual, except it now sports home-made hydraulics.


Victor has already mentioned your rig.  As he did the pitch of his voice dropped and he held his gaze real steady-like.  :)

Yea I coded the software.  I've been programming since the late '70s, so the software side of this project was a breeze for me.  It has been a decade since I programmed a microprocessor and things have gotten a lot more sophisticated on the electronics side.  Most of the time on this project has been spent reading data sheets and re-learning embedded electronics.  Lots of fun, but time consuming.

You seem very pragmatic and I'd like to appeal to that as I preach the embedded micro-processor approach over the clunker laptop approach.  In part because I started this project intending to bring a PC-104 form factor x86 board to the party.  Same thing really.

Cost, a 8bit atmel atmega644 CPU runs about 8 bucks.  This is for a device that cranks out between 8 and 20 million instructions per second.  And is instantly on.  The darn thing is self-contained, flash, eprom, RAM, cpu, pull-up resistors, AD converters, timers ... the whole kitchen sink in a 40 pin chip.  All you need to add is a 5V power supply.  The entire computer is on one chip.

Nearly every pin on this thing (there are 40) is an addressable GPIO.  It is a bit-bangers dream, sans the limitations of the parallel port.

The laptop has a LCD panel illuminated by a florescent tube.  Those tubes tend to go dim over time (as little as 1000 hours).  And they are not that bright to begin with, I can't read mine anywhere near the sun.  Their cold weather performance is embarrassing.

And while I'm using a LCD in my prototype it is illuminated by LCDs, and those suckers don't degrade over time.  But best of all, if I need to I can switch over to LEDs and the design will work in Alaska.

Don't get me started about the keyboard - I'll go with arcade buttons for durability any day.

But the biggest drawback of a laptop is it's complexity.  There are too many points of failure for my tastes.  Plus, unless you enjoy reflow sodering of smd packages, forget about repairing it.  It isn't going to be too keen about the rain and the snow either.

A simple little micro-processor has darn little to break.  Most of the parts (the power supply and RS232 ports really) can be de-soldered and replaced using a $10 iron and a $2 part over the internet.

Now back to that parallel port for a moment.  It reeks of "I like what I know, and I know what I like".  To be honest the atmel CPUs may only be 8 bit devices, but they program and behave a lot like the bad old days of DOS in Intel x86.  The compiler, linker, assembler - the entire tool-chain is open source (read free).  You program the darn things in ANSI (mostly) 'C' and the function library is refreshingly succinct.  Once you finish programming, you hook up your "ISP Programmer", attach it the CPU and run something called "avrdude".  A few seconds later the micro-controller restarts and is running your code.  The only tool that you have to spend money on is the ISP programmer.  I spent $15 on mine.

There is a BASIC compiler (I think it is a C cross-compiler under the hood).  However I'm using and am very happy with the free winavr which is a C compiler.  Atmel gives away their development IDE, avrstudio also.  So you are not stuck with one tool chain.

On, and it borders on being mean to bring this up.  But according to my brother ;) ... that parallel port is going to need either a transistor amp, or better yet a darlington array.  It can't sink enough current to trip and hold a sufficient relay.  You are going to end up with a custom circuit board anyway.  In for a dime, in for a dollar  :)

But I digress...    Your saw mod is impressive to say the least.  Although I'm still slack jawed by the simplicity of the digital tape measure. 

During the build, you didn't happen to note the current draw for each of the electric motors?  We called WM and were told the saw-head up/down motor requires 60A - which seems silly.  I only ask because my brother has started to make noise about having his own remote operator's console.  I think I'm going to have to order a few more relays and a wireless data link.

Regards,

Shannon




Dremel tool, X-Acto knife, Sherline 5400 CNC mill

Offline beenthere

  • Senior Member x2
  • *****
  • Posts: 14171
  • Location: Southern Wisconsin
  • Gender: Male
  • EIEIO
Re: Homegrown Setworks
« Reply #19 on: December 15, 2009, 10:25:34 am »
Shannon
That was an interesting read, and makes me want to scratch an itch when reminded of the 70's and being involved in the new digital (and analog) control design and build (then testing to locate the problems in the design layout or the failure of a chip to do its job). Then out with the solder wick and put in a new chip, etc., etc. Things were big those days compared to the mini-chips now.
 
south central Wisconsin
 It may be that my sole purpose in life is simply to serve as a warning to others

 


Testing New Bottom Sponsor Area

Saw Anywhere!