Search results

  1. T

    HT1621 Display

    Dear All, Has anyone tried one of these , I'm struggling understanding the datasheet. I've found some sample code to use with the Arduino, but don't have the skill to translate. Any thoughts please Tim
  2. T

    logic AND OR

    Dear All, 20m2 picking up d1 d2 d3 d4 from GSM modem . These will be four character words NORM, HOUR, FLIP the PE passes the syntaxon the code below as correct, but "passes" if only the first character is correct. I'm trying to allow both uppercase and lowercase characters I must be making a...
  3. T

    PWM to set a voltage

    Hello, I want to set a voltage ( between 1v and 3v) on a pin of the L297 stepper motor controller to limit current. I 've looked at a commercial piece of equipment that outputs a pin on a PIC to a low pass filter onto Vref of L297 ( 10nF and 10K Resistor). I'm OK working out the mark...
  4. T

    GSM TEXTing problem

    Hello, I'm trying to use a maestro gsm module to control my central by receiving exact 4 character texts ( NORM = normal, HOUR will extend the heating etc) using 20M2 chip and a rs232 to ttl adapter. SEROUT using pinc.7 8MHZ I want to send AT+CMGR= 1 ,13(CR) ( will delete all message at...
  5. T

    Firmware >= run DA 18M2 only

    Dear all, I'm unable to programme a 18m2 for the above error message. any thoughts please? Tim
  6. T

    XBEE Pro

    Dear Forum, i'm trying to use one xbee on the PICAXE "connect" board" to 3 other xbee's also on AXE210 connect board. All worked! However, there was limited some range so I changed the xbee( series 1) to xbee pro ( series 1); I also upgraded the 3.3v regulator. But it has not increased...
  7. T

    18M2 "pins ="

    In the old days when I used older picaxe chip if I want the output pins to represent a binary number I typed pins = b1 I'm in the process of switching to 18M2's my code lookup hr_ten, (63,6,91,79, 102,109, 125, 7, 127,111,0,64), onrelay let pinsb = onrelay On the simulator the correct...
  8. T

    Serin 18m2

    Dear All, Help please, I have an RF solutions GPS modules connected to a 28X1, all worked well on an old project using serin 1,T4800,("$GPRMC,"),b0,b0,b0,b0,b0,b0,b0,b0,b0,b0, b12,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0,b0, b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11...
  9. T

    Data logging LC512

    Dear Forum, I'm want to log weather station data over 7 eeprom on the picaxe datalogger board. The wizard addresses each chip using i2c 0 to 16283 for the LC256. Is it as simple as editing the code to 0 to 32535 when using LC512? I understand the need to set set slave address. I also want...
  10. T

    simple maths problem!!

    Dear All I'm simulating this simple maths on editor 5.2.7 let w0 = 913 let w1= w0 - 102 let w1= w1 *61 let w3= w1/100 let w2 =w1//100 I hoped w3 would be 494, but the simulator gives me 495. w2 is correct as 71. It seems to round up with some values What I'm I doing wrong please?
  11. T

    Irout 28x1

    Hi, Has anyone got any thoughts on this, I'm stuck. I'm trying to communicte using IR. I'm using a 28X1 as the transmitter using the code below for ir_loop = 1 to 5 IROUT 7,1,key_value pause 45 next ir diode on pin7 and the key_value are between 0 and 17. The receiver is a 08M using...
  12. T

    DS18B20 data in excel

    Hi I'm OK with the PICAXE code to handle the data output from a DS18B20 and display correctly on my display. I then transer the data via a datalogger into MS Excel spreadsheet. What I cannot work out is how to handle the "sign bit" in the spreadsheet ie positive or negative numbers...
  13. T

    porta IF statment

    I've looked at this for the last hour, any thoughts I get a syntax error on the following line if porta pin0 = 1 and porta pin1 = 1 then dcf77 if I remove the second porta clause or change porta to just pin0 = 1 then it's OK editor 5.1.3 picaxe 28X
  14. T

    28X pause < 1millisecond

    hi all, If I change the resonator from 4MHZ to 8MHz and in my programme I have pause 1 will the delay be 500microseconds, or is this too short? The same question applies if I use a 16MHZ with the delay be 250 microseconds? I note the new 28X1 chips have delays in 10microsecond units
  15. T

    Text in Variables

    Hi, I'm reading the day value from a RTC (1= Monday, 2=Tuesday etc). What I want to do is display the text(Monday, Tuesday.. etc ) on a AXE33 LCD Module. I've been experimenting with LOOKUP and BRANCH etc, but cannot output a text value to the module from a variable. Text OK from within quote...
  16. T

    28X short delays

    I'm building 3no NIXIE tube clocks. I've worked out most of the code including how to decipher the DCF77 signal! ands set the clocks However the PCB's I bought multiplex the tubes in pair ( 3 pairs - 6 tubes in total) The board takes a pre programmed PIC (inc 4MHZ res). This is bit I'm...
  17. T

    pins = msb + lsb

    Hi, I'm trying to output pins = b3 This is made up of two seperate variables ( b1 and b2). If b1= 4 and b2 = 5 then what I'm trying to output in b3 is 01000101.. In effect putting b1 in the high order position and b2 in the low order position. This are sent sent to two bcd to 7 segment...
  18. T

    32 bit driver

    Hi Can anyone help with the code to output a word(W0) to a 32bit serial driver for a 4 digit LCD display. I think I can work out the lookup part to convert the number to a 8 bit. What I cannot work out is how to &quot;strip&quot; the word to each decimal values ie w0=1234.I think I need to...
  19. T

    PWMOUT and variables

    Any thoughts on this on please - I've looked at the datasheets. I'm driving an analogue meter using PWMOUT. with the help of the forum the meter now works using pwmout 1,9 ,b0 ( It does not work if the frequency is any higher; and the value for b0 is 0 to 40 giving me a full scale[ 0 volt to 5...
  20. T

    output current on portc

    Can any help Am I right in thinking that the digital outputs can sink/source 20ma? Do the portc outputs also have the same capacity? ( I'm want to drive some LEDS from portc using 28x)
Top