603,308 active members*
2,707 visitors online*
Register for free
Login
Page 5 of 22 3456715
Results 81 to 100 of 438
  1. #81
    Join Date
    May 2006
    Posts
    190
    I'm using ATTINY2313-20PU.

  2. #82
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    I'm using ATTINY2313-20PU.
    So I think I need to change programmer. Many Thanks to you for your help I will inform you about my result. I made I combyne prototype controller board combine from UHU and Chan shematic. So .... Did you meke the same????? Chan have IR2184 based shematic. I used the same. Chan's shematic does not heva connection of SD/ on both chips. Here on forum I had found elm_sch.pdf In it sd/ of both 2184 was shorted and together should be connected to shutdown. Do you know what is shutdown (I think it should be connected to +5 volts)? Bacause due to datasheet of IR2184 only in=1 and sd/=1 will give HO=1 and LO=1 to drive one side. Do you know something about connection of SD/ on IR2184?

    Regards
    Alex.

  3. #83
    Join Date
    Dec 2006
    Posts
    18
    Finally finished laying out the schematic in eagle. I had copied the values from UHU. Next is the board layout
    Attached Thumbnails Attached Thumbnails SMC_UHU.jpg  

  4. #84
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcan View Post
    Finally finished laying out the schematic in eagle. I had copied the values from UHU. Next is the board layout
    Hello!

    I would like to ask you why did you conneter sd/ of IR2184 with onether sd/ 2184 (made connectiom). Chan have not this connecton and UHU using just different sysytem. you need in=1 and SD=1 to have HO=1 and LO=1 to drive one side. When you are making in=0 and sd=1 you have ho=1 and lo=0. SD is also pullup so it mean that not connected sd is sd=1.

    Reagards
    Alex.

  5. #85
    Join Date
    Dec 2006
    Posts
    18
    Quote Originally Posted by alex751 View Post
    Hello!

    I would like to ask you why did you conneter sd/ of IR2184 with onether sd/ 2184 (made connectiom). Chan have not this connecton and UHU using just different sysytem. you need in=1 and SD=1 to have HO=1 and LO=1 to drive one side. When you are making in=0 and sd=1 you have ho=1 and lo=0. SD is also pullup so it mean that not connected sd is sd=1.

    Reagards
    Alex.

    Tried to copy UHU's part but failed Changed the layout according to your point and ELM-CHAN's circuit.

  6. #86
    Join Date
    Mar 2005
    Posts
    523
    the ir fet drivers shut down pins could also be attached to the error led which would ensure fet turn off.

  7. #87
    Join Date
    Feb 2007
    Posts
    31

    alex751

    Quote Originally Posted by smarbaga View Post
    the ir fet drivers shut down pins could also be attached to the error led which would ensure fet turn off.
    Yes for shure but SD should be =1 together with in=1 to have LO and HO both 1. It can be used like you advice. But did you tried to meke like this??

    Regards
    Alex.

  8. #88
    Join Date
    Feb 2007
    Posts
    31

    Alex751

    Quote Originally Posted by mcan View Post
    Tried to copy UHU's part but failed Changed the layout according to your point and ELM-CHAN's circuit.
    Did you changed already?? I made one prototype already but I did not tested because have some problems with 2313 programmation. Thanks mcm_xyz (my respect and regards to him) I think I will manage programmation problem. Due to connection of SD check datasheet and signal diagram downsteitr.

    Regards
    Alex.

  9. #89
    Join Date
    May 2006
    Posts
    190

    evaluation question (a little out of topic).

    Hello.

    I think many of you have encountered the problem where CNC software in windows especially lacks the ability to generate very stable pulses. This causes motors to vibrate and even jump over steps. So I intend to create a AVR controller (based on attiny2313 i hope) that will receive commands from the computer in a form:

    GO 1000 2000 3000

    where the parameters are the the number of steps the controller has to generate on 3 axes. The controller will be configured to have Vini, Vmax and Acc for each axe and will generate on 6 pins step,dir pulses.

    The drawback for this is that windows software will have to be modified to output commands on a serial port. I also have a Delphi7 project that commands a 3 axes machine that I can modify easily and also make open source.

    So the question is: will this be a good thing? Is someone interested for that? Does anyone know any similar projects? Is there a standard serial protocol for that?

    Many many thanks.

    Mike

  10. #90
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    Hello.

    I think many of you have encountered the problem where CNC software in windows especially lacks the ability to generate very stable pulses. This causes motors to vibrate and even jump over steps. So I intend to create a AVR controller (based on attiny2313 i hope) that will receive commands from the computer in a form:

    GO 1000 2000 3000

    where the parameters are the the number of steps the controller has to generate on 3 axes. The controller will be configured to have Vini, Vmax and Acc for each axe and will generate on 6 pins step,dir pulses.

    The drawback for this is that windows software will have to be modified to output commands on a serial port. I also have a Delphi7 project that commands a 3 axes machine that I can modify easily and also make open source.

    So the question is: will this be a good thing? Is someone interested for that? Does anyone know any similar projects? Is there a standard serial protocol for that?

    Many many thanks.

    Mike
    Hi Mike!
    It seams to me long time ago I was checking Mach2Mill. One of version I do not remember which had additionl as an optnion buttun in motor tuning. It was servo setup to drive servodiver. I remember that it was up to 5 params with needed to be installed. Check all versions of Mach for buttun servo setup (in motor tuning). I thin you are tolking about this. By the way Mash is the coolest soft I tried. Mach make correct PWM to drive steping motor. Motors going very smooth if it will be compared with Kcam.

    Regards
    Alex.

  11. #91
    Join Date
    Feb 2007
    Posts
    31

    Alex751

    Quote Originally Posted by mcm_xyz View Post
    I'm using ATTINY2313-20PU.
    Hello Mike! Ken you send me or put here ASM file you had used from Chan?
    Due to programmation of FUSES I have got programer from a friend of mine AVRISP. With fuse programmation everything is OK. I can reprogram change fuses and do alot of things. I have One problem I can not gen any information from RS 232. Chip give me ok on leg 14 and PWM on 15 and 16 may be it is a wrong code. But I made simulation in Proteus as I told you everything is ok. Due to you advise befor to one guy I chacked everything with connection both with cable and also all signals with oscilograf. still not goo d results. I wil never use STK200 to programm fuses. Also I used AVRstudio to make programmation.

    Regadrs
    Alex.

  12. #92
    Join Date
    May 2006
    Posts
    190

    ASM is like original

    asm is like original...
    except for:

    SYSCLK = 15000000 (like the resonator i used) If not setting this value the serial communication will not work

    INI_MODE = 3 to start the chip directly in step / dir mode...
    Attached Files Attached Files

  13. #93
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    asm is like original...
    except for:

    SYSCLK = 15000000 (like the resonator i used) If not setting this value the serial communication will not work

    INI_MODE = 3 to start the chip directly in step / dir mode...
    Thanks a lot. I will try.

    Regards
    Alex.

  14. #94
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    asm is like original...
    except for:

    SYSCLK = 15000000 (like the resonator i used) If not setting this value the serial communication will not work

    INI_MODE = 3 to start the chip directly in step / dir mode...

    Sorry in such mode (mode 3) can you acsess to RS 232 with hyper terminal and have a massage: SMC3A - Servo Motor Controller (?:help) ???
    I am copletely distroied. I am doing everything you advice to me but no results
    Sorry about extra disturbing you.

    Regards.

  15. #95
    Join Date
    May 2006
    Posts
    190

    You can acces the serial interface on every mode

    I'll try later when I get home to further help you. Will try an online chat to see

    see u later

  16. #96
    Join Date
    Apr 2003
    Posts
    11
    alex751 - in all modes (0,1,2,3) you should make connect between ELM and PC.

  17. #97
    Join Date
    Oct 2006
    Posts
    7
    Hi Mike.

    I just come back from holiday. I will try your parameter to see whether work for my motor. Thanks!

    Alex 751. You should start the hyper terminal program and then turn on the power for your CHIP, you should be able to see the massage. Actually the programmer I am using are self build. only with 1 transister 2sc1815.
    Most importance remember to check the TX and RX whether connect correctly.

  18. #98
    Join Date
    Jan 2005
    Posts
    30
    Hi guys!

    I got very nice servo motor 127V 37A(peak) with internal brake but at the same time I got problem - no suitable controller!
    What do you think, is here a way to use ELM servo controller for such powerful motor? Maybe somebody is working on driver like this?
    I am mechanical guy, so for my self here is no way to build driver but I would like to assist with parts (bears) etc if somebody seriously can build controller to handle high currents!

    Regards,
    Oscar

  19. #99
    Join Date
    Feb 2007
    Posts
    31

    alex751

    Hello everybody!

    I am very thankfull to all of you for you cariing about my problems. Also big thanks to Mike. With controller connection now everithing is ok. I alredy build controller. After all tests I will inform.

    Regards to all

  20. #100
    Join Date
    Feb 2007
    Posts
    31

    alex751

    Quote Originally Posted by mcm_xyz View Post
    I'll try later when I get home to further help you. Will try an online chat to see

    see u later
    Hi Mike! I did not manage to be in messanger.
    So about info I had promised to tell you.

    What is CNC - cnc is numerical controll. Due to control and driving system. Usualy in systems industriall I mean you have two type of movement:

    1) linear interpolation
    2) circular interpolation

    The problem is how to drive smooth. you see yhere is one meaning: point-to-point. This system is corsed to circular interpolation (circular interpolation - this is driving with one command by the circle or arch) so if you will drive with command XYZ by SMC it means that mathematicaly you need to calculate and divide circle with a lot of very very short line and move from one point to another linear. So you need to generate very big list of comand. Also you need with computer to know wether or not you got to final position. After give another comand. So you need to use extra encoder for each motor. this is expensive. There is one soft as I told you MACH 2 (or 3) MILL. I told you that I suppose it can drive systems like SMC (ELM) but this soft is to drive with STEP DIR mode. One from the big list of positive things is - profram can go up and can go down smoothly with a speed. Check it. Also there is a lot of amusing things. It can work with plasma Laser wooden and maetal cutting job. As I think you need Artcam 7.0 and mach3mill. Check also all point about joistic driving web camera statistic putting external encoders big in out info controller and driving tuner. You will like it. And it is sutable for ELM SMC.

    Regard
    Alex.

Page 5 of 22 3456715

Similar Threads

  1. Central PID Controller vs. PIV Controller in each Servo Amp
    By Bronx68 in forum CNC Machine Related Electronics
    Replies: 12
    Last Post: 11-20-2013, 05:33 PM
  2. Servo Controller pin out ?????
    By slowtwitch in forum Servo Motors / Drives
    Replies: 0
    Last Post: 05-28-2013, 03:55 PM

Tags for this Thread

Posting Permissions

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