Hi, I am looking for help to solve the problem in using Arduino UNO to control 24V DC by using 5v micro switch control by transistor given by signal from UNO.
The 5V voltage was directly extract from UNO and connect to 5V mirco switch, in between a transistor. When transistor on, ( signal HIGH from UNO), the voltage in between path given 4.6 volt only. And it was given 5 volt while UNO given LOW and transistor off.
i realize some internal resistance induced from.transistor and get your advise how.to solve this problem simply, say in conjunction with addition 3.3 volt from UNO to 5 volt path.. But how can i setup.it up to avoid.short circuit or back emf?
The circuit.setup is mainly refernce to arduino reference book. transistor: 2n3904 microswitch:massuse ME -4L1-5B
Many thanks to yours valuable idea and support
Best regards, Frank