Search results

  1. D

    Flashing lights for desk ornament based on 18M2+

    Hi I promised my dad an ornament for this desk flashing 7 LEDs (6 in a ring with one in the centre) ... oh about 35 years ago! Yes, really. Well today, with some consultancy from my 7yo daughter, I built it on breadboard. I will transfer it to strip-board in time for my dad's 70th! Code is...
  2. D

    OpenTRV: thermostatic radiator valves and remote boiler control

    Hi, I just got this working from end-to-end today, and it's still very crude, but demonstrates the concept. This uses an 18M2+ PICAXE+DS18B20 to sense temperature* and control a wireless thermostatic radio valve (via an RFM22B) to regulate room temperature with a very simple 1-button / 1-LED...
  3. D

    Gosub chaining to conserve gosub slots...

    Hi, Bearing in mind the limited number of total gosubs that can be made in a PICAXE program, is it possible in general to replace the sequence: subroutineA: ... gosub subroutineB return given: subroutineB: ... return with: subroutineA: ... goto subroutineB ie...
  4. D

    18M2+ unreliable at 32MHz (m32) at 3.3V?

    Hi, I'm having some odd behaviour talking to an RFM22; I have to send it 40+ bytes of data to send to its FIFO ready to transmit plus other sundry things, and bit-banging was all taking too long. So I cranked up the PICAXE speed with setfreq m32 which all works fine except for a very small...
  5. D

    Controlling TRV (Thermostatic Radiator Valve) from 18M2+

    Hi, I thought that people here might be interested to know about my little breakthrough tonight in using a PICAXE as part of a central heating soft-zoning system (project OpenTRV). Tonight's success was talking to a wireless TRV from a 18M2+ via an RFM22 (or RFM23) radio, and regulating room...
  6. D

    Bit banging head banging...

    Hi, This subroutine happily bit-bangs SPI (sending a byte) for an RTC and a radio: SPI shift out (ie write) a single byte, most-significant bit first, data pre-clock. ; Sends output data from SPI_DATAB byte variable. ; Destroys tempB0, tempB1, SPI_DATAB. SPI_shiftout_byte_MSB_preclock: for...
Top