Aim
This week I will use Vicky's mortise and tenon machine to make mortise and tenson joint as the following picture
Machine
This mortise and tenon machine is design and made by Vicky and I give some help in Arduino control.
The above gif simply introduce the structure of machine .
Coding
This time I need to tell the board which shape I need.
According to the above picture. I need to define the following parameter in Arduino Consider the width of saw and tolerance: So I update to the following shape data
float a=10; // finger, in this case is 10
float b=a+2e-d; //cutaway b=a+2e-d
float c; //wood width:depend on the material and design ,in this case it is 200
float d=2.5; //saw witdth:it depend on the machine ,and the width of machine we choice is 2.5mm
float e=0.3; //tolerance:it depend on the processing and machine ,in this case we choice 0.2mm
Then I add it in my Arduino code "parameter part". Read it in the attachment update it to Arduino Mega2560.
Operating
- We put the machine on the table saw and then fix the wood on the machine . We use bolt and support wood to fix our wood.
- Run the table saw. Rise the saw and then open it
- Click the left button. the motor run and the wood will move 1.6mm
In Arduino code ,it will calculate as the following:
```
b=a+2*e-d; // cutaway b=8.1
h=int(b*1.5/d+1); //cut time is h=5
j=b/h; //cut distance every time j=1.62mm
```
- Use hand to push the machine according to table saw's pathway ;
- Then click the left button ,cycle point3 and point 4;
- If cutaway finish ,it will direct go 10mm to avoid finger;
Effect
After finish(we make two of them ).And then test to assembly:
This small gif show how to make it. At Last ,thanks for the help from vicky.