Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
First globalCALCnet (gCn) Successes
Published by KermMartian on January 3, 2011 at 1:22:42 PM CST | Discuss this article (120)

Over almost exactly the past seven days, I have been working on globalCALCnet (heretofore gCn for the sake of simplicity), a longstanding project of mine to connect CALCnet2.2 networks and their constituent calculators over the internet. It can work as simply as connecting two individual calculators as if they were right next to each other, or at the opposite extreme link together many networks, each consisting of many calculators, into a single virtual hub. As you might imagine, such a system is quite complex, and once I finish working out glitches and kinks, I will probably write a Cemetech whitepaper to detail the system. Here's the executive summary of the different pieces:

CALCnet2.2 network: One or more calculators linked together with a Cn2.2 network, requiring only the calculators and a handful of unit-to-unit cables.
AVR-based microcontroller board with FTDI: For the prototypes I've made, I'm using the widely-popular Arduino Duemilanove board, offering a 16MHz AVR with 32KB of EEPROM and 2KB of SRAM. This board pretends to be a calculator participating in the network, but passing incoming frames up to a connected PC via serial/USB, and injects frames into the network from the PC.
C++ gcnclient application: The gcnclient application connects both to the local Arduino and to a remove gCn virtual hub aggregator. The gcnclient is responsible for moving 1-to-1 and broadcast frames from the Arduino to the remote server and vice versa.
Python gcnhub server daemon: The gcnhub, or virtual hub aggregator, acts as one or more virtual hubs linking together groups of remote gcnclient applications. There is currently a single gcnhub server, but if gCn becomes more popular, it would be easy to distribute this program so that users could set up their own servers.

Frames (the CALCnet equivalent of packets) travel from one CALCnet2.2 network, through the connected Arduino, to the gcnclient and through the internet to a gcnhub, which routes the packet as necessary to another gcnclient, which hands off the frame to its Arduino and therefore its connected CALCnet2.2 network. I have successfully demonstrated Flourish running between a pair of single-calculator CALCnet2.2 networks, connected by a 12-mile round-trip over the internet but acting as if they were directly connected; my testbed can be seen below.

Please post all kinds of questions, suggestions, comments, and insults in the attached topic. I would especially appreciate users who have an Arduino to spare who would like to help me test globalCALCnet. Cheers!



Permalink
2011 Articles
January 2011 January 2011 [Back to News Archives Index]

» First globalCALCnet (gCn) Successes published January 3, 2011 by KermMartian
» gCn-Enabled TI-83+ Calculator Joins IRC published January 6, 2011 by KermMartian
» 178 Minutes of Downtime published January 10, 2011 by KermMartian
» CALCnet Chat! v0.9 Beta published January 14, 2011 by KermMartian
» gCn Client v0.8 Beta; Online Calculators Rejoice published January 16, 2011 by KermMartian
» [CALCnet] Obliterate, a Scorched-Earth Multiplayer Game published January 20, 2011 by KermMartian
» CALCnet Chat! v1.0: IM and IRC for Calculators published January 28, 2011 by KermMartian

February 2011 February 2011 [Back to News Archives Index]

» Stats: 40K and More; Awards; Latest Projects published February 5, 2011 by KermMartian
» GlobalCALCnet "$10 Bridge", gCn 1.0 Near Completion published February 9, 2011 by KermMartian
» Internet + Calculators: Introducing gCn 1.0 published February 11, 2011 by KermMartian
» globalCALCnet Slashdotted, Obliterate Progress published February 22, 2011 by KermMartian
» Obliterate v1.0 Beta: AIs and More published February 28, 2011 by KermMartian

March 2011 March 2011 [Back to News Archives Index]

» Casio Prizm: Why TI Calc Coders Should Abandon the Nspire CX published March 6, 2011 by KermMartian
» Obliterate v1.0: Scorched Earth for Your Calc published March 7, 2011 by KermMartian
» FreeBuild Project continues under Torque 3D published March 10, 2011 by elfprince13
» First Direct USB gCn Successes published March 15, 2011 by KermMartian
» Cemetech Goes on a Retreat published March 21, 2011 by KermMartian
» Doors CS 7.2 Beta 1: DUSB gCn published March 22, 2011 by KermMartian
» Benumbered v2.0 published March 31, 2011 by KermMartian
» Presenting "Cemetech Retro" published March 31, 2011 by KermMartian

