My first CNC machine Arduino Mega controlled!!!!

Oh great!!
The 2009 has 13 digital I/O and 6 analog input...

So you use only digital I/O?

My idea was to use 6 digital output for the motors...and 3 analog input for the limit switch...one for X, one for Y ando one for Z axis.

How you use the limit switch? only for stop the process or to correct it?

mega has more io's and only cost a fraction more.. So why not just use the mega?

Suddenly u need more io's for finding home, adjust spindle speed, sleep mode, ethernet shield, sd card etc...

Check out the stuff at reprap.org they have some really nice code

Kim

mega has more io's and only cost a fraction more.. So why not just use the mega?

Suddenly u need more io's for finding home, adjust spindle speed, sleep mode, ethernet shield, sd card etc...

Check out the stuff at reprap.org they have some really nice code

Kim

Thank you for telling me about reprap.org!!!

In Italy(infact my English isn't very well) the price of Mega is almost double of 2009...so for me is a vary big difference...

65usd vs 30usd, well i consider them both really cheap.. i recomand to make a shield anyway, then u can reuse the motheboard... I am working on a shield now, where normal ethernet cables is used to connect all of the stepper motors.. I am using mega coz i run out of pins on the 168..

Kim

What about a Seeeduino Mega, only about 30 procent more expensive than the normal Duemilanove here in DK, and you get much more room to develop on, more io pins, more flash and so on, and 3 serial interfaces more.

Thank you Zeecue!!! But I'm Italian and Arduino is an Italian project too....

So why buy a copy of your brother work if your brother still built it?

It is easy to sell a cheap copy because the Arduino team has projected it so you have any difficulty in projecting...

No it is a great ITALIAN project and I wanto to buy only original boards!!!

Well when u want to add end stop switches, computer interface and motor controller:

3*(2+2) + 4+2+2 = 20 pins
mega168 = 13+6 =19pins

So most likely when u want to add some more features u will run out of pins... I even use two motors on the x axis, so i am using around 30 pins..

So get the mega or mega copy or make your own, is my advice..

I will post my mega shield some time over xmas. need to clean it up a bit...

Kim

What about a Seeeduino Mega, only about 30 procent more expensive than the normal Duemilanove here in DK, and you get much more room to develop on, more io pins, more flash and so on, and 3 serial interfaces more.

Technically true, although the pin configuration is not compatible with the arduino mega. It's Duemilanove compatible, but not Mega compatible. Not a big deal if you're not building a full shield for your project around the Mega. I did, and ordered the seeeduino mega and can't use them for my project. :-[ My fault for not doing my research better. Good thing I only ordered 2 of them.

this machine can be made using atmega 328 on the single sided S3V3

6 pins for motors and 6 for limit switches... 12 total, also the limits can be multiplexed on the analog, but you will have to modify the code....

i use the same pins on the mega that anyone could use on the duemilanove..... read the init tag on the code.....

seeduino mega may do very good also...... same as arduino mega!!!!!!

i want to add now a stop button for emergencies and also a joystick to my electronics..................

but i have a bigger problem now...... dremel bits are very bad for the job.......... maybe going to change the tool..... cant find better bits for cutting mdf here in my country....

cant find better bits for cutting mdf

That's because MDF is not meant to be cut in the way that you are trying to cut it. MDF was designed to use up the sawdust that gets produced during the production of real wood products. Silly people keep buying that crap because it's cheap.

A proper endmill and spindle speed of approx16000 and feedrate of 100mm/sec should be ok to cut mdf

I wat to see another arduino controlled cnc machine....!!!!!!!!!

where are you cnc/arduino people?

I'm a CNC/Arduino person in training! I've been lurking on this thread, watching for good info. ::slight_smile:

I have my motors, building materials and limit switches. And I just got a bunch of bar/slide assemblies from broken inkjet printers. Next up is the motor controller parts and then I'll start building mine. I'll probably start on it in Jan.

I'm building a Repstrap that at the moment is going to use a Piker-X controller, but eventually I'm probably going to upgrade things to a Arduino controller because I want to use it in a full Reprap 3-D printer eventually.

Very nice project. Are the 3 steppers you are using different power output? :slight_smile: :slight_smile:

my 3 steppers are using the same power supply.... 17 volts....

this is my first try with 3d shapes....

wow, that looks good!

have you made some sample patterns?

things what show you how good everything is working, like a square to test the angles or a circle for smoothnes?

test? i have been making a lot of things....... jajajaja

making my arduino mega controll box to get things organized...