Search results

  1. C

    Reading uBlox GPS via it's DDC (i2c) port

    I've seen some really helpful code from Hippy here to make the ublox GPS only send certain NMEA strings back on request over serial - however I could really do with doing the same using the i2c interface...
  2. C

    Converting mV into "xx.x volts" serout

    Does anyone have any good ideas for converting a word value storing millivolts, into to a xx.x decimal serial output? I know the PICAXE doesn't support FP - but hoping I could send (mV/100)&"."& (mV-(mV/100)*100 ' Get remainder) ie: 1240mV - 12.4V 1240/100 = 12 (x) 12*100 = 1200...
  3. C

    Reading ECU Sensor in parallel without disturbing

    I'm trying to measure a thermistor coolant sensor, which is fed from a 5V line (with a 2k pulldown in the ECU) with a PICAXE 40X2 I don't want to disturb the voltage reading of the sensor that the ECU sees (which varies from 145ohms to 2.45k, hence 2.247V-4.662V). I presume I need to scale that...
  4. C

    08M2 - Does pulsin block pwmout?

    Should pulsin block pwmout? If i was in a tight loop with 99% of the time waiting for a pulse, would pwm on the 08M2 still function? Many Thanks, James
  5. C

    PICAXE capable of capturing enough information for a dashboard?

    Have used smaller picaxes for lots of small projects - but wanted to see if it could do a larger project I've got Requirement Reading at least 20hz 5 digital inputs 11 analog inputs 2 frequency inputs (between 30-300Hz) 1 i2c device (maybe more than this but not at 20Hz) input serial...
  6. C

    8 Remote Buttons over 1 wire

    Trying to work out the best way to communicate between 8 buttons (ideally would like to know the state of all buttons, don't need to sample any faster than 5hz) over a single wire (with common GND and power supply) back to a PICAXE Possibles: R-2R 8 bit resistor network - risks problems as...
  7. C

    Best non blocking serial input strategy?

    I'm looking to pick up serial input from an ID-12 RFID reader - but whilst the PICAXE is normally performing other tasks, this means I can't use the blocking serin command as I don't know when the RFID is going to be presented. The ID-12 chip has an RFID in range logic output, but when I try to...
  8. C

    Using Tasks on 18M2 (non plus) in PICAXE editor?

    I'm trying to use multitasking (of which I understand the early 18M2 supports 4) in basic, but if I try to program the chip with any of these commands I get a 18M2+ command are not supported on older 18M2 chips! Am I missing something? Many Thanks, James
  9. C

    How long does readadc command take?

    Can anyone estimate how quickly a readadc10 command is able to sample? The pic is an 18M2 running at 8mhz. See code below, any idea of the frequency of sampling? label1: readadc10 B.2,w0 if w0 > 50 then goto label1 ' else continue code James
  10. C

    Does Count tie up the program?

    I'm using the COUNT function to sample a complete second of pulses in a "standby loop" portion of my code. Will this tie up the program during the second of sampling? If as i'm guessing, it does - will an interupt work during the count sample period? James
  11. C

    Reading a memory value after reprogramming

    I understand the EEPROM data written when you used the WRITE command is lost during a reprog. My code increments a memory value, but I have no initial "set" for the value. This works in the simulator but I just wanted to know what value eeprom variables are after a reprogram, do they read back...
Top