603,319 active members*
2,668 visitors online*
Register for free
Login
Results 1 to 20 of 437

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    190
    Quote Originally Posted by alex751 View Post
    Hello!

    Sorry I would like to ask you. You told me abour 4 MHz resonator (quartz regonator) Witch I will put instead of 16 MHz standart like on page 23 of attiny2313 dataseet or you mean 4MHz external generator to connect on XTAL1 like on page 26 of attiny2313 datasheet (external clock)?

    Regards.
    Alex.
    exactly. I have placed a 4 mhz quartz and 2 caps on pins 4 and 5 and powered pins 20 and 10 with 5V. now the ponyprog sees the chip ok regardles of the fuse setings

  2. #2
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    exactly. I have placed a 4 mhz quartz and 2 caps on pins 4 and 5 and powered pins 20 and 10 with 5V. now the ponyprog sees the chip ok regardles of the fuse setings
    Thanks. Just now I am trying to do this, but I have no results.
    Pin 10 GND Pin 20 +5volts - is that right? So will try again.

    Did you manage to program tiny2313 with othe programmator like STK500?

    I know that I am asking a lot of questions (sorry about this) but did you make any controller with Chan filmware?

    Regards, have a nice day
    Alex.

  3. #3
    Join Date
    May 2006
    Posts
    190
    Quote Originally Posted by alex751 View Post
    Thanks. Just now I am trying to do this, but I have no results.
    Pin 10 GND Pin 20 +5volts - is that right? So will try again.

    Did you manage to program tiny2313 with othe programmator like STK500?

    I know that I am asking a lot of questions (sorry about this) but did you make any controller with Chan filmware?

    Regards, have a nice day
    Alex.
    Pin 10 = gnd pin 20 =vcc;
    Did not tried any other programmers since this one works... Made exactly the fuse settings shown in picture. Not others. At the beginning I made a mistake with the fuses and bricked a chip... :devious:
    I've made 3 smc3a controllers with attiny2313 you can see them on some posts on the first page.

    Best regards

  4. #4
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    Pin 10 = gnd pin 20 =vcc;
    Did not tried any other programmers since this one works... Made exactly the fuse settings shown in picture. Not others. At the beginning I made a mistake with the fuses and bricked a chip... :devious:
    I've made 3 smc3a controllers with attiny2313 you can see them on some posts on the first page.

    Best regards
    No did not tried any other programmers. So I think The problem is in programmer. Can you tell me are you using Attiny2313-20PU ore another one?

    Regards
    Alex.

  5. #5
    Join Date
    May 2006
    Posts
    190
    I'm using ATTINY2313-20PU.

  6. #6
    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.

  7. #7
    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  

  8. #8
    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.

  9. #9
    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

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
  •