Search results

  1. 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...
  2. 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.
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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.
  8. 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...
  9. 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.
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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...
  15. T

    Cheap I2C OLED display with 08M2

    here is one if I use the attached code with a 20m2 all is OK. If i use a 08M2 then the i2c does not seem to read as I get the same read from the I2c all the time. If I remove the serial code it works ok with an i2c oel any ideas? symbol counter = w0 symbol subcounter = b2 symbol fontlookup =...
  16. T

    Cheap I2C OLED display with 08M2

    I understand to work with raw data but I couldn't have come up with the code you have without you showing, I understand how it works but don't have all the syntax knowledge yet so have been taking parts of code from the main i2c code that works and I understand and bunching it together to try...
  17. T

    Cheap I2C OLED display with 08M2

    Looking at the BQstudio tool the volts are correct but the last two digit's seem to bounce around a bit. It could be BQ studio filters the results slightly as they also seem to change up and down.. I have the SOC reading correct now also with the address 0x16 even though the chip is supposed to...
  18. T

    Cheap I2C OLED display with 08M2

    something interesting: changed the original code used to read the BQ chip eeprom to below. Just working on voltage at the moment. I now seem to get part of the correct volts (see pic) but the last two digest are incorrect maybe backwards??? or in wrong order ?? The actual battery voltage is...
  19. T

    Cheap I2C OLED display with 08M2

    Hi Hippy Tried code and this was the reply through serial. I am also trying to get more information from the manufacture but TI are large and usually don't come up with the answer you asked them for NAK Error NAK Error NAK Error NAK Error NAK Error NAK Error NAK Error NAK Error NAK Error NAK...
  20. T

    Cheap I2C OLED display with 08M2

    I got to 40900 after two days without finding anything I think it may be time to give up and try an UNO or something. unfortunately SMB is quite common in battery BMS. Wonder if there is any way of making a converter picaxe i2c or serial to SMB with extra components??
Top