Recent content by AllyCat

  1. A

    Advice required re Bipolar Stepper motors

    Hi, Yes indeed, both the L298N(s) and the Stepper Motors themselves might get VERY Hot. :( The L298N is now a very "old" bipolar transistor design, using a Darlington Output Transistor configuration, which by its nature must drop at least one volt at higher currents, regardless of the supply...
  2. A

    Advice required re Bipolar Stepper motors

    Hi, I think a mechanical belt or geared reduction drive is probably the "simplest" solution, but if you want to do it purely with electronics then it might be possible to emulate a simple 2-bit (or 3-bit) DAC by using two (or more) L298Ns and two PICaxe output pin sets for each Stepper Motor...
  3. A

    Advice required re Bipolar Stepper motors

    Hi, To maintain formatting, you probably need to use Spaces not TABs, a fixed-width Font (e.g. Courier), and enclosed within {Code ] [/Code] tags. In practice this is probably best done in a separate Text Editor (e.g. PICaxe Editor 6), then Cut and Paste the text between [ Code ] [/Code] tags...
  4. A

    make the doll's head move

    Hi, You might need to calibrate the symbols a little, but try something like: #picaxe 08M2 #no_data symbol Ahead = 150 symbol FullLeft = 100 symbol FullRight = 200 symbol Position = b1 symbol Seed = w2 symbol PartLeft = b6 symbol PartRight = b7 symbol SPin = C.1 ; Could be C.0, but I...
  5. A

    GLCD bargain but obsolete?

    Hi, I think GLIKTALK-K might only run on something between Windows 95 and XP (which I can still use if necessary). Some of our Australian members seem much more proficient (than I) in using "The Wayback Machine", perhaps they can help? ;) Cheers, Alan.
  6. A

    Extra input on 08M2?

    Hi, I haven't seen an actual PCB, but the "8 pin Project Board" (CHI040) appears to have a 10k Pull-down resistor and Pads/Terminals already connected to Leg 4 (C.3) and to Leg 2 (C.5). Circuit diagram on page 4 of the PDF. Cheers, Alan.
  7. A

    Question à propos du 8M2

    Hi, Pin C.3 can directly drive a LED (not very brightly), or a digital input (MOS), or a 2N7000 FET, etc. using only a high value Pull-down resistance (100k+). Also, C.5 can be used as a Digital Input (no ADC connected inside) by using the DISCONNECT feature. The other 4 signal pins do have...
  8. A

    Question à propos du 8M2

    Google Translate: Salut, En effet, la broche C.3 se connecte en interne uniquement à une entrée numérique matérielle. Si vous avez VRAIMENT besoin de 4 entrées analogiques, il peut être possible d'utiliser la broche C.0 comme entrée ADC. Attention, cette broche commence toujours comme une...
  9. A

    BRANCH Command

    Hi, It depends what you expect :) , but you are correct that the example as written will never set B.0 (nor clear B.4) because of the structure and location of the INC in the program. Note that the BRANCH .... command is very similar to the ON .... GOTO command which I find more intuitive...
  10. A

    How do i create a HOLD-in button function?

    Hi, RTFM :) I must admit I've never used it, but there is a BUTTON command. ;) Cheers, Alan. PS: "time" is a reserved word, one second counter, so the M2 code above might not do what you expect. :(
  11. A

    My Pot Position LED patterns not quite right ????

    Hi, Unlikely, and if anything you should be reducing the pot value to 40k or less. The PIC(axe) data sheet recommends that the source resistance of the signal driving the ADC should be less than 10k, which is equivalent to a 40k pot at its middle position (i.e. 20k to ground in parallel with...
  12. A

    28X2 turning off PWM when using pwmout and hpwm and invoking an interrupt with hintsetup and setintflags

    Hi, It can be confusing because the "H" in HPWM... stands for "H-Bridge", not "Hardware" - ALL the PWM outputs (must) use Hardware. So I think you should find the information that you need in the Command Reference for PWMOUT, in particular note 9) onward and the linked hippy's code thread...
  13. A

    Picaxe 20x2 and Adafruit TCS34725 Color Sensor

    Hi, After nearly 10 years, here is an "update" to this thread, almost the only "hit" on the forum for the TCS34725 colour sensor, which is surprising as it seems quite a useful device. The particular features that I have added are an "On Demand" (or Single-Shot) measurement capability, and...
  14. A

    My Pot Position LED patterns not quite right ????

    Hi, You haven't listed the code which doesn't work, but my guess is that you've overlooked that each sector/zone for 20 is only 12.8 units wide. So you need to divide the ADC value (strictly maximum 255) by 13 or 12. If you divide by 13, the last sector will be slightly small (247 - 255) or...
  15. A

    6174-Kaprekar's Constant

    Hi, The reason that the digits must not all be the same is that the sorted "high" and "low" numbers would both be the same, so the subtraction produces zero. I just allowed the basic program to run, trapped the zero and printed an "Error Message" in place of the zero. :) I think I created a...
Top