April 2011 April 2011 [Back to News Archives Index]

» Half a Year of HCWP published April 6, 2011 by KermMartian
» One Hundred Fifty Thousand Posts published April 8, 2011 by KermMartian
» Staff Page, Promotions, Prizm Gaming Begins published April 16, 2011 by KermMartian

May 2011 May 2011 [Back to News Archives Index]

» Cemetech Advances Casio Prizm Coding published May 2, 2011 by KermMartian
» URL Shortener: Cemete.ch published May 16, 2011 by KermMartian
» Resurrected: PartyMode 2.0 published May 17, 2011 by KermMartian
» [Prizm] Obliterate Beta 1 published May 24, 2011 by KermMartian

June 2011 June 2011 [Back to News Archives Index]

» Nspire Saga: TI Reaches Out published June 2, 2011 by KermMartian
» [Review] Minecraft: A Freebuilder's Perspective published June 3, 2011 by KermMartian
» Introducing Gossamer 1.0: A Calculator Web Browser published June 9, 2011 by KermMartian
» Gossamer 1.0 & Doors CS 7.2 Beta 2: Web Browsing published June 14, 2011 by KermMartian

July 2011 July 2011 [Back to News Archives Index]

» Gossamer 1.0 Gains Notoriety; Project Updates published July 25, 2011 by KermMartian

August 2011 August 2011 [Back to News Archives Index]

» The Cemetech Prizm SDK v0.2 published August 11, 2011 by KermMartian
» Spiffy Cemetech Prizm Skins published August 13, 2011 by KermMartian
» Upcoming: Sandpaper FTP Client published August 17, 2011 by KermMartian
» Cemetech Goes to Space published August 21, 2011 by KermMartian
» GPS2KML published August 22, 2011 by KermMartian
» Cemetech's New Focus; Hurricane Irene published August 28, 2011 by KermMartian

September 2011 September 2011 [Back to News Archives Index]

» On The Casio Prizm and Link Port Hacks published September 4, 2011 by KermMartian
» [Prizm] Obliterate 1.0 published September 7, 2011 by KermMartian
» Back To School 2011: Cemetech's Calculator Guide published September 9, 2011 by KermMartian

October 2011 October 2011 [Back to News Archives Index]

» Latest Cemetech Prizm Projects, SourceCoder Prizm Support published October 8, 2011 by KermMartian
» Have Calc, Will Program: One Year Later published October 12, 2011 by KermMartian
» Play [Games] on Your TI-83+/SE or TI-84+/SE published October 21, 2011 by KermMartian
» Casio Prizm OS 1.03 Released published October 21, 2011 by JosJuice

November 2011 November 2011 [Back to News Archives Index]

» Social Media: Connect with Cemetech! published November 8, 2011 by KermMartian
» Cemetech Contest #8: Arcade Games published November 20, 2011 by KermMartian
» [Prizm] In Progress: Tetrizm published November 21, 2011 by KermMartian
» GCC PrizmSDK v0.3 published November 25, 2011 by TheStorm
» Sandpaper v0.8 Calculator FTP Client/Server published November 27, 2011 by KermMartian
» The Doors CS SDK GUI published November 29, 2011 by KermMartian
» Floppy Drive Music with a TI-83+ published November 30, 2011 by KermMartian

December 2011 December 2011 [Back to News Archives Index]

» [Prizm] Periodic Table of the Elements published December 2, 2011 by KermMartian
» Contest 8: Five Weeks Left, Great Response published December 13, 2011 by KermMartian
» Door-Mounted E-Paper Information Panel published December 14, 2011 by KermMartian
» Merry Christmas, Happy Holidays; Upcoming Projects published December 25, 2011 by KermMartian
» Build Your Own Calculator-Floppy Drive Music System published December 30, 2011 by KermMartian
» ticalc.org 2011 POTY: Two Cemetech Wins published December 31, 2011 by KermMartian

Advertisement