1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Tronic's AMC motor motion-controller with pwm/servo output

Discussion in 'SimTools compatible interfaces' started by tronicgr, Aug 30, 2007.

  1. lotada

    lotada New Member

    Joined:
    Jul 31, 2008
    Messages:
    41
    Occupation:
    coffe Roaster
    Location:
    Kralupy nad Vltavou
    Balance:
    248Coins
    Ratings:
    +0 / 0 / -0
    hi ato all today i connected the avr board with my computer its working i want toask you what to do now?how can i test when i turn by my wheel left or right motors will chang positon i have motors of car wippers. but i have to confugure somewhere my hardware in x-sim software?thx or an next videos for helping.?bye Mila
  2. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Everyone,
    This is my first post though I have been a regular visitor for the past year. I have successfully built Thanos' AMC1.5 DsMhb1.2 and installed it, using WW motors for 2 axes. Today, I am on the very last smalll stage! I am using Thanos' latest firmware at 18.432 MHz and Ian's BFF Driver.

    My thanks to all of you for invaluable tips and suggestions, and even questions----but most of all to Thanos himself for a brilliant development, and tons of advice given both here and to me personally without which none of this would have been possible.

    When I learn how to, I'll post some pics, hopefully in the right place.

    Regards,

    Erich.
  3. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi,
    Today, I am on the very last small stage of my motion sim! I just said this in my mail above.

    Grateful to hear from anyone who has successfully installed Thanos' latest firmware which has that has the Kp adjustable via the Hyper Terminal. I am unable to get the Welcome screen after following the 6 steps in his PDF. Any advice?

    Thanks,

    Erich.....
  4. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0

    Hi Erich, Welcome! :thbup:

    Sorry for ignoring your email you sent some days before, I wasn't able to answer back to none of the decades emails I received recently... really busy!!! :blush:

    Some quick tips:

    -Did you connected a cable between the TX connectors also? The hyperterminal configuration method requires bi-directional communications!
    -Also don't forget to set speed to 115200 and the Flow Control to None in the connection settings!!!!

    Also don't run in same time, other programs that may using the serial port, like the BFF driver, Ponyprog, etc...

    And something else: Although Ian's BFF driver is awesome in terms of washout programming for flight sims, I'd recommend to also try x-sim software for car/bike/flight simulators! As you told me you planning to have the controls in modular so you can swap easily between simulator types. X-sim supports many awesome car racing simulators!!! Since you are using AMC, no changes are needed in hardware side to switch at any time to x-sim!

    Regards, Thanos
  5. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Hi Erich,

    :welcome:

    Great to read that you want to take part now.
    Long time since we've emailed regarding the AMC1.5.
    I am looking forward to see your project in the DIY Sim section!

    Regards
    Christian
  6. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos
    Great to hear from you. Glad also things are calm! :clap:

    Have done all the things you say, although have to change the 100nF near the crystal you recommended to faller earlier. Actually cannot see how the AVR.ht file you sent with the firmware 'connects' with the HT. Will change cap and try again.

    Wonderful that X-Sim now has a Driver for flight. More claps!!

    Thanks,

    Erich........
  7. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Christian,
    Thanks for the Welcome to such an august company. I'm learning already---I know where to post Erich's FlightSim In Pics now!! Don't know much about uploading, etc. I have a lot to learn.

    Regards,

    Erich.........
  8. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    You can run it by double clicking it... Or you can just open the Hyperterminal and create a new connection by yourself! Just fill in the settings below:

    -Name: Name it anything you like, I named it AVR to distinguish it from other hyperterminal files I have.
    -Connection settings: Enter the COM port you are using, Set the speed to 115200, and Flow control to NONE.

    Done... save the file if you like to have it handy later. :cheers:

    Regards, Thanos
  9. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Hyperterminal is not included in Vista anymore.

    But here is a fix:

  10. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  11. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos,
    Tried all the above without success. DIP Sw.at 2, 5 jumpers fitted, cable in programming port and the data port. One thing is left, the AVR file is corrupt- didn't go there yet.

    Yesterday there was some doubt that the COM port was defective as I was having some issues with the Driver. However, I got Ian's 092 Beta to work consistently finally so a defective port seems ruled out. Have you, by the way, tried his latest Driver? I'm asking to find out what you might have selected, HEX, HEX2 or MEM. The 0_9_2 seems to work only with MEM.

    By the way. Hopefully a small improvement to AMC. I touched the regulator, and as you pointed out, its really hot. Just added a 30X50X2mm thick 'L' plate under the existing heatsink, with heatsink compound and bolted the lot together. It gets barely warm now even with the LCD backlight on. I'll attach a pic later.

    Regards,
    Erich..........
  12. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi,
    Just a small thing I did for my AMC I happened to feel it yesterday. And it was really HOT!
    Regards, Erich......

    Regulator Heatsink For AMC1.5.jpg
  13. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Ok, here we go:

    1. You must set the DIP switch #2 to ON position.
    2. The five programming jumper cables should be removed while normal use or hyperterminal KP setting. But leave the three small jumpers just below the ISP programming bridge in place or else the DIP switches will not work as expected!.
    3. With the LCD connected you should see a message on it informing you that the AMC entered in hyperterminal KP setting mode...

    4. About Ian's BFF driver, my AMC works with all versions, even the latest 1.6.5 that its on his site right now. I tested it right after it was released about a week before. I don't setup the BFF driver as HEX or HEX2 or MEM... I set it as BIN mode with speed 115200 !!!

    5. Thanks for the regulator cooler tip. It can be handy for those that want to have their LCD with backlight ON!!!. With backlight off it wont even get warm!!

    Regards, Thanos
  14. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos,
    Thanks! Driver now seems perfect using 115200/BIN.

    However while the LCD indicates its in Kp mode, TIP Use Terminal--after configuring HT just a blank screen appears.

    Regards, Erich..........
  15. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    A little tip:

    If you cannot see the HT welcome screen from the AMC, it does not harm to reset the AMC while its connected to the HT.

    I usually set the connection first and then power on or reset the AMC to see the configuration screen...

    Thanos
  16. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos,
    Followed carefully all your steps many times. They are quite straightforward. Reprogrammed the chip again even but at same freq., 18.432MHz. Works perfectly---only can't change Kp part via the HT. Tried also on another computer with same result. Thought of going to 14.31818 (as I was unstable at 22.1184) but that's only late tomorrow as I don't have the crystal. To see whether a change of the firmware might help? Or could it be a Windows (XPSP2) issue?

    You had earlier made PWMBETA002/003 with LCD, firmware. There was no mention of the Kp however. I could revert to a file with larger, 4-8Kp, say, if available.

    Regards, Erich.......

    EDIT. Later in the day reprogrammed with the 22.1184MHz Xtal and this time it works fine, except being unable to change the Kp as the HT screen with text does not appear. So only the Kp changing problem still remains.
  17. lotada

    lotada New Member

    Joined:
    Jul 31, 2008
    Messages:
    41
    Occupation:
    coffe Roaster
    Location:
    Kralupy nad Vltavou
    Balance:
    248Coins
    Ratings:
    +0 / 0 / -0
    hi so iam sending my fotos of h.bridge and avr motion controller. but i have someproblems one output on h-bridge have still few volts and motor is moving alittle bit.. and diods are lightning in zero position.. on pots iahve selected 500 on lcd on both pots any help? is not able that any mosfet is bad and leak out any voltage. any help? also i dont know which source you are using for giving 12v for motors?(what about battery of car?)my avr controller is working with 22Mhz crystal only.[

    Attached Files:

    • avr.jpg
      avr.jpg
      File size:
      212.6 KB
      Views:
      879
    • avr2.jpg
      avr2.jpg
      File size:
      127.1 KB
      Views:
      769
    • avr3.jpg
      avr3.jpg
      File size:
      248.5 KB
      Views:
      809
  18. erichans

    erichans New Member

    Joined:
    Jan 20, 2008
    Messages:
    55
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos,
    You owe me a huge clump on the side of the head, and I owe you a huge apology!

    I asked Ego too, (since he had said something about PuTTY), whether he was successful and he said, no problem, he was able to change the Kp with Hyperterminal itself! Also, he set me on a different thinking track to do with the AMC board itself, soldering, connections, etc.

    Connections!!! I finally got around to----mainly the 2 Rx-Tx 3 wire Molex cables. Did a routine continuity check, crimping, etc.---OK. In one set however, the PIN1 AND PIN3 WIRES HAD BEEN ASSEMBLED CROSSED!!!!!!!!! These were common items purchased off the shelf--probably just assembled by my regular electronics shop. BIG lesson here!

    Immediately able to change Kp, everything working exactly as you said-----boy am I relieved!! And I'm SO SORRY!!!!!

    The last hurdle that has kept me away from motion is now out of the way!!!! Thanks to both of you!! :clap:

    Regards, Erich...........
  19. lotada

    lotada New Member

    Joined:
    Jul 31, 2008
    Messages:
    41
    Occupation:
    coffe Roaster
    Location:
    Kralupy nad Vltavou
    Balance:
    248Coins
    Ratings:
    +0 / 0 / -0
    i send a video of my problem my potentiometers are in center but motors still give the voltage.. WHY? when i ttry h-bridge alone only like was written tocconnect +5v on input and M1N1 and M1N2 to GND it works fine i think there is some problem with atmel? isn it able can anybody make agauge of outputs from atmel? on M1N1 and M2N2? i dont know anymore what todo today itis 5th day when i am reparing problem

    BY MILA



    http://rapidshare.com/files/174871533/100_2864.MOV
  20. Michael N.

    Michael N. Member

    Joined:
    Dec 27, 2007
    Messages:
    274
    Location:
    Germany, NRW, Düren
    Balance:
    611Coins
    Ratings:
    +5 / 0 / -0
    Hi Mila,
    did you measured the outcoming voltage. How much is it?. What happened with the voltage (measure it) if you turn the pots left or right to its end position?.
    I`m using a 12V Car Battery. Which source are you using? and do you use a fuse (+12V wiring)?.
    Are you sure that the mosfets are still OK?. Ckeck them with a multimeter, Checking Mosfet.
    For example, i have burned my mosfet with my selfmade Power Supply :whistle: , now i`m using a car battery.