Author Topic: How to go on Internet on the Casio Prizm  (Read 6900 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
How to go on Internet on the Casio Prizm
« on: March 10, 2013, 08:35:54 pm »
I finally got it working so I can IRC on my Prizm, so I guess you might want a tutorial.

Ingredients:
1 TTL to serial converter (An Arduino with the Atmega328 chip removed will do, that's what I use)
3 wires
1 2.5mm male stereo jack
1 VT100 emulator for Prizm
1 UNIX-based machine

Steps:

1. Plug your Prizm to your TTL converter (in my case an Arduino) using this schematic:
Code: [Select]
  (_)  tip
  |_|  ring
 _|_|_ sleeve
 -----
 _|_|_ -> to pin 0 (RX)
 _|_|_ -> to pin 1 (TX)
  | |
  |o|  -> to ground (GND)
 [___]
Then on your computer, you should have a serial port, in my case /dev/ttyACM0. If you use Windows, you can redirect COM1 to a Linux virtual machine.

2. Start up FXTerm on the Prizm at 38400 bauds, 8 data bits no parity 1 stop bit.

2.9. (Optional) You might want to change your password to a shorter one if it timeouts before you finished typing it on your prizm. Use passwd.

3. On the computer side, start agetty on the serial port (depends of your distro):

Arch Linux:
Code: [Select]
sudo systemctl start getty@ttyACM0
Others:
Code: [Select]
sudo agetty /dev/ttyACM0 38400 vt100
There you go, you should see a login prompt on your calc. Type in your username and password, then adjust the tty settings:
Code: [Select]
stty rows 36 columns 96 # 4x6
stty rows 36 columns 76 # 5x6
stty rows 27 columns 64 # 6x8
stty rows 27 columns 48 # 8x8

Then you can easily get on IRC using irssi. But I warn you, some of the control codes aren't implemented yet so it will look kinda ugly and you'll have refresh problems.

Have fun ^_^
« Last Edit: March 11, 2013, 03:05:59 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How to go on Internet on the Casio Prizm
« Reply #1 on: March 10, 2013, 09:27:37 pm »
This is amazing. I am curious if like gCn on the 84+ it will be eventually possible to do this only with a direct USB cable and a Windows computer?

Can you make a video and/or take pictures, btw?
« Last Edit: March 10, 2013, 09:28:08 pm by DJ_O »

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How to go on Internet on the Casio Prizm
« Reply #2 on: March 10, 2013, 09:53:27 pm »
so i would need to buy a serial jack to do this? I have the arduino, prizm, and vt100 term.



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: How to go on Internet on the Casio Prizm
« Reply #3 on: March 10, 2013, 09:57:37 pm »
Sounds pretty awesome Juju. :) I agree, It'd be nice to see it in action.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: How to go on Internet on the Casio Prizm
« Reply #4 on: March 11, 2013, 02:49:01 pm »
This is pretty much everything you need to get started. Plus a computer.

(The 2nd pic is whatever I tried to picture in the 1st step in the OP. And note that I removed the main chip of the Arduino so a direct connection is made from the Atmega8 (the USB part) to the pins 0 and 1 so it acts as a TTL-to-serial converter.)
« Last Edit: March 11, 2013, 02:53:44 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How to go on Internet on the Casio Prizm
« Reply #5 on: March 11, 2013, 06:06:31 pm »
You should post a pic or vid of it in action D:

Also do they sell those wires and adapters at The Source?
« Last Edit: March 11, 2013, 06:07:09 pm by DJ_O »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: How to go on Internet on the Casio Prizm
« Reply #6 on: March 11, 2013, 06:21:01 pm »
They sell the 2.5mm thing at The Source and I got 10ft of wire like this at Home Hardware. I don't have any solder gun, but it might be a good idea if you don't want to hold the wires on the jack all the time.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline helder7

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 185
  • Rating: +33/-1
    • View Profile
Re: How to go on Internet on the Casio Prizm
« Reply #7 on: March 11, 2013, 06:42:08 pm »
For people who do not have arduino the cheapest way is to use a MAX233A with a 2.5 mm stereo jacket.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How to go on Internet on the Casio Prizm
« Reply #8 on: March 11, 2013, 07:02:16 pm »
They sell the 2.5mm thing at The Source and I got 10ft of wire like this at Home Hardware. I don't have any solder gun, but it might be a good idea if you don't want to hold the wires on the jack all the time.

Ok cool thanks for the info.

Also could you post pictures of the IRC in action? (if possible in such circumstances)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: How to go on Internet on the Casio Prizm
« Reply #9 on: March 11, 2013, 07:05:01 pm »
Yeah next time I'll try it out I'll post pics :P

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: How to go on Internet on the Casio Prizm
« Reply #10 on: March 14, 2013, 08:39:03 am »
I finally got it working so I can IRC on my Prizm, so I guess you might want a tutorial.
...
Have fun ^_^
Nice use of fxTerm :-)
It should work also with fx9860G, I released fxTerm for 9860G some time ago here: http://ourl.ca/11749/332361
I am not sure if anybody tested it, so this could be a opportunity.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: How to go on Internet on the Casio Prizm
« Reply #11 on: March 14, 2013, 04:18:11 pm »
Yeah, but as I said, stuff like irssi still don't work right.

What could be fun would be a TCP/IP stack using the serial port, that would be pretty cool.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.