Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Keypad to PC interface

Discussion forum for the BasicX family of microcontroller chips.

RE: - Kit - May 23 13:43:52 2006


For test purposes only
=20

=20

=20

=20



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Keypad to PC interface - Mark Newell - May 23 14:25:07 2006

Hi,
=20=20=20
The other day I saw an advertisement for a 12 key keypad with a usb inter=
face to a PC What I have in mind is to use my BX to intercept the data from=
the keypad and do a multi character substitution and send it onto the PC. =
I have tried searches but have not come up with anything. . Has anyone s=
een a chip or small board that would support two usb ports and one serial p=
ort? Is this the best approach or is there better route to take? I would l=
ike to =93kiss=94(me) as much as I can.
=20=20
Thanks, Mark

=09=09
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save =
big.

[Non-text portions of this message have been removed]

=20

=20

=20


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Keypad to PC interface - "G. Kramer Herzog" - May 24 7:25:38 2006

While you envision some kind of adapter, it really requires quite a
bit of effort.

Unlike RS-232 serial, USB serial has two very different units. One
is the Master that can connect with 255 Slaves and sort out all sorts
of identities. The second is the Slave that connects to this
interface.

So, unlike RS-232, RS-422, and RS-485; it is more complex to trap and
convert data. It simply requires more overhead and much more in-
depth understanding of the Master's role.

I would consider doing this all with a 12key keypad, a BX24, and RS-
232 output. Then you could adapt the RS232 to a USB slave without a
lot of research.

Alternatively, use the USB product and write a conversion program
within the PC environment.

--- In b...@yahoogroups.com, Mark Newell wrote:
>
> Hi,
>
> The other day I saw an advertisement for a 12 key keypad with a
usb interface to a PC What I have in mind is to use my BX to
intercept the data from the keypad and do a multi character
substitution and send it onto the PC. I have tried searches but have
not come up with anything. . Has anyone seen a chip or small board
that would support two usb ports and one serial port? Is this the
best approach or is there better route to take? I would like to ?
kiss?(me) as much as I can.
>
> Thanks, Mark
>
>
> ---------------------------------
> New Yahoo! Messenger with Voice. Call regular phones from your PC
and save big.
>
> [Non-text portions of this message have been removed]
>





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: Keypad to PC interface - Andrew Thornber - May 24 8:39:41 2006

Mark,

One thing I have seen that may be of use is the USB to PS2 connector. Ther=
e
are lots out there that allow you to use a PS2 connector into a USB socket.
You want the ones the other way round! I have one allowing me to connect
my USB mouse to an old KVM switch.

This may (with lots of playing) allow you to have a serial input of data
from the keypad that you can work with, modify and spit out to the PC.

I would advise staying away from working directly with the USB unless you
really understand what you are doing! Trust me!

If you do wnat to got his route then there is a book called USB Complete
that will teach you all you need to know about USB. If you want more info
on USB then have a look here http://www.lvr.com/

Good luck.

Andy
On 24/05/06, G. Kramer Herzog wrote:
>
> While you envision some kind of adapter, it really requires quite a
> bit of effort.
>
> Unlike RS-232 serial, USB serial has two very different units. One
> is the Master that can connect with 255 Slaves and sort out all sorts
> of identities. The second is the Slave that connects to this
> interface.
>
> So, unlike RS-232, RS-422, and RS-485; it is more complex to trap and
> convert data. It simply requires more overhead and much more in-
> depth understanding of the Master's role.
>
> I would consider doing this all with a 12key keypad, a BX24, and RS-
> 232 output. Then you could adapt the RS232 to a USB slave without a
> lot of research.
>
> Alternatively, use the USB product and write a conversion program
> within the PC environment.
>
> --- In b...@yahoogroups.com, Mark Newell wrote:
> >
> > Hi,
> >
> > The other day I saw an advertisement for a 12 key keypad with a
> usb interface to a PC What I have in mind is to use my BX to
> intercept the data from the keypad and do a multi character
> substitution and send it onto the PC. I have tried searches but have
> not come up with anything. . Has anyone seen a chip or small board
> that would support two usb ports and one serial port? Is this the
> best approach or is there better route to take? I would like to ?
> kiss?(me) as much as I can.
> >
> > Thanks, Mark
> >
> >
> > ---------------------------------
> > New Yahoo! Messenger with Voice. Call regular phones from your PC
> and save big.
> >
> > [Non-text portions of this message have been removed]
> >
=20


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: Keypad to PC interface - Mark Newell - May 24 21:59:08 2006

Thanks to you both,
=20=20=20
Andy,
=20=20=20
I was planning to act as a passive pass through for everything except for=
the key pressed to the pc which I had planned to substitute a character st=
ring. I thought I would be able to just pass through all the "hand shaking=
=94 and enumeration, etc. Do I understand your saying this would not work =
and when the key 4 was pressed on the keypad I could not just substitute =
=93mark=94? Does USB packetize the data?
Thanks, Mark
Andrew Thornber wrote:
Mark,

One thing I have seen that may be of use is the USB to PS2 connector. Ther=
e
are lots out there that allow you to use a PS2 connector into a USB socket.
You want the ones the other way round! I have one allowing me to connect
my USB mouse to an old KVM switch.
......................

=09=09
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

[Non-text portions of this message have been removed]

=20

=20

=20


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: Keypad to PC interface - Andrew Thornber - May 25 4:05:52 2006

Hi Mark,

The quick answer is I think so. If you could leave it with me I will have a
look tonight and will try to send you a mail to let you know.

I seriously would consider bying the book that I mentioned on the subject as
USB is a very complex subject. In making things real easy for the user to
use the systems behind it are very complicated! This leads people (like
myself) into the false hope that if it is this easy then it must be easy to
modify!

As I say I will find out and do my best for you. If someone has a greater
knowledge on this then please just in!

Kind regards.

Andy
On 25/05/06, Mark Newell wrote:
>
> Thanks to you both,
>
> Andy,
>
> I was planning to act as a passive pass through for everything except for
> the key pressed to the pc which I had planned to substitute a character
> string. I thought I would be able to just pass through all the "hand
> shaking" and enumeration, etc. Do I understand your saying this would not
> work and when the key 4 was pressed on the keypad I could not just
> substitute "mark"? Does USB packetize the data?
> Thanks, Mark
> Andrew Thornber wrote:
> Mark,
>
> One thing I have seen that may be of use is the USB to PS2
> connector. There
> are lots out there that allow you to use a PS2 connector into a USB
> socket.
> You want the ones the other way round! I have one allowing me to connect
> my USB mouse to an old KVM switch.
> ......................
> ---------------------------------
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
>
> [Non-text portions of this message have been removed]



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Keypad to PC interface - "G. Kramer Herzog" - May 26 7:47:14 2006

I worry that the USB to PS2 MOUSE might be a special case.
The PS2 keyboard/mouse requires 4 connections and we can see that the
plug has 6 possilble wires. The insides of the USB plug might
similarly have surplus connections.

Does the USB Mouse really convert to synchronous serial by merely
routing wires, or does the USB plug have some otherwise unused leads
that provide the second mode?

I have been believing that the USB/PS2 mouse actually has two
different hardware drivers and the adapter [which has a mouse LOGO on
it] is not universal.

> One thing I have seen that may be of use is the USB to PS2
connector. There
> are lots out there that allow you to use a PS2 connector into a USB
socket.
> You want the ones the other way round! I have one allowing me to
connect
> my USB mouse to an old KVM switch.
> ......................
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low
rates.
>
> [Non-text portions of this message have been removed]
>





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )