Hello Folks, I am new here and have tried to figure out how I could automatically set the sawmill head to various heights based on a digital touch screen.
Here is an example of what I am trying to do:
I would like to have a touch screen that has options such as
- = 1/4 inch + 1/16 inch kerf
- = 1/2 inch + 1/16 inch kerf
- = 3/4 inch + 1/16 inch kerf
- = 1 inch + 1/16 inch kerf
- = 1 1/4 inch + 1/16 inch kerf
- = 1 1/2 inch + 1/16 inch kerf
- = 1 3/4 inch + 1/16 inch kerf
- = 2 inches + 1/16 inch kerf
- = 2 1/4 inches + 1/16 inch kerf
- = 2 1/2 inches + 1/16 inch kerf
and so on to 16 inches...
I have found that some of the better bandsaw mills use an Analog Rotary Position Sensors with a .019-inch dia. nylon-coated stainless steel cable that turns some sort of POT within the module. The cable wants to auto rewind which is good.
Let's be clear that this process I am referencing to is no more dangerous that of any CNC type programs. In fact the sawyer is always behind the machine.
We simply want to select a cut of given size for example a 4/4 cut meaning 1 inch (4 X 1/4 inch) plus the 1/16 inch addition to offset the kerf of the saw blade. We want the height to adjust to that and the sawyer manually engages the forward motion of the head down the rails. Once the head reaches the end of the rails it pushes a limit switch telling the head to raise up about an inch to avoid hitting the log on the return back to the front. When the head reaches the front of the rail bed another limit switch signals that position and the Arduino takes the return height into consideration but remembers the last cuts height and positions the head again for the same 4/4 cut plus the 1/16 inch kerf and readies the head for the next pass. So, it lowers the head by the return height of 1 inch and also another 1 inch plus 1/16 inches for the blade kerf.
A good part number for the linear sensor is Mouser 824-SPD-50-3 Industrial Motion & Position Sensors COMPACT STRING POT 50" RANGE. The data sheet can be reviewed here: https://www.mouser.com/datasheet/2/418/5/NG_DS_SPD_A-1134691.pdf
The Arduino should be able to read information from the linear sensor through an analog to digital converter as it moves up and down and output one of two possible voltage tabs capable of actuating one of two relays that in turn is used to power one of two electric hydraulic switches that sends hydraulic fluid in or out of a hydraulic motor. The Arduino should be able to sense where the linear sensor is located through the (ADC) analog to digital conversion and turn off the relays. I'm not sure how control jitter but I could limit manually the flow of hydraulics so that the movement is slow.
I do not yet know how to program Arduino or Rasberry PI but I do know LINUX and fair amount of PERL script. Not that PERL has any bearing on this.
Any thoughts how this could be done?