10. and 11. Mechanical design, machine design

1group assignment
   - design a machine that includes mechanism+actuation+automation+application
   - build the mechanical parts and operate it manually
   - document the group project and your individual contribution
2group assignment
   - actuate and automate your machine
   - document the group project and your individual contribution

In this week we build a CNC mill: Here you find a video of the mill drawing with a pen:

CNC-mill after drawing the image.
Here you can download the design file:

Download link

CNC-mill drawing – the image was drawn with a ball pen placing the spring in the ball pen behind the ball pen refill.
By this, you can easily apply the right amount of pressure by lowering the z-axis, so that the ball pen writes on the paper.
But you have to raise the z-axis several centimetre to lift the refill from the paper, what we did not consider,
so in the drawing you also see the machine paths where the mill should actually not draw...
We planned to use an Arduino Mega with a RAMPS 1.6+ Board to control the CNC mill.
But we changed to an Arduino Uno with a CNC-Shield and A4988 drivers.
We adjusted the drivers to provide not more than 0.9 ampere.
Therefor, you have to adjust the reference voltage on 0,72 volt with the potentiometer on the driver.
On the Arduino Uno we uploaded the software Estlcam (http://www.estlcam.de/).
To upload the software on the Arduino: connect it to your computer with the RAMPS board/ CNC shield ontop, but nothing else connected.
Then open: Einstellungen – CNC Steuerungseinstellungen,
choose RAMPS/GRBL alle from the drop down menu and change the parameters on the left so that they fit to your machine.
Be sure to read the notes to overview and installation on the right:

here the same images in german:

There are many further tabs in which you can change stetting, but at the beginning its sufficient to make changes to the first window.

If everything is inserted right choose the COM port of your Arduino board and click on “Steuerung programmieren”.

The CNC mill was build out of four C-beam linear guides. Only a few adjustments to the bought parts are necessary to build the CNC-mill.
The CNC-mill is almost completely build out of metal (the anti-backlash nuts are made out of plastic).

10. and 11. Mechanical design, machine design

I planned the design of the mill. Yassine and I did the assembly, programming and calibration together.

These parts we used (or are planned to be used later)

23HS5628 motors and TB6600 Stepper motor drivers (51,96 € for 3 each)

https://de.aliexpress.com/item/1005003269538390.html?spm=a2g0o.order_list.order_list_main.57.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

2040 Aluminium Profil (24,51 €)

https://www.ebay.de/itm/233949787857?var=533595557684

https://de.aliexpress.com/item/32813630598.html?spm=a2g0o.order_list.order_list_main.62.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

C-beam linear guide

2x 50 cm (35,06 €)

https://de.aliexpress.com/item/1005004758346701.html?spm=a2g0o.order_list.order_list_main.67.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

https://de.aliexpress.com/item/33057172183.html?spm=a2g0o.order_list.order_list_main.134.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

20 cm (29,62 €)

https://de.aliexpress.com/item/1005003276036915.html?spm=a2g0o.order_list.order_list_main.129.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

1 meter with motor (80,84 €)

https://de.aliexpress.com/item/4000079185548.html?spm=a2g0o.order_list.order_list_main.394.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

nuts with springs (7,60 €)

https://de.aliexpress.com/item/32952626616.html?spm=a2g0o.order_list.order_list_main.83.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

mountings for the stepper motors (4,79 € x 4 = 19,16 €)

https://de.aliexpress.com/item/4001084237289.html?spm=a2g0o.order_list.order_list_main.46.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

stepper motor holder (3,84 € for two)

https://de.aliexpress.com/item/1005003071161983.html?spm=a2g0o.order_list.order_list_main.109.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

couplings (2,65 € for 3)

https://de.aliexpress.com/item/1005004363938677.html?spm=a2g0o.order_list.order_list_main.39.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

spindle holder (11,43 €)

https://de.aliexpress.com/item/4000689108534.html?spm=a2g0o.order_list.order_list_main.359.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

with this adapter for a dremel mill (and two sheets of 0,5 mm thick aluminium foil to get a tight press fit (9,99 €))

https://www.ebay.de/itm/394419299772?hash=item5bd538e5bc:g:rrMAAOSwaTRhxXOS&amdata=enc%3AAQAHAAAA4I5GU6tYrDxIM8J5McIl30vku6yhk6412aPaPyV7qL05LiKjG3ZUZcOnAawOPvy9%2BvMW7C67S7YhP5PFSCXegoE3kEgIrvRsiZGiTEDK3nJBPjaXZGilTKLHuAEBnI5HgHKFq1Eai%2FR8fZraGoe5hOn1ouxQkCFjqLsvPycJJBX9gAVhlHlUOgn1%2FN0oHCp3IF4Jmp1oRfKUqNFPDJBbbYYb2AaIjUAGu1LBwy4iukVS2Uidjmy4St%2B%2BYVFxvhbtkR0dlI37qH2WqItVaGMzbcVlPjTcbcnIlwpymRQIjMIX%7Ctkp%3ABFBMrLS15-Vh

cable elongations (6 pc, 15 87 €)

https://de.aliexpress.com/item/32853620792.html?spm=a2g0o.order_list.order_list_main.358.3ad75c5f0gg0wo&gatewayAdapt=glo2deu

aluminium profile connectors (10,04 €)

https://de.aliexpress.com/item/1005001406574630.html?spm=a2g0o.order_list.order_list_main.28.559f5c5fLFnVlx&gatewayAdapt=glo2deu

Ramps and Arduino Mega board (8,45 + ~48 €, or cheaper if you by a clone)

https://de.aliexpress.com/item/32969453106.html?spm=a2g0o.order_list.order_list_main.10.3ad75c5ftAk59b&gatewayAdapt=glo2deu

Screws to mount the stepper motors (9,59 €)

https://www.ebay.de/itm/323998342148?var=513616938418

emercency stop (3,08 €)

https://de.aliexpress.com/item/32873402318.html?spm=a2g0o.productlist.main.51.73e0a8e0eGeTdb&algo_pvid=dc11d2a3-f69d-41f5-9a6a-181df74ee46d&algo_exp_id=dc11d2a3-f69d-41f5-9a6a-181df74ee46d-25&pdp_ext_f=%7B%22sku_id%22%3A%2265602872465%22%7D&pdp_npi=3%40dis%21EUR%215.26%214.99%21%21%21%21%21%402100bbf516801207320095162d06f5%2165602872465%21sea%21DE%212600609762&curPageLogUid=lB7t1QqwzDxh

Limit switches (6 pc, 7,99 €)

https://www.amazon.de/gp/product/B07VWRS24K/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Screws for the limit switches (10 pc, 6,12 €)

https://de.aliexpress.com/item/1005003736653172.html?spm=a2g0o.order_list.order_list_main.54.3ad75c5fcPp1CV&gatewayAdapt=glo2deu

screws for the vacuum table (120 pc, 11,30 €, optional)

https://de.aliexpress.com/item/4000393931046.html?spm=a2g0o.order_list.order_list_main.11.3ad75c5fcPp1CV&gatewayAdapt=glo2deu

Total costs of all components are about 400-500 €.