Search results

  1. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    1.7 volts is below it's operating voltage. It should flash once on power up until you press the swich. If I have time tommorrow I will try a video to show you it working my end just so you dont think I am a complete numpty. :) oh one thing it might be is I used a pull up 10K resistor on Mclr...
  2. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Thanks Hop I am glad your here to help, thank-you very much. Just let me know if there is something you don't understand about PICs they can be a bit tricky at times. I know Bob @BobK has a great deal of experience with PICs maybe he can help if he has time. We are all in this together I feel...
  3. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Why? I don't mind really. Don't feel guilty. The work that earns you money is more important. We will get this working even if I have to make some PCBs myself and send them over to you. This means so much to me as I really thought a lot of Kris and still do. One other idea I have had is maybe...
  4. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    We will all help you as much as we can. It's very difficult to do this over the internet. I have spent 20 hours of my own time on this. I also work, not as many as you I must admit. When you do have time it is worth getting to know the datasheet a bit. It make it easier to make changes to the...
  5. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    I would have thought you could open the mcp file in MPLABX but not used it so I don't know. Adam
  6. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Oh ok I must have mixed up the pins. I think you can do a find and replace all. I will have a look later. Otherwise we just need to change the ,0 to ,2 for all the bcf and bsf. Adam
  7. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Hi Jeff Open the project (mcp file) in MPLAB. You should see the asm file, click on this so you can see the code. Build the code and then program. I dont use MPLAB X so not sure what to do but the menu buttons should be similar. Put your mouse over the symbols on the task bar to see what they...
  8. Arouse1973

    Rest in Peace, Kris

    Thought you guys mike like this. :) Thanks Adam
  9. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Ok I had a spare 5 mins from decorating (The misses went out) :) and I am happy with the off response now. I couldn't get the timer working which would have made the code much simpler. I will look at getting some other 10 series of PICs which have a better core and see if I can work on some...
  10. Arouse1973

    Wattmeter with analog output

    I think we all are. @hevans1944 . Hop has a great deal of experience we can all learn from. Adam
  11. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    LoL no, its for Bob. You wait till you see the code , you will have kittens :) Adam
  12. Arouse1973

    Anyone recommend me a book?

    Good book Robert, mine is 20 years old and only a few weeks ago I looked in it. A good place to start. Adam
  13. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    LOL I just wanted to carry on using the same PIC as Kris used, but yeah bit of a brain fart, sorry Kris :). I do have a question however. I am having trouble getting TMR0 to run. I have set the option reg to 10000111 do I need to do anything else to get it working? I have never used the 10...
  14. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Hi Bob I am using the 10F200 which is the one Kris was using. Not my first choice personally, a bit limited but I have them now so just have to make the best of them I can. cheers Adam
  15. Arouse1973

    Anyone recommend me a book?

    Your math is not good because you have not had a good teacher that told you what its good for. I bet you I could get you learning and understanding math you never thought you would learn. Dont let this limit you, just ask and explain what you dont understand. Dont get me wrong there are others...
  16. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    I have been testing the software and I am not happy with its turn off responce. So I am re-writing the software. This little PIC is ok but its quite basic so a few instruction I am used to are not there. There are not any interrupts so switch checking is a bit different. Be a bit longer sorry. Adam
  17. Arouse1973

    Microcontroller controlled by pushbutton for LED flashlight

    Update: I have a demo PCB made with and LED to indicate power to the LED module. I have some code running which is working but it may need some fine tuning. I need to connect the circuit to something that will mimic the LED module so I can test to see if the hold up capacitors is working. I just...
  18. Arouse1973

    Controlling a UK mains supply from a Raspberry Pi Piface

    Yes Hop good idea I was thinking flippy flop, logic gate latch or resettable BJT SCR latch , simple and reliable. Adam
Top