Showing posts with label Womens. Show all posts
Showing posts with label Womens. Show all posts

Sunday, March 11, 2012

Joystick robot motor

Joystick robot motor Video Clips. Duration : 2.93 Mins.


This is a small project I have been working on to control a vex motor and eventually a full blown robot from the computer via a joystick. It uses a basic Saitek joystick hooked up to a custom C# program which gets the axis and button values from it via directx directinput. The values are then scaled to 0 to 180 and sent out over serial to the arduino in much the same manner that my serial controlled stepper motor worked. When the arduino receives the instructions it then extracts the value and sets the motor to the value (speed). It can also work for a servo motor by simply changing the cable. This system will soon be deployed a robot similar to by bluetooth tank but it will have a live video feed on the computer screen and it will be controlled via a joystick instead of keys!!! Here is the source code, download the arduino joystick code for the code that was on the arduino, and the working joystick test for the C# code. code.google.com You should check out this tutorial which got me started, I give full credit to the author for the sample code I used. www.codeproject.com Keep in mind you have to download the directx SDK which is about 600mb the link is in the tutorial above.

Keywords: vex, robot, robots, joystick, insane, crazy, axis, math, computer, C#, C++, programming, JAVA, arduino, atmega, 168, atemega168, science, hobby, machine, engineering, motors, dc, pwm, controlled, serial, baud, rate, bps, directinput, directx, visual, studio, tank, control, future, uav, helicopter, airplane, gear, 2560, project, joysticks, physics, electronics, wireless, mechanics, experiment, technology, racing, diy

Saturday, February 11, 2012

Check Out StarTech.com USB to RS232 Serial DB9 Adapter Cable with COM Retention - 1-Feet (ICUSB232PRO) for $19.30

StarTech.com USB to RS232 Serial DB9 Adapter Cable with COM Retention - 1-Feet (ICUSB232PRO) Best

Rate This Product :


StarTech.com USB to RS232 Serial DB9 Adapter Cable with COM Retention - 1-Feet (ICUSB232PRO) Feature

  • COM port settings are retained for serial devices plugged into different USB ports saving time
  • Easy plug and play installation with our USB Powered adapter - no power outlet required
  • USB to Straight-Through RS232 Serial Adapter
  • Supports data transfer rates of up to 920kpbs
  • COM Port assignments maintained across reboot
  • Powered by an available USB port - no external power adapter required
  • Provides dual buffers for upstream and downstream data transfer
  • Supports remote wake up and power management control

StarTech.com USB to RS232 Serial DB9 Adapter Cable with COM Retention - 1-Feet (ICUSB232PRO) Overview

This innovative USB to Serial adapter offers a professional grade solution for connecting legacy or industrial RS232 serial devices to a laptop or desktop computer through USB - eliminating the expense of upgrading serial peripherals for compatibility. A time-saving and convenient USB/Serial solution, the adapter retains assigned serial COM port values in nonvolatile memory, allowing the same values to automatically be assigned to the adapter serial port if disconnected and reconnected, or disconnected from one USB port and installed in another. A versatile connectivity solution that bridges legacy serial peripheral devices with newer USB-capable computers, the USB to Serial adapter is compatible with Win98/2000/XP/Vista and MAC OS 10.4+ operating systems, and is backed by StarTech's 1-year warranty and free lifetime technical support.


Customer Reviews




*** Product Information and Prices Stored: Feb 11, 2012 17:47:22