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

1 USB com port for all SCN actuators

Discussion in 'SimTools compatible interfaces' started by jyrki.j.koivisto, Jun 15, 2011.

  1. jyrki.j.koivisto

    jyrki.j.koivisto New Member

    Joined:
    Aug 30, 2010
    Messages:
    85
    Location:
    Finland
    Balance:
    314Coins
    Ratings:
    +3 / 0 / -0
    I came up with an idea to connect all SCN actuators to one USB converter. The idea would be to make an USB converter from USB capable PIC-micro and add to its UART a multiplexer for N number of rs-485 converter chips. SCN code may need to be altered on x-sim (or not). on x-sim all SCN actuators would be mapped to the same USB com port and the PIC-micro would then relay the message to the correct actuator, which could be left at the same default address as the PIC-micro would handle all that.

    When a call to actuator number 1 would come the PIC would send the message to its hardware rs-485 chip via the multiplexer and alter the address on the message if needed plus do the crc calculations. X-sim could also be modified so that all the timing of the rs-485 could be changed via somekind of messaging on the PIC.
  2. jyrki.j.koivisto

    jyrki.j.koivisto New Member

    Joined:
    Aug 30, 2010
    Messages:
    85
    Location:
    Finland
    Balance:
    314Coins
    Ratings:
    +3 / 0 / -0
    Didn't realise they where so cheap. This would not make much sense then. My only wish was to use only one USB-port and a central communication point as I somehow don't like the idea of using multiple USB-ports and adapters, though I and almost everyone I suspect have more than 10 of them to use on ordinary PC... :) Allthough it would be nice to have one USB to four RS485 adapter

    One LTC485 chip would cost around 2€(there would be need for four of them if one wants a USB2FOURRS485 adapter) and then there would be need for a 4-to-1 and 1-to-4 multilexers (?$) plus PIC-micro (5$ ?) and the cost of a PCB plus some bits and pieces. I'd quess it could be done with say 20€-30€?
  3. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
  4. Skaut69

    Skaut69 Member

    Joined:
    Feb 20, 2009
    Messages:
    285
    Location:
    UK, Hull
    Balance:
    335Coins
    Ratings:
    +1 / 0 / -0
    I have two SCN5 on one RS485 converter. Didn`t do much - just connected them same way as it was to just one of them and it works. Still had left and right output and everything looks fine. I am using that blue one.
  5. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    437Coins
    Ratings:
    +22 / 1 / -0
    What you're actually saying is that you can't tell the difference between 80 outputs/sec and 180 outputs/sec which would indcate that something is wrong with either your rig or your motion profile.

    I say this because using two actuators on a typical RS-485 adapter feels terrible since it reduces your output performance by 50%! If you can't feel this, then maybe you are plagued by mechanical slop, bouncing aluminum sim, or perhaps a mistake in the motion profile.

    If you are going to use off the shelf adapters, you should use one per actuator to get good performance. The SX-3000/4000 is the same as three or four individual RS485 adapters but only uses one USB cord, and actually provides better performance (250 outputs per second according to X-Sim on most PC's) than using up 4 individual USB's.
  6. Skaut69

    Skaut69 Member

    Joined:
    Feb 20, 2009
    Messages:
    285
    Location:
    UK, Hull
    Balance:
    335Coins
    Ratings:
    +1 / 0 / -0
    Yes it works like that. Output is around half of the maximum one. I am not about to keep it like that - it was just a test. Yours adapters are actually killer performance so i am not even trying to compete with them (by any way). :thbup: