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

2DOF Wiper Sim from Serbia

Discussion in 'DIY Motion Simulator Projects' started by fermevc, Nov 19, 2010.

  1. fredspeed

    fredspeed New Member

    Joined:
    Sep 1, 2009
    Messages:
    263
    Location:
    Northern Norway
    Balance:
    418Coins
    Ratings:
    +3 / 0 / -0
    It is also a good help to downloas profiles from the download-section, load it into the profiler, and study the settings others have made! Good luck!

    Fred
  2. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    It is really not as hard as you think.

    -Load Test Plugin, make sure you see Effect 21-40 moving when you move the sliders.
    -Create an axis
    -Add 1:1 G-Force to axis, select which slider should control it and adjust the endpoints.
    -You should see the graph changing as you change slider.
    -In USO now you have this axis (a01) that you can add to your output string.
  3. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    Ok guys, I'm having a little trouble with forum search feature, and finally found some profiles for testing, so hopefully I wont be bothering all of you with basic stuff and I will post some results.
    Thanks for all the help and guidance :)
  4. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    Call me what ever you want, but please take a little time to help :(
    As much as I tried to understand all the math plugin and USO output settings, I can't get AMC input to work.

    I have the following setup:

    PC1 Game and force-sender PC
    Windows7 64bit
    x-sim21013bbeta (installed a couple of days ago, and running in compatibility mode for XP)

    PC2 force-profiler and AMC PC
    Windows XP Pro SP2
    xsim21communityRC4-2103 (installed a couple of months ago)

    AMC is connected to COM1 of PC2 and is working like it should:

    AMC-flashed-but-no-input.png

    Problem is about input of my AMC, it wont change from 128 128, even if I run test-sender plugin, and I can see in math that graphs are changing for both axis created.
    I have tried to load some sample profiles found on the forum, but when I load them it starts some dialog window about no right motor something .... which is totally confusing to me at this moment.

    Here are the screenshots of sender SW setup:

    1. Force-sender is running and I choose Test-plugin like Frakk suggested.
    2. I'm using sliders 21 and 22.
    3. When I manualy (or auto) move these sliders, I can see the values change in math section of profiler

    force-sender.png

    I'm showing next a couple of the profiler screenshots:

    1. These values are changing when sender sliders #21 and #22 are moved
    2. Connection is clearly OK

    fp1.PNG

    Following are screenshots for both axis I made for testing:

    1. These bars are changing, and graph is displayed accordingly to sender sliders also

    fp2.PNG

    fp3.PNG

    Next is profiler output settings which is same for both my test axis x and y:

    fp4.PNG

    And finally, when I hit the START button, there's no parsing or other errors, but also no change on AMC LCD :(

    fp5.PNG

    I would be grateful if more experienced simmers would give me a hint.
    I'm willing to learn new things, but to be honest, I don't have time to go into theory of sender, math, ...
    My biggest fear before starting this project was AMC and HB, but seems that software part will be bigger problem for me :blush:

    Thanks in advance and BR, Igor
  5. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    I cannot find anything wrong with your software setup and USO.
    -Sliders are moving in Math
    -USO is set as per the AMC instructions
    -USO engine outputs at 30 with 33ms delay

    You are transmitting the right information from what I can tell. I would be more concerned about the circuit.
  6. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    I'm not so sure about circuit problem, because I flashed the AMC in first try, and I could set KP via Hyper Terminal w/o any problems.
    When I try to do refresh of COM ports list in profiler I can see AMC green LED flickering(the one Thanos added for stability).
    I used the same serial cable as for flashing, so is there any way to do some additional testing in order to verify circuit operation?
    Should I remove Tx/Rx bridge cables cause both of them are connected since I did the KP change testing?
  7. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    The programming circuit is separate with its own connector.

    If you had it working with H.T. then it should be OK.

    Try to use it with a 14.432MHz crystal and firmware. Rated maximum frequency of that AVR is 16MHz.
  8. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    I did some testing using putty instead of AMC and found out that Profiler is actually sending some data.
    I couldn't tell if data is OK but something is arriving to AMC (I made a small video clip and I'll post it later when I get back home from work).
    I've also read all AMC thread posts (114 pages :? ) and tried various profiles, use calibration slider and only solution I didn't tried yet is what Frakk is suggesting (lower crystal values, I'm using 22.xxx one).
    I'll try that solution tonight and post results.

    It looks to me that Frakk is the most helping member when it comes to AMC support and I can't thank him enough for that :clap:

    I only hope that I'll solve my issues soon, cause when Thanos publish his new project, everyone will forget the old AMC and I'll be stuck :)
  9. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    now i test my AMC and i have the self PROBLEM!!! :( but what is that??? i think it isn't the Mhz...
  10. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    when the USB adapter is out, the small LED lights, because when I put USB Adapter cleaned the LED does not light more ... is this normal?

    [​IMG]
  11. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    @ Interview
    I really don't know how to help you my friend :(
    I'm using plain COM port from PC motherboard, and you are using usb/serial converter.
    I've read many posts about problems with this setup, but I can tell you that my lower LED is on always, never goes off (Thanos used it for reaching stable 115200, it should be on IMO).

    @ All
    Here is a video clip of Profiler output captured with putty
    I've filmed my laptop screen, and there you can see some characters sequence showing some data. Serial cable is connected to COM port of laptop instead to AMC.
    This is to prove that Sender/Profiler is working properly.

    http://www.youtube.com/watch?v=o7CJe8xKAKM

    @ Frakk (I will call him an GENIUS from now on :cheers: )

    I've flashed the AVR with 18.xxx FW and put 18.xxx MHz crystal and after restart I can control the AMC input values 8)

    If we ever meet I would like to bye you a bear Frakk :cheers:

    I started the LFS plugin and managed to see the change on LCD. It now makes sense to play with proper settings and build my own profile, but not until I test the HB.
    I've used some random inputs (didn't want to load Thanos test profile, maybe later when motors are conected) and 128 128 are changing :)

    Here is what I have done so far:

    HB1.png

    hb2.png

    hb3.png

    And here are my two 70 Ah cuties (valve regulated lead acid batteries):

    bat1.png

    bat2.png

    I only need to make a charger circuit for them. I will use LM317 for that and 12V from my AT PSU which I'm already using for AMC and LCD.

    That's it for now, next post will be HB related or some kind of video showing bench testing whole electronic part (hopefully including the motors, paycheck in a few days :))
  12. fredspeed

    fredspeed New Member

    Joined:
    Sep 1, 2009
    Messages:
    263
    Location:
    Northern Norway
    Balance:
    418Coins
    Ratings:
    +3 / 0 / -0
    Cant help comment on your cooling on that h-bridge fermevc. It looks like it goes across the sides, or is it an isolating material?

    Thanos vrote:
    You can place a cooling plate but it should placed only on opposite placed pairs (one IRFZ44 and one IRF4905). I show in the next photo the pairs that you can connect together (circled and colored blue).

    http://www.x-simulator.de/forum/tronic-s-diy-dual-mosfet-h-bridge-dsmhb-t820-70.html

    Fred
  13. fermevc

    fermevc Member

    Joined:
    Jun 16, 2009
    Messages:
    126
    Occupation:
    Networking and telecomunication
    Location:
    Serbia
    Balance:
    5,956Coins
    Ratings:
    +59 / 0 / -0
    Don't worry fredspeed :)
    The plate between the MOSs is peace of PCB after etching (leftover).
    I needed something to isolate so I grabbed closest thing around :)
    My terminal connectors are bigger than Thanos's so MOSs came very close to each other, and I didn't had any spacers or little tubes to fix it.
    So, this is just a precaution and to make the whole thing stiffer.
    Thanks for your concern.
  14. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    people what can be?

    If I stick purely to the first USB adapter in the flash and then the input power supply is nothing and nothing is lit.

    I make out the USB adapter and back in, then light up the LEDs and the LCD.


    and if I then put pure USB adapter into the gaming input hears the small LED light on at me!

    ... please help


    [​IMG]
  15. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Good to hear changing the frequency fixed the problems. The At8535 was never meant to run at 22MHz, and I could never figure out why it is even an option. It just gives headaches for everyone.

    Thank you but I'm no genius. I don't drink beer, but we can do shots of tequila! :D

    You don't need an LM317 regulator to charge the batteries. 12V is not enough to charge them anyways, the regulator will only drop this voltage.
    I just connect the 12V ATX PSU directly to the battery and it keeps it charged to 12V. To fully charge it you need ~14V-15V.

    @Interview

    You don't need to make multiple posts in different threads about the same problem. Please keep it in your own thread.
    I don't know what you are doing and I'm not going to start guessing. The problem is in your USB adapter, your connections, or on your AMC.

    BTW, if you are programming it, the other port should be used. I believe PonyProg is not going to work with USB adapters, but I might be wrong.

    And also change your crystal to 14.xx MHz!
  16. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I programmed my atmega that a month ago to 22 Mhz!
    (I did with the USB adapter) flashden I have an XP computer on ...


    now i use a new computer whit windows 7 and 64bit ... this is maybe a problem?
  17. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Did you use the same USB adapter to program it?

    This might be the problem. Change it!
  18. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    okay thanks frakk

    I change later my Mhz to 18 hope it will work!

    many thanks
  19. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    now i have 18Mhz flashed! but again FAIL the callibration!!!


    and if I then put pure USB adapter into the gaming input hears the small LED light on at me!
  20. Deleted member 4120

    Deleted member 4120

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    here is my board (solder)

    [​IMG] [​IMG]

    was yesterday put some solder to.

    but it has not done anything!

    as soon as I plug a little poke hear the little LED to light up.

    Yesterday evening I went for 14 MHz down!

    and it did not help: (