Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: My Phidgets servo control

  1. #1
    Semicton Guest

    My Phidgets servo control

    Hello, I've built the SES, and the Lynx 6 robotic arms and I've been working mostly on a custom drawn user control using C# and GDI+. I think it is much nicer looking and more functional than a standard track bar for control.

    My video shows me using the control that I added to a form. I wired up some events to stop the movement and continue onto the next position depending on a touch sensor value. This particular video is controlling the gripper on my SES robotic arm. The red circles are sliders to create minimum and maximum positions for the servo, but I forgot to change them for this video.

    I'm getting ready to share the source code for this control, and hopefully create a more pleasant experience for people new to programming or using Phidgets. Next, I have to get my arm to actually do something hehe.

    Any comments or suggestions very much appreciated!

    Last edited by Semicton; 04-10-2008 at 01:15 PM.

  2. #2
    Join Date
    Sep 2007
    Location
    Weedsport NY
    Posts
    502
    Images
    9
    Rep Power
    51

    Re: My Phidgets servo control

    Awesome work! And great page. Do you mind if I add a link to your page in the PC Robotics section of my web site?

  3. #3
    Semicton Guest

    Re: My Phidgets servo control

    Thanks Droid Works! Please add a link to my page in your PC Robotics section of your website. Thats cool! and thanks for doing so when you do! It's been a lonely journey learning programming and robotics and I would love to participate and chat with great people like you and everyone else here and in the robotics community.

    I'm still working out some bad logic in the sensor change events of my small project. But as soon as I do, I want to share it with others.

    Thanks!
    Last edited by Semicton; 04-10-2008 at 09:18 PM.

  4. #4
    Join Date
    Sep 2006
    Location
    Chicago Illinois
    Posts
    682
    Images
    174
    Rep Power
    80

    Re: My Phidgets servo control

    Um, WOW. I'm knocked over by this. I'll be emailing you to talk about some things

  5. #5
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    173

    Re: My Phidgets servo control

    Hey Husko,

    This is nice work on the GUI. Very useful and attractive!

    I'm working on forward/inverse kinematics the next couple weekends. I don't do UI - and I tend to shy away from C#. But it seems to me that maybe we should chat about an opensource project to replace RIOS? I plan on working on something more embeddable and reliable. Maybe Pocket PC, maybe straight to an embedded processor, regardless, I intend to keep the kinematics library clean, portable, and open. My background is largely in algorithm design...

  6. #6
    Join Date
    Sep 2006
    Location
    Carol Stream, Illinois
    Posts
    1,695
    Images
    118
    Rep Power
    104

    Re: My Phidgets servo control

    I'm still working out some bad logic in the sensor change events of my small project.
    If you need some help with this, don't hesitate to post in the software and programming forums. I can certainly offer my "expertise"; C# is my language of choice

    �In the long history of humankind (and animal kind, too) those who learned to collaborate and improvise most effectively have prevailed�
    - Charles Darwin

  7. #7
    Semicton Guest

    Re: My Phidgets servo control

    Thanks everyone.

    Alex, I'm not sure If I should be posting this in the Programming/Software forums or here in the Projects forum.

    My logic problem isn't exactly with the control itself. It's with relation to a sensor value that doesn't change how I expected. I need a lot of work on my robotics skills

    For example my my gripper with a sensor can grip something and create a value of, let's say, 400. I can release the sensor but the value doesn't always drop exactly as expected because of the way the object was gripped, and I think the foam density is part of the problem as well. But as you pointed out, the programming/Software forum will be a great place for me to ask questions about that, and will do so for sure, and keep my ramblings of my project here hehe

    For my post here in the Project forum:

    I've been playing around at home and added a main sensor property to the servo control to get rid of an independent progress bar. It's basically a progress bar that runs along the length of the servo arm position height lighted in yellow. I also added visual feedback of the servos sensor by creating a red hint to the control bar and the position bar, as well as the servo disk, but I'm not sure that is a good idea. btw, for this demo, I was manually pressing on the touch sensor.

    I'm displaying the values of the selected position and the sensor position in the center of the control.

    After viewing the video I made of the features in this control, I realised 5 things and questioned 1:

    Realizations:
    1. I need to align sensor and servo values to the center.
    2. I need to update and display the user input value. (This might not be immediately apparent in this video because I am only clicking on the control arm. I am not dragging it. Sorry, I was in a hurry while making the video.)
    3. I need to display the position of the actual servo value in the center.
    4. I need to separate the values with horizontal lines.
    5. I need stop with all the colors :P


    Questions:
    1. Does a servo control need a sensor progress bar?



    Last edited by Semicton; 04-16-2008 at 02:45 AM.

  8. #8

    Re: My Phidgets servo control

    I'm pretty new to this whole robotics game so just by looking at the GUI I'm unsure what program laguage you were using. Currently I'm doing a school project to make a semi-automated boat. I've done most of the programing in C++ which is my preffered language. The device I was given to use as a sensor for depth and distance only has sample code in PBasic. It's from Parallax.com. Does anyone have experience in these coding that could help. It would be much appreciated.

    Thanks,
    Eric

  9. #9
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    173

    Re: My Phidgets servo control

    He was using .NET and C# with the GDI+ extensions.

    If you know C++ you could pick up .NET with C# in a matter of minutes.

  10. #10

    Re: My Phidgets servo control

    I'm not sure how to make PBasic code work the an phidget IFK because I believe the IFK only takes C.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question(s) Phidgets and servo voltage
    By Eric in forum Arbotix, Microcontrollers, Arduino
    Replies: 5
    Last Post: 05-12-2008, 09:32 AM
  2. Speecys SPC-101C direct Servo Control
    By cdraptor in forum Humanoids, Walkers & Crawlers
    Replies: 2
    Last Post: 10-16-2007, 02:56 PM
  3. Kondo web page translated.
    By Droid Works in forum Humanoids, Walkers & Crawlers
    Replies: 4
    Last Post: 10-06-2007, 06:49 PM
  4. Contest Entry Landscape Light Control Project
    By pottsbgstv in forum Project Showcase
    Replies: 7
    Last Post: 08-31-2007, 04:12 PM
  5. Contest Entry Fuel Burner Control System
    By BillW in forum Project Showcase
    Replies: 4
    Last Post: 08-03-2007, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •