Search results

  1. E

    Best aproach to create a 'retriggerable' timer?

    I an not an accomplished programmer and am struggling to decide the best way to make a retriggerable timer with an 18M2 (because I have them already) I only have one input that starts a 30 second timer and need to make one output pin high for that period. If there is no further input the...
  2. E

    Step and Direction code from Picaxe, any example code I could start with?

    I have a stepper motor driven rotary table to use on my milling machine. I also have a PSU and an all singing, all dancing, driver for it that has logic inputs for step, direction and enable. I want to use a Picaxe with keypad and a serial 16x2 LCD so that I can index the table to set...
  3. E

    Forum Thread display mode 'Newest First' But at the bottom of the page?

    I have the forum set so I see the latest addition to any thread at the front/head/top of the list. I don't know whether I have inadvertently changed something but I have to read the posts on each page from the bottom of the page upwards which seems a unusual. I assumed the latest page would...
  4. E

    Help or advice please with my Focus Pot to Focus Servo programme (again)

    With a lot of help from this forum I have got my programme 'nearly' working. I struggle with various aspects of programming, mainly memory handling, word (and byte!) variables and the little bit of maths incorporated produces strange results that I cannot decipher. My code probably does not...
  5. E

    Reducing servo signal 'granularity', is it possible?

    I know the actual mechanical/electronic resolution of a standard model servo is the ultimate limit to controlling its resolution but in order for it to use that resolution the Servopos or Pulsout signal has to have equal or better resolution. With a 10bit ADC in the Picaxe there are 1024...
  6. E

    Using 'Max' and 'Min' together to limit variable, How?

    I have looked through the manual/s and have read the section on using maths with variables but so far have not found out how to limit the upper and lower value of (Pulsout, in this case) to restrict the range of servo travel. Sorry if this is a really simple question that I should be able to...
  7. E

    Question about Picaxe Manual 1

    Appendix E to F give addition information on pin configuration for most of the Picaxe versions. I cannot see any reference to 18M2 and I am unsure of which pin I can use for a 10 bit ADC input. Have I missed something obvious? Ian
  8. E

    Adapting code from 08M to 18M2

    A couple of years ago I used an 08M (actually 2 of them) to control servos on a pan and tilt on a underwater ROV. I now need to write another vaguely similar programme and thought I would convert what I already had to familiarise myself with the 18M2. I have no skills as a programmer but apart...
  9. E

    18m and 18m2 I,m confused

    I have just received an some components from a UK supplier. I ordered (by phone) two 18m2 chips but as they are not marked as such I am presuming they are an older version. (Marked 16F819) On the supplying companies website they say the part is 'PICAXE-18m' and it supersedes the PICAXE-18. The...
  10. E

    I2C example code for 359.9 degrees with CMPS03 Compass

    I want to use (preferably an 08M) with a serial LCD to display heading with a resolution of 0.1 degrees. There are many examples of code on this forum but after several thorough searches I can only find I2C code to read the compass with one byte (0-255) which obviously give less than 1 degree...
  11. E

    Programme being overwritten error (long)

    I have almost got my project working but now struggling to get the last few bugs out. When downloaded into an 08M the most of the programme works OK but crashes when I use one of my functions. I am sure the problem is to do with writing to NV memory as I still dont fully understand how it...
  12. E

    Simulator 'Memory Panel' missing?

    I have been using the simulator whilst learning how to programme (an 08M). The PDF manual1 mentions (on P55) a memory panel that allows viewing of the memory location. I have tried every setting I can see but cannot make this window visible. Is it there? Is there a list of error mesages for...
  13. E

    Storing a servo position in an 08m NV memory

    I am controlling one axis of a camera pan/tilt by using two momentary buttons for clockwise and anticlockwise movement (movement stops when button released). I have written and tested the programme but now want to add a 'calibration' feature to limit the ends of travel. I am using the servo and...
  14. E

    INIT: Command. Where is it documented?

    I am just getting into Picaxe usage and got my first project working. It is for controlling a servo based pan and tilt unit using up/down and Left/Right momentary switches. Whilst it does work I do get odd twitches from having 2 servos on an 18X chip so may resort to using two separate 8 pin...
Top