![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi everyone! I know it's already a thread about PP, but I'm having different troubles. I have made the newbie arrangement, diode, transistor, relay, load, and It's freaking me out: Please: 1. Why does the PP fire random signals during system startup? There is some way to prevent that? (instead of disconnecting the port, ofcourse) 2. Can I receive signals through parallel port? According to almighty google yes, but it talks about complex circuits, I just want to know the state of a microswitch in my door 3. Why, if more than three "pins" are ON (I mean, firing 5V), the program goes lazy and cease to respond until I turn them off? Is this a programmer fault, or actually the PP has a limit of maximum "pins" active? Thank you so much in advance!! My DIY proud is on the floor, and I don't want to switch to serial port yet Last edited by Menticol; 23rd April 2008 at 10:04 PM. | |
| |
| | (permalink) |
| Your printer port was designed for a printer. Your OS is probably looking for a plug and play printer while its booting. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
Down load this zip and unpack it, place the two DLL's in the Windows/System folder also get from the web the VB5 runtime files. [free] Look thru the pics and text for a port description. Run the parport.exe to test and exercise the parallel port. Its recommended that you use 74LS06 or LS07 buffers between the port and the OSWD. Do you follow OK.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 12:24 PM. | ||
| |
| | (permalink) |
| Its Perfect!!! Thank you so much! Works great, and much more stable than the program I got. I just have 4 questions, If you have time EDIT - I did some research (try and burn) and answered 2 answers - hope someone building the parallel port project could find them useful 1. What is a pull up resistor? Something like a ghost load? (The pins have internal pull up resistors) unknown 2. According to the table, some pins have and active low signal, and others are inverted. What does that mean? here is the answer http://www.codeproject.com/KB/cs/csp...&select=974134 3. There are 8 "IN" on the port. So, if I want to check the state (i.e.) a microswitch in the window, should I connect any of those pins in series with the microswitch, and then (I guess) any ground? 10 /Ack In 11 /Busy In 12 Paper In 13 Select In 14 /Auto In/Out 15 /Error In 16 Initialise In/Out 17 /Select Prn In/Out yes! that's the way it works. Refer to the above link for more info 4. Why is necessary to get the buffer? Is not enough to simply connect the port through a diode, and a transistor, to drive the relay? unknown Thank you again! Last edited by Menticol; 28th April 2008 at 02:24 AM. | |
| |
| | (permalink) | |
| Quote:
To keep things simple, I would suggest initially you use the 'IN's' port pins, the IN/OUT pins require o/c drivers. Ask if you require mored detail.? Feel free to cut/paste and use my VB5 source code anyway you wish.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 28th April 2008 at 08:03 AM. | ||
| |
| | (permalink) |
| Sorry by bringing this old topic again, reciclyng is better than creating a new one. The circuit is working great (thank you again Eric!), and now it's time to go further on the "PC Controlled Room". Please: 1) Can the parallel port be interfaced to drive more than 8 devices? 2) I'm trying to measure room's temperature, and if higher than desired, turning on a fan. Offcourse, showing room temp. on PC screen would be great. The existing solutions involves an LM35, comparator and a relay (No PC required), and a LM35's R232 interface to PC. I would like to keep using the parallel, before buying adapters or older PC My newbye knowedge states this: The LM35 add +10 mV for each °C If using a analog to digital converter... Can this "mV value" be turned into binary, and then transmitted through any input line of the parallel? (Then VB makes the binary to base 10 conversion, and voilá!) 3) If you know about a good one, what R232 tutorial would you recommend for my application? (Plan B, If parallel port fails) Thank you in advance!
__________________ La Rotta Last edited by Menticol; 20th June 2008 at 05:08 AM. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
hi Menticol, Pleased to hear its working. If you use Visual Basic, I could post the VB basic code for the LM35 and MCP3302 ADC. Its rough and ready but it works for my projects. You could modify to suit your application. I use my VB programs in a similar way to project boards, I cut and paste my code, depending upon what I am measuring.. EDIT: attached screen shot.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 12:25 PM. | ||
| |
| | (permalink) |
| hi, Correcting a typo in my last post. Unable to edit the post.!! MCP3320 should read MCP3202
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 20th June 2008 at 01:14 PM. | |
| |
| | (permalink) | |
| Quote:
![]() My only question is, does the 74LS139 mantain its logical state even if the A B C D settings are changed? or do I need a flip flop circuit or something like that for each pin? Graph included, very nice!! Im looking for MCP3202 datasheet right now
__________________ La Rotta | ||
| |
| | (permalink) |
| hi The 74LS139 does not retain its output state, when the input address is changed. Look at the HEF 4514 and HEF4515 for latched inputs and the HEF4043 and HEF4044 for latches.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | |
| |
| | (permalink) |
| Yes your right, the 138 is not latched. Thanks for pointing that out. Another part that would work is the 74HC237. It is the same as the 138 but with latches. | |
| |
| | (permalink) |
| I've seen both 138 and 139 mentioned. Be sure you know the difference before you buy or hook up. | |
| |
| | (permalink) |
| Latched inputs Just to make sure, the HEF4515 says "with input latches". Does that mean that even if the input is changed, the state of my previously actioned output pins will be mantained? My english is not very good, so here's an imaginary example: A = high B = high C=low result: O13 low then: A = low B = low C= high result: O15 low and O13 KEEPS low, as previously To get O13 high, put A=high B = high C= low again Latches I have checked the latches IC's, but they include a "ON" pin and a RESET pin. So I need 2 transistors, to actuate the ON and RESET for each pin. Is that correct? I find it too complex (30 transistors!!) Thank you!!! And sorry if I'm shooting questions like a machine gun
__________________ La Rotta | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Parallel port control port: is it Write Only or Read/Write | elexhobby | Electronic Projects Design/Ideas/Reviews | 6 | 23rd December 2008 11:18 AM |
| Parallel Port & Microcontroller | Omar.M | General Electronics Chat | 10 | 14th August 2007 10:31 AM |
| Need help badly on Inchworm and MPLAB | thushy | Micro Controllers | 14 | 11th March 2007 07:05 PM |
| I need: Parallel Port.. examples and applications.. | sonaiko | General Electronics Chat | 8 | 28th October 2006 02:44 PM |
| Multiple devices controlled at once on one parallel port | Kerri Ann | Electronic Projects Design/Ideas/Reviews | 0 | 18th February 2005 11:52 AM |