Electrical Issue: PIC input false triggering, Signal Noise suspected.


Closed Thread
Results 1 to 36 of 36

Hybrid View

  1. #1
    Join Date
    Jun 2015
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: Electrical Issue: PIC input false triggering, Signal Noise suspected.

    I am posting this reply to my first inquiry for those in the future who are merely browsing may want to know the results without going down through the many threads in detail. Having said that I would encourage any person who needs to solve a similar problem to dig down through (the threads of) this exchange of great ideas and suggestions.

    I am happy to report that my false triggering problem has been solved no doubt to a combination of systems suggested here. I will summarize what I did for others to consider.

    - I added bypass caps to all power supply traces across the +5 & Gnd.
    - I installed a common ground bus connected to the house power earth ground.
    - Since I am using a wall-type 5vDC power supply without a ground and a plastic enclosure, I grounded my main control board to the bus.
    - I used a shielded cable between the reed switches and the control enclosure and connected the shield to the ground bus(see attached schematic.)
    - I added bypass caps to each of the 3 reed switch signal lines.
    - I decreased my pull-up resistor values on the signal lines from 4700ohms to 47ohms
    - I have not yet received my inductors but have etched a small carrier board (no room left on the main board) to connect them as shown.

    Name:  Schematic.jpg
Views: 121663
Size:  49.6 KB

    I have not needed to put in place the software-based solutions but they are very interesting and may find their way into future work.

    Once again I thank all who contributed to this discussion. There are many new details for me to apply to the next project.

  2. #2
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Electrical Issue: PIC input false triggering, Signal Noise suspected.

    It would be interesting if you could do one of the above solutions at a time and narrow it down to which one or combination of the several solved it.

    The 100uH coil going to ground isn't doing anything and could be deleted. I'd suggest only having one ground for the reed switch and shield preferably as close to the PIC as possible.

    Did you choose the cap and the coil values for any particular reason? I'm assuming you're using a PWM controller and wonder if you could tune them closer to your PWM frequency to reduce spurious noise further. Usually I have many caps laying around and only a few coils so reducing your cap size would be the easiest.

    Love the train.

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Electrical Issue: PIC input false triggering, Signal Noise suspected.

    Wow, Twisted/shielded cable, Inductors, 47 Ohm resistors, and capacitors.... Why not just use some opto isolators at the PIC side and run some current, say 10 mills or so thru the reed switches with 20 gage unshielded wire and call it a day. I can't beleive this topic is still doing.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Intermittent reset of 16C6440 - possible noise issue
    By Christopher4187 in forum General
    Replies: 4
    Last Post: - 16th May 2012, 12:43
  2. Noise on input signal
    By fanman in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 28th February 2012, 02:55
  3. Electrical noise problem with PIC 16f84
    By Snap in forum General
    Replies: 11
    Last Post: - 26th September 2007, 09:36
  4. Input Noise
    By PJALM in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 28th February 2006, 19:26
  5. False Triggering I/O
    By pdegior in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th July 2005, 09:02

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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