English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi I have a project to complete for my university. I am
designing a PDA controlled vending machine. I have made a program on Labview for the PDA. Now when the user opens the software and stands infront of the vending machine he will scan for vending machines.
whatever he wants he then selects that vending machine. the vending machine will have buttons corresponding to 3 slections. When the user selects the button,the microcontroller in the venidng machine will send a signal to a computer that will also be connected to the
microcontroller. If the person has enough balance the microcontroller
will turn the correspoind motor on so it can vend the item. the motor is
24 VAC. the microcontroller also needs to be connected to a bluetooth
tranceiver. My question is that I am looking for the right
microcontroller that can be able to turn on one of the desired motors. I
will connect each motor to the microcontroller though a relay. could you
please guide me how to od it.

2007-02-23 10:38:18 · 4 answers · asked by UZ 1 in Science & Mathematics Engineering

4 answers

Opto 22 and other companies make Solid State relays. (here is the link http://www.opto22.com/site/pr_cat_g.aspx?qs=1006& ). These relays have an opto isolator built in to the relay. The relays come in AC or DC. You need AC for the AC motor and DC control to connect to the microcontroller. There are relays with sensitive inputs (lower power), but you still might need an npn transistor to turn on the relay. The microcontroller is not critical, use whichever one you want to. The I/O pins need to be able to control the Solid State Relays (perhaps with a transistor).

2007-02-23 12:52:32 · answer #1 · answered by John S 6 · 0 0

Since you have the relay isolating the motor current from the controller, it's trivial. Just use a transistor or Darlington junction to amplify the control signal to a large enough level to drive the relay, and you're done.

2007-02-23 10:43:17 · answer #2 · answered by poorcocoboiboi 6 · 1 0

Use a relay triggered by an output pin on your uc. You might need to boost the current with a transistor amp enough to actuate the relay.

2007-02-23 10:43:23 · answer #3 · answered by James B 3 · 0 0

I'd first put an opto-isolator between the output of your controller and the relay. You can probably find an opto-isolator / relay combination that will work with just one relay, or you might need two relays. Opto-22 makes output relay modules that might suit your need.

2007-02-23 11:50:42 · answer #4 · answered by Answer Master Dude 5 · 0 0

fedest.com, questions and answers