Linear to S Curve conversion


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Thanks Darrel,

    The code is working now

    After experimenting, I am still confused how to adjust the x axis width, independently to left and to right from the center

    The real problem is that the stick (mechanical ) stroke is not identical, say to left 30 degree, to right 26 degree
    but electrically they are centered [ at 50k on 100k stick ]
    this will make our curve response not equal


    If we can adjust the most left / right position, then we can have nice curve, which has true equal left / right width


    Jon

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    That's what I was trying to do with the Trim.

    It allows you to adjust the "Center" position of the Control.

    I'm just using pots on a breadboard here, maybe it's not doing it right on the real thing.

    Can you give me any numbers?
    <br>
    DT

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking Simple ...

    Hi, Darrel

    Reading your kind post ... I just remember placing a resistor from the hot side of the pot to the cursor, and another, the same value, from the cursor to the cold side of the pot give a nice exponential shape to the "pot " response.

    so, using a twin pot instead of my two stupid resistors might give a trimmable response ( care to the minimum value !!! )

    Was a pleasure to help you

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Well, it seems that the stroke does not matter anymore, the difference is not significant.

    Case closed and I'd like to thank you all for helping

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  2. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 16:26
  3. Conversion problem
    By eva in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th March 2007, 18:21
  4. Help for decimal conversion
    By eva in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th March 2007, 18:20
  5. Strange A/D conversion...
    By Christos_K in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th June 2005, 01:35

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts