Recent content by tecnition_ted

  1. T

    Converting temperature K to C maths not working

    Hi all, I am trying to convert temperature K into temperature C, The formula is straight forward from what I understand K - 273.15 = C. I know the Picaxe cannot use decimal places so I tried these ways without success Picaxe 08M2 setfreq m16 pause 8000 ;Maths 1 to change K into C, W12 is...
  2. T

    Motor controller with speed steps stack overflow error picaxe locks up

    I was bit disapointed in the responces. I have maby one or two hours a month to learn anything and felt your responces were more hipacritical than maby providing a pice of program that worked on its own explaining how the picaxe used the gosub process. The picaxe manual is helpfull but when many...
  3. T

    Motor controller with speed steps stack overflow error picaxe locks up

    Thanks guy's for your support its about as much use as a chocolate fireguard.
  4. T

    Motor controller with speed steps stack overflow error picaxe locks up

    Thank you for your help. I have changed the code and this works but I know there is an easier way than what I have so far. main: IRsignal: symbol T1 = 500 Low B.5 ; micro buzy indicator off irin [1000,main],B.1,b0 ;wait for new signal DEBUG High B.5 ; micro buzy indicator on if b0 = 1 then...
  5. T

    Motor controller with speed steps stack overflow error picaxe locks up

    Hi All I am trying to control a motor to have speed steps controlled by another picaxe through Ir numbers loaded into b0, the main idea of this project is to try and master gosub, return and PWM out. The ultimate aim is to have the picaxe receive a number numbers 1 and 10 alter in puts C0 and...
  6. T

    Cheap I2C OLED display with 08M2

    Hi Hippy, can you help again please, I have a problem where the value for current is a signed interger, I found another thread which had an example of how to display the value over serial. I modified the code to put the value into a word (well tried) and something strange happened, all the word...
  7. T

    Serial issue AT-09 Bluetooth 4.0 Module Transceiver BLE CC2540 CC2541 MLT-BT05 HM-10

    Hi Hippy this code works to output serial to an AX133 and the HC-09 Bluetooth module. I am having issues with the HC-09 in that I can only receive serial using a serial android app I cannot pair the module and the manufacture is no help. it could just be a fluke its working [Bluetooth part...
  8. T

    Serial issue AT-09 Bluetooth 4.0 Module Transceiver BLE CC2540 CC2541 MLT-BT05 HM-10

    Hi Hippy, Do you still need to change the clock speed when using the T9600_16 command I ask as I did try this first but it wouldn't communicate with the Bluetooth module.
  9. T

    Serial issue AT-09 Bluetooth 4.0 Module Transceiver BLE CC2540 CC2541 MLT-BT05 HM-10

    Ok Ive seen it! the second setfreq m16 never gets re used as it is only used at the beginning of the code. silly mistake setfreq M16 ;set clock from 8mhz to 16 init: high C.4...
  10. T

    Serial issue AT-09 Bluetooth 4.0 Module Transceiver BLE CC2540 CC2541 MLT-BT05 HM-10

    'o' how do I break up blocks of code when placing them in the post please.
  11. T

    Serial issue AT-09 Bluetooth 4.0 Module Transceiver BLE CC2540 CC2541 MLT-BT05 HM-10

    Hi having a problem with baud rate when I change frequency from setfreq m16 back to setfreq m8 or setfreq mdefault. If I use this code setfreq m16 ;set clock from 8mhz to 16 init: high C.4...
  12. T

    Cheap I2C OLED display with 08M2

    Here is the reply from the code above all working ok [reply] Manufacturer=AceOn Device=2S14AHPROTOTYPE Chemistry=LION Date=2042-8-0 Manufacturer=AceOn Device=2S14AHPROTOTYPE Chemistry=LION Date=2042-8-0 Manufacturer=AceOn Device=2S14AHPROTOTYPE Chemistry=LION Date=2042-8-0...
  13. T

    Cheap I2C OLED display with 08M2

    Will do and post results. Is it worth starting a new thread regarding attaching this to the serial Bluetooth and WiFi module? There will be questions along the way and I intend to grow the above code so it can read any BQ chip.
  14. T

    Cheap I2C OLED display with 08M2

    Found the problem! the answer was within another forum. To read i2c and SMB there needs to be two 4.7k pull up resistors on the SCL and SDA pins, for some reason the 20M2 worked without them. I have also added these to the 20M2 and the occasional incorrect read has gone. Next job sending the...
  15. T

    Cheap I2C OLED display with 08M2

    Sorry I am altering the address and read area so that it can read different BMS chips. I hope to eventually make a routine that selects different addresses and memory locations from the input of a selector switch, but building up to that need to get everything working first then bugger it up...
Top