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
    As a precaution I attached a 80mm computer case fan on the RN-VN2 controller to blow air on the alluminium coolers that I placed on the chip heat dissipation path. I assume that the RN-vN2 chips will heat up when having to deliver the 15amp that wiper motors draw in load.

    The nice part is that you can use the second pair of power connector that exists on the RN-VN2 to power the fan with the 12v it needs!!



    RNVN2_fan_mount1.jpg

    RNVN2_fan_mount2.jpg

    RNVN2_fan_mount3.jpg

    RNVN2_fan_mount4.jpg

    RNVN2_fan_mount5.jpg

    And from what I've seen during a short circuit of the test table motor leads it can reach fast up to 100 degrees of Celsius. Luckily when this was happened the RN-VN2 has shut itself down. I was working on 6volt battery/motor conbination then. But now I want to move to 12volt 100Ah car battery, and I fear that a stall of the motor will pass to the motors lots of current that can burn up the motor or kill the RN-VN2 if high temperature is reached. Anyway it better to take measures before something bad happens. I will attach an thermometer with LCD display on the RN-VN2 to see how it heats up during play and I suggest to do the same if you have one.

    I tried to unsolder the black clip connectors for the motors connections and place other connectors with screw lead but it was impossible to do so. They seem to have solder on the upper side too! Damn... So I atleast changed the screw clip part with a better quality green ones that I found localy. I hope that will have better contact behavior than the old ones...


    Regards, Thanos
  2. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I have another good news!

    I figured a very simple way to switch the PWM signal to any h-bridge circuit!! I used a single chip in this design and will test it the next days to see how it behaves.

    So there is hope to use simple h-bridge motor controllers as EvanF does or even design and use your own h-bridge circuit to the motor amp/voltage needs!!

    Be ready, many surprises are comming!

    Regards, Thanos
  4. EvanF

    EvanF Member

    Joined:
    Jun 10, 2007
    Messages:
    199
    Occupation:
    Multimedia Producer
    Location:
    New Zealand
    Balance:
    423Coins
    Ratings:
    +1 / 0 / -0
    Now that is good news! I have been away in the wilderness for 40 days and 40 nights, time spent learning more about mosfets and motor controllers. My daughter loved the sabbatical coz in the process I souped up her electric scooter with variable speed.

    I wait for your successful confirmation!

    EvanF
  5. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    The credits in this case goes to Erich Leonhard (from http://www.mycockpit.org) for motivating me into this!

    He sended me some usefull info on h-bridges that I used to find the solution!

    BTW the chip I use between the AVR controller and the h-bridge is a simple 74HC08 !!! :D

    Regards, Thanos
  6. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Nice to hear. That makes your interface way more universal.

    I'm pleased that Evan is in the boat again now :)

    @Evan
    A pcb from heinz costs 25 euro incl. international shipping and drills :)
  7. mutante

    mutante New Member

    Joined:
    Nov 30, 2007
    Messages:
    1
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    ATMEGA8515-16JI -- 5 €
    ATMEGA8535-16AU -- 3 €
    ATMEGA8535-16PC -- 8 €
    ATMEGA8535-16JC -- 8€
    ATMEGA 8535-16D = 3 €
    ATMEGA8535-16-PU 3 €
    ATMEGA 8535-16P -- 3 €
    ATMEGA8535-16PI
    ATMEGA 8535-16T


    All this chips are the same ? :?: and work with your interface? :?:
  8. EvanF

    EvanF Member

    Joined:
    Jun 10, 2007
    Messages:
    199
    Occupation:
    Multimedia Producer
    Location:
    New Zealand
    Balance:
    423Coins
    Ratings:
    +1 / 0 / -0
    @ego

    Sounds like a good plan.

    25.00 EUR = 46.9728 NZD

    Where is heinz? Heinz here make Baked Beans in a can. :D
    Do you think ordering over X'mas could mean a big delay?

    #edit#
    Just saw your post regarding heinz
    http://www.x-simulator.de/forum/pcb-etc ... .html#6402


    What would be even better is if someone offered the whole package as an exclusive x-sim kitset (group buy?) so there are no mistakes buying the right componentry.

    I'd be into a group buy because I've got the same problem as mutante regarding which component is the correct one.

    Evanf
  9. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    And where would be the challange? ;D

    The PU should be fine...
  10. EvanF

    EvanF Member

    Joined:
    Jun 10, 2007
    Messages:
    199
    Occupation:
    Multimedia Producer
    Location:
    New Zealand
    Balance:
    423Coins
    Ratings:
    +1 / 0 / -0
    The challenge will be when I race you online and wipe that grin off your face! :razz:
  11. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Mess with the best, and die like the rest :lach:

    That day will come for sure, when we're all able to compete against each others with our Sims in a X-Sim racing league.

    For now, have fun while digging for individual parts ;D
  12. tronicgr

    tronicgr

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

    I confirmed the concept and prepared a small PCB layout that you can use to connect any simple h-bridge motor driver. This small board connects in the same ports that you connect RN-VN2!

    PWM_to_simple_hbridge.gif

    [​IMG]PWM_to_simple_hbridge.pdf (116.97 KB)



    And here is the schematics of an simple H-bridge you can use with it. I hope to make a PCB layout for this later.


    simple_h_bridge.gif


    If you wonder, this is the h-bridge section of the KT-5198!!!


    @EvanF: I added the PA and PB markings of your simple h-bridge on the PCB silk layer, for you to see how to connect it.

    I don't think is nessasary to connect toggether the grounds of the avr motion controller and yours simple h-bridge but I added ground pins as well! The way I see it when PA is PWM the PB is Ground, and the the same for opposite.

    I double checked everything and it should work like a charm! If you can't solder a PCB you can place the 74HC08 on a breadboard and follow the schematic to do the wiring for the first tests.


    If I don't see you before... Marry Xmas!! :xmas:

    Regards, Thanos
  13. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I have ATMEGA8535-16PI but ATMEGA8535-16PU will also do fine!


    Thanos
  14. EvanF

    EvanF Member

    Joined:
    Jun 10, 2007
    Messages:
    199
    Occupation:
    Multimedia Producer
    Location:
    New Zealand
    Balance:
    423Coins
    Ratings:
    +1 / 0 / -0
    Awesome news! PCB of H-Bridge good too, the circuit is a simple one and the IRFZ44 has been reliable for me, with fans even more reliable, they are cheap too!

    I'm on 5 weeks leave so looking forward to making some headway with my sim project.

    ..and a Merry X'mas to you too!

    EvanF
  15. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Someday this circuit could be added to the main AVR contoller pcb. It would prevent one would have to etch 2 circuits, and it would prevent additional wires between the circuits.
    Just an idea.

    merry X-Mas
    Christian :xmas:
  16. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I was thinking to add this circuit to a second PCB that hosts the h-bridge circuit I given as example:

    simple_h_bridge.gif

    I'm going to prepace such motor controller PCB soon!

    Then we will have a full DIY motor controller with RN-VN2 compatible inputs! Ok, its not the same thing but will provide higher voltage rates to be able to drive 24V motors too!

    I like the idea that we can build everything from basic (and cheap) stuff!

    Regards, Thanos
  17. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 49Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    So if i understand it right... We don't need a rn-vn2 anymore?
  18. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Thats right! :)
  19. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    In fact you will need no commercial motor driver at all! You can make all stages your self! From the motion controller to the motor controller!

    And the cost for all this will be really cheap! I asked prize list for the materials for the dual simple H-bridge and it was around 10 euro!!! Of course you can use higher amp rated FET's to handle even bigger motors in the same design!

    I'm half-way there in the design of the simple H-bridge driver that will support four motors! It will be a seperate second board for start but I'm looking for the possibility to create a single A4 PCB board that has everything on it!!!

    Regards, Thanos
  20. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 49Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Very nice... I have ordered 2 ford scorpio wipermotors. So I can hook them up your controller? Powered by a 12v battery? And thats it... ???

    And the software ofcourse...