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

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi David,

    Your AMC is probably running too slow because you didn't set the Fuses on the Atmega to be able to work with the external crystal...

    I have some video guides to help people understand the basics about my AVR motion controller. There are four video parts so far, that shows the cable connections, the ponyprog programming procedure, and the connection with x-sim software.

    Here is the link to download all these videos:

    http://rapidshare.com/files/106829488/A ... 1_to_4.zip

    Regards, Thanos
  2. RobiD

    RobiD New Member

    Joined:
    May 13, 2008
    Messages:
    18
    Location:
    Australia
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hi Thanos,

    Thanks for taking the time to respond.

    Problems solved. Going through all the documents and hex files I downloaded from you, I found the Ponyprog fix folder and read it.

    First of all, the fuse bits hadn't been loaded correctly.

    Used the ini file and changed crystals. Still wouldn't work so out with the multi meter again.

    Turned out to be a broken pin number 1 on the programming bridge I had made, so mosi wasn't connected.

    Changed back to the 22 crystal and it programmed fine. Now it's as fast at starting as yours in the video.

    Thanks
    David
  3. parsec

    parsec New Member

    Joined:
    Oct 6, 2008
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Greetings to all of you forum. :hi:
    A special thanks to Tronicgr for his excellent work, made available to all of us. :clap:

    First of all I apologize for my poor English. :blush:

    I intend to build a platform motion for a flight simulator specifically for airline -
    I state that the part I do not have mechanical problems because I care for work.
    It will be three Aces, with a total weight to be moved around 400kg,
    Of course the speed will be low.

    Questions:

    1) Can I use electronics to manage Tronicgr three and how?, I can handle the three axes with the software X-SIM?

    2) I'd like to use these linear actuators http://www.surpluscenter.com/item.asp?UID=2008100604334177&item=5-1680-8&catname=electric
    what do you think?

    I thank in advance all.
  4. parsec

    parsec New Member

    Joined:
    Oct 6, 2008
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hello demand for Tronicgr:

    E 'can use the software BFF motion driver with Tronic's AMC-motor motion controller?


    Thank you
  5. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi parsec,

    First, about the motors you gave link to... They seem a little slow even for GA airline flight simulator. The reason you need faster actuators is that you will not only need the motion during take off or landing, but also during bad weather simulation. See this video to understand what I mean:
    http://www.youtube.com/watch?v=DhCUSLzsIUY

    For now there is only firmware for 2DOF motion on my AMC1.5. Its only matter of having the opportunity to setup a small 3DOF model with DC motors to release the 3DOF or 4DOF firmware. With x-sim software you can use two AMC1.5 boards to have 4 axis to move whatever simulator you want.


    About the Ian's BFF motion driver, yes its compatible with my AMC1.5. The BFF motion driver is only for flight simulators (FSX, x-plane, F4AF) where x-sim software can be used for flight simulator and for car simulators, as well, and the supporting titles are growing thanks to the community support!!

    Regards, Thanos
  6. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    971Coins
    Ratings:
    +34 / 0 / -0
    Hi Thanos my pcb's are almost completed have posted pictures under my project blog ... just been going through the Pony Prog Videos you made and once again great stuff makes it easier for Newbies to pick up on what need to be done to get going ... Quick question does the firmware come in different version for testing or does the final version we download have all the routines inside... saw the Z axis mix video and was about to Pull My Boys 4 wheel drive jeep to Bits LOL:) :rofl: (could not understand why he would not let me Kid's Eh) anyways would like to go down that route of bench testing before connecting to the bigger stuff hopefully no white puffy with blue bits smoke :blush: ( belive me you hear me crying all the way over there in greece.. :cheers: would still like to hear from any members regarding firgellia Actuators and there use in a simforce GT type sim (Not Quite SCN5 but will do to start with i feel the need the need for Motion/Speed AKA tom cruise Top Gunning :D ) Birthday coming up and dropping hits like 10 year old .. hell kids have xmas i'll turn the tables and use Birthday excuse.. :cheers: forgot one last thing having trouble getting the 1N2 Capacitors as used on the RS232 IFC part of the AVR PCB wanted to make sure it was all working before i used My F232 USB/RS232 adapter card is ther a substitute for this or just gotta keep looking ..
  7. RobiD

    RobiD New Member

    Joined:
    May 13, 2008
    Messages:
    18
    Location:
    Australia
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hey Wannabeaflyer,

    What's the link to your blog?

    I have completed by boards, just working on the heat sinks and fan. Will try to post some pics

    David
  8. RobiD

    RobiD New Member

    Joined:
    May 13, 2008
    Messages:
    18
    Location:
    Australia
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Thanos,

    In the documentation for the H-bridge heat sinks, you show 2 pieces of angle aluminium back to back and bolted together with a common bolt and nut which doesn't appear to be insulated, with a plastic spacer between them . Is it ok that these are shorted together?

    Thanks
    David
  9. tronicgr

    tronicgr

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

    Hi Robid,

    Please read the (DIY dual Mosfet H-bridge) DSMhb thread for more info on the h-bridges... Its all there! thumbup2

    post8613.html#p8613

    Regards, Thanos
  10. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    971Coins
    Ratings:
    +34 / 0 / -0
    Hi David its not actually a web Log guess it the wrong way to describe, it so i will change it .. the info i have posted so far about my project can be found in the DIY SIMULATOR PROJECTS forum here under Section Motion simulators heading ( wannabes 2dof Blog :blush: .. so far just a series of pictures and concept drawings and actual built items being developed as i build parts and try different things.. but hope to give better details and feedback to the crew as the project moves on.. 8)
  11. RobiD

    RobiD New Member

    Joined:
    May 13, 2008
    Messages:
    18
    Location:
    Australia
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Cheers, thanks for that Thanos. Explained everything.


    Thanks Wannabeaflyer, I'll go and have a look.

    David
  12. parsec

    parsec New Member

    Joined:
    Oct 6, 2008
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hello Thanos, as always punctual in their responses.

    The platform I want to achieve is only for flight simulator.

    You know where I can recommend purchase of linear actuators with the same force and appropriate speed at reasonable prices?

    If I wanted to use hydraulic actuators that control electronics could use?
    Whether you use electro-valves normal and when used servo-valves. Software always associated with X-SIM and BFF.


    You might siege better how to use your electronics for 3 or 4 axis?

    Excuse me for questions and thank you.
  13. wimpo`

    wimpo` Member

    Joined:
    Jul 27, 2008
    Messages:
    89
    Occupation:
    metselaar
    Location:
    nederland, twente, vroomshoop
    Balance:
    178Coins
    Ratings:
    +5 / 0 / -0
    hello tronicgr,

    I finished building you amc 1.5 and dsmh 1.2.
    but now i have a problem, i can't program the atmega8535 pu.
    I checked everything but it seems good to me.
    I diy'ed the programmer cable from spare parts and checked it with multimeter, also this looks fine.
    The ponyprog2000 still keeps saying Device missing or unknown device (-24), and when i press ignore it will say the same with any variable setting you gave us (api i/o).

    what could this be?

    regards wim post.
  14. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    -What crystal do you use?
    -Are you using USB2Serial converter?
    -Did you alter the Ponyprog ini settings (like Erich suggested)?

    Any photo of the board? Closeup is better... :yes:

    Regards, Thanos
  15. wimpo`

    wimpo` Member

    Joined:
    Jul 27, 2008
    Messages:
    89
    Occupation:
    metselaar
    Location:
    nederland, twente, vroomshoop
    Balance:
    178Coins
    Ratings:
    +5 / 0 / -0
    i'm using the 22 mhz kristal.
    i'm not using any converter just seriele port.
    did,nt try the INI setting I will do this right now.

    And i will se about that photo!!

    regards wim
  16. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    971Coins
    Ratings:
    +34 / 0 / -0
    :hi: Thanos need some tech help my boards are almost done still trying to get hold of the 18pf and 1.2nf caps all the usual places i buy bits from either done have them or charge min order fee of £15.00 ( for parts costing 25p i dont think so :sos: ) is there an alternate for the 2 (1.2nf caps as used inn the RS232 Circuit ) as i said before i do have the FDT RS232 usb interface but would really like to get your full original setup working 1st before i introduce this option :sos: :sos: :sos: :cheers:

    Calvin

    Attached Files:

  17. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi Calvin,

    I believe you can do fine without the 1n2 capacitors on the max232 module as they are just filtering the noise out of the serial lines. It will work even without them attached!

    As for the 18pF caps for the crystal, its not necessary to use them too. They are required only from certain crystals (you can check your crystals datasheet). Eventually the the normal 22pF caps will do fine in most of the cases...

    And if the max232 circuit doesn't work for you, you have always as alternate to use the FT232R USB!!! :highfive:


    Regards, Thanos
  18. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    971Coins
    Ratings:
    +34 / 0 / -0
    :hi: Thanos your a star. thats a load off my mind as i was getting anxious and wanted to move on with this project . Picked up a package this morning for the last missing items so will hopefully finish all the assembly / cable work today, and then go over the power-up and ponyprog testing procedure.. :cheers: many thanks thanos for the time i know your developing the next gen for us and you have a ready and willing customer waiting in the wings ... :highfive:
    Just saw Mobos Post regarding the Popolu servo controller Thanos could this be used to Make a 3 DOF / 6DOF motion platform model similar to the work you and Planmix are doing ? can this device be run from the AMC controller ?
  19. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi Calvin,

    The Pololu micro servo controller (that mboRacing mentions) can be attached directly to computer with a simple serial adapter. It can be controlled with simple serial commands.

    Just to mention, that I ordered one piece last night to try it interfaced with my AMC1.5, as slave device that will handle all kind of servos. It will free much resources from the AMC regarding the interrupts, that servos need, and I can pre-process the input data to have them also on 7segments displays. The AMC can also handle the ranges of the servos and the rest of the settings that can be stored on this Pololu micro servo controller automatically!

    Regards, Thanos
  20. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    971Coins
    Ratings:
    +34 / 0 / -0
    Hi Thanos, pick your brains time :blush: have completed my AMC Controller PCB and have powered it up ( No Smoke 8) so far ) and checked the 5v supply at all the key points in the circuit and everything seems to be where it should be ... Both Green LED light up as they should and the RED Reset LED lights up when i press the reset switch ( all fine so far ) fitted both the ATmega and the rs232 chips and tried to flash the controller :blush: :blush: pony prog calibration ok but test failed error message comes up when i try the PROBE test :sos: i am using a staight through serial cable for the PC to AMC 9 pin female ISP connector and have tried other cables all with the same error message ...... you may have been down this road with other users and i appologize if im asking a FAQ ...could noot find the relevant post with this answer but if anyone knows the number i would read it :blush: sorry if im wasting your time guys im hoping it will be something i missed.. by the way should the three jumpers be removed for programming or can they be left in ( i ask because the help video seems to show them left in and also various pictures i have seen of completed pcb's also seem to show them in place whilst the programming bridge is fitted ( BUT the Pony Prog 2000 guide clearly says remove MOS1,M1S0,SCK, also shows the ground connection of ISP not linked to the Atmega side of the Bridge Connector ?? having fun guys and loving it :yippiee: soory for the shaky hands pictures in advance excited :highfive:

    Attached Files: