|
-
Aug 24th, 2003, 02:02 PM
#1
Thread Starter
Addicted Member
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.
-
Aug 24th, 2003, 02:30 PM
#2
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.
-
Aug 25th, 2003, 05:22 AM
#3
Thread Starter
Addicted Member
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
-
Aug 26th, 2003, 06:42 PM
#4
Thread Starter
Addicted Member
-
Aug 28th, 2003, 11:00 PM
#5
Thread Starter
Addicted Member
-
Aug 29th, 2003, 02:21 AM
#6
Retired VBF Adm1nistrator
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.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 10th, 2003, 07:40 PM
#7
Thread Starter
Addicted Member
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.
-
Sep 10th, 2003, 10:13 PM
#8
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-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|