Can a boe bot Autonomously send Information?
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:
I would really appreciate some help this is my first time with a boe bot kit.
- Which is better for data transfer and control of a boe bot Bluetooth or RF?
- Which would be easier to program bluetooth or rf?
- 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
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.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
What electronics need - MORE POWER!!!!!!!
How easy is it to use and have you tried sending an email with it before?