Show Posts
Pages: [1]
1  Community / Gigs and Collaborations / Re: Help with CNC Sewing Machine Programming on: July 20, 2013, 12:16:30 pm
Actually I was originally going to make it into a CNC type machine where I can input GCode and have the sewing machine produce the pattern. However, I think that's a little bit of overkill for what I need. All I need is the pattern hard coded. The pattern is basically a square with an X in it.

I had someone start the coding project and then they disappeared. What we did figure out to make it work was we needed to sync the speed of the movement of the table with the speed of the needle. Knowing that the stitch length would always be a constant, the movement of the table would need to speed up if the needle speed increased and vice versa. I have a hall sensor mounted on the machine and can set it to detect as the needle is just leaving the fabric. The thought was once the needle was detected outside of the fabric, then the fabric could be moved to create the stitch. Obviously if the needle is in the fabric and the table moves, the needle will break.

The speed of the machine is controlled by a digital potentiometer and I already have it hardwired into the machine.

so far I have the following components coded (which could be the foundation for the final code)

1. Commands implemented for movement of the XY carriage in both absolute and relative
2. Needle speed diagnostic that slowly increases the speed of the needle via the potentiometer and reads the speed via the hall sensor

What still needs to be done:

1. Coding for the limit switches
2. Hardcoding the pattern
3. Synchronizing movement of the table with the needle speed
2  Community / Gigs and Collaborations / Help with CNC Sewing Machine Programming on: July 20, 2013, 01:57:47 am
Hi,

Looking for a freelancer to help me with coding my XY table for a CNC sewing machine. Had some interest of people starting the project and then suddenly stopping.

Please PM me if you are interested.

Thanks
Henry
3  Using Arduino / General Electronics / Help with Mega and MCP41010 Digital Potentiometer on: December 15, 2012, 03:36:31 am
Hi,

I have an Arduino Mega and MCP41010 Digital Potentiometer and it doesn't seem to be adjusting the resistance. Has anyone had luck with this combination as I can't get it to work. I used the 5 chips I've had and all don't work. The Mega board also seems to be working properly so all I can think that is causing the problem is the code.

Anyone have code that works? Or is there something in particular I need to add in the code?

Thanks
Henry
4  Using Arduino / Project Guidance / Re: CNC Sewing Machine with Arduino - is it possible on: November 23, 2012, 08:49:30 am
Yes a hall sensor would make perfect sense so I know the speed.

I am just doing simple stitches not embroidery. It's just a square box with a X stitch inside it.
5  Community / Gigs and Collaborations / Help with a CNC sewing machine - paid or barter! on: November 22, 2012, 01:22:37 pm
Hi,

Thanks for looking at this post. I'm new to this Arduino stuff but it seems fairly straight forward but I just don't have the time to research or write code and am looking for someone to help me with part selection and programming. I'll do the construction and testing on my side, just need your expertise. I own a sportswear company so can trade product for your service or pay a fee. This is what I would like to do:

Control an XY table on a sewing machine so I can sew a repetitive pattern 2" x 4" (basically a rectangle with an X in it)

Here's the information I have so far:

1. Motor drive on sewing machine is DC and uses a potentiometer to control speed. I will use a digital potentiometer like the AD5206 Digital Potentiometer to control the speed of the machine.

2. I will be using a pair of stepper motors to drive an XY table

3. A relay will be used to activate the electronic thread cutter on the sewing machine

4. An optical sensor will sense the starting position of the needle. If it is not in the correct position, the program will not start. The machine will be manually moved so the needle is in the correct position before beginning. It would be cool to use the digital potentiometer to start the machine very slow until the optical sensor triggers for the needle to be in the correct position. Seems possible, just some coding I think.

5. A program will need to be written for the movement of the stitch I want

6. A big button to start everything going


Here's the sequence of how everything will start:

1. On power, XY table will move into home position.

2. Fabric will be clamped in (I don't require Arduino for this)

3. Hit the big button to start everything

4. Optical sensor will check the position of the needle. If not in the correct position, it will jog the machine slowly until the needle is in the correct position. Once in the correct position, the XY table will move to start the sewing.

5. The speed of the machine and the XY table will be in sync. If the sewing starts slow, then the XY table will move slow, if the sewing is quick then the XY table will move quick. The reason we need this is the stitches need to be a consistent distance and this will prevent the needle to be embedded into the fabric and the XY table moving causing the needle to break. **pattern is sewn at this point**

6. Relay activated and the automatic thread cutter is activated

7. XY table moves into the home position.

That about sums up the project. I need help on selecting the correct boards and components although I have a very good idea already and someone to write the program for me with a simple GUI interface. I'm located in Hong Kong.

Thanks for your time and email me at info@avidasportswear.com if you are interested in the project.

Thanks
Henry
6  Using Arduino / Project Guidance / Re: CNC Sewing Machine with Arduino - is it possible on: November 22, 2012, 12:25:31 pm
I'm based in Hong Kong. Yes sorry I meant stepper motors, accuracy isn't really that important for me as I'm just sewing a 2" x 4" X onto a piece of velcro. I figure I would just save my sewing ladies hands from Carpal tunnel and automate the process smiley

I think the digital potentiometer will do the trick. Seems simple enough and I'm not really worried about efficiency so don't necessarily want to go down the PWM route. I guess the question with the digital potentiometer is can I vary the resistance (ie. voltage) and syncronise it with the speed movement of the XY table? So, if the sewing machine sews slower, the XY table moves slower and if the machine sews faster, the XY table sews faster.
7  Using Arduino / Project Guidance / CNC Sewing Machine with Arduino - is it possible on: November 22, 2012, 11:01:30 am
Hi,

I am looking at the feasiblilty of adding an XY table to my sewing machine. It seems possible but wanted to make sure I could do the following:

1. Simulate a potentiometer - the machine uses a potentiometer to control the speed of the machine. I believe it is +5V and it will run full speed and I assume at +2.5V it will run at half speed. The physical potentiometer now obviously adds resistance and reduces the voltage to the drive board and in turn will reduce the speed of the motor. Can arduino send a voltage signal to the board to start and slowly ramp up the speed by increasing voltage slowly to a maximum of +5V?

2. I will be using servo motors to drive the XY table. I need to sync the speed of the XY table motors with the speed of the machine. Can I control the speed of the servo motors to gradually speed up at the same rate as I drive the machine using the method above? These need to be synced otherwise with a speed mismatch, the needle might be embedded in the fabric while the XY table is moving.

3. Are there freelance people who could write the program for me for a fee?

Thanks in advance for the help.

Henry
Pages: [1]