Recent content by Dr_John

  1. D

    using settimer command twice stops timer counting

    - Apologies if this has been raised before - I had a problem that sometimes the timer variable was not counting. It would only count reliably if you turned the robot on twice, ON - OFF-ON , or used the hardware reset pin. It would not count, if you left it off for 15 seconds (Capacitors...
  2. D

    Problems using timer/count input in count mode

    I'm trying to use the "counter/timer" of the picaxe 28x2 to count pulses on pin C.0 while my program is busy doing other things. I was getting more counts than expected, and assumed that there might be "contact bounce" as the input is derived from an analogue source. I therefore decided to test...
  3. D

    Strange failure mode?

    I have a robot that is no longer working. I have been downloading to the AXE401 shield base (28X2 picaxe chip) on and off about 30 to 40 times since the board was new last October. see http://www.picaxe.com/docs/axe401.pdf page 4 The motor drivers etc, are provided by an instant robot board...
  4. D

    Readadc values changed by state of outputs 08M

    Background I'm trying to read a gyro chip and integrate the values to give "angle turned" fo a robot. This is done on a dedicated 08M chip, and I wish to signal the angle to the main Picaxe chip. I output the angle as 3 output levels on 3 output ports which are currently driving LEDs. The sensor...
  5. D

    eeprom data became volatile on 8/3/12

    During a session on the afternoon of 8/3/2012 the eeprom data became corrupted on two seperate PIC08M boards. I found out one had lost its data, then tried the other, and it too had lost it. These are two daughter boards that haven't had new software for months, and have been working reliably...
  6. D

    Simulator for Buggy Model Kit MOD001

    I have developed a simulation of the Buggy Kit which runs as Flash in a browser window. It's in use at the School where I'm a helper. I would welcome some feedback from the Picaxe community or indeed other schools. How could it be improved to teach systems and control to years 7,8,9? Reminder...
  7. D

    nested do inside gosub fails simulation

    Is there a bug in the simulator? Are nested Do loops supported? Prog1 at the end of this post fails. The "loop" command in the man program goes to the "do" in the subroutine. Prog2 behaves as expected. Any ideas? Thanks John F '-------Prog1 fails---------------------...
  8. D

    Incorrect code between decision and stop

    In Flowchart mode: I enter the following: Start <-<-<-<-<-<-+ if pin0=1 Y----+ ^ N-------------V--+ | stop The code I see produced is: main: label_14: if pin0=1 then label_19 goto label_14 stop '================================ as you can...
  9. D

    Flowchart simulation for the colour-blind

    Can we have the option of highlghting the whole flowchart box during simulation?. The mere use of red for the box border and text is close to invisible to those colour-blind like myself.
  10. D

    pin3 as output fails to download

    The following program will not download: pin0=0 pin1=1 pin2=0 pin3=1 pin4=0 pin5=1 pin6=0 pin7=1 It gives a popup "Error unknown symbol pin3" Picaxe version = 18x Programming editor version = 4.1.13 Pin3 as an input should be illegal, but it should be allowed as an output.
  11. D

    CHI007.pdf Buggy datasheet out of date

    It seems that the published version of the PIC Buggy Self-assembly kit document is still showing the two microswitch inputs on pins 0 and 1 ( Page 3 Input/Output configuration). They have moved to 2 and 7 for the boards I am curently asembling version 5.0)
  12. D

    Can we have our own datasheets in html?

    Programming Editor suggestion: In the same way as you give access to pdf datasheets, please can you make the editor launch a browser for user-defined html datasheets? How about a [USER] section in datasheets.txt that we can use to set up references to our own data pages? This would be reached...
  13. D

    AXE120 speed control misbehaving

    Is is a hardware fault or am I using it wrong. I have put in the simple line-following program from http://www.rev-ed.co.uk/docs/axe120.pdf and most of the time it does what it says on the tin, But ocasionally one of the motors goes full speed in reverse. Normally the motors run at half...
  14. D

    Digital output simulation fails with "pins"

    I'm updating some teaching material to use the movement blocks for controlling a buggy. We previously used "High" and "Low" blocks to control the motors. I find that not only do the movement blocks not show digital output values under simulation, but that the...
Top