Search results

  1. neiltechspec

    Maximum chip current per PICIAXE

    Can anybody recall the max current source & sink for a 20x2. Other PICAXE's could be useful as well. I know it's on here somewhere as I've seen it in the past, but I can't find it.
  2. neiltechspec

    28x2 Resonator Pins

    Quickie question, If I'm not using an external resonator, is it possible to use those pins for outputs. The datasheet implies they can, so if it's possible how would I do it & refer to them ? Neil.
  3. neiltechspec

    Ideas for a instantaneous MPG display

    Title says it all really. I would like to display my instantaneous MPG in my fuel injected classic car. I have a digital speedo / odometer, so know the pulses per mile, which is 3210 or 321 for 1/10th of a mile. (taken from a sensor on the propshaft giving 2 pulse per revolution x diff ratio &...
  4. neiltechspec

    A Maths Question

    Yet again I seem to be struggling with maths. Built a Wideband AFR guage that displays 0v to 5v as 10 to 20 AFR. This used, readadc sens,adc afr = adc*20/51+100 max 199 'max value limited to 19.9 bintoascii afr,b10,b11,b12 It worked well enough. Now I have changed the Lambda...
  5. neiltechspec

    28x2 serrxd question

    Just a quickie question on serrxd on x2 chips. The manual is not clear what happens to baudrate with different clock speeds. Unlike non x2's where it is clearly shown. Anybody got any ideas?
  6. neiltechspec

    Maths Help Needed

    Hiya all, I have a Wideband Lambda Air Fuel Ratio display, the controller also has a linear voltage output which can be used for logging purposes. Which is what I want to do. The logging bit I can handle ok using an "openlog" which I have used before for logging hourly solar inverter stats and...
  7. neiltechspec

    Maths Problem

    Following up on my model railway scale speed display, I seem to be having trouble trying to get my head around the maths required. The start & stop timing sensors are 100mm apart, N guage scale is 1:148. So I calculated this to be 1 Sec = 33MPH. The problem I'm having is how calaculate the...
  8. neiltechspec

    Quick question on pullups

    Anybody know the comparative pullup value between pins on 08M2 pins C.1 & C.2, are they the same or wildly different ?. Or would I be better off using separate resistors, 47k for optical rx collector pullup to 5v. Neil.
  9. neiltechspec

    Ideas for measuring model railway loco speed

    Using an M2, I want to measure loco speeds. I have two IR sensors (TX/RX) in small packages mounted in the track 12 inches apart. So, 1 Foot Per Sec = 0.6818 MPH, for N Scale multiply by 148 gives me scale speed. Should be easy enough. Thinking of using the 'pulsin' command to measure time...
  10. neiltechspec

    Turning Servos OFF until inputs change

    My points controller does 5 servos activating sets of points on my N Guage Railway. Inputs are switches and can be left in either position (on / off), when a switch changes I want to move the appropriate servo & then turn the servo off after about 200ms (should give enough time for servo to...
  11. neiltechspec

    Problem trying to order from PICAXE store

    It seems I am unable to place an order & pay by paypal. Keeps coming up with 'Failed address validation %1' The address it shows is correct & is as extracted from paypal. I have never had this problem before. Any ideas ????.
  12. neiltechspec

    LCD Contrast Pin Current

    Voltage seems to be between 0v & 1v approx, depending on display. As per the title, does anybody have an idea of how much current the LCD contrast pin draws. I'm looking to drive it off the DAC pin, should be possible if very low current required I would have thought. Neil.
  13. neiltechspec

    Unusual LCD Display

    Has anybody successfully used one of these before, or has any idea what driver chip it uses ?. It's a 8 X 2 LCD display that seems to be numeric only (and a decimal point) Using RevEd AXE133 code, 254,1 clears the display ok 254,192 positions cursor to beginning of 2nd line But 254,128 is not...
  14. neiltechspec

    Neoway M590 GSM Texter

    Found a Neoway M590 GSM SMS Text Module on fleabay for £7.90. Came setup for 9600baud, uses TTL simple AT commands for comms & runs off 3.3v It's really easy to use, but suggest the datasheets are studied as well. #rem M590 GSM Texter 9600baud V1.0 Sept 2016 On Power Up module sends :-...
  15. neiltechspec

    HSEROUT on an 08M2

    A quickie question on hserout. Noting this statement in Manual 2 - The hserout command is used to transmit serial data from the fixed hardware serial output pin of the microcontroller. It cannot be used with the serial download output pin - use the sertxd command in this case. With -...
  16. neiltechspec

    ADC10 Calculation

    Having a bit of trouble getting my head around the calculation need for a Oil Pressure Gauge. The sensor gives a linear o/p from 0 to 100 PSI. 0 psi = 0.5v 50 psi = 2.5v 100 psi = 4.5v Normally I would use - Supply Voltage 5v adcconfig 0 readadc10 w0 Then it would be easy to convert the...
  17. neiltechspec

    calibadc seems to screw up port C.7 on 20M2

    Title says it all really. I'm using a 20M2 driving two 7 seg Common anode displays directly through 470 ohm resistors to limit current to approx 5 mA per port. Units digit on port B & Tens digit on port C, so port C.7 has segment 'G' on my tens digit. Driving the ports low turns on the...
  18. neiltechspec

    TLC59116 Confusion

    Trying to get a TLC59116 - i2c LED PWM driver to work. I can't seem to understand the datasheet around device addressing. Trying the code below, but doesn't work :- hi2csetup i2cmaster,$c0,i2cslow,i2cbyte 'set base address hi2cout $d0,($00,$01) 'enable LED all call address & turn on OSC...
  19. neiltechspec

    Having Trouble with Fahrenheit Conversion

    Using a HT21D i2c Humidity & Temp sensor, no probs with Humidity & Temp in degrees C. But I can't seen to get my head around converting negative degrees C to degrees F. Any help appreciated, relevant part of code is below (with below 0 remmed out). Neil. symbol temp12 = w7 symbol adjtemp =...
  20. neiltechspec

    HTU21D Maths question

    I'm playing around with one of those HTU21DF sensors. Reading data ok & masking off the two status bits ok, but I'm having trouble trying to work out the maths for actual RH & actual Temp conversions for an M2 chip. Basically they are :- actualRH = -6 + (125.0 * rawRHData / 65536) &...
Top