Model Train controller - revisited


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Well sticking a 1K in parallel with the wiper and gnd does show a great improvement on the scope trace... will just have to wait to see how it performs with a loco

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c View Post
    Well sticking a 1K in parallel with the wiper and gnd does show a great improvement on the scope trace... will just have to wait to see how it performs with a loco
    Woohoo! Sweet! now depending what you need, 2-3K curve seems nice to me... but i'm not the guy who drive this loco
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Wink Archives !

    Hi, Malc

    I do not know wich pic you really use ... but if it is the same as in your Listing ( 16F767)

    you should have a look to Post #8899 from Bruce ... ( Jul 2003 )

    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
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Malc

    I do not know wich pic you really use ... but if it is the same as in your Listing ( 16F767)

    you should have a look to Post #8899 from Bruce ... ( Jul 2003 )

    Alain
    Well I've searched for posts older than a year from Bruce and the stupid search engine still brings up posts dated 2007 !

    Any chance of a direct link as I amd using that PIC

    Malc

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i think it's that one
    http://www.picbasic.co.uk/forum/show...ghlight=16f767

    but it's may 2005

    anyways, by searching with post#... you'll redirected there
    http://www.picbasic.co.uk/forum/showpost.php?p=8899

    which is the same
    Last edited by mister_e; - 25th April 2007 at 17:44.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    i think it's that one
    http://www.picbasic.co.uk/forum/show...ghlight=16f767

    but it's 2005
    Hi, Steve

    Ok, You're right !!! 2003 is my join year ...

    don't you think 3 nice working channels are better than 2 " not so good " ???


    But I still do not understand why Malc wants to read its pots @ 150 Hz ...
    may be timing issues he gets come from here !!!

    Alain

    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 " !!!
    *****************************************

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    From what i remind 150Hz is less noisy for those motors. And it's also a kind of limitation of the SSPWM as well.

    Sure, the noise you hear from your motor is the PWM frequency. Depending the accuracy you need and the OSC you're the maximum PWM frequency should be in the 'yes i can hear that frequency' range

    PicMultiCalc came handy... @8MHZ 30KHz PWM give 9 bit accuracy (well 0-267). Question is... how the motor will react to this... i worry a little bit about the output transistor efficiency already in use for that frequency range. Maybe good enough. Don't remind the whole specs.
    Last edited by mister_e; - 25th April 2007 at 17:51.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Microstepper controller
    By aratti in forum Schematics
    Replies: 14
    Last Post: - 3rd January 2015, 16:52
  2. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 20:33
  3. Graphics controller for the Sitronix ST7549
    By ttease in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th May 2007, 21:45
  4. Recommendations - Model Train Controller
    By malc-c in forum mel PIC BASIC Pro
    Replies: 101
    Last Post: - 8th March 2007, 08:17
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44

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