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

Problems with RS485 converter and my control PC

Discussion in 'SimTools compatible interfaces' started by Schnullerbacke, Feb 26, 2009.

  1. Schnullerbacke

    Schnullerbacke New Member

    Joined:
    Nov 21, 2008
    Messages:
    226
    Occupation:
    Photographer / Videographer
    Location:
    Germany near Munich
    Balance:
    369Coins
    Ratings:
    +0 / 0 / -0
    Hi guys,

    I try to describe my problem which occurred the day before yesterday (it wasn't easy to find a corresponding thread-title):

    When I start my control-PC (see specs below) with plugged in USB cables which are coming from the SCN5 resp. from the USB converters, the power supply of my PC starts for a very short time (the built-in ventilator is turning a few rounds) and then stopps and nothing happens anymore. The power switch doesn't have any function and I cannot start the PC.

    But when I unplug the two USB cables and start the PC without them, everything's working just fine !!!

    Plugging in the USB cables when the PC is running, doesn't affect the working process - everything's working fine !

    I'm wondering if a separate USB controller (PCI) would be a solution ? Or a usual USB hub with an external power supply ?

    Here are the specs of my control PC:
    P4 3.0GHz, 1GB RAM, 450W power supply, XP Pro SP3.
    Plugged in USB stuff: Mouse, keyboard, laser printer
    Plugged in USB stuff (but switched OFF !): color printer, external hard drive 1 + 2

    I never had those problems with using USB hardware before - so I really want to know if there are any solutions known. Does anyone of you have problems like this or similar to this ? I cannot imagine that my internal power supply isn't strong enough to handle the SCN5 too - maybe I really need an USB hub with separate power supply !?

    Looking forward to hear from you.
    Thanks in advance,
    Chris
  2. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Re: Problems with SCN5 (USB) and my control PC

    Have you tried starting the PC with none of your other USB devices plugged in? If you try with just the SCN5's, this should answer your question about power drain. However, I suspect that the problem is something else since each USB<-->RS485 should only require 5V of power and your motherboard should be able to supply 5V per port that it makes available.

    You also may want to try disabling any other COM ports that you have on your motherboard in BIOS. \

    What adapters are you using?
  3. Schnullerbacke

    Schnullerbacke New Member

    Joined:
    Nov 21, 2008
    Messages:
    226
    Occupation:
    Photographer / Videographer
    Location:
    Germany near Munich
    Balance:
    369Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC

    Hi Bernard,

    I'm using these converters: http://www.chris-weber.de/simbau/Converter-01.jpg !

    I already tried to let only 2 USB devices (mouse and keyboard) plugged in during the start process, but this didn't solve the problem.

    Afaik the COM ports are already disabled in the BIOS !
  4. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Re: Problems with SCN5 (USB) and my control PC

    I have seen this behavior one other time. In that case, he damaged one of his USB ports. It was on the side of the pc, and someone bumped the USB plug that was plugged into it hard enough to damage the USB port itself. Please check your USB ports for signs of obvious damage. Often times the white piece in the center breaks or the silver metal portion get badly bent.

    Try plugging your USB<-->RS485 adapters into two different USB ports and plugging nothing into the USB ports that they are currently in.
  5. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC

    I can also recommend to use the last FTDI drivers!!!! Many detection problems are due to old beta versions...

    Thanos
  6. Schnullerbacke

    Schnullerbacke New Member

    Joined:
    Nov 21, 2008
    Messages:
    226
    Occupation:
    Photographer / Videographer
    Location:
    Germany near Munich
    Balance:
    369Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC

    I will d/l the latest drivers from the converter's manufacturer homepage. Maybe there are some newer ones.

    I cannot imagine that the USB plugs are damaged in any way, due to the fact that they are only NOT working when the devices (SCN5) are plugged in during the booting process. When the PC is running and I plug them in after a while, they are working fine !

    I will also try other USB plugs than those which are making troubles now.
  7. Schnullerbacke

    Schnullerbacke New Member

    Joined:
    Nov 21, 2008
    Messages:
    226
    Occupation:
    Photographer / Videographer
    Location:
    Germany near Munich
    Balance:
    369Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC

    I'm using cable which have been mounted by ego.

    As shown on this schematics...

    [​IMG]

    ...I connected Pin 1 of the RS485-cable to the UDD-connector on my converter. The other cables are also connected as shown on the picture. Without that the SCN5 could not be reached resp. be contacted.

    Where is the difference between [1] connecting the 5V to the UDD-plug and [2] connecting the 5V from the USB (PC-side) to the RS485-SCN5-cable ? I think, the converter offers the possibility to connect the 5V DIRECTLY !

    Regards,
    Chris
  8. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Re: Problems with SCN5 (USB) and my control PC

    What if you try to boot your pc with connected converterts but with disconnected SCN5?
    Just to see if it is probably just a converter related issue...
  9. Schnullerbacke

    Schnullerbacke New Member

    Joined:
    Nov 21, 2008
    Messages:
    226
    Occupation:
    Photographer / Videographer
    Location:
    Germany near Munich
    Balance:
    369Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC

    Yesterday I tried to plug the USB cables for the SCN5 on the back side from my PC case - it's working !!! At first I thought that the front USB plugs are damages - as Bernard meant... but then I tried to start the PC with plugged in external harddrive - and it also worked !

    Strange things happen... :eek:

    Anyway - the show can go on. And if any further problem with the USB plugs comes up, I will try the other tipps from you...

    Thanks again and best regards,
    Chris
  10. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Re: Problems with SCN5 (USB) and my control PC


    Hehe, It was happened to me too in the past with some usb devices (USB harddisks mostly) that won't recognized if I plug them to the front panel usb ports!!! Strange isn't it? :brows:

    Thanos
  11. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,657
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,875Coins
    Ratings:
    +2,036 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Hi Chris,

    There are common problems with the front usb ports. (my w-lan stick never works on the front usb, only rear side)

    Maybe bad quality of the used extension cables from mainboard to the external front usb-ports or a poor electrostatic shield of your PC casing. The Diameter of the extension cables could be very thin, so that the resistance is too high and it delivers not enough current. Already tried to measure current and voltage of the 5+ pin, when you startup your power supply, and another measure when it is powered up?
  12. Bulkie

    Bulkie New Member

    Joined:
    Dec 20, 2008
    Messages:
    6
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    I also have an strange problem with scn serial ports. Already discussed in this post http://www.x-simulator.de/forum/scn5-hardware-thread-t1083-328.html

    Everything I try is useless. The scn never respond. :no:

    ----------Edited----------
    After a few more test I noticed that if I connect the 2 devices (USB & MOXA) with the RS485 cable, the data sent by Force Profiler, doesn't arrive to the destination port(PC).
    The communication only works from putty to putty but not from Force Profiler to putty.
    I also noticed that when putty opens the port, RTS & DTS are high. But when is Force Profiler who opens it RTS & DTS are low.
    ----------------------------

    ----------Edit 2-----------
    I inverted RTS & DTS in SCN5 plugin and now are high as in putty. But the other side doesn't receive anything neither.
    I'm going to analyze the 485 bus with an oscilloscope. More news soon... ;P
    ----------------------------

    ----------Edit 3-----------
    The only difference I can see is that Force Profiler sends a 200ms break before transmit the data.
    [​IMG]
    I am really, really lost :sos: :sos: :sos:
    ----------------------------

    --------Final edit--------
    Finally I found the problem. There was in the configuration of putty :tape: . Now I can receive the data transmitted by Force Profiler in both directions (USB -> MOXA, MOXA -> USB) but both SCNs continues not responding neither in USB nor in MOXA. :cry:
    ----------------------------
  13. Bulkie

    Bulkie New Member

    Joined:
    Dec 20, 2008
    Messages:
    6
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Finally. With no apparent reason, SCNs begin to answer :yippiee: . But always answer 0x00. :cnotb: