Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arduino Based Controller(s) for my Mill and Lathe
#1
I originally had a launchpad based controller on my mill, which, whilst it worked - was never 100% reliable. And I could never get the tach to work on it. Aaaand it was a bitch to upload the firmware using my Mac and OSX. So I completely re-did my controller with Arduino Unos and prototype boards, as per Yuriy's instructions over on his website.

[Image: ifaceinside1.jpg]

The Arduino is mounted on some hex standoffs epoxied into the case, and the the protoshield just mates with the Uno. All of the axis, tach & bluetooth feeds are terminated with plugs to allow assembly to be easier. The sensor connections to the outside world are all circular 4 (or 3 pin in the case of the tach) locking connectors.

[Image: ifaceinside2.jpg]

9V supply comes in from the bottom, and there's a USB connector for upgrading the firmware if needed. The bluetooth module is attached to a small rail that clips in place over two of the lid fixings.

[Image: ifaceinside3.jpg]

There's a reset button on the front - and you can see the circular connectors down one side. The USB is on the other

[Image: latheiface.jpg]
[Image: latheiface2.jpg]

I'm running the latest and greatest firmware / arduino sketch from Rysiu's Website. V5.11 at the time of posting.

If any one is interested, I can post up a bill of materials and links to the components I used. They will all be UK suppliers though as I'm over here in Blighty. Smile
Reply
#2
Nice work! I need to get my arduino board running.
Reply
#3
Nice solid box.
I like that you added the USB cable extension to the outside so you can plug in if needed without opening it up.
Reply
#4
Bonjour à tous,
Existe-t-il une version sketch pour Mixed Scale Firmware for MSP430 LaunchPad ?
Cordialement
Georges

Hello everyone,

Is there a sketch version Mixed Scale Firmware for MSP430 LaunchPad?
cordially
Georges
Reply
#5
(06-16-2016, 04:41 PM)GreatOldOne Wrote: I originally had a launchpad based controller on my mill, which, whilst it worked - was never 100% reliable. And I could never get the tach to work on it. Aaaand it was a bitch to upload the firmware using my Mac and OSX. So I completely re-did my controller with Arduino Unos and prototype boards, as per Yuriy's instructions over on his website.

[Image: ifaceinside1.jpg]

The Arduino is mounted on some hex standoffs epoxied into the case, and the the protoshield just mates with the Uno. All of the axis, tach & bluetooth feeds are terminated with plugs to allow assembly to be easier. The sensor connections to the outside world are all circular 4 (or 3 pin in the case of the tach) locking connectors.

[Image: ifaceinside2.jpg]

9V supply comes in from the bottom, and there's a USB connector for upgrading the firmware if needed. The bluetooth module is attached to a small rail that clips in place over two of the lid fixings.

[Image: ifaceinside3.jpg]

There's a reset button on the front - and you can see the circular connectors down one side. The USB is on the other

[Image: latheiface.jpg]
[Image: latheiface2.jpg]

I'm running the latest and greatest firmware / arduino sketch from Rysiu's Website. V5.11 at the time of posting.

If any one is interested, I can post up a bill of materials and links to the components I used. They will all be UK suppliers though as I'm over here in Blighty. Smile

Very tidy job. A bill of materials would be very handy thanks, particularly the case. I'm in Blighty too so no problem ordering. I already have mine made up on a home designed pcb layout using an Arduino Nano (the boards were professionally produced) but I dropped a clanger in sizing the board without first checking on available case dimensions. Now I'm looking for a neat case like yours. My board is 68mm X 96mm. Thanks.
Reply
#6
(10-22-2016, 11:52 AM)Quenton Wrote: Very tidy job. A bill of materials would be very handy thanks, particularly the case. I'm in Blighty too so no problem ordering. I already have mine made up on a home designed pcb layout using an Arduino Nano (the boards were professionally produced) but I dropped a clanger in sizing the board without first checking on available case dimensions. Now I'm looking for a neat case like yours. My board is 68mm X 96mm. Thanks.

Hi Quenton,

Here's the BOM, with links to each component.

