1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

DIY Coil Winder

Discussion in 'General Electronics Chat' started by wombweller, May 2, 2010.

  1. wombweller

    wombweller Member

    Joined:
    Sep 1, 2007
    Messages:
    364
    Likes:
    0
    Hi All
    Just to let you know I've not given up on the coil winder just looking at the options and doing some tests.

    Main issue is the practicality of using a threaded bar for the traverse system.Before I commit to lots of work especially by other people willing to help out I want to look at it closer.

    I'm going to do some test.

    Cheers
     
  2. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,022
    Likes:
    317
    Location:
    Brisbane Australia
    ONLINE
    I've had a play with this and got a circuit board built that can drive 2 stepper motors. I'll have a go at getting the hardware built this week and then I may be able to post details.

    Sneak peek in attachment.

    Mike.
     

    Attached Files:

  3. wombweller

    wombweller Member

    Joined:
    Sep 1, 2007
    Messages:
    364
    Likes:
    0
    Hi Mike

    Great guns!!! looking forwards to putting it together.

    Cheers Mark
     
    Last edited: May 23, 2010
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Reloadron

    Reloadron Well-Known Member Most Helpful Member

    Joined:
    Dec 23, 2009
    Messages:
    6,778
    Likes:
    281
    Location:
    Cleveland, Ohio USA

    Wow, coming along isn't it? Just a matter of time & parts till you have something running. Keep posting as things move along...

    Ron
     
  6. bryan

    bryan Member

    Joined:
    Jun 21, 2003
    Messages:
    416
    Likes:
    3
    Location:
    Vancouver, Canada
  7. wombweller

    wombweller Member

    Joined:
    Sep 1, 2007
    Messages:
    364
    Likes:
    0
    Hi Mike

    How's it comming on? I'm very interested.
     
    Last edited: Jul 1, 2010
  8. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Hi all,

    Mike was kind enough to leave his schematics to me. I added two extra functions counting the numbers of turns using a Hall-sensor and an emergency-stop button. (The PIC16F877 still had some unused I/O pins :)).

    The entire device requires two PCBs, one main board and the count sensor board consisting mainly of a TLE4905 (Hall sensor).

    I paid special attention to keep the board single sided with straight wire jumps. The sensor board is also single sided (top layer only). Note that the south pole of the magnet must face the sensor for proper turns count.

    If Mike takes care of the software you should have good tool to wind all kinds of coils (as long as the stepper motors can handle the coils).

    Here are some pdf files for the project.

    Everybody interested in the Eagle files might PM me leaving his email address. Eagle files were generated using Eagle version 3.55 professional, but can be handled by any newer version, not trying to move any part on the PCB because of the board size limitation of the light version (100X80mm). Possible error messages about "restring" can be ignored.

    Main board size is 173.99X99.3775mm (6.8375X2.9125inches)

    Regards

    Boncuk
     

    Attached Files:

    Last edited: Jul 1, 2010
  9. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,022
    Likes:
    317
    Location:
    Brisbane Australia
    ONLINE
    I've not forgotten about this. I built a carriage (attached) but it binded quite badly due to it not being straight. I've half built a second one and should get time to finish it next week.

    Thanks Hans for uploading the board etc. If anyone is planing on making their own I did a single sided version with bigger clearances. I'll post the solder side if anyone is interested. I didn't bother with the hall sensor as I planned on keeping track of the number of steps. The attached image of the board shows a 16*2 LCD but it fits a 20*4 as shown on the assembled board.

    Mike.
     

    Attached Files:

  10. wombweller

    wombweller Member

    Joined:
    Sep 1, 2007
    Messages:
    364
    Likes:
    0
    Thanks Mike and Hans.
    Hi

    Thanks Boncuk and Mike for the extensive effort.

    I am very interested in making my own coil winder from the info supplied.Is final build still using one stepper for coil winder and one for wire traverse?

    I'm not at the level of making my own PCB. although I ought to be giving it a go!! so might end up using vero board.
    I will follow Han's schematic for that.!!!!

    Boncuk did you add extra code so You could use an Hall effect counter?
    Is the final code ready to share?

    I am so pleased with this thread and to those who help out others.

    Kind regards
    Mark
     
  11. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Hi Mark,

    unfortunately I have not the slightest idea how to write code for a µC. :(

    I just try to do good circuit and PCB design. :)

    Mike would certainly not have introduced the project if weren't ready to share the code with everybody interested in the circuit.

    I guess one of the reasons why the device didn't wind as desired is certainly the fact, that he uses a worm gear without the necessary precision.

    Thinking of coils with 0.06mm copper diameter (1,300 turns on a bobbin of 8X10X4mm (outer diameter height and inner diameter)) I had to wind (manually) once the slip in the worm gear will mess up the overall result pretty well. Not wound accurately the final coil exceeds the outer diameter which should slip into a cylinder.

    I guess using a deflection coil instead of a stepper motor and a worm gear will have better results with almost no mechanical restriction.

    If I get the time I'll travel to Bangkok and have a look for precision worm gears to be used for accurate turn by turn windings.

    Regards

    Boncuk
     
  12. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,022
    Likes:
    317
    Location:
    Brisbane Australia
    ONLINE
    I managed to have a play with this today and a few problems have appeared. The 16f887 is not big enough and I have severely run out of stack space - solution, ordered some 18F4620. I will run out of room with the free BoostC compiler very soon - solution, going to switch to the C18 compiler.

    For anyone curious, this is what it does so far,


    And the code so far is attached. It's a bit rough and I had to move the step code inline to keep within the stack limits, hence the very long interrupt. I should be able to tidy it up when the new chips arrive.

    Mike.
     

    Attached Files:

    Last edited by a moderator: Sep 10, 2013
  13. wombweller

    wombweller Member

    Joined:
    Sep 1, 2007
    Messages:
    364
    Likes:
    0
    Hi Mike
    Great work thus far!!:)

    Did you include traverse limits set up 'left/right' so the length of coil can be adjusted, far beyond me to workout the coil winding speed to the traverse speed and put in to auto mode:eek: I suppose if you have independent control both can be married up..

    What are you going to use for turn counting?
    Boncuk is using Hall effect sensing, does your code allow for this as a readout on the LCD.?

    I'm very excited by this but I will wait until you have a working model before I go in feet first.

    Will I be ok to make up the board at this stage? don't want to get ahead of myself!!

    Kind regards
     
  14. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,022
    Likes:
    317
    Location:
    Brisbane Australia
    ONLINE
    Hi Mark,

    At the moment you can set the limits via the keypad. For the traverse speed I envisage entering the wire diameter and it calculating the speed internally. For counting the number of turns I'll simply keep track of the steps the motors have done, 200 steps = 1 rev. You could make up a board at this stage but it's probably worth waiting a while as invariable something will need refining. If you are going to have a go at making it yourself I can post an image of the board. I just noticed an error on Hans board so don't use that one yet.

    Hans,
    I just noticed on your schematic that Mclr isn't connected to the ICSP socket (A3 is instead).

    Mike.
     
  15. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Oops! Will be corrected right away.
     
  16. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Hi Mike,

    MCLR was connected correctly to the ICSP-connector. There were just two adjacent nets making it look like the connection was made to RA3.

    However I forgot use a pull up resistor for MCLR. It's added now (R15, 10K)

    If you count the motor steps without feedback you actually don't know if the motor has moved with every step.

    A Hall-sensor to count actual revolutions won't hurt.

    Regards

    Hans
     

    Attached Files:

    Last edited: Jul 4, 2010
  17. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    improved PCB design

    Hi All,

    I changed the schematic applying some "cosmetic" corrections. Now it should look clear.

    All power traces have been increased to a width of 0.056" (1.4224mm) and the rest is 0.016" (0.4064mm).

    Via diameter and drill are 0.056" (1.4224mm) and 0.032" (0.828mm)

    The PIC18F4620 is pin compatible with the PIC16F877. All I changed there was the device "value".

    Boncuk
     

    Attached Files:

  18. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Precise traverse drive

    Hi again,

    the only precise way to wind a coil is using a ball screw with (almost) zero lag.

    The wire feed must stop 1/2 wire width at both ends of the bobbin and reverse direction.

    Have a look at this data sheet.

    Boncuk
     

    Attached Files:

    Last edited: Jul 6, 2010
  19. atferrari

    atferrari Well-Known Member

    Joined:
    Oct 8, 2003
    Messages:
    2,812
    Likes:
    121
    Location:
    Buenos Aires - Argentina
    How to couple a stepper to ball screws?

    Hola Boncuk,

    What is a pratical and reliable way of coupling a stepper to a ball screw?

    And what if I want to ensure the possibility of changing the initial stepper for a bigger/smaller one (thus bigger/smaller shaft). Any "universal" (non expensive) solution possible?
     
  20. atferrari

    atferrari Well-Known Member

    Joined:
    Oct 8, 2003
    Messages:
    2,812
    Likes:
    121
    Location:
    Buenos Aires - Argentina
    Coupling and mechanical details.

    Hola Pommie,

    Understand that this is still an ongoing project.

    How did you manage to couple the stepper to the worm? Are you using bushes or bearings?

    From the video I cannot say how you did it. More details you give, the better. Mechanics is not my strongest point.

    I will appreciate any information you can give.
     
  21. gaitadura

    gaitadura New Member

    Joined:
    Sep 19, 2010
    Messages:
    3
    Likes:
    0
    Hello :

    I´m Carlos from Portugal and it´s the first time i use forum, well i need to transform the code C++ in ASM to put inside pic.
    What is the program to make that operation ?
    I´s it possible to you put here the code in ASM or Hex?


    Thanks for your help!
    Sorry bad english!


    Carlos Pires
     

Share This Page