Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: XBee API tutorials for Arduino? on: January 22, 2013, 10:11:47 pm
Thanks for the heads up!
2  Using Arduino / Networking, Protocols, and Devices / Re: XBee API tutorials for Arduino? on: January 20, 2013, 02:08:17 pm
If there is anyone who has used the Processing API, please let me know- I've hit a bit of a wall here.
3  Using Arduino / Networking, Protocols, and Devices / Re: XBee API tutorials for Arduino? on: January 20, 2013, 09:16:53 am
Thanks Jack, that gives me a lot to build on. I appreciate it!
4  Using Arduino / Networking, Protocols, and Devices / Re: XBee API tutorials for Arduino? on: January 19, 2013, 07:47:59 pm
Thanks Jack- I guess what I'm having trouble with is the different devices communicating with each other.

I think I'll be able to figure out how to use Andrew Rapp's XBee library, I think a major road block is getting that information in a useful form on the other side. I'm using Processing, and I have been able to get useful data readouts from the serial port, I just don't know how to get them talking to each other- if that makes sense.
5  Using Arduino / Networking, Protocols, and Devices / Re: XBee API tutorials for Arduino? on: January 19, 2013, 06:46:40 pm
Okay, I guess the question would be; how do I get processing to differentiate the different XBees and check the packet size.
6  Using Arduino / Networking, Protocols, and Devices / XBee API tutorials for Arduino? on: January 19, 2013, 05:31:07 pm
I'm working on a project where I need multiple ultrasonic sensors to communicate wirelessly to my computer and visually output the data in processing.

Right now I have three Arduino Fios with XBee wm2s and Maxbotix ultrasonic sensors


I have the XBee explorer from Sparkfun with my coordinator XBee plugged in to my computer.

I've been following the book Building Wireless Sensor Networks by Robert Faludi, and I've gotten to the point where I'm building a simple sensor network with my XBees in API mode, but his example does not use the Arduino, it connects the sensor directly to a pin on the XBee.

I know that there's an API library for Arduino, and an API library for Processing, but I'm a bit of a beginner, and I need a little hand holding through the setup process.

Basically what I need is the API to identify which XBee the data is coming from, and a way to confirm that the data is less than three characters in length.

Does anyone know of a tutorial or some kind of resource or example code that I can look at that would help me get these things talking?

Thanks!
7  Using Arduino / Networking, Protocols, and Devices / Re: Dirty data coming in over XBee 2mW on: January 05, 2013, 11:18:34 am
Thank you!
I've kinda been hacking this together with random pieces of code from all over and adding new pieces here and there.

I'm very new to this XBee stuff, is there a tutorial that you know of that could help me learn how to discard those packets?
8  Using Arduino / Networking, Protocols, and Devices / Dirty data coming in over XBee 2mW on: January 05, 2013, 11:02:16 am
Problem:

My analog sensor (maxbotix LV-EZ1 Ultrasonic Range Finder) is returning garbled meaningless strings about every 7 times it reads. Is there any way I can get it to just return clean data?

My hardware:
Arduino Fio v2 from Sparkfun
XBee 2mW on Arduino XBee 2mW as coordinator on an XBee explorer from Sparkfun (in API mode)
Maxbotix LV-EZ1 Ultrasonic Range Finder
Running on a Macbook Air

my Arduino sketch:
Code:
int val=0;

void setup()
{
  Serial.begin(9600); 
  pinMode(13,OUTPUT);
  digitalWrite(13,LOW);
}

void loop() {
  digitalWrite(13,HIGH);
  int val = analogRead(A0);
  float voltage = (val);
  Serial.print(voltage);
  Serial.println(" ");
  digitalWrite(13,LOW);
}
Pages: [1]