Go to advanced search

by razor1331
Thu May 22, 2014 3:28 pm
Forum: Beginners
Topic: adafruit 16 channel servo driver
Replies: 9
Views: 2427

Re: adafruit 16 channel servo driver

i did this modification to example code given with the lib..

pwm.setPWM(0,0,4096)
pwm.setPWM(1,0,0)
pwm.setPWM(2,0,4096)
pwm.setPWM(3,0,0)

i want the output in the board to be channel 0 => 5v ,ch 1=> 0v and go on...is it possible with this board?
by razor1331
Thu May 22, 2014 12:14 pm
Forum: Beginners
Topic: adafruit 16 channel servo driver
Replies: 9
Views: 2427

Re: adafruit 16 channel servo driver

thanks.
but i ve to save many giop for my other sensors,...that's why i am trying to control my servos and dc motors using the board. is there any way i can do that with this board?
by razor1331
Thu May 22, 2014 12:06 pm
Forum: Beginners
Topic: adafruit 16 channel servo driver
Replies: 9
Views: 2427

Re: adafruit 16 channel servo driver

all.......
i tried "To turn an output OFF, set both ON and OFF times to 0.
To turn it ON, set the ON time to 0 and the OFF time to 4095".
already. it doesnt work. i even checked the voltage levels. they are 0V.but when i attached a servo its working just fine.
do i ve to change the frequency?
by razor1331
Thu May 22, 2014 11:24 am
Forum: Beginners
Topic: adafruit 16 channel servo driver
Replies: 9
Views: 2427

adafruit 16 channel servo driver

Hi guys, first of all I am new to RP please help me out here. (https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi) I am using this i2c servo driver for my project. how can i get a digital signal using pwm (ON/OFF)? because i ve 2 dc motors and 5 servos to control. i want u...

Go to advanced search