Electrical noise problem with PIC 16f84


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Thank you for the help.

    I can't modify the cars so I tried to make a faraday cage with a king sized beer can. First I had to empty the can and several others in case I wrecked the first one cutting the top off.
    I put the bread board in the can and covered the other end with foil. I poked a small hole so i could see if the light flickered and to let the power and ir detect wires in and set it up.
    It seemed to make no difference what so ever.
    I was about to try grounding the can to a wire attached to the ground on the outlet and desided to try the other idea of a cap on the ir pin. This greatly reduced the flicker.
    I used a 10 uf electrolite cap.
    The project works well enough to move in and start programming reset buttond and relays to start and stop the cars.
    Thanks for the posts
    Beer is proof that God loves us and wants us to be happy.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    What about the cap accross the motor terminals?

    Didn't you put one?


    ----------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default cap on motor

    Thanks for the advice but these are vintage collector HO scale slot cars and I own about a hundred of them. I can't modify them.
    Snap
    Beer is proof that God loves us and wants us to be happy.

  4. #4
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Smile I think i got it!!!

    I tried everything I could think of, coffee can, caps on inputs and even caps on the rails them selves each one hellped a little bit more but not 100%. Finally I found another person who had the same problem. he suggested all the things I tried as well as explaining that the spikes were way faster then the cars. I programmed in a 7 us delay after the first signal is recieved and then wait and see if it is still there after and it worked. I could even take the board out of the coffee can. I am learning a schematic cad program and will post everything when I am done. Thanks to everyone who helped I am adding a relay start and programmed sound so Im sure I will be back .
    Snap
    Beer is proof that God loves us and wants us to be happy.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Thumbs up

    Nice solution!
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    I can't modify the cars so I tried to make a faraday cage with a king sized beer can. First I had to empty the can and several others in case I wrecked the first one cutting the top off.
    I put the bread board in the can and covered the other end with foil. I poked a small hole so i could see if the light flickered and to let the power and ir detect wires in and set it up.
    It seemed to make no difference what so ever.
    I was about to try grounding the can to a wire attached to the ground on the outlet and desided to try the other idea of a cap on the ir pin. This greatly reduced the flicker.
    I used a 10 uf electrolite cap.
    The project works well enough to move in and start programming reset buttond and relays to start and stop the cars.
    Thanks for the posts
    Congrats-- But it is not proper to think like hating something, the moment it is teasing you. the challenge is only the to study, implement and overcome hurdles.

    Arts like carpentry etc are equally problematic to people like me - should have aptience and gain experience from failures

    All the best
    Regards,
    Sarma

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. send data from VB 6 to PIC 16f84
    By win_832001 in forum Serial
    Replies: 2
    Last Post: - 9th March 2006, 14:21
  3. send serial data to PIC 16f84 ausing VB6
    By win_832001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2006, 21:14
  4. how to send data from VB to PIC 16f84
    By win_832001 in forum Serial
    Replies: 0
    Last Post: - 25th February 2006, 16:15
  5. using PIC 16f84 at 315 MHZ
    By abood in forum Forum Requests
    Replies: 8
    Last Post: - 31st July 2005, 19:16

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