586,075 active members*
4,182 visitors online*
Register for free
Login
Page 38 of 41 283637383940
Results 741 to 760 of 815
  1. #741
    Join Date
    Sep 2007
    Posts
    6
    I recently picked up one of these controllers to use as part of a small tube bender project.... please excuse my seemingly super simple question but is there a wiring diagram for connecting one fo these controllers to a driver? I am attaching a couple pics of what i have gathered together so far. I am familiar with connecting the 4 wire stepper motor and power supply but can someone help me connecting the driver to the controller? do i need a seperate power supply for the controller (5v) as well?

    again sorry, i am not big on electronics more on fabrication.. so im going out on a limb here trying to put this together cheers!

    Attachment 215990

    Click image for larger version. 

Name:	2DD5860B-3ADE-45F7-B0AB-7997F0123A49-855-000000D01586E3C3_zps880c1c9c.jpg 
Views:	7 
Size:	76.7 KB 
ID:	215992

  2. #742
    Join Date
    May 2006
    Posts
    184
    Hi Dankycnc,

    On the driver, connect the PUL- and DIR- together and connect this to the GND connection on the controller.
    Then take a wire from PUL+ to Step and another from DIR+ to Dir.

    That should be it.

    With regards to power the controller only should have two wires connected to the power socket these are Vin and Gnd. (Don't connect anything to the +5v pin - this is only for drivers that require a 5v supply).
    What voltage is the power supply you show? If it's 24v or less then take the power from this to the Vin on the controller and another wire from ground(-ve) to ground. If it's much higher (say 48v) then you'll need to find a separate supply (say 12v) to provide power for the controller.
    (Remember to fit a heatsink to the 7805 on the controller - a small one for 12v and a bigger one for 24v. )

    Hope this helps,
    Steve.

  3. #743
    Join Date
    Sep 2007
    Posts
    6
    Perfect! thanks Steve! worked a charm, i have the unit running... im just designing an enclosure for it now...

    btw is is possible to run a 5v pc fan from the board? my power supply is 24v, I added a heatsink but would like to design the enclosure to have a fan pulling air across it if possible.

  4. #744
    Join Date
    May 2006
    Posts
    184
    Can you connect a 5v fan? Probably... ;-)

    The 7805 is (probably) rated at 1A so as long as the total current is less than that you'll be OK. The module pulls about 50mA but when connected to a driver this can be as high as 100mA so there's 900mA in hand.

    The main issue is dumping the extra heat. The power lost in the regulator is given by P = V x I, so for a 24v supply V is 24-5 = 19.
    With 100mA the power lost is 19 x 0.1 = 1.9w which is easily manageable with a smallish heatsink (look at the degrees per watt figures for heatsinks). But if you pull say 0.5A then this rises to 9.5w which requires much more cooling. In fact the irony is that you probably need the fan to keep it cool because you've got a fan...

    By far the best option if you wish to run air through it is to get a 24v fan. Alternatively what I did was use a 7812 to provide a 12v supply, this was bolted directly to the case and runs a 12v fan I had lying around. (Typically the current used by the fan drops off at the same rate the voltage increases - a 24v fan of similar design to a 5v fan uses about a fifth of the current).

    Something else to consider, you may find a 12v fan connected to 5v will move enough air to keep it cool. It'll run slower so be quieter and use less current...

  5. #745
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    If anyone is interested I have new PCB's in stock on my site.

    I've changed the design slightly:
    There's an extra 100nF decoupling capacitor on the input side of the regulator. I've moved the 5v line from the power socket to the driver socket (since it's only used by drivers anyway and there's much less chance of accidentally blowing anything up!). I've shifted components around slightly and there's a second driver socket (not used for the divider but may be used in the future for other projects).

    I've updated the files in the downloads section to reflect the changes and added a zipped set of gerber files for anyone who wants to make their own.

    See: World of Ward :: Home.

  6. #746
    Join Date
    Dec 2009
    Posts
    2

    Re: Rotary table indexer

    Hi Steve, I have just ordered a PCB, components and a PIC18F452 from your site and I'm looking forward to having a go at constructing this project.

    One question for you - or anyone else for that matter. I am having trouble getting MPLAB set up for programming in C. Previously the little bit of PIC programming I've done has all been in assembler. Now I have set up with MPLAB 8.92 and the old HiSoft Lite version of PICC18 - I want to program 18F4520 chips. But I can't get it to work. When I enter example code from HiSoft it just gives various errors and refuses to compile. We are only talking about 3 line programs and I am sure that I have copied everything correctly so I'm a bit baffled. Do you or anyone have any recommendations for a free version of C to use with MPLAB. At present I am avoiding upgrading to MPLABX as I am told it needs a really fast computer.

    So, suggestions?

    Thanks, Hugh

  7. #747
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    Hi Hugh,

    getting IDE's to work is a big subject so I can only offer some vague pointers.

    So you're using a version of HiSoft and example code that should compile using it but are getting errors. The most likely problem is that MPLAB isn't actually using the correct compiler. I'd start by checking the command line it's using to make sure it is. If it's using the correct compiler then the only other thing off the top of my head is that the command line is malformed and using the wrong options.

    The IDE doesn't actually do an awful lot, in the main it's just a text editor that knows what files constitute your project and knows what tools (compilers etc) to use to build them. With that in mind you may also want to manually compile the example code using a dos command line to see if it works ok. If it does try the same but with the command line that MPLAB is using - you may well find that there are options in there that cause it to melt down.
    Finally, depending on the types of errors you're getting (but related to the command line) you might find that the various locations the IDE tells the compiler to find the headers and libraries etc is wrong.

    Hope that's of some use, unfortunately it's a *big* subject and at the very least I'd need to see the command line that was being sent to the compiler along with the compiler manuals etc.

    Not sure that MPABX requires a powerful computer btw - I'd try it and see, you can always uninstall it. When you've installed it remember to install the free C compiler too.

    Cheers,
    Steve.

  8. #748
    Join Date
    Jun 2009
    Posts
    2

    Re: Rotary table indexer

    Hi Steve,
    I've just built your controller on Veroboard. I have noticed that the keyboard mapping does not seem to correspond with the V2.0 schematic.

    Mapping shown on V2.0 schematic

    RD0 C1
    RD1 C2
    RD2 C3
    RD3 C4

    RD4 R1
    RD5 R2
    RD6 R3
    RD7 R4

    The way I think it should be.

    RD0 R1
    RD1 R2
    RD2 R3
    RD3 R4

    RD4 C1
    RD5 C2
    RD6 C3
    RD7 C4

    Looking at the data sheet on the Farnell keyboard the mapping on the schematic would correspond with the keyboard mounted as shown in the data sheet. Looking at the pictures of your construction it looks like the keyboard is mounted upside down. (With the cable coming out of the top.) Has the keyboard mapping been changed from the original documents ? I looked at your source code in post No. 1 and this seems to match the layout on the schematic.

    Regards Les.

  9. #749
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    Hi Les,
    I'm aware that the circuit diagram isn't correct. I keep meaning to change it but can't find the license file for the software I originally used to draw it!
    The reason is lost in the annals of time but I think that in order for the 'stick on' keypad to physically connect it needed rotating and I changed the firmware to work with it but never got around to changing the circuit.

    I'm not sure that the source in the original post should match the schematic since this should work with the current hardware layout. I'd have archived the source at the point I decided to make the original post so it should reflect working hardware with the keypad in it's final position.

    I'm not in a position to check any of this out at the moment, I'll check and make a definitive post on the subject later (and if I can find the license key then I'll re-label the keypad on the schematic).
    (There is a post way back in the thread I made with the correct keypad mapping defined).

    Obviously the PCB is correct and matches the stick on keypad as does the keypad I have on my site.

    Cheers.

  10. #750
    Join Date
    Dec 2009
    Posts
    2

    Re: Rotary table indexer

    Hi Steve,

    Thanks for your reply. I have now installed MPLABX and the free version of XC8 and so far so good. These two obviously work together in perfect harmony and apart from the time MPLABX takes to start up, it all works fine on my desktop. The support documentation with XC8 is very good for a beginner, I guess Microchip are trying to get people to migrate to the latest version and are trying to cover all user groups. So, I will stick with this and try a few tentative footsteps into the arcana of C programming.

    Regards, Hugh

  11. #751
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    Just in case it isn't clear - the PIC you ordered from my site is already programmed so you don't need to reprogram it simply plug it in!

    The compiler that comes with MPLABX won't directly compile the source in my original post due to changes in some of the macros etc that were provided. I have partially ported the latest code and have two issues left that need looking at: (When turning the update to the LCD is glitchy and the program mode save and load don't yet work). When I get some time I'll fix these and probably drop the code on my site.

  12. #752
    Join Date
    Jun 2009
    Posts
    2

    Re: Rotary table indexer

    Hi Steve,
    Thanks for the quick reply. When I was looking for the data on the keypad on Farnell's website I noticed that it is shown as no longer manufacture. At the moment I am using a keypad removed from an old phone. If I had used the Farnell keypad I would not have noticed the error in the schematic. Even though I am retired I still do not seem to have enough time to do all the things I want to do.

    Thanks again for a nice design.

    Les.

  13. #753
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    For anyone interested I've updated the schematic on my site (hopefully the keypad layout is now correct!) .
    Also attached to this post.

    Click image for larger version. 

