Recent content by eddydde

  1. E

    Current measurement - How would you do this?

    As part of a much larger project using a 18X device I am wanting to measure voltage from a 50 Amp shunt. Shunt is 0-50mV for 0-50 Amps. Shunt is isolated from PICAXE device. I am not after detailed information just some pointers. I will use an AXE033B to display the results. Not after high...
  2. E

    Unexpected results writing to eeprom using system variable

    PICAXE 20X2 If I use a normal/standard word variable e.g. W11 and write a value e.g. 430 to the eeprom, shut my project down, boot up and then read the variable it returns 430. No problems there. (write eewatts, word, watts) (read eewatts, word, watts) If I then use a system variable e.g...
  3. E

    Problem with AXE033 LCD internal memory

    The AXE033 has 7 storage locations numbered 1-7. The date/time is stored in location 0 I am unable to store a message in locations 4 and 6 and 7. I have stored messages in locations 0 (Date/Time), and 1,2,3,5. Here is the code I am using that writes and then read backs the stored message...
  4. E

    ADC question

    This code I refer to was originally posted here http://www.picaxeforum.co.uk/showthread.php?t=3179. My modified version of this code is this: edit: symbol reading = w0 symbol reading1 = w1 symbol gain = 192 symbol zero = 10 loop1: readadc 0, reading reading = reading * gain / 100 + zero...
  5. E

    Simple prog posted to this forum wont work

    As a newbie to PICAXE I have located a programme posted to this forum that I would like to use but it does not work. Posted on 07/09/2005 under the heading 'ADC Voltage display ?' Here is the programme: symbol reading = w0 symbol gain = 192 symbol zero = 10 loop: readadc 0, reading reading...
  6. E

    SETINT command

    As a newbie to PICAXE I am trying to come to terms with the SETINT command before I use it in a project. On page 182 of the PICAXE manual an example is given: main: low 1 Pause 2000 goto main interrupt: high 1 if pin 7 = 1 then interupt pause 2000 setint %10000000...
  7. E

    Strange PWMOUT result

    I am using the following lines of code as part of a loop to produce a burst of 3725Hz square wave. pwmout pwmdiv4,3,66,134 pause 200 pwmout 3 , off If I look at this burst of tone on a CRO, there is 6 'cycles' of approx 15kHz square wave before it settles down to produce the 3725Hz square...
  8. E

    Generate burst of 2 kHz square wave?

    I am wanting to generate a burst of 2 kHz square wave using an 18X device. The pwmout command only generates down to 3.95 kHz. Any suggestions as to how I can do this within the chip?
  9. E

    Non integer pulse and sound

    As a newcomer to the PICAXE (16F88) I would be grateful for some assistance with two programming questions: 1. Is it possible to generate a pulse as accurate as possible every 2.23 milliseconds? 2. Is it possible to generate a sound(tone) as close as possible to 4 kHz? I have observed the...
Top