Search found 17 matches

by danner
Wed Mar 17, 2010 8:41 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Update

I saved the program as a text file.. I did not see how to upload it as an attachment so I pasted it below. You are right that LPT ports are going away, and I also found my original program worked fine on some 98 computers but didn't on others so I went the Basic Stamp route as shown below... I'm pre...
by danner
Wed Feb 24, 2010 4:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Project

This was a good project. It helped me as I took it another step. I built a board using a BS2pe module from Parallax which holds my program and logs the data onto a thumb drive. It utilizes the same board to control the latch and speaker as shown above. For our sites, this new setup works better. I d...
by danner
Tue Jun 17, 2008 9:27 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Thanks for posting

Thanks to both you and Ted for posting the information, looks great.

I learned a lot on this project.

Take care,

Danner
by danner
Mon Jun 16, 2008 2:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Schematic

Thanks Ted for all the help and posting the code. I looked up to see how to post an image of the schematic as laid out on the PCB but according to the FAQ's I would have to have it posted on a server somewhere and link to it. I don't have that so... if anyone wants to see it or get a parts list they...
by danner
Fri Jan 25, 2008 11:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Update

Update to all, with a lot of help from Ted the program is mostly up and running with just a few bugs to work out. The bugs being.. getting a buzzer/speaker to work for the keypresses that doesn't interfere with signals to the computer, getting the relay to work (which I believe is due to too large a...
by danner
Mon Jan 07, 2008 2:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

mail

Hi Ted, That is odd. In the last week I know I have tried to mail you from 3 different addresses. Only the Yahoo address has shown that it was not deliverable. These were all to the comcast address you gave me. I did get the email from you at my yahoo address. I will try to get the circuit tested on...
by danner
Mon Jan 07, 2008 9:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

next step?

Ted, I tried the other card in the old tower, it has the same problem. (I wonder if that wasn't what caused the problem originally) It was a complete control card from a very old system, not just a printer add on card. I got the other computer put together and up and running. I'll try the resonator,...
by danner
Sun Jan 06, 2008 4:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Contact trouble

Ted, I got your mail just now. For some reason what I've tried to send to you lately keeps coming back. I sent you one from hotmail last week, and also posted a message direct to you on here and had not heard. I guess if all else fails, we'll have to clutter this forum up. I was waiting to hear what...
by danner
Mon Dec 03, 2007 12:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Great Help

I was coming to post for the same reason Ted did.. to let everyone know things are progressing and once all the parts have been put together and the bugs worked out I'll pass on what I have learned.. and a BIG thank you to Ted for all his help!

Danner
by danner
Sun Nov 18, 2007 10:49 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

13 pin keypad

Ted,

Do you have a link to that keypad you saw? I searched the Jameco site but could only find 8 pin keypads there. I also searched Mouser and MCM but didn't find a 13 pin.

Thanks for the advice.

I'm heading to bed. Goodnight.
Daniel
by danner
Sun Nov 18, 2007 10:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Follow up

Ted, Ok.. I'm following a little better now. I also did some reading up on the Hex system and was able to make more sense of your previous posts. It is going to be a busy week so I'm not sure how soon I'll get back to this. I will check out the 13 pin keypads. I will also weigh that against an encod...
by danner
Sun Nov 18, 2007 7:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Keypad

Ted, I have looked at other keypad options such as the one you referenced from MCM. There are some things my program does which the cheaper models do not. The one I wrote I keep a log of all events. I also have different time zones set up so that tenants can only access areas at certain times but em...
by danner
Sat Nov 17, 2007 10:03 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Pins

Ted, I am starting to get a better picture thanks to your help. I did have one thought I wanted to pass by you to see if it would work. Since the 7 pin matrix keypad is basically a short between one of the column pins and one of the row pins... I was wondering if I could use 4 out pins for the row p...
by danner
Fri Nov 16, 2007 6:56 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Follow up

Ted, The keypad is a 3 x 4 matrix. It will be installed on the exterior near the door. It has 7 pins.. four rows, plus 3 columns equals the 7 pins. So, for example.. when number one.. top left is pressed.. the top row pin and leftmost column pin have continuity. The strike itself will only need one ...
by danner
Fri Nov 16, 2007 2:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Keypad

Ted, I do plan to use resistors in series with the keypad.. not keyboard. The keypad will be used to enter an access code. Then the computer will send a signal which will be used to activate an electronic door strike. I was just trying to read the unconnected port to verify I had addressed it correc...
by danner
Fri Nov 16, 2007 9:48 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

Follow up

Ok.. the index help in the program is wrong.. in the sense that it does not have to be a number. I tried an Oh... O instead of a zero 0.. and for Ox378.. and Ox379.. and Ox37a I get a return value of 170 for each of them. Nothing is connected to the port at this time. Can someone help me understand ...
by danner
Fri Nov 16, 2007 9:37 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65752

INP and OUT Port

I am going to wire a keypad to the lpt1 port. does anyone have an example of how to write this? I have read up on it, that the Data Register for LPT1 is address 0x378, but the INP command only accepts integers. I did a test with nothing conneced.. tried INP(378) and it returned a result of 255. 379 ...