CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 111 users online: 2 members, 85 guests and 24 bots.
Members: Thunderbird336.
Bots: VoilaBot (1), MSN/Bing (1), Magpie Crawler (3), Googlebot (19).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
Author Message
sammi12006


Newbie


Joined: 28 Nov 2011
Posts: 17
Location: United States

Posted: 12 Jan 2012 06:54:06 pm    Post subject: Anyone have a good tutorial for wireless calculators?

Does anyone have a nice tutorial for wireless transmissions in between calculators like with a XBee transmitter. One with pictures or schematics would be great.
_________________
- Sam Steingard, 2011
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 12 Jan 2012 08:08:59 pm    Post subject:

Unfortunately, no one has actually successfully put such a setup together yet. As we discussed in your other topic (this one), you have a lot of options, but you'll have to set out figuring most of them on your own. Of course, we'll be happy to help.
_________________


Back to top
sammi12006


Newbie


Joined: 28 Nov 2011
Posts: 17
Location: United States

Posted: 12 Jan 2012 08:19:17 pm    Post subject:

Well quite frankly, that sucks. I'm bored with high school and I need something to do. My new goal is to make a successful link that can be easily and cheaply repeated. I'm talking custom PCB's and and open-source code. Maybe even a website dedicated just to it. Considering how many people want this I think this would be the best thing to do.
_________________
- Sam Steingard, 2011
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 12 Jan 2012 08:20:43 pm    Post subject:

sammi12006 wrote:
Well quite frankly, that sucks. I'm bored with high school and I need something to do. My new goal is to make a successful link that can be easily and cheaply repeated. I'm talking custom PCB's and and open-source code. Maybe even a website dedicated just to it. Considering how many people want this I think this would be the best thing to do.
Then you should! I've been wanting someone to make wireless hardware that plays nicely with CALCnet for ages, and if you take the lead on it, I'd be happy to contribute the knowledge of my Bachelors and Masters in EE as well as two decades of experiential knowledge, plus we have many other experts who can chip in ideas.
_________________


Back to top
sammi12006


Newbie


Joined: 28 Nov 2011
Posts: 17
Location: United States

Posted: 12 Jan 2012 08:22:56 pm    Post subject:

Thanks for the support! I'll try to at least get an Arduino version working by the end of this year.
_________________
- Sam Steingard, 2011
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 12 Jan 2012 08:24:18 pm    Post subject:

sammi12006 wrote:
Thanks for the support! I'll try to at least get an Arduino version working by the end of this year.
I'd be happy to share my CALCnet Arduino code, then; your job is to figure out how to slap the Zigbee or other wireless hardware onto it. Actually, I tend to think a Zigbee might have sufficient onboard computing power to not even need an Arduino.
_________________


Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 12 Jan 2012 08:25:28 pm    Post subject:

I Actaully got a ti rf kit that should play nicely with calcnet. I just need to finish learning c++ and hardware stuff to get it to work. The plan is to try and set it up to work with calnet which shouldnet be to hard (and it will run off the calc batteries just fine wheeeeee)
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
sammi12006


Newbie


Joined: 28 Nov 2011
Posts: 17
Location: United States

Posted: 12 Jan 2012 08:26:45 pm    Post subject:

Thanks Kerm that would be great! And GeekBoy1011: Would you mind sharing some information on your setup?
_________________
- Sam Steingard, 2011
Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 12 Jan 2012 08:31:33 pm    Post subject:

Sure haven't really started yet but it was a thought Kerm gave me the other day.

I came into ownership of a ti msp430 ez430-rf2500. this is a low power micro controller that has a 2.4ghz RF transmitter/receiver on it. it runs off 2.2-3.5Vs and draws like 50ma max and has a bunch of gpio pins i can play with.


That's about as far as i got but it seems promising once i learn some more about how hardware and stuff works. I'm still learning my self ^^

Edit: does any one know a place where i can go to start learning about hardware and stuff like gpio pins I'm kinda stupid in that regard xD
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
Rascherite


New Member


Joined: 09 Nov 2011
Posts: 93
Location: Under a heaping pile of saxophones

Posted: 12 Jan 2012 10:07:14 pm    Post subject:

If you can find documentation for this particular microcontroller, check that out. In my (limited) experience with microcontrollers, you can find a list of GPIO ports and code to initialize and access them in the documentation for that microcontroller.

In the link you provided, it looks like this document will have most of the information you need!!
http://www.ti.com/lit/ug/slau227e/slau227e.pdf

note: they refer to the gpio pins as "development pins," not gpio pins.
_________________
"If you don't live it, it won't come out of your horn."
-Charlie Parker

TI BASIC Sudoku - optimizing random puzzle generator, making number of preset squares more even and reliable

asm metronome - trying to figure out how to dougie with the interrupts
Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 12 Jan 2012 10:55:18 pm    Post subject:

Yeah I already have this I just have no idea how to go about initializing them. More searching will ensue xD
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
rfdave


Advanced Newbie


Joined: 07 May 2011
Posts: 64

Posted: 12 Jan 2012 11:49:43 pm    Post subject:

