Search results

  1. kranenborg

    COUNT command: possible accuracy issue?

    Dear forum members After some experimentation it seems to me that I cannot obtain the count accuracy as I should get according to the spec of the COUNT command. According to this spec, for a 64MHz 28X2 (with a very accurate crystal, see my recent Accurate Frequency Counter project) the...
  2. kranenborg

    Accurate Frequency Counter (0 - 65MHz)

    Dear Picaxe enthousiasts, Since I am in need of a frequency counter for an analog electronics project I googled around and quickly ran into a nice PICAXE implementation (0 - 65MHz) that seemed to satisfy my requirements very well. Its design was published in 2006 (!) by Jeremy Leach, who has...
  3. kranenborg

    Simple generator for a range of predefined frequencies using the M2's PWM module

    Dear forum members, Often one needs a pre-defined range of frequencies to be generated, the values steered by a potentiometer or similar sensor. The following simple code for a 08M2 provides for a range of frequencies (with fixed 50% duty cycle), using the M2's PWM module. In the attached...
  4. kranenborg

    BINTOASCII issue with @bptr type variables

    Hello, In my editor I am running into an issue that I have not met before. The following code line BINTOASCII b1, @bptrinc, @bptrinc, @bptr is rejected by my editor (version 6.0.9.3) but I have used it successfully in a program in 2011, very likely using an older editor version. The syntax...
  5. kranenborg

    SerialPower: updated implementation for M2/X2 picaxes

    Hello, Some of you may remember my SerialPower network software that I developed for the older M/X Picaxe chips variants. I delivered a fully functional SerialPower 1 version (V3.0) for those older chips that is documented in detail in the following thread, located in the Finished User Picaxe...
  6. kranenborg

    Picaxe as an efficient I2C slave to RasPi: one caveat

    The Picaxe and the Raspberry Pi are two quite different beasts but they appear to team up rather well. In particular the straightforward implementation of the I2C protocol by the Picaxe X2 variants (using the scratchpad RAM) makes the X2 chip a very useful companion as an I2C slave to the RasPi...
  7. kranenborg

    Update of single-paper Picaxe-08M2 quick reference and troubleshooting guidelines

    Hello, Just a sort notice that I updated my single-paper quick reference programming sheet from the older 08M chip to the current 08M2 chip, as can be found in the following entry in the code snippets section of this forum: http://www.picaxeforum.co.uk/showthread.php?20337 I hope that this...
  8. kranenborg

    Back to Picaxe ...

    Dear Forum members, I have been away for a while due to work responsibilities but discovered (of course) that putting at least some small but focused effort on a hobby keeps the mind healthy. From the options to choose to spend my attention to, the Picaxe came afloat quickly ... I have updated...
  9. kranenborg

    processing events using interrupts in a fixed time interval ("uninterruptible PAUSE")

    processing events using interrupts in a fixed time interval ("uninterruptible PAUSE") Hello, Sometimes you wish to record and process (possibly fast) asynchronous events using interrupts in a predefined time interval (doing more than just counting them, for which the Count command...
  10. kranenborg

    M2 chips: Can Serial Out pin be overridden to become a DAC input?

    M2 chips: Can Serial Out pin be overridden to become a DAC Vref- input? Hello, The M2 series has a large number of very useful modules (comparators, Data Signal Modulator, etc.) which, although not directly supported by Basic commands like on the X2 series (I presume because the M2 series have...
  11. kranenborg

    MicroBot (BOT120) asynchronous RC control using interrupt on IR receiver input

    Hello, Here is a small change suggestion regarding the mounting of the IR receiver extension to the MicroBot (BOT120), which may make the use of IR remote control of this bot much more flexible. By changing the mounting position from the rear right position on Port C.0 (as recommended in the...
  12. kranenborg

    Single-paper Picaxe-08M(2) programming quick reference (including troubleshooting)

    Hello, Not so much of a code snippet, more of a "documentation snippet". Here is a single-paper (double-sided) overview of the main programming concepts (symbols, registers, most important commands (with examples), picaxe pinout and troubleshooting) for a Picaxe-08M2. It may for example serve...
  13. kranenborg

    AXE092 (Schools experimenter board) difficult to trace in Web Shop

    Hello, When I searched the web shop for the schools experimenter board (AX092) I was not able to find it directly under the expected categories and I got the impression that it had vanished alltogether. After a while I remembered the product code again and then was able to locate it. Does this...
  14. kranenborg

    Automatic frequency calibration / finetuning of internal PICAXE resonators

    The two code snippets given here (for a master and a slave picaxe, connected to each other via a 1K or larger resistor) cause the slave node internal resonator frequency to get aligned with the master node. This is done in a loop in which the master node sends a number of pulses (using PULSOUT)...
  15. kranenborg

    Suggestion for new feature for Programming Editor: list of variables per register

    Hello, When one performs a syntax check on a Picaxe program, the Programming Editor (PE) gives a very useful list of used resources at the right-side of the window (Variables, Constants & Labels). With very large programs - in which it becomes inevitable to use a register several times for...
  16. kranenborg

    Picaxe Satellite PongSat NLSE-2

    Here I present a proposed design of the successor of the PongSat-18X NLSE-1 near-space satellite ( http://www.picaxeforum.co.uk/showthread.php?t=9236 ). It appears that we will get a ticket by JPAerospace for a planned flight over a thunderstorm (date yet unknown, the flight will be somewhat...
  17. kranenborg

    18M2 touch(16) command and timer1 use

    Hello, The manual (part 2, appendix 4) is not completely clear about the timer use of the touch and touch16 command on the 18M2. From the PIC16F1827 I understand that the touch sensing module can use either timer0 (8-bit) or timer1 (16-bit). Does anybody know which timer has been used for...
  18. kranenborg

    IR-controlled Airport model

    In a joint project my son Joost and I built an airport model a while ago (Joost built and painted the hardboard-based construction, I took care of the electronics part). The model includes 68 programmable LEDs, all of them in three main landing and departure tracks as well as the support tracks...
  19. kranenborg

    Use of Comparators in the PICAXE-18M2

    PICAXE-18M2 and Comparators Hello, The PICAXE-18M2 (and possibly also the other M2 variants of the PICAXE) has two independent comparators which, although not directly supported by the COMPSETUP command like with the X2 variants, nevertheless can be configured with the same flexibility...
  20. kranenborg

    Switching on/off high speed serial functionality 28X1

    Hello, I have a few questions I could use some help with: In my application using a number of 28X1 chips (beta SerialPower V4) I will use the HSerin/Hserout pins intermittently for high-speed serial operations (HSERSETUP baudrate, %00000011 ... HSERSETUP OFF) as well as the Hserin pin as a...
Top