Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: December 02, 2013, 10:24:33 am

Not sure what you mean. They connect to the arduino with the SPI port and I use the software I wrote to access the chips. See the data sheet for what each register does if you want to do more than what I did in the code.
[/quote]

I understand how do they connect to the arduino and I dod not want to do more than your code.
What I want is to understand how your code works. (I have an example http://playground.arduino.cc/Main/MCP23S17 but it uses a library)

On your code you write :

byte expanderR(byte com,byte add)
{
  byte value;
  digitalWrite(SS_PIN, LOW);
  Spi.transfer(com);  // address read
  Spi.transfer(add);   //  register address
  value = Spi.transfer(0x0);   //  dummy data for read
  digitalWrite(SS_PIN, HIGH);
  return value;
}

byte expanderW(byte com, byte add, byte dat) // expander read
{
  digitalWrite(SS_PIN, LOW);
  Spi.transfer(com);  // address write
  Spi.transfer(add);   //  register address
  Spi.transfer(dat);   //  register data
  digitalWrite(SS_PIN, HIGH);
}


Can you tell how you use com, add, dat ?


Sorry my question may be stupid but I am reading the datasheet
and I can not tell that I understand all of what I read.I am in the start
 of the datasheet but I would like a little help if it is possible.

2  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: December 02, 2013, 09:40:17 am

Grumpy_Mike can you tell me more on how do you control the expanders ?
3  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 20, 2013, 03:31:22 am
Thank you Guys !
I just bought from ebay this one :
http://www.ebay.com/itm/400579896042?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

I also started building Grumpy_Mike's pcb as I wait to receive the rest components from abroad.

4  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 15, 2013, 03:01:24 am
Use a USB to RS232 lead.
Here is one:-
http://www.amazon.co.uk/USB-RS232-Converter-Cable/dp/B00077DJIQ
but there are thousands of different ones.

Is there any problem with support on 64 bit Windows 7 ?
Because there where some comments at the end of your site that said about an issue.
I also read on ebay that it does not support windows 7.

http://www.ebay.com/itm/USB-2-0-to-RS232-SERIAL-Cable-9PIN-9-PIN-DB9-Adapter-Cord-PDA-GPS-XP-VISTA-/300842105372?pt=AU_CablesConnectors&hash=item460b963a1c
5  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 14, 2013, 05:00:32 am
Quote
Grumpy_Mike is it possible with the way you constructed your cnc's hardware (max202) to upload another sketch ?
Yes, you just upload it as normal.

As I have laptop and it has no any external RS232 connector how could I connect your board via usb without creating any problem to the operation of your project ?

Can I replace the RS232 connector with USB connector , connecting it with a special way ? Or it is not Possible ?
6  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 11, 2013, 04:38:28 am
Initially I want to make a CNC for PCB and wood engraving. I suppose that it does not need
very fast stepper motors. But my aim is later to develop it more, and transform it to 3D Printer.
So then the speed may be important. This is why I ask you about what you think the characteristics
should be.
So what do you think that it would be appropriate ?
Also what Rated Current is better stepper motors to have ? Anything less 1,3 ?
7  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 11, 2013, 03:07:02 am
Grumpy_Mike, that is perfect !

Which are the special characteristics a CNC’s or 3D Printer’s stepper motors should have ?
Do you have any stepper motor in mind on ebay.com which looks a good choice ?
8  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 07, 2013, 03:46:44 am
Quote
On your A4988 drivers do you have any heatsink
On the CNC miller no.
On the RepRap yes.
It just depends on the current you want to run the motor at. Anything over 1.3A or so needs a heat sink.

Thank you Grumpy_Mike ! I already ordered my stepper motor drivers !

Grumpy_Mike is it possible with the way you constructed your cnc's hardware (max202) to upload another sketch ?
9  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 05, 2013, 04:04:24 am
@Chipakias, I don't have any answers to your questions. I only have A4988 drivers - which I bought on the basis of price and availability. My stepper motors don't take much current so they won't stress the drivers. In any case I have used them very little so far - distracted by other projects.

...R

On your A4988 drivers do you have any heatsink ?
10  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 05, 2013, 02:55:30 am
I made hardware provision for a hand set and limit switches. The limit switches are used in the code to stop the advance of the stepping motor. However I have not physically connected them up on my machine, and just use a socked with the switch contacts shorted out.
The handset has not been implemented at all. I had thought of over ride switches to stop the miller and nudge buttons to align the tool. Also possibly a EEPROM option to make the miller stand alone.

Grumpy_Mike did you have any problems with A4983 stepper driver ? What is your suggestion ?
11  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 05, 2013, 02:52:45 am

Robin2 Thank you for your answer !
So I have to buy drivers. Which do you thing is better ?
1) A4983
2) A4988
3) DRV8825

I have read that A4983 has some issues, it gets too hot and it looses steps.
Is it true ?

A4988 I thing that it is like a A4983 clone but some things change a little but practically is it better ?
Does it has also problems with temperature ?

DRV8825 is it better that the other two ? (almost double price!)
What about temperature ?
12  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 04, 2013, 06:27:31 am
Grumpy_Mike thank you for your answer,however, I would also like to make you another question !   smiley-lol

You have used as Stepper Motor Drivers some A4983 boards. My question is if it is possible I to use
the SN754410NE driver. I make you this question because I have already 5 drivers and if it is possible I
would like not to make some unnecessary expenses.

What do you thing ? Is it possible ?
13  Using Arduino / Project Guidance / Re: Need Help with 3d printing code and arduino uno on: November 01, 2013, 03:18:50 am
Oh Yeah, with the old library the code has no problem, Its just perfect !
Thank you Grumpy_Mike !

I analyze your code and generally your project and there are some things that I do not understand,
so I would like to make you some questions about your project.

On the schematic at your site, you mention " limit switches ". (On the right side of your first expander)
These are the switches which you wanted to easily set the stepping size but you finally did not use ?

Under this you mentioned front panel DIN Connector for handset. What do you mean with handset?
It is in case you want to handle the CNC manually for instance with the use of a joypad ?

Sorry about the questions, they may be silly but I want to be sure that I understand exactly what you did
at your project.

Thank you in advance !
14  Using Arduino / Project Guidance / Re: 3d printer using arduino uno on: October 31, 2013, 04:09:24 am
Grbl runs on "328-based Arduinos" What do you think your UNO is ? smiley-wink Yes it run on the UNO. Now you might think that GRBL is too feature heavy for your needs, but it is usually easier to remove code that to insert new stuff

Could you please upload any ready sketch because I can not find any (compatible with arduino uno) ?
15  Using Arduino / Project Guidance / Re: 3d printer using arduino uno on: October 31, 2013, 02:45:36 am
Anyone mentioned GRBL yet? It is a G-code interpreter for the Arduino.

Yes but have you found any sketch which work for Arduino Uno ?
Pages: [1] 2 3 4