Xbee Inputs/outputs basic question

Hello everyone, I’m newish to Arduino (last year in class was the first time i worked with it). I’m working on a project for a product my team is building for a class. We want to connect a wireless remote with 2 rgb leds and 2 potentiometers to a mechanical fish (not underwater) that has 2 servo’s.

Ive been looking at an xbee and breakboard for the remote. Ive seen tutorials where you can wire a pot with one xbee to light up an led on a different xbee, but i was wondering if i could wire 2 rgb leds and 2 pots to a single Xbee. the idea would be one pot/led would go from low (red) to mid (yellow) to high (green) while the other pot/led would be low (blue) to high (red). I figured i could do this if i threw an arduino in the handle, but if i could run that system off of just the xbee that would be perfect.

I also then need the value of the pots to be sent to the arduino in the fish. from that point on i can use the code i used last term to run the servo’s in the fish.

any and all help/tips would be greatly appreciated!!

Thank you!

Xbee Series 1 (I don’t know about Series 2)…

You should read the OEM manual - it tells you how many pins can be configured to be analog inputs, digital outputs or digital inputs. There are about 7 total, but you can’t do everything with every pin.

There are configuration commands to tell the XBee to send analog samples every x amount of time. And digital inputs likewise. And via the Virtual Wire function, you can make an input pin on one XBee be replicated as an output pin on another.

And so on.

These are configuration commands you use via their XCTU utility, or your own program running on, say, a PC on the base-station end, if you will.

No need to write code and integrate a microprocessor unless you need to do some signal processing or logic.

You have to make a time investment to read, look at examples, etc. It’s not obvious without study.

ive been doing alot of research on these and im very confused now.

all i need for the my xbee to do is take in 2 pot inputs and send them to another xbee. as of right now im having issues just getting them to talk through arduino.

i have a fio v3 with an xbee on it and another xbee connected direclty to my computer via explorer usb.

when i type into the Xctu terminal i see the LED on my fio “RSSI” reading an RX current but the RX led is not lighting up.

ive gone through tons of tutorials but i cant get the arduino to talk to the cpu xbee.

can you setup the XBee to talk to a PC’s RS232 port (3.3V to RS232 converter needed). Or an XBIB board.