Search results

  1. B

    Pulsin and servopos in a loop? I'm getting severe servo jitter.

    I had a closer look at your thread today as I’d only skimmed it previously and I see that you’re actually reading the three individual servo outputs. I’d assumed that you were reading the output from the receiver before the signal was split off to the individual servos as occurred in the thread...
  2. B

    Pulsin and servopos in a loop? I'm getting severe servo jitter.

    I’d suggest that you use an approach that I used in #12 of this thread. In that instance, two 08M2’s are used. The first reads the radio control signal (which was simulated by a third 08M2 in that test case) and then transmits it at high speed to the second 08M2 which then generates the output...
  3. B

    Working with numbers larger than 65000

    Many years ago, just after Stan (Manuka) introduced me to the early Picaxe, I used a peristaltic pump and small bore PVC tubing to try to measure evaporation rates from a pond in something like real time. The peristaltic pump could be rotated at very low revs to reduce the air flow rate to...
  4. B

    Project with Picaxe28*2 randomly starts on its own

    Do you have a "nap" instruction in that polling loop? I experienced random resets of a program running on an 08M2 which is described here. In #15 of that thread Hippy acknowledged that "after investigation it does appear there may be an issue with NAP under some circumstances on an 08M2." If...
  5. B

    Code to control output On and Off pulse times with pots

    I get line 12 to be "for b2=0 to 3". Is that the line you are having problems with? Do you have a corresponding "next b2" on line 30? Maybe, you haven't copied the whole program. If that isn't it, can I suggest you copy & paste the offending line and also quote the syntax error. Bill
  6. B

    Code to control output On and Off pulse times with pots

    The following code should provide you with what you asked for. Pin C.5 is the sequence enable pin while C.3 is the current sense input. As I’m sure you’re aware, the enable pin (C.5) needs to be low when the 08M2 is first powered up. Once the 08M2 has been programmed, all subsequent...
  7. B

    Code to control output On and Off pulse times with pots

    Oops, I forgot to remove the pullup command in the code I just posted. It just happened to be a convenient way for me to test the program on a real 18m2. It probably wouldn't do any harm if it remained in but most likely isn't needed by your hardware.
  8. B

    Code to control output On and Off pulse times with pots

    I believe that the following program achieves what you asked for in #115. When pin c.5 goes high, it switches on pin b.7 for 2 seconds. If pin b.1 has gone high by the end of that period, it leaves pin b.7 high until pin b.1 goes low. It then sequences onto pin b.6 and again waits for 2 seconds...
  9. B

    SIMPLE communication between to 08M2 chips

    Hi Herbert and Alan, I’m concerned that I didn’t sufficiently explain a crucial point about the concept of the programs I submitted yesterday. In your first post Herbert you say:- The point of my programs yesterday was to demonstrate that there is no need to generate a ninth pulse to...
  10. B

    SIMPLE communication between to 08M2 chips

    Hi Herbert, As I understand the project you outlined in #1, you wish to read in a train of 8 pulses whose pulse width varies between 1 and 2 msecs and output a shrunken stream of these same pulses with widths varying from 0.8 to 1.4 msecs. In both cases the pulse train is repeated every 25...
  11. B

    ESP8266 BASIC

    Thanks for the feedback. That's good to know. As my requirements are pretty basic, I'll try it without updating first.
  12. B

    ESP8266 BASIC

    Yes, I’m interested. I’ve just ordered a couple of esp-01 to have a play with so they haven’t arrived yet and I’m just doing a bit of background reading at this stage. You say that “You will need a programmer as per the allaboutcircuits V2 design”. Is that always required or is it only required...
  13. B

    SX126x LoRa modules !

    Thanks Alan for your reply. Yes, it was a slip of the finger but not what was sent to the DRF1268DS. It was my typing in #45 where I listed the Set AT Command. It should have been FF,FF,02,1B,1D and get a reply of FF,FF,02,1C,1E. The picaxe program had the correct string so that was not the...
  14. B

    SX126x LoRa modules !

    I recently ordered a couple of DRF1268DS modules from Dorji to have a play with them. They were promptly delivered only a week or so later from China which came as a pleasant surprise and they have worked well. I’ve used the configuration program to alter some parameters like baud rate and...
  15. B

    Using Timer 1 Gate hardware to latch a pulse

    Thanks Hippy. That's a great explanation.
  16. B

    Using Timer 1 Gate hardware to latch a pulse

    Thanks Alan for your very prompt reply. It’s amazing how obvious it all became after you’ve gave me the answer. It all seemed so difficult for a time there. Yes, that all worked out exactly as I hoped. Thanks again.
  17. B

    Using Timer 1 Gate hardware to latch a pulse

    Actually, I just realized that I was looking at the wrong register and I probably should be using $396 of bank 7 which will convert OK. However, if someone has worked through this and can save me wading through this datasheet, it would be great to hear what they found.
  18. B

    Using Timer 1 Gate hardware to latch a pulse

    I'm resurecting an old thread because I now want to set an Interrupt-On-Change flag for an 18M2. My understanding from reading the datasheets is vague at best and I seem to be falling at the first hurdle. The datasheet says that the INTCON register can be accessed from any bank and its address...
  19. B

    Simple water detection circuit for picaxe

    By using the pullup command and restricting readings to every few seconds, I’ve found that fancy stainless steel probes aren’t required. Some years ago as part of a domestic water use study, I used this technique to count the number of times that toilets were flushed. For that project, the units...
  20. B

    Simple water detection circuit for picaxe

    Yes, you can use any pin with an ADC facility. Of course, if you want to make use of the pullup feature (and so not require the 1Mohm resistor), your selected pin needs to have that feature also - but that not a problem with the 08M2 as all those pins have both those features. I don't see a...
Top