Page 2 of 2

Re: arduino

PostPosted: Sat Mar 12, 2011 1:08 pm
by ober
sshw WROTE:does it need to connect the -ve of servo motor to the arduino when i the supply from adapter for the motor? does it need a voltege regulator for the motor? can anyone give me some sample code that the output can be control by the sensor?


Er.... not really sure about the sample source code, but I think you should be able to find sample source code for servo control using potential meter.

Yes, the gnd, or -ve need to be commoned. In normal circuit, all gnd should be connected together for voltage reference.

P/S: It will be great if you could open a topic under Arduino category to discuss :D

Re: arduino

PostPosted: Sat Mar 12, 2011 7:41 pm
by sshw
ober:
thanks a lot for your advice....