![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm looking for an simple circuit example for connecting a PICAXE chip output pin to a parallel ports data output pin (to be used as input). It is for my home built Pendant for my cncmill. Is it the same as connecting a simple switch? Gordon |
|
#2
| |||
| |||
| Simply connect the picaxe output directly to one of the INPUT pins of the parallel port (this is pins 10,11,12,13 and 15. DO not connect it to any of the parallel port OUTPUTS. Also the ground/0 pin of picaxe must be connected to ground of the parallel port (pins 18,19,20,21,22,23,24,25 are all ground)
__________________ Mechatronicsman www.hobbymechatronics.com |
|
#3
| |||
| |||
| Thanks for the reply Mechatronicsman, I'm using a Sunix Golden I/O PCI Card/ 4018A (PCI). http://www.sunix.com.tw/it/en/Produc...id=303&sid=479 I read that the Mach3 software can allow the 8 output pins on the second Parallel port to be inputs. Is there a way I can test this? I read here about Bi-directional ports http://www.beyondlogic.org/spp/parallel.htm#6 If my port can do this, what is the best way to connect? I need to use all 8 pins to send signals from the CNC's pendant, eg XYZA, 0.1 0.01 etc. My other option is to use the serial, but don't now how the picaxe would communicate with Mach3. I need an example to help me understand if going down that road. |
|
#4
| |||
| |||
| in EPP and ECP mode paralell ports can communicate bidirectionally, i.e. data pins can be both inputs and outputs. But you have to make sure that the data pins are set to input before the picaxe drives its output. I do not know the PICAXE or Mach3 software (I use EMC) well enough to describe how you can do this. I always only use parallel ports in standard mode (output only) to ensure compatibility with old machines not supporting ECP/EPP. But then you only have five input signals available as mentioned above. -bjorn
__________________ Mechatronicsman www.hobbymechatronics.com |
![]() |
| 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 |
| C++, Win XP, Parallel Port | Zumba | Coding | 7 | 03-29-2012 01:12 PM |
| Parallel Port Question | IMSlo | LinuxCNC (formerly EMC2) | 81 | 07-18-2007 09:31 PM |
| Where's the parallel port? | cdlenterprises | Mastercam | 23 | 01-20-2007 05:23 PM |
| 2nd PCI Parallel Port | sunmix | Mach Software (ArtSoft software) | 8 | 11-22-2006 02:17 PM |
| Parallel Port / Relay Control Question | Verboten | Computers and Networking | 7 | 12-21-2004 04:17 PM |