Profile image

Pressure Sensor

121k asteroidbook345  6 months ago

Is a pressure sensor possible to make? If so, would I have to use the relative positions of two flight computers or the amount of compression being applied to a shock? Either way, I’m interested to see if it’s even possible. Btw this is going to be for a new system of couplers I’m going to make that can couple semi-automatically without having to ram cars and use slow motion to couple them properly.

Edit: shocks do have an “extension” variable, but I’m not sure how to use that

  • Log in to leave a comment
  • Profile image

    @MRM19 you’d hit the button on the coupler to disable the lock, and simply pull away. Putting any tension on the couplers would make them automatically release. Currently it only opens or closes manually, and both couplers have to close at roughly the same time for the locomotive to attach properly. Ideally a pressure sensor would remove the need for manual coupling and decoupling since the couplers will open and close automatically when force is applied to them

    Pinned 6 months ago
  • Profile image

    @SnoWFLakE0s I figured it out and it was a lot easier than I thought it would be. Now I just need to make the shock strong enough to not break when I put tension on the couplers

    +1 6 months ago
  • Profile image
    66.7k SnoWFLakE0s

    https://www.simpleplanes.com/a/v30lb9/Electronic-Scale

    Measures mass.
    Pressure = Force/Area.
    Mass x g = Force.
    Thus pressure = (Mass x g)/Area.

    Simple & old as the shock compression variable.

    +1 6 months ago
  • Profile image

    @PlaneFlightX Alright great. I'll probably make the spring something like 0.25m long and put the x value to 0.1 so when it compresses about an inch, it'll lock

    6 months ago
  • Profile image
    46.5k PlaneFlightX

    @asteroidbook345 @V I don't think there is a unit for x, however from my testing I've found that x is 1 when the spring is stretched to twice its normal length, and -1 when fully compressed.

    6 months ago
  • Profile image

    @V oh awesome thank you. What units is x in?

    6 months ago
  • Profile image
    35.3k V

    Use a suspension spring and just have everything detach when it's compressed enough. The input on the detacher is as simple as Compression >= X

    +1 6 months ago
  • Profile image
    11.7k MRM19

    That is actually a really neat concept however my only question would be how would you also uncouple them? Maybe with a button on the coupler or somewhere else on the car? Or do you have another plan?

    +1 6 months ago