more G-Labs products

Author Topic: Plugin for servo  (Read 862 times)

November 10, 2015, 12:54:48 PM
Read 862 times

artichost

  • *
  • Information
  • Newbie
  • Posts: 8
Im done setting upp temperature sensors in our house, Now i wuld like to connect a servo to our furnice to remotely
controll the temperature,

Are there some plugin to controll a servomotor?

November 10, 2015, 01:29:46 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Not sure what you are trying to achieve, but there is a RaspberrySharp class for this pwm driver:

http://www.adafruit.com/products/815

and here an example of how to use it:

https://github.com/raspberry-sharp/raspberry-sharp-io/blob/master/Tests/Test.Gpio.Pca9685/Program.cs#L49

see also examples included in HG->Programs/RaspberryPi section for getting an idea of how to use RaspberrySharp in HG programs.

g.

November 10, 2015, 01:37:28 PM
Reply #2

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer

November 10, 2015, 06:17:05 PM
Reply #3

artichost

  • *
  • Information
  • Newbie
  • Posts: 8
Something like this

https://www.youtube.com/watch?v=ddlDgUymbxc

But via HG to set different possitions of the servo.
 :D

so i can set it in different possitions depending of how warm the house is. ..
« Last Edit: November 10, 2015, 06:19:15 PM by artichost »