Search results

  1. D

    PWM problem on a simple programme - relative beginner

    Hi there, I have tried to send you a video but the MOV files are too large and the MP4s are not allowed. I do not know which format to use. As you can gather I am not an iPhone or Facebook junkie. You can judge the size of the loco from the AA cells. The actual scale is 16mm to the Foot running...
  2. D

    PWM problem on a simple programme - relative beginner

    Many thanks for the information about PWM values. I came up with the value 14 (67KHz) while experimenting with cheap motors. This value seemed to make them vary their speed the way I wanted. I will try other frequencies shortly but my main priorities are to get the loco built. I have already...
  3. D

    PWM problem on a simple programme - relative beginner

    Indeed I will do this as soon as I can. It will be a day or two though, as I am now packing for two model shows at the weekend and my power will be off tomorrow - not today, as I previously said.
  4. D

    PWM problem on a simple programme - relative beginner

    Hello again, Yesterday I added another subroutine which slows the motor to a halt (for next ...step -1 etc) but kept the red on/off button on the remote control for an 'emergency stop.' Today I tried it on my outdoor layout and was very impressed by the performance. It pulled lots of wagons at...
  5. D

    PWM problem on a simple programme - relative beginner

    Many thanks! Many thanks! I have learned a lot from this. I will investigate PWM values later, but at the moment the loco is working well and I will change the STILL command to us the OFF term. Derelict48
  6. D

    PWM problem on a simple programme - relative beginner

    Many thanks to all who gave me help. All of you recommended replacing GOTO MAIN with GOSUB. I really should have spotted this. All I have to learn from is the online manual and the pages on each command many of which do not give clear examples. Hippy's use of SELECT CASE totally solved the...
  7. D

    PWM problem on a simple programme - relative beginner

    I am building a garden railway loco to be controlled by the Picaxe IR kit. The motor is an MFA 12v motor controlled by an L298 controller connected to a 20M2 chip. Functions at the moment are: slow forward, fast forward, reverse, stop and horn. Everything is installed in the loco and works well...
Top