Search results

  1. V

    Code to control output On and Off pulse times with pots

    Ok. It works perfectly now For some reason when I copied and pasted line 30 went missing Thank you so much Vissie
  2. V

    Picaxe 8M2

    Thank you all for the help I have 10k to ground on both inputs and they will only go high after bootup. Will that be ok?
  3. V

    Code to control output On and Off pulse times with pots

    Thank you I get a syntax error at line 12 and cant fix it Vissie
  4. V

    Picaxe 8M2

    Can I remove the chip and program it on my program board ?
  5. V

    Picaxe 8M2

    Good day I need 4 outputs and 2 inputs on a 8M2. Will it be possible and where must I insert the "disconnect’ command" and how do I do the ‘hard-reset’ as described below This is what I found in the manual: Using the Serial In pin as a general input pin On M2 and X2 parts the ‘serial in’ pin...
  6. V

    Code to control output On and Off pulse times with pots

    Hi Mushroom The problem is that there will always be AC present while any relay is on. The load that is far away will switch off by itself after a while but the ac will still be present till the relay switch off. That is why I have to sense the current to determined when the load switch off to...
  7. V

    Code to control output On and Off pulse times with pots

    Oh my soul! This simulates exactly like I need it. You have such a brilliant mind. I have no idea how you did that or how it works but it seems to do the job Thank you so much BillBWan I will go ahead and build the circuit when I got all the spares and report back with photos and maybe a video
  8. V

    Code to control output On and Off pulse times with pots

    Here is a diagram of the current transformer setup I plan to use. I haven't tested it yet I also wonder if I cannot parallel 4 of this circuits and use only one sense input that will be high while any relay is on and goes low when its load switch off. Then the output must go to the next pin...
  9. V

    Code to control output On and Off pulse times with pots

    I think I can use that for my timer input on C.5 and then the rest must follow
  10. V

    Code to control output On and Off pulse times with pots

    Hi tried some code but it make no sense to me.... First I need to know if there is a command to make something happened when a input goes from a high to a low and only then as all the inputs will be normally low and then it must not change outputs The outputs need not to change in m seconds...
  11. V

    Code to control output On and Off pulse times with pots

    Sequencer using a Picaxe 18M2 Hi I need code for a sort of a sequencer using a Picaxe 18M2 A timer will switch on for 6 hours each day and during that time I need to switch AC with 4 relays to 4 different loads. Each load will switch off by itself after a while. I will sense the current to the...
  12. V

    Code to control output On and Off pulse times with pots

    Hi Thank you. I see what you mean I found that the pulse I need there must be very short. I changed it to : pulsout 1 , 500 and its working fine so I don't need to experiment with different pulse widths anymore
  13. V

    Code to control output On and Off pulse times with pots

    Hi Allan I got it running The pulsout 1 time is fixed on about 45mSec even if I change the voltage input on 2 between 0 and 5 V What to do?
  14. V

    Code to control output On and Off pulse times with pots

    Cool thank you!!! It simulates nice. I will try and post a video some time of scope as cap charge up and discharge while I adjust the pot for discharge time. Just have some real work to do first. #Picaxe 08M #No_Data SYMBOL ADCI = 4 ; ADC Input Low 1...
  15. V

    Code to control output On and Off pulse times with pots

    Hi It must still do this: #Picaxe 08M #No_Data SYMBOL ADCI = 4 ; ADC Input Low 1 ; Initialise for pulsout do readadc ADCI , b0 ; read ADC1 into variable b0 IF b0 > 245 then ; pulse if voltage > 4.8v (If...
  16. V

    Code to control output On and Off pulse times with pots

    Hi. I want to use a 10K linear pot over 5v range I do think a pulse between 1 to 50 msec will be enough as a cap discharge very fast into a battery The code as is works perfect I only want to able to adjust this part, pulsout 1 , 2000 with a pot between 1 to 50 msec
  17. V

    Code to control output On and Off pulse times with pots

    Hi Alan If I only want to use this part of the code, but I want to be able to adjust that "pulsout 1 , 2000" with a pot on a adc input. How can that be done I found that the period I need is more like 2 msec instead of 200msec so I changed it to pulsout 1 , 200 But I want to be able to adjust...
  18. V

    Code to control output On and Off pulse times with pots

    Wow. Thank you. I will go get some 08M2 chips on Monday and try this.
  19. V

    Code to control output On and Off pulse times with pots

    Thank you. You may post t the demonstration code , but I'm not sure if I will be able to do something with it with my programming knowledge... In the meantime I will work out a 555 circuit to try. Thank you It seems like in an astable 555 circuit the duty cycle can never be 50% or lower when I...
Top