Recent content by Peter-C

  1. P

    Reading DS18B20 by OWIN produces unexpected values in sub-zero temps

    I have a 20X2 based data-logger reading multiple DS18B20 on one wire, using the OWIN command: owout C.7,%1001,($55,40,182,18,64,1,0,0,31,$BE) 'access specific sensor at this address owin C.7, %0000, (b0,b1) 'read value to w0 Coll=w0/16...
  2. P

    Reading multiple DS18B20 temperatures using Owin Owout - giving mis-read results

    I am a grateful consumer of the wealth of knowledge and experience on this forum, so wanted to contribute a recent finding regarding the stability of results from a string of DS18B20 temperature probes, where all probes share the same input wire and pin. I have operated a small temperature data...
  3. P

    AXE134Y datasheet errors?

    In a spirit of continuous improvement: The datasheet (AXE134.pmd v1.2) http://www.picaxe.com/docs/axe134.pdf supplied with the AXE134Y 20X4 OLED quotes some control commands that don't work. serout 0,n2400,(254,128) finds line 1 OK but the quoted (254,168) does not find line 3...
  4. P

    Problem porting Hippys LCD code to a 20X2

    I have been using Hippys excellent code for running an LCD on an 18X for quite a while with great success, though sadly I cannot claim to understand how it works. In order to use multiple DS18B20 sensors on the one wire I now need to port the programme across to work on a 20X2 but the previously...
  5. P

    Connecting USB cable dumps my data

    I am sure this must have been addressed many times, but I can't find anything in the archive: I have a simple datalogger collecting temperatures periodically and writing them to the 80 to 127 memory locations in a 14M. My plan was to connect the circuit to a laptop every few weeks and start an...
  6. P

    14m losing its program periodically

    I have a 14m on a professional pcb which uses three inputs for temperature via DS18B20. 3 outputs operate LCDs and two run MOSFETS to switch pump loads of < 1 amp each. Diodes to prevent possible Backfeed from the pumps are in place after the FETs. I have made many of these circuits without...
  7. P

    A £1 Lcd?

    I picked up an electronic exercise step counter in my local Pound Shop this week (for £1). It has an LCD display of 5 digits and I thought I might be able to use it to display a given variable value from a picaxe. Sure enough, it is designed to increment the count each time a contact is made...
  8. P

    Sertxd & strange Readtemp readings when servo command used

    I have been troubled with a simple circuit that uses an 8M to monitor two ds18b20 temperature probes and operate a servo. When I use sertxd to see the temperatures the program runs smoothly, but as soon as I rem the sertxd command out I start to get erratic readings out of the probes. (Sertxd...
  9. P

    How best to include a malfunction alarm

    I have a simple and very effective circuit based on a 14m, which monitors temperatures and switches a pump in to prevent overheating or freezing in a water circuit. I am concerned that the system could potentially malfunction without the user realising, and damage could occur. I would like to...
  10. P

    Cant make lookup work

    I have searched the forum for more explanation of how the lookup functions work but my very simple test code fails to give me the expected result. main: let b0=99 'to simulate readadc result let b1=6 'to ensure b1 has an initial...
  11. P

    newbie: how to output temperature to LCD

    Using the manual code I have an LCD displaying 'Hello World', but I can't work out how tweak it to display a readtemp variable stored in b0. Serout produces no display (but I don't know which pin shoud do the sending). Any pointers will be very welcome.
  12. P

    Compiler error- Missing sub procedures?

    I am working at getting an LCD attached to an 18a. On page 36 of manual 3 we are given some simple code, which I have entered. It falls over on the second line "gosub init" and also rejects "gosub wrins" eeprom 0,("hello there") gosub init Main: let b1=1...
  13. P

    Prog. Editor will not connect but Serial Pic Prog will

    I have spent a few days trying to get started with Picaxe but have met a brick wall: I have a BAS800 programmer that gives me 'hardware not found' when I try to connect using Programming Editor 5.1.6. However the same hardware will connect and allow me to check for 'blank?' etc if I use the...
Top