Join us on Discord!
You can help CodeWalrus stay online by donating here.

Multiple External Keyboards

Started by p2, August 17, 2016, 10:23:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

p2

As some of you may know, TI produces external keyboards for their calculators:
https://www.amazon.com/Texas-Instruments-Keyboard-Graphing-Calculators/dp/B00007K7JE/s=electronics
They're pretty cool since they're connected using the simple 2.5mm audio plug.
My idea was using multiple of these keyboards at the same time for multiplayer purposes, using audio splitters
(Like using little adapter (2.5mm->3.5mm), a 3.5mm Audio Split and another adapter (3.5->2.5mm)

[KB]--[2.5->3.5]--.
                   >[Audiosplit]--[3.5->2.5]--[Calc]
[KB]--[2.5->3.5]--'

Has anyone of you ever tried this out and did it work? :) And could I (theoretically) use an unlimited number of keyboards? :D
Aaaand... Does Axe properly work with them...? >.<
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

#1
I would assume yes, if the keyboard has a serial interface that fits the IO port.
But, there is no driver so you need to make head and tails out of the serial data received.
The audio splitter approach is not going to work though. You would need to design an external interface PCB to do so.
If you need help with that, feel free to ask me!
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

I once had one of these eyboard (but only one) but I cant find it anymore... >.< looking for it since days, hope I'm gonna find it again :/
The keyboard was connectd using the I/O port and I could use it to type on the calculator (worked without any further drivers)
But I'm not sure if it's gonna work with axe since I never tried it...

And about the audio split:
doesnt the audio splitt just split the signal in two, or (the other way around) combines two sources?
Where exactly is the problem about it?
Thx for your help :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

Quote from: p2 on August 18, 2016, 08:11:23 AM
I once had one of these eyboard (but only one) but I cant find it anymore... >.< looking for it since days, hope I'm gonna find it again :/
The keyboard was connectd using the I/O port and I could use it to type on the calculator (worked without any further drivers)
But I'm not sure if it's gonna work with axe since I never tried it...

And about the audio split:
doesnt the audio splitt just split the signal in two, or (the other way around) combines two sources?
Where exactly is the problem about it?
Thx for your help :)
I can't work in axe because axe doesn't use the io drivers that the os does. You would need to write your own driver in axe to drive the keyboard.
About the cable, the individual keyboards are not individually addressable and I really do not suggesting trying two.
CBL is not a good protocol and it will certainly not work for you. Your chances are quite bad there I fear.
I don't have one of these keyboards but I am 99.9 percent sure it can't work unfortunately :(
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

I already expected it wouldnt be possible to distinguish the two keyboards, so I only thought about maybe using arrow keys on the first one and W,A,S,D on the second keyboard or something ^^
But Axe not supporting these IO drivers could really be a problem... :( :(
would I need to "fix" this using some fance software (that's most likely not written yet) or also some extra hardware...?
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

#5
Quote from: p2 on August 18, 2016, 08:28:49 AM
I already expected it wouldnt be possible to distinguish the two keyboards, so I only thought about maybe using arrow keys on the first one and W,A,S,D on the second keyboard or something ^^
But Axe not supporting these IO drivers could really be a problem... :( :(
would I need to "fix" this using some fance software (that's most likely not written yet) or also some extra hardware...?
Yes, some clever assembly axiom will certainly allow you to make it work. Or you go for an Arduino (Uno, ...) which will be extremely easy and would allow you multiple distinguishable keyboards. This would be a converter that takes the CBL2 data from the individual keyboards and feeds them into my Arduino / Axe protocol engine that I already developed.
I do have made an axe library if you then need that.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

how much work would it be, given I never worked with C/C++ before and never touched an arduino either...? >.<
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

Quote from: p2 on August 18, 2016, 08:40:48 AM
how much work would it be, given I never worked with C/C++ before and never touched an arduino either...? >.<
Not terribly much. The axe side is done (my driver there works fine) and the sending driver on the duino site works well too. Only the connection to the keyboard and it's protocol would be tricky, but I am sure this is doable (though idk if you alone can do that and i dont have one of these keyboards unfortunately) but i have had the equipment to make it work if I had one.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

so we need the following:
- Software on the TI: Axe driver for Arduino DONE
- Connection TI to Arduino DONE
- Software on the Arduino: Driver for the TI DONE
- Software on the Arduino: Driver to work with the keyboard NOPE
- Connection Arduino to Keyboard(s) NOPE
Allright. So we need samples of what signal is sent pressing each key on the Keyboard, right? :)

Littel strange idea: Would it be able to extend that "project" to create an Arduino (with USB, PS/2 and 2.5mm audio input) that would make almost every keyboard work on the TI (except thus with special drivers)? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

Quote from: p2 on August 18, 2016, 08:56:43 AM
so we need the following:
- Software on the TI: Axe driver for Arduino DONE
- Connection TI to Arduino DONE
- Software on the Arduino: Driver for the TI DONE
- Software on the Arduino: Driver to work with the keyboard NOPE
- Connection Arduino to Keyboard(s) NOPE
Allright. So we need samples of what signal is sent pressing each key on the Keyboard, right? :)

Littel strange idea: Would it be able to extend that "project" to create an Arduino (with USB, PS/2 and 2.5mm audio input) that would make almost every keyboard work on the TI (except thus with special drivers)? :)
Yes, that would absolutely work :)
Also, I will need samples, yes. Oscilloscope or logic analyser ones, but i might be able to build you an arduino sketch that does that for you and you can then send me the output.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

That woould be great :D
So I'm gonna buy an Arduino, put your software on it, somehow connect it to the keyboard and then send you the results back? :)
*btw... wich arduino would I have to buy? :) http://world.arduino.org/en/
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

#11
Quote from: p2 on August 18, 2016, 09:06:34 AM
That woould be great :D
So I'm gonna buy an Arduino, put your software on it, somehow connect it to the keyboard and then send you the results back? :)
*btw... wich arduino would I have to buy? :) http://world.arduino.org/en/
I would say the Uno would work fine.
If you want to support Arduino, buy it on the website
If you can't spend too much money, buy an "arduino compatible" clone from Amazon / eBay. They cost less then half and work equally well.
I would also suggest buying jumper wires to connect the Arduino to external devices like your keyboards and the calculator, etc. These jumpers should just be 1 or 2 euros/dollars for 50 of them.

And yes, I would write you a program that collects the data I need to analyze, you connect the keyboard to the Arduino, start data aquisition and send me the output data.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

#12
http://world.arduino.org/en/arduino-uno-rev3.html
http://world.arduino.org/en/arduino-uno-pro.html
http://world.arduino.org/en/arduino-uno-smd-rev3.html
which one should it be? :) They're all not too expenive as long as I dont need more than one ^^
And would an Arduino Nano work, too? :)
Absolutely excited and looking forward to working on this project  :w00t:
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

Quote from: p2 on August 18, 2016, 09:26:26 AM
http://world.arduino.org/en/arduino-uno-rev3.html
http://world.arduino.org/en/arduino-uno-pro.html
http://world.arduino.org/en/arduino-uno-smd-rev3.html
which one should it be? :) They're all not too expenive as long as I dont need more than one ^^
And would an Arduino Nano work, too? :)
Absolutely excited and looking forward to working on this project  :w00t:
I am sure it will be quite fun :D
So, I would suggest the first one (rev3) but if you plan adding wifi to your calc in some other project, go for the pro one.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

O.o wasnt there this program to enter IRCs with a TI? So let's add external keyboards and WIFI so I can walk around while chating...?
That escalated quickly... >.>

Would it make a difference for you which one I bought? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Powered by EzPortal