![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| 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 | |
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) |
| 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 | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| 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" | |
| |
| | (permalink) |
| screened leads??? What's that? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| He is talkng about shielded wires.
__________________ "There is no way to peace, peace is the way!" | |
| |