Recent content by RobertN

  1. R

    Unused inputs

    This has been discussed before, but I'd like to eliminate a component. Unused inputs are normally tied to +V or ground, can this be done without a resistor? Since inputs have weak pull-ups, can several of them be tied together forming a "stronger" pull-up, without being tied to +V or ground?
  2. R

    View variables

    It's been a while, but I thought there was a mode where the variables (b & w) could be viewed dynamically while the program runs. Like to see W0 when readadc c.4,W0 Quite sure I've done this before, but can' recall or find how to do it. Debug returns ffff even though the program is...
  3. R

    pwmout glitch

    A previous thread mentioned an output glitch occurs when pwmout updates. A comment was made there maybe a work around by poking a register. The application can stand a glitch in the duty cycle but not frequency. Can anyone elaborate on this?
  4. R

    Electronic wind chime

    Surely this has been done before, it appears to be something several PICAXE might handle. The project can be more complex than it may appear, since from 1 to 6 tones can be sounding simultaneously, with each tone at a random exponentially decaying amplitude. The decay duration would be...
  5. R

    Conversion to compiler

    May have asked this before. Have this program running on a 08M that is too slow. There is only 3 I/O so a Pic 10 or 12 is all it needs. What is the most pain free way for an old geezer to convert this program into a compiled language? Have to stay with basic, no good with foreign languages...
  6. R

    Software set - reset flip flop

    What’s the best way to do a dual input software flip flop? Can't wait around to do pulsin or handle interrupts. Input low must be detected as the program cycles through and polls the input pins, then toggles a bit. Came up with this, it seems rather cumbersome. It depends on successive...
  7. R

    Out of variables

    I've run out of Word variables and have only one Byte variable left on a 08M. To stay within the 6 word variables I'd like to do something like below, simulate gives "Syntax Error". if w6 = w4 + w5 then let w6 = 0 endif Whats wrong? Suggestions appreciated.
  8. R

    Pulse measurement

    What is the best way to measure the time between 2 pulses, one each on an input? The pulse pair repetition rate is about 80Hz., with the time between pulses from near 0ms to near 12.5ms. The output would be a 20 - 30 Hz PWM proportional to the time between input pulses. For best response, the...
  9. R

    PWM capture to analog

    I'd like to bounce this off you guys to obtain suggestions for improving the circuit. Doing stuff like this solo makes you wonder what could be better. Attached is a simple capture and hold circuit to convert a PWM input signal into an analog value for a PicAxe A/D input. The object is to...
  10. R

    min command

    Am trying to use the min command in 08M programming editor, it ignors the min command in this code. let w3 = w2 - w1 min 0 When w1 is greater than w2 the result rolls over to 65--- without limiting the result to 0. When min 0 is entered into the editer it appears in black, not blue like...
  11. R

    Servopos, longer duration?

    Is there a way to make servopos pulse 4 times longer? As it is, it rolls over on multipules of 255. Would like to have a 10 ms pulse. The back ground servo function allows more freedom to do other things.
  12. R

    Interrupt during pulse out

    What can you expect to happen when an interrupt occures during a pulse out or servo pulse?
  13. R

    Servo cycle time

    Is there a way to slow the servo cycle time to 40 ms without changing the clock rate?
  14. R

    08M temperature and I/O interface

    This is a project to limit the infloor heat to a garage. The object is to interface with the existing pumps and control system to apply heat to the floor only if the return water is < a set value. The interface is implimented by breaking the normal direct connection between the thermostat and...
  15. R

    Peeking TMR1

    What can be expected from peeking TMR1 OEh and OFh? Would this return a consistantly increasing number with reliable rollover? Any comments appreciated about using 1 as a time base for multiple functions.
Top