Name:	Circuit Diagram v2.1.png 
Views:	6 
Size:	59.7 KB 
ID:	241854

  14. #754

    Re: Rotary table indexer

    Just an enquiry, does anyone have a problem with their controller periodically reseting on it's own. MIne does, and I don't know enough about electronics to figure it out myself.
    D. Paulson

  15. #755
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    Hi,

    does it reset when you press a key? If so then in my experience about 10% of 452's do this for reasons I've never figured out. Try replacing it.
    (If you bought it from me send me an email and I'll replace it, I do test them but it's possible one slipped through the wire).

    If it's not that then the 452 may be responsible anyway, if possible worth trying another. Beyond that, PSU, noise from the stepper (try it without a motor/driver connected)...

    Cheers,
    Steve.

  16. #756

    Re: Rotary table indexer

    Hi Steve
    The controller seems to work exactly as it should. It just every once in a while (maybe 5-6 times a day) it will reset when it is preforming a move. I'm sure it is related to a noise issue. I am using a rutex servo drive and a large dc servo to drive the table. I am careful to not route any light wiring of the sense/acknowledge or the step/direction pins anywhere near or parallel the high current wires leading to the servo. All wires used are shielded. I haven't tried changing the psu, I'll try that. I have a selection of small ferrite beads I should also try. I don't use this machine much, only about 3-4 days a year, but every year I try a bit more to get it corrected. Thanks
    D. Paulson

  17. #757
    Join Date
    May 2006
    Posts
    184

    Re: Rotary table indexer

    Are you using a different PSU for the controller than you use for the servos? If not a small 'wall-wart' PSU just for the controller might help (the controller pulls less than 100mA so the tiniest PSU will work).

    I'd double check that it doesn't reset when you press a key. If it does suspect the 452, if it resets after the key press and during the move suspect noise.

  18. #758
    Join Date
    Sep 2011
    Posts
    4

    Re: Rotary table indexer

    So I ordered the pre-built board from Steve today, as well as
    A TB6560 driver,24V 15A 360W DC Regulated Switching Power Supply and a NEMA 23 333oz-in motor. Hopefully it works out.

  19. #759
    Join Date
    Jun 2011
    Posts
    279

    Re: Rotary table indexer

    Quote Originally Posted by jar944 View Post
    So I ordered the pre-built board from Steve today, as well as
    A TB6560 driver,24V 15A 360W DC Regulated Switching Power Supply and a NEMA 23 333oz-in motor. Hopefully it works out.
    Can you let us know how it works out? I would like to build one myself but I haven't kept up with this thread as I should have.
    Thanks, Chris.

  20. #760
    Join Date
    Jul 2014
    Posts
    51

    Re: Rotary table indexer

    Most TB6560 drivers are GARBAGE. I would not be surprised if you have a problem with yours.

Page 38 of 41 283637383940

Similar Threads

  1. Stand alone rotary table indexer.
    By kwackers in forum PIC Programing / Design
    Replies: 13
    Last Post: 01-29-2023, 03:01 PM
  2. CNC Rotary Indexer/Table
    By desman in forum Commercial CNC Wood Routers
    Replies: 2
    Last Post: 08-11-2015, 03:32 PM
  3. 4th Axis CNC Rotary Indexer Table Plans
    By Modular CNC in forum News Announcements
    Replies: 4
    Last Post: 05-11-2011, 07:55 PM
  4. Manual indexer-rotary table vertical
    By silverfoxx03 in forum Want To Buy...Need help!
    Replies: 0
    Last Post: 02-18-2011, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •