Search results

  1. J

    Serin, really basic question

    I am getting confused using serin, but pleased I'm making progress with something new to me. From the basic commands it says "All processing stops until the new serial data byte is received" which I assume means that nothing happens (blocking?) until the new data is received, and a 0 doesn't...
  2. J

    Genuine HC-12, any around?

    I have just received a couple of HC-12 which are marked 30.000MHZ on the crystal and are widely regarded as off frequency fakes. The listing clearly showed T300 SC110 on the crystal. Has anyone bought any HC-12 recently which have original correct T3000 SC110 marking on the crystal? Peter
  3. J

    HC-12 remote

    I have been using the HC-12 as a very simple remote for a while, works ok. However I dont understand why my variable b0 which is transmitted as a 1 becomes 6 on the receive side? I have found like others that the newer HC-12 can only be used as pairs are discussed elsewhere. When I use an older...
  4. J

    Running stepper motor

    As part of a bigger project I want to run a stepper motor via its controller for approx 1000 turns. I intend using a hall sensor on the input shaft and count the turns. I have the stepper running at around 1000 rpm using a 4046 vco to set the pulse rate to the controller. This vco works well on...
  5. J

    Is a 600v diode suitable?

    Cannot get my head around this one! Am I right in thinking that as they are in series 600piv diodes will be suitable for use with this voltage doubler circuit with 250v output from the transformer? Thanks Peter
  6. J

    GPS Module PPS accuracy?

    I see quite a few clock designs use the PPS output from a GPS module (VK15E module in stock) to replace the crystal timebase when a GPS signal is available. I'm looking for a stable accurate 1Hz signal as part of a Picaxe based clock timer but trying to decoding anything else from the module...
  7. J

    Setting up Datalogger

    Trying to program the picaxe datalogger (alas bought at the old price!) from the wizard and get it to work. Read through the instructions in conjunction with the wizard but although I can set the info in the wizard (and RTC) then copy and paste it and then download it successfully to the logger...
  8. J

    Display puts up unknown characters

    Following on from an earlier post, to avoid any timing issues I've got this program working from a external 1Hz pulse (200ms on, 800ms off) generated by an 8M2 into Pin.C.3. The program originally "self ran" but 10k resistors from the inputs to 0v cured that and I've also got 100nf decoupling...
  9. J

    Serout 20M2 TXD pin?

    I want to drive an oled display from an 20M2. I thought I would be able to use the decdicated TXD pin 19 but cannot allocate it so ussuaming its not possible? Display works fine if I use C.4 Thanks
  10. J

    Displaying w0

    I want to display the incrementing wo as a number on a display. Ive read the info and failed, been going round in circles for ages, hope someone can help. Thanks do pause 100 inc w0 serout C.7, n2400, ( 254,1) pause 500 bintoascii w0,b23,b24,b25,b26,b27 serout C.7, N2400, (254...
  11. J

    Pause running time, General question

    I'm developing a process controller which is based around 7 looping timers triggered by two sensors with if statements etc. Program is 131 lines long, 231 bytes and uses an 20m2. What I dont understand is that if I test the program and run a timer at 600 secs the actual time is 571.58 secs...
  12. J

    SMD 8m2 Programming

    Just venturing into SMD thanks to the excellent milled PCB's available on ebay, great service. Have the SMD versions of Picaxe got the same downloading technique/capacity as the DIL versions? Previously I've removed the Picaxe for programming but now I get the "cannot find the device" message...
  13. J

    AXE 110 Data Logger or Hantek?

    Never used a data logger before, and I want to monitor the 4 outputs from some picaxe timers over a 24hr period. The timed periods range from a few minutes to around 4hrs. I've searched previous posts about the AXE110 and think it will be suitable but see in the wizard that two of the inputs...
  14. J

    Forward & Reverse switching?

    I'm working on a forward and reverse switch for a lathe using a 20M2. I've got this code working but I've hit a brick wall in my knowledge so I'm asking for advice. input C.0 high is forward and C.1 high is reverse. The outputs are B.0, B.1 and B.3 which drive relays which is also works fine...
  15. J

    Using time

    Which is the most accurate command to use for a time delay so its not affected by the other tasks running? I've previously used pause and wait but never managed to get time to work for me. Set at 6 secs for now I want to achieve 30mins and this is part of a two part parallel task program. Thanks...
  16. J

    Unused inputs on 8M2?

    I'm getting confused! I have 2 unused inputs on an 8M2 but I understand thats its bad practice just to leave them floating. Some posts suggests toggling unused pins as outputs but these can only be used as inputs on the 8M2 or connecting to ground via a 10k resistor. Can I use the pullup...
  17. J

    Simple thermostat

    I'm trying to make a thermostat but not sure if I'm taking the right approach and need some help. I want to allow the temperature to drop say 10 degrees before C.1 goes high again after its switched off to stop it hunting and give some hysterisis---think thats the right word! This is the bare...
  18. J

    Simulation question

    In simulation is it possible to have the digital view and values panel both on screen at the same time? Trying to increment an adc value by 1 and watch outputs I find going between the two time consuming also its tricky incrementing the "pot" by single digits when in digital. Perhaps there is...
  19. J

    Small signal P Channel FET reccomendation?

    I want to do some high side low power swithching with a picaxe. Can anyone recommed a suitable TO92 style or similar device? I thought there would be a P channel version of the 2N7000 but cannot seem to find it! Thanks Peter
  20. J

    Using pulsin

    Are there any rules about using pulsin? If I use before an if statement it stops the if working. Still tidying my code at present so rather not post it! Also is there is any way easy to simulate pulsin? Cannot find a way also read up but I thought someone more knowledgable may be able to help...
Top