RUG Community

a place for robotic enthusiasts, builders and user groups

FEZDuino Domino Servo Tutorial



Introduction


This tutorial is is part of a series of tutorials geared towards the FEZDuino Domino controller. This controller is based on the .NET Micro Framework. All the code contained within this tutorial was created using the FEZDuino Domino board, VS.NET 2010 C# Express, and the .NET 4.1 Micro Framework.

Overview


For this tutorial we used the FEZDuino Domino connected to an available USB port on our development workstation. Furthermore, we used the DFRobot I/O Expansion shield and a standard HiTect servo. Take note that you will need to supply external power to the servo since the Domino board cannot provide the power while plugged in via USB.









Meat and Potatoes


Sample Code
Debug.Print( "[TEST] : {PWMTest} Started..." );

Debug.Print( "[TEST] : {PWMTest} Accessing PWM Port 3" );
PWM servo = new PWM( PWM.Pin.PWM3 );

Debug.Print( "[TEST] : {PWMTest} Pulsing PWM 3" );
for ( uint i = 1000 ; i <= 2000 ; i += 250 )
{
    servo.SetPulse( 20 * 1000 * 1000, i * 1000 );
    Thread.Sleep( 1000 );
}

servo.Dispose();

Debug.Print( "[TEST] : {PWMTest} Completed!" );


Reference Guides



Where to buy?


DIYbin.com

Latest Activity

yos sh posted photos
Friday
yos sh posted a photo
Friday
Profile IconDan Moldovan, Andrew Nguyen, Simon Vans-Colina and 1 more joined RUG Community
Friday
Richard Vannoy posted an event

Mini-Sumo Contest at San Diego, near I-15 and Aero Drive

June 2, 2012 from 10am to 2pm
2 June 2012, NoonITT Technical Institute9680 Granite Ridge DriveSan Diego, California, 92123Robots: 20 cm max width, 20 cm max length, max 500 gramsSee: www.richardvannoy.info/sumo.php for rules and detailsRVannoy@itt-tech.eduSee More
Friday
Richard Vannoy updated their profile
May 19
Peter Farkas updated their profile
May 15
Peter Farkas posted a video

Pneumatic Gripper Hass VMC by WPI

Pneumatic gripper used in Haas vertical machining center for Worcester Polytechnic Institute project. Worcester Polytechnic Institute's Robotics Engineering ...
May 15
Peter Farkas posted a blog post

WPI student integrates Robotic manipulator in Haas CNC machining center

AGI American Grippers Inc in Trumbull, CT, a loyal supporter of Manufacturing, Robotic Engineering and Industrial Automation related discipline programs in Universities throughout the USA, donated pneumatic automation equipment to WPI student Corey Stevens on April of 2012 for use in a project required for the completion of his Robotics Engineering undergraduate degree at Worcester Polytechnic Institute in Massachusetts.  WPI is ranked among the best Engineering schools in the country, and “is…See More
May 15
Profile IconSam Nakagawa, Nghiem Hai Bang, Tim Scott and 10 more joined RUG Community
May 14
iofreak updated their profile
Apr 28
Profile IconTim Hunter, Stan Wall and Thammarat joined RUG Community
Apr 27
Profile IconDavid Bleeke, marco villalon, Александр and 24 more joined RUG Community
Apr 24
Joseph Pavliga posted videos
Mar 31
Joseph Pavliga posted videos
Mar 26
Profile IconCamila Passoni, khaled Kamal, oderlachs and 19 more joined RUG Community
Mar 26
Profile IconHector Gato, shoppink, Andrei and 18 more joined RUG Community
Mar 1

© 2012   Created by Danny.

Badges  |  Report an Issue  |  Terms of Service

Add Videos | Add Photos | Post a Blog | Add Events | Discuss | Form a Group

Sign Up  Invite