Shop OBEX P1 Docs P2 Docs Learn Events
prop to computer communication — Parallax Forums

prop to computer communication

science_geekscience_geek Posts: 247
edited 2009-01-22 06:18 in General Discussion
i was wondering if anybody here has a program that could accept serial data transmitted from a prop through a xbee to another xbee connected to my computer. what i want to try to do is basic input things like a mouse, only controlled by a wii nunchuck(just a thought). so i want to read input from the prop, then send the data to the comp wirelessly, can something like visual basic from microsoft do it, or is there a better/easier one that i can get testing done quick.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-01-21 04:29
    The xbees will be talking serial data so any program that can read serial data from a com port will work. Start with whatever you feel most comfortable programming in.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • sylvie369sylvie369 Posts: 1,622
    edited 2009-01-21 04:29
    Sorry, I don't have the code, but I've done essentially that, except it was a Nunchuck connected to a Prop sending data by XBee to a BS2 attached to an LCD screen. It works, and it's pretty straightforward to set up. I've attached the Nunchuck object that I got from the forums. There's XBee stuff in the Object Exchange.
  • RICoderRICoder Posts: 91
    edited 2009-01-22 06:18
    science_geek: I'm in the process of doing almost exactly the same thing, in that I have an XBee "control box" i made, that is attached to my computer controlling multiple XBee "devices" around the house (X10 is for whimps). Anyway, I have some code that I wrote in C# that monitors serial data and deals with it as composite messages by raising events. I cannot package it into an .ocx though because I don't have the full version of C#, but I'm happy to give you the source if you want it...and you are using C#...
Sign In or Register to comment.