I can still get the light to flicker with DC motor noise. I give up. I hate electronics . I am going to be a carpenter and make matchstick rocking chairs.
I can still get the light to flicker with DC motor noise. I give up. I hate electronics . I am going to be a carpenter and make matchstick rocking chairs.
Beer is proof that God loves us and wants us to be happy.
Put 0.01uF/275V X2 type capacitor across the motor terminals.
=========================
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Yeah, and then you will want to automate the process with a PIC.
I bet when you "rev" one of these cars you can here it on a radio and see it on a TV.
The amount of current going through these motors will also produce a far amount of EMF.
All of this you know.
Faraday Cage = Coffee Can
Place the circuit board inside a coffee can with the open end pointing away from the race track.
I say this because it is made of steel. Aluminum will work for RF, steel will work for RF and EMF.
This should route the RF and EMF around the PIC. For the same reason I use only steel enclosures around projects that will be in machine/welding shops.
Also, a capacitor to ground from the IR pin may help act as an RF filter.
Dave
Always wear safety glasses while programming.
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.
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
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.
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.
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
Bookmarks