R/C Tech Forums - View Single Post - Servo control with Raspberry Pi
View Single Post
Old 09-15-2015 | 07:09 AM
  #2  
Trettman
Tech Rookie
 
Joined: Aug 2015
Posts: 4
Default

Maybe I should add a bit more info, I was tired when I posted so I probably left some things out.

I've attached a picture showing how I connected everything. The servo worked when I used a transmitter and a receiver, but when I used the Raspberry Pi it did not. I tried with another type of servo (a Futaba S3003) but it didn't work either. I've seen other people use piblaster to control servos but for some reason it doesn't work.

Here's some short javascript code showing how I used the GPIO pin:

var piblaster = require("pi-blaster.js");

piblaster.setPwm(17, <some value>);
Attached Thumbnails Click image for larger version

Name:	Koppling.png
Views:	316
Size:	12.3 KB
ID:	1317646  
Trettman is offline