Recent content by BeanieBots

  1. B

    Detecting DS18B20

    I have done many projects involving PICAXE and DS18B20s but have always had the luxury of not needing to worry about negative temperatures. As many of these projects involve 'consequences' if there is a sensor failure, I have traditionally used the return value to determine if there is a sensor...
  2. B

    owin/out on 28X2 pin A.3

    I am trying to use a DS18B20 sensor on a 28X2 pin A.3 (firmware B.3) without success. The sensor works fine when connected to any C or B port pins. Pin A.3 toggles fine if using high/low commands. I've even tried setting A.3 high initially but all I get from the sensor is a value of zero. Is...
  3. B

    Firmware Revision history

    This used to be held on your local machine as revision.txt. There does not appear to be such info in PE6 Is this information still available and if so, where do I find it? Thanks, BB
  4. B

    Background serial + blocking serial

    A quick question to save me having to try it. I have two 28X2's that need to talk to each other. The first one receives and sends data to/from a PC via Bluetooth using hserin/hserout. This works fine. Some of that data needs to be passed on to a second 28X2 and a reply is also required. I had...
  5. B

    background + regular serial

    I recall a recent thread that suggested that there were some commands which could impair background serial. Is it possible to continue receiving serial data in the background whilst also waiting for 'regular' serial on another input?
  6. B

    Problem with background serial

    I'm trying to convert a system which uses serin to use background serial but have hit a problem. It uses a URF/ERF pair and a 28X2 talking to a VT100 terminal. The following works fine just as expected. Do Serin C.7,N9600,b0 Serout C.6,N9600,b0 Loop However, my attempt at doing...
  7. B

    URF not working for Programming

    I seem to have 'broken' my URF module! In an attempt to get it working again, I have been following this thread http://www.picaxeforum.co.uk/showthread.php?25268-URF-reset&highlight=urf%2A but to no avail. History: all I did was change the LED function from Heartbeat to RSSI on the URF. I have...
  8. B

    Program Via Bluetooth?

    I'm in the middle of a project that will send data back to a PC via Bluetooth. That bit is now working fine but whilst configuring the remote bluetooth device I noticed it was capable of sending the break command. "Oh", I thought, maybe I could use it to program as well. I had a few attempts...
  9. B

    Battery cell charger / capacity tester

    Circuit diagram It's not pretty but here it is! Any questions, just ask.
  10. B

    Version Control

    In order to use PICAXE for testing certain product types I require a solid method of version control. For the hardware itself, it's nicely taken care of with "READSILICON". For EEPROM contents, I can generate an N-Bit checksum (where N can be large enough to keep "them" happy). The READFIRMWARE...
  11. B

    setintflags & flags

    PE V5.3.2 40X2 firmware B.3 The following code does not behave as expected in either silicon or simulation. #picaxe 40x2 flags=0 hintsetup %01110111 setintflags %00001000,%00001000 do:loop interrupt: setintflags %00001000,%00001000 sertxd (#flags," ",#pinsB,cr,lf) flags=0 return pinsB...
  12. B

    18M2 Multitasking

    Just been having a quick play with the AXE181 touch sensor demo board. I'm a bit confused by the behaviour of the following code:- #picaxe 18m2 start0: do toggle B.4 pause 300 loop start1: do toggle b.5 pause 290 loop start2: do toggle b.6 pause 280 loop start3: do toggle b.7 pause 270...
  13. B

    Gosub Interrupt

    Are there any 'gotchas' waiting in the wings if I were to issue a "Gosub Interrupt". eg, what would happen if a genuine interrupt occurred whilst in there? Is there any stack manipulation (besides the normal gosub) on account of the keyword "Interrupt" being used. Alternatively, could I force...
  14. B

    'ptr' display only 8-bit for 28X2

    PE 5.2.10 @ptrinc and @ptrdec now appear to work fine in simulation but the 'special' variable 'ptr' is only shown as a byte value in the lower section of the simulation panel. eg #PICAXE 28X2 do b0=@ptrdec w0=ptr pause 10 loop w0 reports the correct value but the panel display of 'ptr' is...
  15. B

    @ptrinc & @ptrdec bug in 28X2

    PE V5.2.9 Firmware B.0 & B.1 Neither @ptrinc nor @ptrdec behave as expected in the simulator. @ptrinc seems OK on the 28X2 but @ptrdec does not. example for @ptrinc: do b0=@ptrinc sertxd(#ptr,CR,LF) pause 200 loop In simulation, the output goes up to 255 OK but then stays at 255. I...
Top