LJ12A3-4-Z-BX wiring July 17, 2015 10:50AM |
Registered: 8 years ago Posts: 22 |
Re: LJ12A3-4-Z-BX wiring July 20, 2015 09:19AM |
Registered: 10 years ago Posts: 869 |
Re: LJ12A3-4-Z-BX wiring July 29, 2015 10:08AM |
Registered: 9 years ago Posts: 535 |
Re: LJ12A3-4-Z-BX wiring July 29, 2015 01:53PM |
Registered: 10 years ago Posts: 869 |
Re: LJ12A3-4-Z-BX wiring July 30, 2015 03:04AM |
Registered: 9 years ago Posts: 535 |
Many thanks for your early reply!!Quote
cdru
For ANY NPN sensor resistors are not needed. A NPN resistor acts like a switch grounding the microcontroller's pin. It's already at a safe voltage since it's coming FROM the microcontroller.
If it was a PNP sensor, the sensor would be sending whatever voltage it was operating at TO the microcontroller, so you'd have the possibility of sending more than 5V to the microcontroller, likely frying the pin if not more in the process. With a PNP sensor, you must use a voltage divider to lower the voltage if the sensor operates at greater than 12V.
For the above reasons, a NPN NC sensor is best choice IMHO, with a NPN NO sensor a second option but you lose the fail safe operation.
Re: LJ12A3-4-Z-BX wiring July 30, 2015 08:25AM |
Registered: 10 years ago Posts: 869 |
Re: LJ12A3-4-Z-BX wiring March 22, 2021 01:02PM |
Registered: 3 years ago Posts: 1 |