To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Aug 24th, 2003, 03:02 PM   #1
INF3RN0666
Addicted Member
 
Join Date: Mar 02
Posts: 229
INF3RN0666 is an unknown quantity at this point (<10)
Robotics - VERY SIMPLE QUESTION

LOL, hopefully my topic didn't mislead people. I have a stepmotor that I pulled out of a printer. I also downloaded IO.DLL from the web so that I can control the Parallel Port. ALL I WANT TO DO IS MAKE THE MOTOR SPIN (I DON'T CARE WHICH WAY OR HOW LONG, BUT SPIN DAMN IT, SPIN!). I have no clue how to hook it upto my parallel port or what commands to send to the parallel port or with what function I should send the commands. LOL, so as you can see, I'm kinda lost right now!

THIS IS THE ONLY WAY TO LEARN, DO IT ON YOUR OWN FROM THE BEGINING!

Thank you for any help.
INF3RN0666 is offline   Reply With Quote
Old Aug 24th, 2003, 03:30 PM   #2
Lightning
Frenzied Member
 
Lightning's Avatar
 
Join Date: Oct 02
Location: Eygelshoven
Posts: 1,187
Lightning is on a distinguished road (20+)
It is simple, first find out how a step-motor works, it is really simple, if you know that you can easily control it with the lpt port.
This might help you getting started.
Lightning is offline   Reply With Quote
Old Aug 25th, 2003, 06:22 AM   #3
INF3RN0666
Addicted Member
 
Join Date: Mar 02
Posts: 229
INF3RN0666 is an unknown quantity at this point (<10)
Thank you for you reply. However, I find that site hard to understand and very long. Can someone simply state what I should do to get it turning in 2 paragraphs or less ? LOL.

Thank you
INF3RN0666 is offline   Reply With Quote
Old Aug 26th, 2003, 07:42 PM   #4
INF3RN0666
Addicted Member
 
Join Date: Mar 02
Posts: 229
INF3RN0666 is an unknown quantity at this point (<10)
BUMP
INF3RN0666 is offline   Reply With Quote
Old Aug 29th, 2003, 12:00 AM   #5
INF3RN0666
Addicted Member
 
Join Date: Mar 02
Posts: 229
INF3RN0666 is an unknown quantity at this point (<10)
BUMP
INF3RN0666 is offline   Reply With Quote
Old Aug 29th, 2003, 03:21 AM   #6
plenderj
Banned
 
plenderj's Avatar
 
Join Date: Jan 01
Location: Dublin, Ireland
Posts: 10,359
plenderj  is on a distinguished road (40+)
You're going to need to have a good knowledge of electronics to start hooking random parts together.
I suggest you get a robotics kit - normally you get a small printed circuit board with a serial connection on it, and you can control it then from inside VB or any other language.
plenderj is offline   Reply With Quote
Old Sep 10th, 2003, 08:40 PM   #7
INF3RN0666
Addicted Member
 
Join Date: Mar 02
Posts: 229
INF3RN0666 is an unknown quantity at this point (<10)
I'm avoiding all types of robotics kits or pics for that matter. I wanna learn something from scratch for once in my life if you know what I mean?

i finally found out what a transistor does and correct me if i'm wrong but it amplifies the voltage that you pass through by saving it up untill enough voltage is formed.
INF3RN0666 is offline   Reply With Quote
Old Sep 10th, 2003, 11:13 PM   #8
RobDog888
Super Moderator
 
RobDog888's Avatar
 
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,667
RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)
Actually a transistor is more like a switch. It can be biased either
foward, reverse, or 'H' biased and depending upon the resistors
that are hooked up to it, it can deliver different voltages.

A Capacitor stores and discharges energy like a battery. Perhaps
that is what you are thinking of.

For a stepper motor you will need to design a driver circuit to
bump up the voltage and current from the LPT port to the levels
that the stepper motor needs. Also, add protection to your
motherboard LPT port incase of an accident you don't blow out
your LPT port.

To determine the direction and which wires out of the stepper
motor do what, you will need a meter that can measure Ohms,
Volts, and Amps (miliamps etc). Then test for continuity between
them. The wires with continuity will be the sets to apply the test
voltage to to determine the direction of the spin. Label each wire
after you get each match.

I did a very similar project back in the day in school. Although I
did it using QBasic language, which you can get control of the
COM port easily with functions and not dlls, and output the
signals to the COM port using binary values.

Later.
__________________
VB/Office Guru™ (AKA: Gangsta Yoda®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.

Microsoft MVP 2006, 2007, 2008, 2009, 2010
Office Development FAQ (VBA, VB 6, VB.NET, C#)
Software Engineer MCP (VB 6 & .NET), BSEE, CET (Internet.com's #1 Poster)
If a post has helped you then Please Rate it!
Star Wars Gangsta Rap Reps & Rating PostsVS.NET on Vista (New)Multiple .NET Framework Versions (New)Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007
RobDog888 is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:37 PM.




To view more projects, click here

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

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