If i were to use a transtor as an analog input device is that the proper way to connect it to the arduino?
Thanks!
I think that setup will always read 5V on the analog input. That setup will adjust the current.
This latest circuit is a badly implemented common base amplifier - it will have a low input impedance and very unpredictable gain because the collector load is undefined.
Tell me what your input signal is and I'll try to help you properly.
Michael Kellett.
Well all im trying to do is to have an rc receiver comunicate to the arduino.I think the best way is to use a transistor (the receiver is intended to drive a servo so im going to use the signal wire and the ground wire to drive the transistor)
if thats not an option i guess i can use optocouplers or something similar
If it's a standard RC type receiver with a pulse width modulated output you don't need to do it like this - you canuse a digital input and measure the poulse widths. Can you tell me the type and spec of the receiver.
(BTW there is a lot of info available re. RC controler -> Arduino - try http://rcarduino.blogspot.co.uk/2012/01/how-to-read-rc-receiver-with.html
Michael Kellett
its a 4 in 1 esky receiver.
I have two servo "channels" so Digital read for these /or pilsein?
and two motor connectors (i need a couple of transistors for them couse my 4th channel is actually speeding one up and slowing the other)and with code i can use that difference as a regular channel and have it doing something i want-which wont be possible without the arduino
its a 4 in 1 esky receiver.
I have two servo "channels" so Digital read for these /or pilsein?
and two motor connectors (i need a couple of transistors for them couse my 4th channel is actually speeding one up and slowing the other)and with code i can use that difference as a regular channel and have it doing something i want-which wont be possible without the arduino