Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th February 2004, 11:11 PM   (permalink)
Default Opt Isolator needed?

I am building a bale stroke counter for a farmer. It has a wire running from the cab to the magnetic switches on the baler. I am using PortB with pull-ups on a 16F872. Would it be a good idea to put in a optical isolator between the switch and the Pic???

Thanks
kentken is offline  
Old 4th February 2004, 11:14 PM   (permalink)
Default

If you're running long wires about, it's probably always a good idea. However, presumably the baler uses a diesel engine , and it isn't as noisy an enviroment as using a petrol engine.
Nigel Goodwin is offline  
Old 4th February 2004, 11:23 PM   (permalink)
Default

What is long to you? 6', 12' Most have diesel engines some in the front some in the center. Is there anything else to consider?

Kent
kentken is offline  
Old 5th February 2004, 06:57 AM   (permalink)
Default

Quote:
Originally Posted by kentken
What is long to you? 6', 12' Most have diesel engines some in the front some in the center. Is there anything else to consider?
I would tend to try it and see what happens, using screened leads will help reduce any potential problems as well. Although using opto-isolators won't do any harm, and if you were designing a PCB for the circuit, you may as well include it on the board - then it's always available if needed.
Nigel Goodwin is offline  
Old 5th February 2004, 08:18 AM   (permalink)
Default

Magnetic switches? Are these sensors powered like those inductive proximity switches? In which case, they usually output a signal from 0Volt to 12V-24V. Unless they are the open-collector type without any other load, you may have to use optoisolators to bring the signal down to 0V-5V levels.
__________________
"Having to do with Motion Control"
motion is offline  
Old 5th February 2004, 08:53 PM   (permalink)
Default

screened leads??? What's that?
kentken is offline  
Old 5th February 2004, 10:17 PM   (permalink)
Default

Quote:
Originally Posted by kentken
screened leads??? What's that?
Like on a microphone, an inner core surrounded by a mesh screen - it helps prevent external interference getting into the cable.
Nigel Goodwin is offline  
Old 6th February 2004, 09:21 AM   (permalink)
Default

He is talkng about shielded wires.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:00 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker