Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Hobbies Electronics Enthusiasts Club, All elect/robotics lovers! pls come!

views
     
fantasy1989
post Aug 12 2009, 01:06 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



can anyone teach me how to control stepper motor with using parallel port? newbie for electronics ..need for my final year project ...=)

thanks
fantasy1989
post Aug 12 2009, 07:53 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(tgrrr @ Aug 12 2009, 06:20 PM)
Buy online from Farnell, they'll ship to your doorstep. Pay through maybank cash deposit or maybank2u online.
See here -->Max232 @ Farnell


Added on August 12, 2009, 6:33 pmI think parallel port is all but dead. Why do you want to use parallel port? Do you already have some tools to control the parallel port with?
I don't know if the kind of programmable IC you're looking for exists.
You can make your own simple audio player using micro-controllers like PIC, but you'll need to write the whole program, not just the song you wanted to play.
*
my project is using computer to control stepper motor ...via parallel port ...any sample program? ..i wanna make it like door OPEN n CLOSE (slide)
fantasy1989
post Aug 17 2009, 11:02 AM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



Hi There, anyone can teach me how to make dc motor spin 2 direction? clockwise and anticlockwise 12vdc motor spin clockwise then spin anti closewise back
fantasy1989
post Aug 19 2009, 12:03 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(Aurora @ Aug 19 2009, 01:11 AM)
e-fatty: it was mention in the link that hdd Vss is only +3.3v, max232 chip is rated for 4.5-5.5v (typ. 5v). You need to take a look at max3221, and the application note, usually it will show you few circuit example to how to connect the chip.

tgrrr: Honestly, I don't know what I'm looking for. tongue.gif Camera module usually transmit in i2c, with other information available by the reading the rest of the pins. I read the datasheet, seems like need to write down a lot of code if I were to use uC. In case there is already a better solution... like a specific chip or module smile.gif My target is to at least able to read, say 50x50 line out of the entire resolution (VGA or higher). I'm working on a project similar to line-following robot, but can't use the typical close-range IR to scan the line, due to terrain constraint. VGA would worth a try. Let me know if you have other ideas biggrin.gif

fantasy1989: to spin a motor the other way, just reverse the polarity (+ve connect to -ve, and -ve connect to +ve). If you want better control, can try H-bridge circuit. H-bridge has the advantage of speed control and brake. To design H-bridge circuit, first need to know what motor you use, and what is the motor load (what the motor is use for). You can read up in wikipedia to understand the basic of H-bridge. Let us know what the motor is used for, we'll suggest a better way to that. Cheers biggrin.gif
*
ok ..thank you for the motor icon_rolleyes.gif


anyone can tell me ...where to find this sensor doh.gif i search some component shop ..tak ada ><! ...this call micro optical sensor right?

and anyone can teach me how to use HB2E relay? newbie on electronic
HB2E-DC5V

thank a lot ><

This post has been edited by fantasy1989: Aug 20 2009, 02:09 AM


Attached File(s)
Attached File  PZ2_series.pdf ( 580.5k ) Number of downloads: 9
Attached File  HB2E_DC12V.pdf ( 135.03k ) Number of downloads: 9
fantasy1989
post Aug 22 2009, 05:31 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(Aurora @ Aug 20 2009, 08:38 PM)
This sensor look kinda expensive, got water-prove somemore, want to install outdoor is it? Maybe you can try Jalan Pasar, try those shop that sell light, alarm. They may not have the specific model, but if you tell them what is your application, usually they can recommend you the alternative. But this only apply for manufactured parts smile.gif

HB2E-DC5V, pin 3 and 14 are your input, give it a 5v supply and the relay will engage.
When engage, pin 8 and 2 will short, (aka connected), and pin 9 and 15 will short also.
When disengage, pin 8 and 1 will short, and pin 9 and 16 will short.
Usually this type of relay are used when you have 3 different circuit that run on different voltage supply. i.e., your switching supply run on 5v, and you need to use it to switch on a 12v circuit (pin 8 and 2, or 1) and another 24v circuit (pin 9 and 15, or 16).
*
i just require one sensor to connect with pc and sent signal to pc ..like door open and close ..just for my project ..any sensor recommend?


thank for the info about relay notworthy.gif
fantasy1989
post Aug 30 2009, 03:09 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



can i ask what sensor can link with parallel port? IR sensor can?

any sample?
fantasy1989
post Aug 30 2009, 10:53 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(Aurora @ Aug 30 2009, 10:31 PM)
What type of IR sensor? For what application?
*
i wanna do a thing like will sent signal to my pc via parallel port when something is block is between
fantasy1989
post Sep 2 2009, 12:37 AM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(Aurora @ Aug 31 2009, 10:58 PM)
Which circuit? The IR sensor or the communication with PC? Frankly, I have neither. laugh.gif it depends on which IR sensor, environment, controller.... Assuming fantasy1989 already had the circuit, I'm just stating the possibility of interfacing it with PC via parallel port.  smile.gif


Added on August 31, 2009, 11:00 pmNot it the mood of googling... I'm sure there are tons of example smile.gif
*
found few circuit ..but not sure can use or not

can provide some sample diagram? notworthy.gif
fantasy1989
post Sep 8 2009, 06:13 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(maranello55 @ Sep 8 2009, 03:59 PM)
hi guys,

where can i purchase electronics stuff online? had the link last time but lost it. Malaysian site that is.
*
bizchip?
fantasy1989
post Dec 17 2009, 07:29 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



i need some help for my project ==

how i have a sensor which ON = 1.6v OFF = 1.3V

i want link to parallel port(status register) ..got any idea?

thanks in advance
fantasy1989
post Dec 21 2009, 06:40 PM

Look at all my stars!!
*******
Senior Member
4,706 posts

Joined: May 2008



QUOTE(Aurora @ Dec 21 2009, 08:31 AM)
fantasy1989: parallel port respond on +5v. For your case, if your switching is slow and time critical, you can use a transistor circuit, or op-amp circuit. If it is time-critical, then you need to get those TTL chip. Be careful when playing with parallel port, if you apply the wrong voltage or current, it may smoke your motherboard!

rokiroad: I found the solution already, in fact had my PCB board done. wink.gif Speaker amplification, try this. Do look up for LM386 datasheet and application note for more info.
*
thx notworthy.gif

 

Change to:
| Lo-Fi Version
0.0288sec    0.21    7 queries    GZIP Disabled
Time is now: 29th November 2025 - 01:56 AM