Search results

  1. R

    G4 Alarm Keypad

    Once again Hippy you have shown me how to program so much more efficiently, basically the code below is all yours with my LCD interfacing bits bolted on😂 . it works really well and im very happy with the end result code wise, I'm just going to start building up the hardware now that the whole...
  2. R

    G4 Alarm Keypad

    The following code replicates all LCD data on the bus perfectly without missing a beat, I know my code is probably clunky and inefficient but its still work in progress. thank you for your valuable help so far Hippy. #Picaxe 14M2 '#Terminal 38400 #No_Data Symbol LCD_DATA_OUT=c.4 Symbol RCSTA...
  3. R

    G4 Alarm Keypad

    Was thinking of something like the following with my limited coding abilities to mark beginning and end of LCD transmittable data: PowerOnReset: SetFreq M32 HSerSetup B1200_32, %01000 PeekSfr RCSTA, b0 RCSTA_RX9 = 1 PokeSfr RCSTA, b0 let b12=255 MainLoop: Do Gosub ReadByte...
  4. R

    G4 Alarm Keypad

    As received: 1 75 K 0 60 < 0 135 ‡ 1 76 L 0 3 0 22 0 5 0 16 0 122 z 1 76 L 0 17 0 12 0 42 * 0 32 0 83 S 0 89 Y 0 83 S 0 84 T 0 69 E 0 77 M 0 32 0 85 U 0 78 N 0 83 S 0 69 E 0 84 T 0 32 0 42 * 0 145 ‘
  5. R

    G4 Alarm Keypad

    Your fix worked well
  6. R

    G4 Alarm Keypad

    Do Gosub ReadByte HSerOut 0, ( #bit9, " ", #b0, TAB, b0, CR, LF ) Loop
  7. R

    G4 Alarm Keypad

    looks like it is to do with sertxd
  8. R

    G4 Alarm Keypad

    Hi, I have hooked up the 14m2 and tried receiving on hserin pin b.1 and nothing seems to arrive.
  9. R

    G4 Alarm Keypad

    That looks good. I'm picking up an old panel tomorrow to make life easier bench testing as its a pain going into the loft to do real tests so once I'm setup with it ill give it a try and will probably have less issues, unfortunately my step and stair count will drop significantly on my Fitbit...
  10. R

    G4 Alarm Keypad

    With regards to the panel I only want to receive the LCD data by sniffing the traffic the only time I am going to inject anything into the comms is when I use the touch screen keypad and that will use the 14m2 to send 9bit data key commands so hopefully it will work without issue as I only have...
  11. R

    G4 Alarm Keypad

    Hi, Just to let you know that your code works great with the tests so far. I have found your help invaluable and it has been a great learning curve for me especially the communications side of things as I sit here trying to get my head around your code. the following works with the tests so far...
  12. R

    G4 Alarm Keypad

    Hi, sorry problems on the serial line as it is a single comms line things where getting lost ive separated the comms to just receive the panel data and this is the hex and you where right it now works with the checksum of 22 bytes. 4C 15 0C 53 65 74 74 69 6E 67 20 46 61 75 6C 74 0A 32 3A 48 61...
  13. R

    G4 Alarm Keypad

    Changing this seems to fix it ??? HandleL: Gosub ReadByte ; Length b2 = b0 Do Gosub ReadByte ; Data byte Gosub SendByteToLcd b2 = b2 - 1 Loop Until b2 = 1 'Gosub ReadByte ; Checksum Return
  14. R

    G4 Alarm Keypad

    Hi Hippy, I have setup a 20x2 with the quick demo code you put together and it works first time I transmit data into it but then includes more data second time around like it is not returning to the main point or I am missing something, I would love to fully understand your code but I don't as...
  15. R

    G4 Alarm Keypad

    Works well on 14m2 at M8. Thanks
  16. R

    G4 Alarm Keypad

    Hi, I have just linked he keypad upto the alarm along with my picaxe and test code and the picaxe can spoof the keypad data no problem so this is a great result and a huge step forward for my modern panel. It seems that the main panel controls everything including the messages sent to the keypad...
  17. R

    G4 Alarm Keypad

    Hi Hippy, Allycat, thank you for the lesson in bit banging, it works a treat I just had to try it. Thank you. #picaxe 14m2 setfreq m16 Symbol TX = B.0 Symbol TX_PIN = outpinB.0 Goto PowerOnReset SendByte: bPtr = 100 @bPtrInc = 0 ; 100 - Start bit @bPtrInc = bit0 ; 101 -...
  18. R

    G4 Alarm Keypad

    If only I was at your level, I would fully understand what you where talking about and possibly implement it :ROFLMAO:. Thank you for the help so far i am now going to try and send keypad codes to the main panel and use the very useful information you linked above to help reduce the amount of...
  19. R

    G4 Alarm Keypad

    Sorry I missed the top part of the code off. #picaxe 14m2 setfreq m8
  20. R

    G4 Alarm Keypad

    Hi Hippy, just tried you code and the result on the analyser looks good needs a little tweak so should be able to test on the panel later. Symbol TXSTA = $7E ; $19E for M2 'Symbol TXSTA = $AC ; $FAC for X2 Symbol TX9 = bit6 Symbol TX9D = bit0 HSerSetup B1200_8, %000 ; _8 for X2...
Top