Keyboard->NXT
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
Keyboard->NXT
I'm curious if it is possible to hook a USB keyboard to the NXT. Of course, not using the USB, I would cut the cable
Please, no programming codes, I'm just curious as far as hardware goes.
Thanks
Please, no programming codes, I'm just curious as far as hardware goes.
Thanks
fuzzball27 >>-->
Re: Keyboard->NXT
Not without some additional hardware like a small microncontroller to sit between the keyboard and the NXT.
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: Keyboard->NXT
could you show me where to buy that "some additional hardware"?
probably also a IIC to BT interface which mimicris also the HID BT protocol to access to a wireless BT keyboard?
(ps: and a Java class which is already implemented to that certain "ueber class" )
probably also a IIC to BT interface which mimicris also the HID BT protocol to access to a wireless BT keyboard?
(ps: and a Java class which is already implemented to that certain "ueber class" )
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Keyboard->NXT
I know this isn't the solution, but you can use a PS2 keyboard with just a couple ICs as an interface. Note, I have not tried this yet, but I have seen it done. Michael Gasperi (http://www.extremenxt.com/lego.htm) did it. Go to http://www.extremenxt.com/keyboard.html for details.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: Keyboard->NXT
Well the Java class already exists for leJOS...
http://lejos.svn.sourceforge.net/viewvc ... iew=markup
The keyboard that this interfaces to is a Bluetooth SPP device like this one (I think, I've not got one so can't be 100% sure)...
http://www.freedominput.com/technical-s ... al-support
Andy
http://lejos.svn.sourceforge.net/viewvc ... iew=markup
The keyboard that this interfaces to is a Bluetooth SPP device like this one (I think, I've not got one so can't be 100% sure)...
http://www.freedominput.com/technical-s ... al-support
Andy
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Keyboard->NXT
It isfuzzball27 wrote:...What is "additional hardware?"
xander wrote:...like a small microncontroller...
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
Re: Keyboard->NXT
Have you ever googled "microcontoller"? There are 7,510,000 results. I have no idea what it is or how to use it...is it over my head or an easily attainable skill to use them?
fuzzball27 >>-->
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Keyboard->NXT
So, you looked it up. Good for you. Did you learn anything about what a "microcontoller" is? It is what is in the NXT that does processing (actually 3 of them IIRC).
If you don't have enough electronics knowledge to know how to build circuits and troubleshoot, this is not a project you should attempt. If you do have a fair amount of electronics knowledge, then using a microcontroller shouldn't be overwhelmingly hard. Using them requires a lot of electronic knowledge, logic, and at least some programming ability (if you are using NXC for the NXT, then most other languages should be fairly easy to start using, like BASIC or C++).
If/when you attempt to work on building this project, you should start by using a PS2 keyboard instead of USB. Low level USB is much more advanced than you probably want to get for this, so you should use the best alternative (PS2). PS2 keyboards just send serial commands, which can be easily interfaced to the NXT.
If you don't have enough electronics knowledge to know how to build circuits and troubleshoot, this is not a project you should attempt. If you do have a fair amount of electronics knowledge, then using a microcontroller shouldn't be overwhelmingly hard. Using them requires a lot of electronic knowledge, logic, and at least some programming ability (if you are using NXC for the NXT, then most other languages should be fairly easy to start using, like BASIC or C++).
If/when you attempt to work on building this project, you should start by using a PS2 keyboard instead of USB. Low level USB is much more advanced than you probably want to get for this, so you should use the best alternative (PS2). PS2 keyboards just send serial commands, which can be easily interfaced to the NXT.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Keyboard->NXT
Great. Really great. Can you add it to a Java super-class?gloomyandy wrote:Well the Java class already exists for leJOS...
http://lejos.svn.sourceforge.net/viewvc ... iew=markup
The keyboard that this interfaces to is a Bluetooth SPP device like this one (I think, I've not got one so can't be 100% sure)...
http://www.freedominput.com/technical-s ... al-support
Andy
(and nice to see that double is useful to have )
But I also liked to know something specific information about the NXT BT interface you are using - is it external (plugged by I²C) or do you just connect it to via the NXT built-in BT device control (where you connect e.g. to different NXTs)?
Who is online
Users browsing this forum: No registered users and 0 guests