robotics company robot company  

Go Back   Trossen Robotics Community > TRC Data Center > Demos, Example Code, Widgets

Home Submit File What's New What's Popular Search

Robot Gripper with Force Feedback using Phidgets
Old 09-29-2008 08:42 AM
Alex
Alex is offline
trbothead - TRC admin
 
Views: 1,619
Replies: 1
Robot Gripper with Force Feedback using Phidgets
NOTE: There are much better ways of solving this problem and I wrote this code well over a year ago, so please be gentle with your comments

Overview

C# example taking the readings from any standard 0-5VDC analog sensor plugged into port #0 on a Phidgets 8/8/8 Interface Kit. Once activated, the servo continues to move until the specified analog sensor value is reached


PARTS LIST
1 - Phidgets 8/8/8 Interface Kit
1 - Phidgets 4-motor Servo Controller (discontinued, slight code modification required for new Advanced Servo Controller)
1 - Hitec HS-322 HD Servo
1 - 0 - 25lbs Flexiforce Kit


Directions
On the form, set the trackbar equal to the value that you want the sensor to be at when you want the servo to stop moving. Once you click the button "Close Gripper", the servo will start to incrementally move (or "close") and will not stop until the IFK reads the sensors value to be at or above the specified number. NOTE: For this example to work, you must have the servo plugged into port#0 on your servo controller and the sensor plugged into port#0 on the Interface kit.

Example of project can be found here:
http://forums.trossenrobotics.com/showthread.php?t=2284

WARNING: This application will burn out your servo if you are not careful. When you click the button "Close Gripper", be sure to watch the servo position closely.

Enjoy!
Attached Files
File Type: zip 95766-DemoSensorApp (65.75 KB, 110 views)
Tags: None



Replies to File: Robot Gripper with Force Feedback using Phidgets
  #1   Report Post  
Old 09-29-2008
robot maker's Avatar
robot maker
robot maker is offline
Banned
 
Join Date: Nov 2007
Location: hallandale,fla
Posts: 367
robot maker robot maker
thanks will give it a try,good way to do some testing on my design and give me something to play with,till i design mine,i will be using a different type of controller and a-d converter
but your design will be a big start ,thanks Alex

 


All times are GMT -5. The time now is 03:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.