(I've been pondering this for a while. I'm an experienced EE, and I've been considering this as a real thing, not just a breadboarded up hack)

XBees have a serial mode that would let them replace a serial data connection, and my thought was that using an xbee in that mode would be really simple, with just a small breadboard with a serial calculator interface and power supply. However, the last time we talked about this, someone pointed out that the chat program in Doors (I Think) ack's each bit, which would make doing a really simple serial replacement pretty inefficient and laggy.

Now, I also think that it would be possible to do a WiFi node (Arduino with USB connection to the 84+, WiFi from the Arduino, then porting gcnclient to the Arduino) But wifi support on the Arduino seems to be a bit bleeding edge, and I'd rather debug my own stuff. I'm also not up for the SW work, as I'm more of a hardware guy.

Of course, the biggest problem is that Xbee's are $25 each, and spinning a powersupply board to mount it and power it, will run another $10 for parts, so it's not a cheap prospect.

The Arduino/Xbee approach looks fairly simple from a hardware point of view, and a Case would probably be pretty simple, as there are a bunch of them out there that would probably fit.

The TI MSP430 is an interesting possibility. You could probably do a calculator/calculator chat program with the RF2500, and I've got an eval kit I'd be happy to send off to someone who was doing a link program so they had one for each end. I'm not aware of what's available off the shelf for MSP430 boards to embed into a module so more than a couple of folks could have one, but something is probably available.

The MSP430 approach probably doesn't help with a WiFi approach, I suspect that's a chat to chat only thing
Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 13 Jan 2012 08:16:21 am    Post subject:

well the msp430 usb debuging thingy that some of them come with (like mine) mimics a com port on the computer. So it would be rather simple to just forward the ports output over rf to the com port which the computer gcn client thinks is the calculator.

And do you mind linking the kit you have?
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
Tari


Systems Integrator


Joined: 03 Jul 2006
Posts: 2106
Location: Always-winter, Michigan

Posted: 13 Jan 2012 10:29:51 am    Post subject:

Rascherite wrote:
In the link you provided, it looks like this document will have most of the information you need!!
http://www.ti.com/lit/ug/slau227e/slau227e.pdf

That's the dev-kit specific documentation. You'll also want a copy of SLAU144 (MSP430x2xx Family User's Guide).

For a fresh design I'd still rather use a CC430 rather than the hardware setup in the TI dev kits, since those have discrete controllers and radio cores. I don't think it would be too difficult to quantize the standard TI link protocol by ACKing bits as they arrive, then transmitting a whole block over the radio once your radio buffer fills enough or there's a longer delay between bits. Latency would still be poor, but it's still a significant improvement over ACKing each bit over the radio link (particularly since TI's protocol is still byte-oriented at the software level).
I think I mentioned it before, but you could provide a transparent radio link by sending messages over the radio on line transitions, in which case it would look to the calculators like a very long link cable, but the latency would (again) be very high since that would require a packet round-trip for each state transition.

With a CC430, costs are fairly low- around $6 for the micro in small quantities, and all it needs beyond that is a small PCB and power supply.

For a WiFi approach, there are some easy-to-interface modules (SPI or SDIO) from Redpine Signals, although they're still not exactly cheap. Some sort of USB bridge to connect the CC11xx radios to a PC is probably the most cost-effective way to do it, and you don't need a whole IP stack on the target when there's a bridge involved.
_________________


Ask questions the smart way · タリ
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 13 Jan 2012 11:07:34 am    Post subject:

While we're on the topic, RFDave also weighed in with some interesting thoughts in this thread. I'm personally fond of the idea of somehow tossing the actual link line states around the network as fast as possible, which would allow any protocol, not just CALCnet, to work over the wireless links. However, I understand if for bandwidth's sake it's necessary to convert CALCnet to serial on the wireless transceivers.
_________________


Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 13 Jan 2012 01:50:55 pm    Post subject:

Actaully last night i found a bunch of sample code for working with the development/gpio ports slowly working my way through it, hopefully I will be able to come up with something eventually.
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 13 Jan 2012 02:42:56 pm    Post subject:

geekboy1011 wrote:
Actaully last night i found a bunch of sample code for working with the development/gpio ports slowly working my way through it, hopefully I will be able to come up with something eventually.
That's great to hear, keep us posted. By the way, would you mind sharing the exact product of TI's that you have, as well as how much it set you back?
_________________


Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 13 Jan 2012 03:08:40 pm    Post subject:

I linked the page to it Right here ti msp430 ez430-rf2500

And it did not cost me anything I got it from a family friend but the cost of it is $50 sadly. Though I am sure the launch kit with some cheaply sourced parts can work for much cheaper but not be as small (back to like 10-15 usd maybe have to look)
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 13 Jan 2012 04:17:53 pm    Post subject:

For everything that can do, I'd say that $50 is not an unreasonable price, personally. Smile
_________________


Back to top
geekboy1011


Expert


Joined: 19 Jul 2009
Posts: 594

Posted: 13 Jan 2012 04:29:39 pm    Post subject:

oh I have to agree its a pretty neat device. The best part is though that it comes with a usb debugging dongle. meaning I can debug on hardware ^^ makes testing a little easier imo


EDIT:

Does any one know the ma rating on the i/o port? I need to get a resistor to bring it down to 3v so I don't fry my msp430
_________________
Cadan: CD :    My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD

Cn2.2 Wireless Bridge : Still in the design phase.

Contest #9 Cn2.2 Ika Shmup
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2  Next
» View previous topic :: View next topic  
Page 1 of 2 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.042399 seconds.