Recent content by WhiteSpace

  1. W

    Using TSOP31240 in parallel

    This is interesting - I have been using parallel TSOPs for remote control for my vehicle project, but I had assumed that if they all fed into the same Picaxe input pin, there would be a risk of bits arriving separately from the two TSOPs - perhaps with partial interruptions, or bounced off the...
  2. W

    Farewell

    @premelec, as a relatively recent forum member can I also add my thanks for your wisdom and encouragement, and my best wishes.
  3. W

    Working with numbers larger than 65000

    Would a laser range sensor like the TOF10120 work? Laser range detection, using light, is, as far as I understand, only negligibly affected by temperature, so no need for correction or adjustment. Nor will it suffer from echoes from the sides of the tank. A quick and fairly unscientific...
  4. W

    BOT120 Microbot kit as a holiday project?

    Faced with a somewhat mixed weather forecast for the next couple of weeks, I’m just wondering about a holiday project to do with my teenage son in a rental cottage during the times when we can’t go fishing/paddle boarding etc. Something that will compete with the lure of the PC! As well as a...
  5. W

    Hippy status, rev 2.0

    @tmfkam - obviously I can't speak for Hippy or Revolution, but the rules on COVID-19 furlough in the UK are very strict and there's a big focus on furlough fraud. Employees on furlough are not permitted to provide a service for their employer, or to do anything that makes money for their...
  6. W

    Scratchpad write/read time?

    Thanks again Alan. I've now managed to get it down to 17.1s per 10 sweeps (1.7s per sweep, which is another 0.4s faster than before). I changed to a 40kHz receiver (I'll explain why I was using 33kHz when I write up the whole project later) and increased the baud rate to 4800. The real win...
  7. W

    Scratchpad write/read time?

    ...as I am increasingly realising! Thanks @AllyCat and @inglewoodpete for the suggestions and insight. I've tried various permutations. The starting point, sending the 80 pairs of bytes (range and step number) to scratchpad and then retrieving and sending them via hserout/IR, took 25.43s for...
  8. W

    Scratchpad write/read time?

    Thanks Alan - I'm not sure that my code is in a shape that can usefully be shared in full at the moment! I'm using baud rate 2400, because I think that any faster will be too fast for the 33kHz carrier frequency for the IR - if I understand correctly, the receiver needs around 10 cycles per...
  9. W

    Scratchpad write/read time?

    I’m just working out the quickest and most efficient way to arrange and send a series of bytes via hserout/infrared. The series consists of 80 pairs of bytes. I started off by sending each pair as it was created, then moving on create and send the next pair. I then tried saving each pair to...
  10. W

    Scratchpad memory

    Hi @julianE, I'm not sure what you are seeing - if you're using an 08M2 and a 14M2, it must be something other than scratchpad. If it's any help in understanding scratchpad, I use it like this on 28X2s: So far I have used it to store the character bytes for SSD1306 displays. The first step is...
  11. W

    Dual SSD1306 displays

    @mrm no, I haven't done much more with this particular project - 2 OLEDs from a single Picaxe - although I have been working on a couple more projects using a single OLED. They include one using an OLED to display a temperature...
  12. W

    NPN + PNP switch

    If it's any help, I've been using the ON-SEMI NDP6020P for the top rails of my motor H-bridges. https://www.mouser.co.uk/ProductDetail/ON-Semiconductor-Fairchild/NDP6020P?qs=mdiO5HdF0Khl%252BuaDKGopOw%3D%3D. Continuous drain current 24A, RDSOn 0.041 R, typical VGS -0.7 V. Does that fit the...
  13. W

    Interpreting serial via data analyser

    Thanks @AllyCat - how do you know everything about Picaxe, if it's not a rude question? I had worked out that the serial sends LS bit first, and I had also deduced the 0 start bit from the double-length high at the start of the 126 and 130 bytes described above, resulting from the combination...
  14. W

    Interpreting serial via data analyser

    I wonder if someone could give me a pointer please. As mentioned on another thread, I've been changing my IROUT/IRIN remote control vehicle project to SEROUT/SERIN via infrared. I first tried HSEROUT/HSERIN and have switched to "ordinary" serial for various reasons. Serial via IR is working...
  15. W

    running a stepper using high/low, problem

    @captnemo do you just mean the serial terminal? Page 219 of Manual 2 https://picaxe.com/docs/picaxe_manual2.pdf gives the instructions. I rely on it heavily to see what is going on. I have used it in my various stepper programs to see how many steps the motor has done at a particular point...
Top