Shop OBEX P1 Docs P2 Docs Learn Events
Can a boe bot Autonomously send Information? — Parallax Forums

Can a boe bot Autonomously send Information?

Dtom26Dtom26 Posts: 24
edited 2009-07-14 15:49 in Robotics
I have a standard boe bot kit and was looking into getting an easy bluetooth module and ultrasonic sensor. I am trying to send information from the sensor as an email to someone autonomously, but I have a couple of questions:
  1. Which is better for data transfer and control of a boe bot Bluetooth or RF?
  2. Which would be easier to program bluetooth or rf?
  3. How do I get a info from the ultrasonic sensor ---> my laptop ---> another person's email address autonomously?

I would really appreciate some help this is my first time with a boe bot kit.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-02 17:22
    1) In your case Bluetooth is better, partly because the laptop end usually includes the necessary hardware and operating system software.

    2) Bluetooth, because of #1 and because the RF transmitter / receiver doesn't include any error checking or retransmission and Bluetooth does.

    3) You will have to write some kind of program for your laptop that opens a serial port and receives data from the Stamp, then formats it into a mail message and calls the operating system (Windows or whatever) to send the email. The details of how to do that are beyond the area of this forum. If you're using Windows, have a look at some books on Visual Basic. If it's a Mac or Linux laptop, you could use a scripting language like Perl or Python (also available on Windows).

    The Stamp program would simply open a serial connection via the Easy Bluetooth module and go into a loop alternately reading the ultrasonic sensor value and sending it out over the serial connection using a SEROUT statement in whatever format makes sense for your application. At a minimum, it could just send the value received from the sensor followed by a return character. If your ultrasonic sensor is the PING, look at the sample code on the webstore product page.
  • blittledblittled Posts: 681
    edited 2009-07-04 05:30
    For number 3 I would use the free program RobotBasic at http://www.robotbasic.org it can send emails from a robot that is connected via Bluetooth.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    What electronics need - MORE POWER!!!!!!!
  • Dtom26Dtom26 Posts: 24
    edited 2009-07-14 15:10
    Thanks for all your help.
  • Dtom26Dtom26 Posts: 24
    edited 2009-07-14 15:49
    Does RoboBasic only work with bluetooth?
    How easy is it to use and have you tried sending an email with it before?
Sign In or Register to comment.