Search results

  1. J

    Response to pin inputs

    I have frequently read pin values using ADC and then created outputs depending on the resulting values. Is there a more direct way such as in effect being able to say 'If pinC.0 = 1 and if PinC.1 = 1 and pinC.2 = 0 then goto...'? or similar combinations of multiple pin inputs? I'm worried...
  2. J

    error with 50 Hz as a clock time base

    Following through with my enquiry of a few days ago about using RTC's I thought it would be interesting to try and use 50Hz as a time source. As a test I have tried to achieve getting 30 second pulses to drive a vintage slave clock and now also a also a mechanical counter to confirm that the...
  3. J

    Communications between devices...

    I have used picaxe for some years for managed to create many successful and effective projects but so far have avoided using any serial data functions other than setting up a digital display exactly as explained in one of the manuals and managing to make this present the correct information but...
  4. J

    Has an input arrived anytime during the a time period?

    To troubleshoot a problem, I wish to remotely determine and indicate whether an object moves more than a small distance left to right or visa versa. Using optical sensors for example, I can easily achieve digital outputs (similar to a shaft encoder) that will give high outputs in one order or...
  5. J

    non volatile memory

    I am finding it very difficult to understand how to use non volatile memory; the explanations in the manuals are surely far from clear. Using an 18M2, I can readily create a two digit number using plus or minus buttons which for example is stored in variable b12. I want that number to be...
  6. J

    Hpwm - total confusion and despair...

    I wish to be able to independently control the speed and direction of three identical dc motors preferably using just one device such as the 28x2 this being chosen on the assumption that I could use the 4 hpwm outputs plus two of the remaining pwm outputs, this same assumption being based on the...
  7. J

    quadrature decoder

    Greetings. In the past I would use a flip flop to interpret the signals from two hall effect sensors to attain a quadrature output but would now like to do the same using a picaxe micro. I have copied the following from a thread found from searching the subject. I think this will achieve...
  8. J

    LCD Firmware destroying PICs

    Using a 16x2 LCD with a PIC16C620A firmware I have inadvertently discovered that resetting the firmware sometimes destroys the PIC 14M2 to which it is connected through a 1k resistor as shown in the destructions. (I have not tested the set up with other PICS for what should be obvious reasons!)...
  9. J

    How best to interpret a binary input

    I would like to be able to read approximately 30 positions of a rotating device but rather than using 30 individual inputs on a PIC device would like to convert these to a binary sequence which would therefore only require 5 inputs. I can see the means to both detect and convert the positions...
  10. J

    Assessment apprecaited...

    Inspired by struggling with a colleague to persuade the mechanical governor on an ailing lawn mower to behave better, I set about making a Picaxe based system though with much greater intention of learning more about programming than seriously considering actually modifying said horticultural...
  11. J

    Latching and configuring inputs.

    Another two questions from a struggling learner. I am using a 28X1 (Why? Because it’s what came fitted to my starter pack!) With comparative ease, I managed to write a program to control a two way traffic light sequence but on trying to introduce a pedestrian crossing, found myself pulling...
  12. J

    a little pwm advice please

    Greetings, Having just started on the great PICAXE learning curve and for this purpose have obtained a PICAXE28X1 starter kit (16F886), I seek an explanation for a quandary and how best to approach overcoming this. Purely for the purpose of learning, I have been trying to achieve an adjustable...
Top