Linear Scales from Arc Euro Trade: http://www.arceurotrade.co.uk/Catalogue/...te-Display
1 x Arduino Uno from CPC: http://cpc.farnell.com/arduino-org/a0000...dp/SC13001
1 x Adruino Proto Shield CPC: http://cpc.farnell.com/wirelessthings/pr...dp/SC13297
3 x 4 way circular connectors from CPC: http://cpc.farnell.com/cliff-electronic-...dp/CN16293
3 x 4 way circular plugs from CPC: http://cpc.farnell.com/cliff-electronic-...dp/CN16286
4 way pcb headers from CPC: http://cpc.farnell.com/leoco/2571p04h000...dp/CN05581
4 way pcb plugs from CPC: http://cpc.farnell.com/leoco/2530s040013...dp/CN05534
Plug Pins for PCB from CPC: http://cpc.farnell.com/leoco/08-50-0032/...dp/CN05551
1 x Enclosure from CPC: http://cpc.farnell.com/camdenboss/bim200...dp/EN82353
3 x 1uf Cap from CPC: http://cpc.farnell.com/panasonic-electro...dp/CA07028
1x HC06 Blue Tooth Module from eBay: http://www.ebay.co.uk/itm/1-2-3-4x-Ardui...5d47468557
1x Roll of Armoured sleeving (10m) eBay: http://www.ebay.co.uk/itm/Cable-Armour-C...4ae2c162d1
1x USB panel mount from eBay: http://www.ebay.co.uk/itm/Startech-1-ft-...43f0921b89
1x Power Jack from Maplin: http://www.maplin.co.uk/p/maplin-25-x-55...plug-hh62s
Power Socket from Maplin: http://www.maplin.co.uk/p/25-x-55mm-sing...cket-jk10l

That's per interface. You will also need some small ceramic caps and various resistors, usb leads and wire. you'll also need a three way (or more if directional) socket and pug for any tach feeds.

Cheers

Jason
Reply
#7
(10-25-2016, 03:24 PM)GreatOldOne Wrote:
(10-22-2016, 11:52 AM)Quenton Wrote: Very tidy job. A bill of materials would be very handy thanks, particularly the case. I'm in Blighty too so no problem ordering. I already have mine made up on a home designed pcb layout using an Arduino Nano (the boards were professionally produced) but I dropped a clanger in sizing the board without first checking on available case dimensions. Now I'm looking for a neat case like yours. My board is 68mm X 96mm. Thanks.

Hi Quenton,

Here's the BOM, with links to each component.

Linear Scales from Arc Euro Trade: http://www.arceurotrade.co.uk/Catalogue/...te-Display
1 x Arduino Uno from CPC: http://cpc.farnell.com/arduino-org/a0000...dp/SC13001
1 x Adruino Proto Shield CPC: http://cpc.farnell.com/wirelessthings/pr...dp/SC13297
3 x 4 way circular connectors from CPC: http://cpc.farnell.com/cliff-electronic-...dp/CN16293
3 x 4 way circular plugs from CPC: http://cpc.farnell.com/cliff-electronic-...dp/CN16286
4 way pcb headers from CPC: http://cpc.farnell.com/leoco/2571p04h000...dp/CN05581
4 way pcb plugs from CPC: http://cpc.farnell.com/leoco/2530s040013...dp/CN05534
Plug Pins for PCB from CPC: http://cpc.farnell.com/leoco/08-50-0032/...dp/CN05551
1 x Enclosure from CPC: http://cpc.farnell.com/camdenboss/bim200...dp/EN82353
3 x 1uf Cap from CPC: http://cpc.farnell.com/panasonic-electro...dp/CA07028
1x HC06 Blue Tooth Module from eBay: http://www.ebay.co.uk/itm/1-2-3-4x-Ardui...5d47468557
1x Roll of Armoured sleeving (10m) eBay: http://www.ebay.co.uk/itm/Cable-Armour-C...4ae2c162d1
1x USB panel mount from eBay: http://www.ebay.co.uk/itm/Startech-1-ft-...43f0921b89
1x Power Jack from Maplin: http://www.maplin.co.uk/p/maplin-25-x-55...plug-hh62s
Power Socket from Maplin: http://www.maplin.co.uk/p/25-x-55mm-sing...cket-jk10l

That's per interface. You will also need some small ceramic caps and various resistors, usb leads and wire. you'll also need a three way (or more if directional) socket and pug for any tach feeds.

Cheers

Jason

Thanks Jason, much appreciated.

Cheers

Quenton
Reply
#8
I'm really sorry all of you Mac people have so many issues with the MSP, it really is a much better platform for this application. Maybe TI needs to spend a little more time on the interface with the MacOS...

The MSP firmware tach issue has been known about for quite some time. I went through Yuriy's code line by line and there is no reason why it SHOULDN'T work, but for some weird reason, it wasn't working in most cases. I wrote new code for the MSP that addressed it, and it seems to work. It is freely available at:

https://drive.google.com/open?id=0B3j4jK...01KRzQxbVk

That code is ONLY for the base iGaging scales. It is based on Rysiu's Arduino code (read that as Rysiu's code re-written for the MSP) and the focus is on getting the scale reads to the app, the tach readout is secondary. If someone wants to convert that code over to other scale output formats, feel free!
I will be happy to answer any questions anyone has about that particular piece of code.

Brian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)