Search results

  1. hippy

    Serin and qualifiers

    Within qualifiers the comma acts as a concatenation, so "ABC","V" is the same as "ABCV", and the PICAXE is looking for the qualifier in its entirety and exact sequential order, no intervening 'other characters'. You need to use the form you have with two SERIN's to be able to match the first...
  2. hippy

    Speed counter

    What would be the slowest speed of the fan ? At 1 RPM you would only be able to update its speed once ever minute with just one sensor, at 12 RPM your update rate would not be any better than every 5 seconds. And it would be half that if you can't start timing before it comes round again. This...
  3. hippy

    Create Picaxe 14M2 Project Board on a breadboard!

    This doesn't exactly say where but the wiring you want to achieve is this - AXE029 .----------------. -| 10 5 |- _|_.----. oo |- N/C -| 11 4 |- | | | o oo |- RXD ----. -| 12 3 |- |_ _| | |o| oo |- TXD <---|---...
  4. hippy

    Converting AXE033 LCD to AXE133?

    Yes. If your AXE033 or AXE133 were built with 0.1" headers you should be able to plug any HDD4780 compatible LCD into either, swap it between the two, providing that uses a single row pin connector. The AXE033 and AXE133 circuit boards untangle the microcontroller/PICAXE to LCD pin routings so...
  5. hippy

    Turn a WORD variable into separate BYTE variables

    Your "If this was the problem, then one would expect a change in what is displayed when the ADC10 WORD value is varied, but it doesn’t" suggested the value being seen wasn't changing, which I took to be the "103" your previous image had shown. Let's forget AllyCat's code; we have identified why...
  6. hippy

    Turn a WORD variable into separate BYTE variables

    It sounds like you have multiple issues; that there's something we haven't spotted which causes the '103' result. Two immediate possibilities are not reading the pot input but something else, or converting the wrong word variable to give the digits you are then displaying. In my current I2C...
  7. hippy

    Turn a WORD variable into separate BYTE variables

    Beat me to it. The characters you are seeing are programmable CGRAM characters. Which, being unprogrammed, will just be random images.
  8. hippy

    Create Picaxe 14M2 Project Board on a breadboard!

    Do you have any croc-clips ? They might make a better connection than wrapping wires round the socket pins. The other ends can clip to trimmed flying wires to the breadboard.
  9. hippy

    Turn a WORD variable into separate BYTE variables

    The easiest way I can imagine being able to do that is to charge up a capacitor and see how long it takes to charge, and from that calculate what the resistance must be. Or having to use some sort of comparison where you control something with 12-bit or greater accuracy and see what that has to...
  10. hippy

    Turn a WORD variable into separate BYTE variables

    Thanks for the clarifications. So it looks like it's just an issue in getting the characters out. I can't see anything immediately wrong with what you have. Your earlier '1' and ':' moves those to b0 and sends them and they come out okay, so not sure why doing the same with your BINTOASCII...
  11. hippy

    Create Picaxe 14M2 Project Board on a breadboard!

    Wrapping wires around the socket's leg and gluing might work but won't be reliable. It will be much better to solder sturdy wires to the socket. Or solder flying wires to the socket and take them to the breadboard. Or solder the socket to an off-cut of vero-board or stripboard and add 0.1"...
  12. hippy

    Create Picaxe 14M2 Project Board on a breadboard!

    I can't see where the vertical wire rising upwards from "SI" of the jack joins with the 22K and 10K junction to its left, to complete the download serial in circuit.
  13. hippy

    Capacitors: 68nF ok instead of 100nF?

    68nF is probably good enough, and better than none, though not using any can often be fine in many cases. You can use two in parallel to get a combined 136nF. Paralleling 68nF plus 33nF is pretty much 100nF. The cases where a specific value is essential are quite limited.
  14. hippy

    Coding Challenge for 3 mode game

    It might be best to post your code so far so whatever is suggested can be best integrated with that but in general you probably want something like - Game4: Do Gosub AllLedsOff Gosub WaitForSomeRandomTime ledNumber = 2 Gosub LightTheLed Gosub WaitUntilButtonPushed...
  15. hippy

    Turn a WORD variable into separate BYTE variables

    It would be worth posting your code, definitely a link to the datasheet of the LCD you are using, and a circuit diagram or details of how things are connected wouldn't go amiss. The blocks on the LCD you describe would generally indicate the display has powered on but not been initialised...
  16. hippy

    Read and write Flash EPROM W25Q128JV and IS25LQ016

    I am guessing it's because these memories are embedded in a third-party product which is expecting those values to be there and not anywhere else. One example of this might be a product which has a user name and password for one network used for half a year, requires different ones for another...
  17. hippy

    Turn a WORD variable into separate BYTE variables

    If that's what you actually want to do then you can do it by SERTXD(#w0) and selecting the number of leading zeroes you need. One way ... Select Case w0 Case < 10 : SerTxd( "000" , #w0 ) Case < 100 : SerTxd( "00" , #w0 ) Case < 1000 : SerTxd( "0" , #w0 ) Else : SerTxd(...
  18. hippy

    general confusion with remote control car project

    Not normally but, if using the suggested code above, there is a PAUSE 1000 in there intended to slow things down which can be reduced and perhaps even removed.
  19. hippy

    Read and write Flash EPROM W25Q128JV and IS25LQ016

    It appears both W25Q128JV and IS25LQ016 are SPI devices rather than I2C but they should both be readable and writeable using any PICAXE. The main problem is these are 16 megabit / 2 megabyte devices and the PICAXE isn't suited to handling large amounts of data. How usable a PICAXE would be...
  20. hippy

    Controlling a large motor with a 28X2

    In what way is it erratic ?
Top