Shop OBEX P1 Docs P2 Docs Learn Events
How can I use XBee to send some word from PC to Scribbler 2 Robot — Parallax Forums

How can I use XBee to send some word from PC to Scribbler 2 Robot

atomsbazaatomsbaza Posts: 3
edited 2013-12-16 11:37 in Accessories
I want to send some word to scribbler 2 then the s2 can write the word like this

I make S2 pen lifter and have alphabet for S2 right now.

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-13 15:37
    Shame on Rich for not providing links with his YouTube videos.

    I couldn't find a page describing exactly what Rich did but if you use his search page and enter "xbee s2 W9GFO" you'll get a list of somewhat related links.

    I have some S2 related links listed in post #12 of my index.

    I think Rich had documented the project at Savage Circuits but a recent database crash caused the project to be lost.
  • RforbesRforbes Posts: 281
    edited 2013-12-13 18:36
    It shouldn't be too difficult. How to do it depends on which type of xbee's you're using.

    http://www.parallax.com/sites/default/files/downloads/122-32450-XBeeTutorial-v1.0.1.pdf

    This covers a lot of good stuff.

    The idea would be to build a data packet- the packet could include a start delimiter, packet ID and the string containing the text you wish to send.

    When the receiving xbee see's the start delimiter, it looks at the packet ID to validate it in some way, and then receives the string into a buffer on the propeller.

    Can't really give you much more help... but the link will give you lots of good information.
  • atomsbazaatomsbaza Posts: 3
    edited 2013-12-14 10:17
    This is my XBee.
    WP_20131215.jpg

    WP_20131215 1.jpg
    1024 x 1823 - 194K
    1024 x 1823 - 180K
    1024 x 575 - 61K
    1024 x 575 - 61K
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-14 11:11
    Does your small board have a level shifter on the rx line? The S2 hacker port has a level shifter which output 5V logic. The XBee can be damaged by the 5V logic if a level shifter isn't used.

    You could use the XBee for one way communication if you don't have a level shifter to start with.

    I'd also start out with a very simple program. Like send a single character to tell the S2 to light a LED or play a song. Once you know the S2 is receiving signals correctly, you can work on getting it to write words.

    You might want to send W9GFO a private message with a link to this thread. He may have some suggestions and he might still have a copy of his completed projects somewhere.
  • atomsbazaatomsbaza Posts: 3
    edited 2013-12-15 11:40
    I just complete this project right now. Thank you to every one .:smile:

    WP_20131215_017.jpg
    1024 x 575 - 38K
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-15 14:12
    Wow! That is so cool!

    Thanks for posting the photo.

    I hope you stick around and let us know what else you're working on.
  • SavageCircuitsSavageCircuits Posts: 256
    edited 2013-12-16 11:37
    Duane Degn wrote: »
    I think Rich had documented the project at Savage Circuits but a recent database crash caused the project to be lost.

    Yeah, I feel bad about that. Especially since nobody wants to re-post things they had before that got lost. And who can blame them?
Sign In or Register to comment.