![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello all, I want to build an simple interface for my CNC, only step and direction, but must be opto isolated and able to work with 3.3 V and 5V. For the opto part I'm using the 6N137, but I do not know how to do the interface for the 3,3V (for use with the laptop) and the 5V (for use with the desktop.) Do you have any suggestions? thanks in advance for your help |
|
#2
| ||||
| ||||
| The 6n137 can be driven directly by 3.3V logic with a 220 ohm resistor in series with the emitter diode on a parallel port pins 2 through 9 of the db25, the control output pins are the issue (1,14,16,17) as in many computers the don't have much power to source current. In that instance you probably will have to provide an isolated supply voltage for a resistive pullup to 3.3V or 5V depending on the computer. Now, you say 3.3V, there is a lot of confusion about laptops. Actually many laptops aren't 3.3V logic on their parallel port when they are powered by AC power. And you will find many older destops, that only put out 3.3V in the HI state. The 1284 spec for parallel ports wether laptop or desktop, specifies output highs as 2.4V or higher into certain loads. If the laptop says its 1284, then it will work the same as most desktops. Laptop issues many times are incorrectly diagnosed as being a port problem, when in fact it's automatic CPU power saving changing timing.
__________________ Phil, Still too many interests, too many projects, and not enough time!!!!!!!! Vist my websites - http://pminmo.com & http://millpcbs.com |
|
#4
| ||||
| ||||
| maybe this will help: http://pminmo.com/4axisopto/4axisDIYopto.htm
__________________ Phil, Still too many interests, too many projects, and not enough time!!!!!!!! Vist my websites - http://pminmo.com & http://millpcbs.com |
|
#5
| |||
| |||
| My suggestion would be the attached thumbnail. This circuit works with any standard logic level (2.5V, 3.3V and 5V logic) and easily passes 0 to 500 kHz signals. Only 2.2mA of LED drive current is needed. Mariss |
| Sponsored Links |
|
#8
| |||
| |||
| Cristal You cannot use the 6N137 in my circuit because it's not a photodiode/transistor device. The 6N137 uses an IC amplifier in its internal circuitry. You can use a 6N136 instead of the HCPL-2531. Mariss |
|
#10
| |||
| |||
Greetings. In my quest to find a circuit to isolate a PIC 3.3v output to the 5V input of an H-bridge driver (LMD18200) I stumbled upon this post. The circuit in the thumbnail looks close to what I need but I'm a bit confused by it. Can I not just use a couple of resistors and two suplly voltages to do this with a 6N137 ? Thanks. |
| Sponsored Links |
|
#12
| |||
| |||
Sorry, I forgot to add that I'm running a PWM at a frequency of 40 khz. According to a book I'm using, Building Robot Drive Trains, the 6N137 has a rise time of 50ns and a fall time of 12 nS. I couldn't decipher the Fairchild data sheet for these specs. My PWM period is 25 uS, so I thought I'd be safe. Can you elaborate on where/how it would be too slow ? Thanks for your time and effort in responding. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Optical tracer | kirkln | CNC Plasma and Waterjet Machines | 8 | 04-25-2008 07:31 AM |
| My New Optical Toy | Micro Rotors | Benchtop Machines | 58 | 03-01-2008 09:45 AM |
| Anyone have a Sprint 200 CNC optical? | dmcool | Calibration & Measurement | 0 | 02-11-2008 11:58 AM |
| Help with optical scales | edbanks | General Electronics Discussion | 3 | 04-12-2007 02:25 PM |
| Optical Limits | JOE65 | Industrial Hobbies (Support forum) | 1 | 03-21-2006 10:06 PM |