Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

My Netduino CNC Machine


  • Please log in to reply
179 replies to this topic

#161 twinnaz

twinnaz

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • LocationBrampton, Ontario

Posted 11 August 2013 - 08:28 PM

Hey all I know Phil created a repo for this a while back but I needed to update the code to with with .NET MF 4.2 so I created a new public repo under a MIT License. I will try to keep it up to date and maybe toss in some new features. 

 

repo location: https://github.com/jcphlux/DazCam

 got it to work on 4.2 but throws exception on one of the interrupts so I just commented it out to test but if you get everything working just give me a shout thanks


Netduino Plus 2


#162 John Cutburth

John Cutburth

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 11 August 2013 - 08:31 PM

I have everything working just do a pull from the repo. You will need to update your Netduino to 4.2.



#163 twinnaz

twinnaz

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • LocationBrampton, Ontario

Posted 12 August 2013 - 02:00 AM

yup I have pulled from repo and I have already updated my netduino but still throwing exception


Netduino Plus 2


#164 John Cutburth

John Cutburth

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 12 August 2013 - 02:43 AM

yup I have pulled from repo and I have already updated my netduino but still throwing exception

Can you post the exceptions



#165 twinnaz

twinnaz

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • LocationBrampton, Ontario

Posted 12 August 2013 - 04:24 AM

I took a screenshot

http://imageshack.us...s/196/ec8j.png/

exception is thrown on the Limitswitch.OnInterrupt line its highlighted


Netduino Plus 2


#166 John Cutburth

John Cutburth

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 12 August 2013 - 01:30 PM

I am in the middle of rebuilding my driver board. I will try to reproduce once I am running again.



#167 EndlessHunt

EndlessHunt

    New Member

  • Members
  • Pip
  • 5 posts
  • LocationPretoria, South Africa

Posted 09 September 2013 - 08:51 AM

 

I took a screenshot

http://imageshack.us...s/196/ec8j.png/

exception is thrown on the Limitswitch.OnInterrupt line its highlighted

Hi twinnaz

 

I do not think the problem is in your code

 

I'm writing in VB and I'm getting the same error on interrupts in my project on the OnBoardButton.Oninterrupt. I'm using the on board button for some testing of my stepper code. Basically my code starts the stepper for 1000 steps when the button is pressed. On the next press in reverses direction and steps a 1000 steps again.

 

Looks like there is some errors/bugs in the dll

 

Regards

 

Deon



#168 TinkeringTurtle

TinkeringTurtle

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 17 September 2013 - 05:54 PM

Impressive project. Thanks for sharing.



#169 TLtechguy

TLtechguy

    New Member

  • Members
  • Pip
  • 3 posts

Posted 25 September 2013 - 01:46 PM

Great Project! Hope to see one of these in person soon!



#170 mak138

mak138

    New Member

  • Members
  • Pip
  • 1 posts

Posted 26 September 2013 - 04:05 PM

Hello,

Is there any kind of documentation of your dektop and netduino application, I really want to understand the code and working of your project.

Please.



#171 fozzy

fozzy

    New Member

  • Members
  • Pip
  • 2 posts

Posted 28 October 2013 - 10:05 PM

I am not sure if this would be the correct spot for this, so sorry if it is not.

 

I am new to CNC machines and the netduino. I found this project and thought what a great way to get started, so I am working on getting the parts together to build my CNC machine. I was planning on using a RotoZip for my spindle, but not sure what end mills people are using and/or recommend. I would like to cut/mill and drill plastic, wood, light aluminum (not sure what this means), and PCB boards.

 

Can anyone provide some information or good recommendations on end mills?

 

Thanks in advance



#172 John Cutburth

John Cutburth

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 28 October 2013 - 11:00 PM

 

 

Can anyone provide some information or good recommendations on end mills?

 

 

 

Thanks in advance

 

 

http://www.shapeoko.com is a good place to ask. It is the CNC machine I have but I have not been working with end mills. Everyone there is very helpful and the answer you are looking for I am sure has already been answered.



#173 onedumbtrucker

onedumbtrucker

    Member

  • Members
  • PipPip
  • 13 posts

Posted 16 March 2014 - 03:57 PM

Yay, finally got the UI to connect to my Netduino+. Now to wire it up to my driver boards. Any tips for how to connect up the Ethernet? It seems very finnicky on when it will connect and when it won't. Out of 30-40 tries I have gotten it to connect twice but I may just be missing something simple or trying to go to quickly.

 

Still pretty new to this. Any instructions on how to test the system and prepare G-Code files? It has been a long time since I did any CNC and everything I did back then was MasterCAM and HAAS machines.



