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

Resolved No movement on wiper motors, DSMhb and UNO

Discussion in 'New users start here - FAQ' started by dedamare, Feb 28, 2016.

  1. dedamare

    dedamare New Member

    Joined:
    Dec 5, 2015
    Messages:
    8
    Location:
    Serbia
    Balance:
    139Coins
    Ratings:
    +1 / 0 / -0
    As the title says I have no movement on my wiper motors. So here it goes my so called explanation. :)
    1. I used @prilad code for arduino where i uploaded 9600 baud version:
    http://www.xsimulator.net/community/threads/arduino-uno-duemilanove-2dof-firmware.4564/

    2. I did ordered MM but it will arrive from China to my door steps in around 50 days, so i decided to make my own motor controller following instructions by @tronicgr using his tread:
    http://www.xsimulator.net/community/threads/tronics-diy-dual-mosfet-h-bridge-dsmhb.820/

    3. I connected UNO and h bridge as shown in picture where each pin from h-bridge goes in proper pin in uno (m1in1 in m1 dir1 etc)
    Untitled.jpg
    my paint skills are very brutal ;)

    4. Installed xSimCTRL 2.2 in hope to see some motor movement until i finished my shoulder mount chair( only pots are remaining to mount on motors and its done), but no movements at all o_O after few days of meddling and burning mosfets i decided to get help from professionals, so HERE I AM...
    DSC_0175.JPG
    pic of xSim in action
    DSC_0166.JPG DSC_0167.JPG DSC_0172.JPG DSC_0171.JPG
    some random pics of DSMhb assembling without main aluminum block for cooling FETs

    5. So i did some measurements ( my electronic skills are weak that is why i need help) and figured as much:
    h bridge is partially working....HOW you wonder ( i hope :)), well I am getting +12v on exit ( where motors should go), and it change direction while xSim oscillate, but i DO NOT have GND from battery on the other end so electric circuit can not be completed and thus no motor movement. So whats my NEXT STEP...
    :sos:sos:sos
    DSC_0168.JPG DSC_0169.JPG
    some pics of chair for the end. sorry for bad ENGLUISH
    • Like Like x 1
  2. dedamare

    dedamare New Member

    Joined:
    Dec 5, 2015
    Messages:
    8
    Location:
    Serbia
    Balance:
    139Coins
    Ratings:
    +1 / 0 / -0
    Ok. I made some progress today, didn't try with motors but will do tomorrow, i presume the problem was with me, well with xSimCTRL, well with me actually because i didn't read enough about software ( i still didn't read LOL). So i got a new problem now( jeeej lucky me :D). I did the following: I put motors to spin in one direction and put pots on min( via xSim), but on ONE exit i only have around 9-10v...is it normal or not, it's like a some exit on 74HC08 is weaker. Some guidance is still needed...
    Last edited: Mar 1, 2016
  3. dedamare

    dedamare New Member

    Joined:
    Dec 5, 2015
    Messages:
    8
    Location:
    Serbia
    Balance:
    139Coins
    Ratings:
    +1 / 0 / -0
    Sooo...today i tested H-bridge. I decided or i start them or i burn them. Well they did start. So h-bridge is STILL in working condition. :)
    How i tested h bridge you may wonder or not, never mind. ;) I supply it with juice via phone charger. +5v on vcc, GND on GND. Then i put + on one motor direction and pwm, and GND on second motor direction, per channel. Before that i soldered one wire from battery - to gnd on PCB, to remove wire that goes from battery to arduino, and make it simple.
    So my problem is in arduino or xSimCTRL.... The saga continues tomorrow
    :grin
  4. dedamare

    dedamare New Member

    Joined:
    Dec 5, 2015
    Messages:
    8
    Location:
    Serbia
    Balance:
    139Coins
    Ratings:
    +1 / 0 / -0
    SOLVED. :thumbs
    Very simple. I added extra power supply on arduino ( found some led lamp charger +9v, 1A), and it is working. Arduino has build in step down( i think that is called) that regulates higher voltage in +5v. So problem was in h-bridge that requires higher current (1A) to work. So my wipers are working NOW. BUT....yes there is but, they are working differently. One is working in steps, while the other is working very fast and not precise. Finally I HAVE to READ and UNDERSTAND how to set it up with xSimCTRL. I am still searching for volunteers to help me with. cheers