Search results

  1. J

    Picaxe takes on Collatz

    Hi All The dark cold nights are here so skipping around youtube increases found a video on the Collatz conjecture, and thought seems a nice little exercise for the picaxe 'The Collatz conjecture in mathematics asks whether repeating certain simple arithmetic operations will eventually...
  2. J

    checksum

    Hi all found a little explanation for a checksum online and replicated it To possible use it for sending data between the 2 Dorji drf1278dm I have to test if there is any coruption So I wrote a test rig the thing is that the values that I preload for b4 to b10 alter after passing through the sub...
  3. J

    suitable transistor

    Hi All try to interface the sparkfun uSD data logger to write a once a day file I have it running and writing but if I remove the card with the power connected it goes into a hissy fit with both leds flashing alternatively So I figured why not place a transistor on the V+ as a switch turned on...
  4. J

    advice on a new laptop

    Hi All Looking at getting a new laptop due to the old one falling apart what should I be looking for to run the following packages need it be said editor 6 designspark PCB and mechanical, nextion editor, eagle, inkscape, bCNC (requires python,json), pulse view, salee logic 123, flatcam...
  5. J

    Hippy

    Hi All was just reading symbols and varriables and noted that premelec says in post 28 that he thinks Hippy has retired is this so regards john
  6. J

    board design

    Hi All If having boards manufactored and populated when designing a SMD 2 sided board is it acceptable to place vias in the components pads to say GND and signals on top V+ on bottom power through the via in the V+ pad regards john
  7. J

    hint on other pins

    Hi Is it possible via the special functions registers to alter the A.0 or A.1 or A.2 or A.3 (pref A.0 and or A.3) to operate as a HINT such as B.0,B.1 and B.2 (hint0, hint1, hint2) on the 28x2. To detect a serial in recieved. It is not possible to use the pinsB as these are tided up as a bank...
  8. J

    sending double address to i2c sensor

    Hi I am thinking of getting the senseair sunrise co2 sensor just reading through the data sheet for the i2c link up it states to send the i2c address twice can this be accomplished by HI2CSETUP I2CMASTER, 0x68, I2Cslow, I2Cbyte hi2cout (0x68) hi2cout (0x68) regards john
  9. J

    Has anybody interfaced the MH-Z19B CO2 sensor

    Hi All Ordered a MH-Z19B NDIR CO2 sensor from flea bay After looking at the data sheet https://www.winsen-sensor.com/d/files/MH-Z19B.pdf I hooked it up to a 28x2 with the following code, but not recieving any data back #no_data #no_table symbol byte0=w1 symbol byte1=w2 symbol byte2=w3 symbol...
  10. J

    Any # produces syntax error

    Hi All For sum reason all the codes I am working on and passing syntax yesterday are not passing syntax today. The fail is occurring where their is a # present so any macro or define is failing I have not altered any settings in the editor and have not had any microsoft updates as the 28x2 is...
  11. J

    eeprom wear and tear

    Hi All Was having a read around some old posts and came across Buzbys post on the number of times that you can write and read to the internal eeprom. Does just reading from it of preloaded data have the same effect and wear it out regards john
  12. J

    macro not passing syntax

    Hi On a recient thread I posted Hippy wrote a macro for a word variable I have tried to represent it for use with just a single variable but it will not pass syntax. I have reread Hippys post on using macros but can not see why it will not work but the word one does PICAXE Macros symbol...
  13. J

    HoHoHo

    Seasonal greetings to one and all any nice stocking fillers out there for tinkering with in the new year regards john
  14. J

    same calculation diffrent results

    Hi folks I am experiancing some diffrence between the test program and the results of the programed picaxe 28x2 they both use the same calculation adapted from the original that Hippy helped me with. Both codes read the preloaded eeprom for the Air and leaf temperatues and obtain the correct SVP...
  15. J

    20x2

    Hi All Just a quick one I have a 20x2 on a board I have made for it for a project I am playing with I make up my own breadboard adapters for the down load side of things when the adaptor is attached the board runs as expected, but when disconnected from the 3 header pins the board does not run...
  16. J

    Strange one

    Hi All was just having a play with Allycat code for reading a battery symbol CALVDD = 52429 ; 1024*1.024*1000/20 (DAC steps * Ref V / Resolution in mV) Vdd2dp: calibadc10 w1 ; Measure FVR (nominal 1.024 v) relative to Vdd (1024 steps) w2 = w1 / 2 + CALVDD ; Effectively...
  17. J

    handling data recieved

    Hi All I have knocked together a £3 ardiuno UNO on a bread board and sending 2 packets of data from a 28x2 to it. The uno is doing a bit of floating maths then sending back the result after converting it into intreger for the picaxe to deal with. Have knocked up a simple test code for the picaxe...
  18. J

    Is timeout in effect a pause

    Hi All In the serin command it says the following # The M2, X1 and X2 parts can take an optional timeout value and address at the start of the command. The timeout value, set in milliseconds, is the length of time the serin command will wait for a serial command to be detected. After the...
  19. J

    macro with lables

    Hi All Had another read of Hippys excillent work on explainig #macros and there use. Noticed using multiple lables in the macro but could not fathom out how to send serrxd info in the simulator so I had a think and came up with the following using 2 difrent lables 2 difrent variable and the...
  20. J

    DRF1276DM with HTU21D-F breakout board

    Hi All Have being having a play around with the drf1276dm and the adafruit htu21d-f breakout board to create a remote connection between 2- 28x2 The code for the htu21d is a rework of Phil Hornsbys htu21d demo.bas on the remote unit. The only problem I encounted with the drf1276dm was with the...
Top