#174 Darrin

Darrin

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 02 April 2014 - 08:57 PM

Yay, finally got the UI to connect to my Netduino+. Now to wire it up to my driver boards. Any tips for how to connect up the Ethernet? It seems very finnicky on when it will connect and when it won't. Out of 30-40 tries I have gotten it to connect twice but I may just be missing something simple or trying to go to quickly.

 

Still pretty new to this. Any instructions on how to test the system and prepare G-Code files? It has been a long time since I did any CNC and everything I did back then was MasterCAM and HAAS machines.

 

Hi there trucker!

 

Glad you've been successful, congratulations! Sorry my response comes late, I haven't been using my machine or monitoring this topic much lately. However last week I dusted it off and starting using it again. 

 

I'd be more than happy to help answer your questions. I haven't had any difficulty connecting to the Netduino+ via ethernet. I just configured it using Visual studio, gave it a static IP address and DazCamUI running on a laptop connects to that IP address. It's never an issue for me.

 

To prepare G-Code, I used to use TurboCAD to prepare my drawings, but now I'm using the free edition of google sketchup. I export from CAD in DXF and import into CamBam and from there I create my toolpaths and produce the g-code. Then I open that g-code in DazCamUI which drives the Netduino.

 

If you would like to chat or ask any specific questions, feel free to contact me by private message or email (planetdaz@gmail.com).



#175 Darrin

Darrin

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 12 June 2014 - 03:32 AM

 

 

 

First, thanks for a great project and a great way to make possible what has just been a dream for me for a number of years.
Finally, I am able to start my own project.

 

Hi Bernard,

 

Congratulations, that sounds great!

 

 

 

I am not sure what "Jog" is, and what should be wired to Jog X, Y and Z. ?

 

Jog refers to manually "jogging" or moving the Axes. I wired those to a 2 axis variable resistor joystick that I use to move the router around and position it. You can skip this part of the wiring, but it is pretty convenient to have. If you don't have a joystick, you could connect those to 2 potentiometers.

 

The same goes for speed override. I actually never implemented that in the software, so I'd skip that for now.

 

The limit switches are pretty simple, and you can have 1 or 2 per Axis (for Min and Max travel). If you wire 2, wire them in parallel on the same pin for each axis. This means you only need 3 pins instead of 6, since the software knows which way the axis is travelling it can assume which of the two switches was tripped if the circuit closes.

 

I hope that helps. Please keep us posted with pics and videos of your progress, we'd love to see how you go!



#176 Darrin

Darrin

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 17 June 2014 - 02:47 AM

Hi Bernard,

 

Thanks for posting pics, it's very exciting to see your progress!

 

I'm not sure what you mean about the commands.txt file, could you show me what you are seeing? I assume you are using DazCamUI to send the commands to the Netduino? 

 

To answer your question #1 to John: If you use 2 power supplies, you will need to connect their grounds together. If you are only using one power supply, that is fine too (that's what I'm doing).



#177 JLodge

JLodge

    New Member

  • Members
  • Pip
  • 2 posts

Posted 15 July 2014 - 05:59 PM

Awesome project!

 

very cool that you built it yourself! You should consider putting this project up on kickstarter... who knows - it may turn into something. 

 

Again, I applaud your ingenuity and perseverance in completing this project



#178 Darrin

Darrin

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 17 July 2014 - 10:14 PM

Great job Bernard, I never thought about making the program internationally safe. So I'm glad you found the trouble.



#179 Darrin

Darrin

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 17 July 2014 - 10:15 PM

Awesome project!

 

very cool that you built it yourself! You should consider putting this project up on kickstarter... who knows - it may turn into something. 

 

Again, I applaud your ingenuity and perseverance in completing this project

 

 

Thanks JLodge, I'm getting ready to go use my CNC machine right now. I've used it for a couple of years now and have had a lot of fun with it.

 

Not sure I'll do a kickstarter, there are so many thousands of others out there that I'd be lost in the crowd with nothing unique to offer. But anyone who wants to use my code for their own learning is more than welcome!



#180 francoisVis

francoisVis

    New Member

  • Members
  • Pip
  • 1 posts

Posted 22 November 2016 - 09:18 AM

Hey Every one,

 

Thank you for all the post this is very helpful. I am in the process of Building a cnc and without everyones work on the Software i would have been writing a Gcode parser for months. I am reworking the DaZCam Software to Run on Serial Communication as my netduino does not have a network socket on it. Initial tests seems to work Really well (Ping and Status requests). Will connect it up to the Breadboard tonight and see if the Steppers respond.

 

Will post some pics when i have something to show.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.