Search results

  1. M

    Maths Help Needed

    Hi neiltechspec, hopefully this is all your after (steps255 toAFR) *20/51+100 =200 (steps255 toVolts) *100/51 = 500 (Volts500 toAFR) /5+100 =200
  2. M

    No COM Port AXE027 Windows 10

    Hi SolidWorksMagi, Loooks like you 've only half installed the driver software the first part helps identify it as a com port. So when you plug in the axe027 PORTS (COM & LPT) should come up as you have found. you need to double click on ! Communications Port (COM3) and update the driver also...
  3. M

    Inaccuracy with background serial receive on 20X2

    Ideally all inputs (Rx) should be properly terminated with a low impedance termination. This will greatly improve signal quality especially when used for data. For TTL speeds 4.7k ohms pullups are commonly used (just like whats recommended when using Hi2C) Ideally we want too see the same rise...
  4. M

    picaxe to lcd display, not do-able

    Hi peter howarth, The 40x2 executes its instructions faster than any other picaxe. So using code written for others you may find your having trouble initializing your display! https://picaxeforum.co.uk/threads/learning-to-drive-an-lcd-display.19474/ here's some code from post#32, and there are...
  5. M

    DS18B20 Code Examples

    Hi RSanger, thanks for your interest ! The DS18B20 is a 12bit (4096) signed sensor so our positve data is from 0 to 2047 to obtain our whole degree Celsius we divide by /16 the Operating Temperature Range is quoted as -55°C to +125°C (-67°F to +257°F) with the negative range its a lot easier to...
  6. M

    BME280 Code Examples

    Obtaining trimming values and sensor values for use with excel. Quite often it will be recommended for checking it is also useful for negative numbers to validate picaxe code we are using .Just copy and paste from the serial terminal the values highlighted below from my sensor give the values...
  7. M

    BME280 Code Examples

    Hi AllyCat, I assumed the pdf in post#1 would keep all formatting (I didn't try it) and as your've shown it wasn't a good choice I'll redo (done). With that high pressure reading I wouldnt be confident there's a major problem there. On my board the humidity reading appears correct when I bring...
  8. M

    BME280 Code Examples

    Hi PhilHornby Thanks for your interest! I did skim over AllyCat's thread but I like to try and write my own as then understand a lot better and learn a few new tricks along the way. The picaxe code is using an 18m2 and at the moment 750 bytes long with word variables w7 -w11 free for other...
  9. M

    BME280 Code Examples

    Digital Pressure Sensor- With Humidity. The module I am using is the GYBMEP and can be had for about $10 default Hi2c address is $EC but can be rejumpered to use $EE also. On the back has a 3.3v regulator .They suggest 1.8 to 5v can be used to supply this board. I would perhaps prefer to feed...
  10. M

    Big number arithmetic problem

    I do like the way your've rounded things up there! simple half step improvement. Multiplying by ten we can also extract two decimals,,for testing if we have time and the patience. for W0= 640 to 700 '163200 / 640 to 2000 SerTxd(cr,lf,#W0," ") '690 w1 = 16320 /w0 *10 w2 = 16320 //w0 *10 w1 =...
  11. M

    Big number arithmetic problem

    Hi cpedw, just scale like ur'v done or using a high word w1 = 2000 'test 163200 / 640 to 2000 SerTxd(cr,lf,#w1," ") w1=w1 /4 : w1= 40800 / w1 SerTxd(#w1) w1 = 640 'test 163200 / 640 to 2000 SerTxd(cr,lf,#w1," ") w1=w1 **26317 : w1= $FFFF / w1 SerTxd(#w1)
  12. M

    SKYLAB SKM53 GPS or NEO7 and the AXE133

    Here's some code to view latitude and longitude on your oled 16x2 the gps usually outputs degrees with minutes we convert this back to degrees and display to 6 decimal places. #no_data #terminal 38400 #picaxe 18m2 ' AXE133 marks ' DB7 = B.7 ' DB6 = B.6 ' DB5 = B.5 ' SCL DB4 = B.4 ' DB3 = B.3 '...
  13. M

    Calculating integers far greater than 65535.

    Hi Mort, cant you tell by the way I throw the code together I,m self taught too lol its really a case of the data sheet being not quite right or helpfull luckily with the testing you did it eventually got sorted out. It will be interesting if you improve on those initial results ,I hope the test...
  14. M

    Calculating integers far greater than 65535.

    Hi Mort, I should be cheeky and just say thats seems spot on lol. I did mention in post #54 In Common mode to get your 24bit result you need to divide by 2 so Common Mode result 16,757,054 divide this by 2 result is 8378527 / 16777215 X 5.007 = 2.50049 v probably all that noise that goes...
  15. M

    Calculating integers far greater than 65535.

    ADCvalue = R2 / (R1 +R2) X 16777215 = 330 / (1000 + 330) X 16777215 = 4162767 R2 = ADCvalue X R1 / (16777215 - ADCvalue) = 4162767 X 1000 / (12614448) = 329.9999
  16. M

    Calculating integers far greater than 65535.

    Hi Mort, I dont think your that far off the mark. for 0.12 ohms you should be getting a value of 4026 and 329.2 ohms would be 8310351 (I think what Jim-TX was trying to elude to you should be able to measure 1.2383v across R2) calculating your result of 8333034 (would suggest you have 1.2417v...
  17. M

    error with 20x2

    Hi radiofan, When having programming problems the first thing to do is check what picaxe device is connected and confirm you are connected to the correct port like you have done ! You may for example see Error: Hardware not found on Com 5! refresh Com ports and reselect the correct serial port...
  18. M

    Calculating integers far greater than 65535.

    Hi mortifyu, here's some code to try for the cheap version you could use it at 3v and a precision resistor not really required just enter the value. extra steps required lol good luck with getting anything delivered all planes here are grounded and shipping likely to be difficult sorry about the...
  19. M

    LCD Display basics

    Hi Anonym, I don't have a 20m2 at the moment but I did write this bit of code for a lcd shield to try with one some time ago. https://picaxeforum.co.uk/threads/lcd-keypad-shield.30270/
  20. M

    SKYLAB SKM53 GPS or NEO7 and the AXE133

    Damn I gave away my SKM53 thinking the Neo7-m would be better and also use less power . So decided to get another the new model is the same but marked SKM53T about $32au. I use to have software for the skylab GPS but could not find it luckily U-blox still has U-centre8.12(2014) on the web. now...
Top