MCLR resistor


Closed Thread
Results 1 to 21 of 21

Thread: MCLR resistor

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I believe ive solved everything

    I ripped everything off my breadboard and started again. I tested everything as i was connecting it up.

    My first problem was the strobe. The way i have been using obv is not going to work. Since i have some boxes pre-made that controll lights (including dimming) i decided to try them out but only telling them to turn on and off. The strobe works fine and doesnt cause any interference. I have noticed that the strobe double clicks once every few seconds while connected to the box but i dont think that would cause a problem. I was just concerned that i might break the box.

    Back to my circuit. Ive replaced the variable PSU with a static one. The variable one will only be used for the solenoid now. Ive added 10 small capacitors and instantly noticed a difference. As long as the relay doesnt turn on the whole circuit can run for about a second without power. PSU faults are now fixed.

    The solenoid is the only thing that still uses a relay. As the solenoid is DC i have put a diode directly onto the solenoid itself. That seems to be fine.

    2 of the smoke machines are now controlled by triacs instead of relays (the third should be the same but ive not tested it yet). They now dont cause problems.

    Still using 10K for MCLR. Tried direct an 1K but there was no change.

    Initial build time: 5 hours
    Debugging time: 9 hours
    Rebuild time: 7 hours

    wow, this has taken ages. It would have taken a lot longer too if it wasnt for you guys. Without the suggestions here i think i would have given up ages ago. No doubt when i turn it on again tomoz something will have broken but all looks good for now

    Anyway, its now 4:30AM and ive been up exactly 24 hours so i think i deserve a break. Ill be back on tomoz to answer any questions you might have and ill upload some pics (just for the fun of it)

  2. #2
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    I have noticed that the strobe double clicks once every few seconds while connected to the box but i dont think that would cause a problem. I was just concerned that i might break the box.
    Try tying an incandescent lamp inline, this may correct this. If it does a 10 ohm 10 Watt resistor should fix it permanently.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Hmm. I think it would be dangerous for me to put a resistor into a mains socket. As it happens it randomly started working normaly.

    The main circuit had some problems tonight but i think at least half of them were with my software. Writing applications like that in such a short space of time usually means there will be some errors.

    Ive learned quite a few lessons over the past few days though thanks to people on these forums and a bit of experimenting. Hopefully next year i will have a proper PCB made up. I have a few questions about new ideas ive had so ill start new threads for those soon.

    Some pics will be going up in the next few days. Just gotta tidy up a bit and locate all the pics

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Finally. Heres some pics from halloween. Still waiting for the ones on the film camera but theres one of the circuit on here

    http://www.spooktech.org/BLG/PicAlbu...mID=67&APage=1

Similar Threads

  1. Reading A Photo Resistor using ADC
    By jessey in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th January 2007, 10:28
  2. Replies: 5
    Last Post: - 2nd March 2006, 10:21
  3. What does this MCLR instruction mean?
    By bartman in forum General
    Replies: 16
    Last Post: - 30th November 2004, 01:32
  4. I/O pin and MCLR
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 1
    Last Post: - 15th July 2004, 11:52
  5. Do I need that Resistor with my LCD?
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 11:50

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts