[Help] how to make pc talks to xbee

Hi guys.

I have a pair of xbees.

Now I want to send a command(e.g. ON) form PC by using XBee1 to XBee2 which is connected to arduino, and the XBee2 receives the command 'ON' and set LED ON.

The question is I don't know how to make this happen. don't know how to program.

could you guys help me out?

Maybe you can get some ideas from this video: https://www.youtube.com/watch?v=vSwwBxyMdWA

More videos and material here: www.handsonwsn.org

How is the XBee connected to the PC? I'm sure that duct-taping it to the side of the PC doesn't work.

Which XBees do you have? How are they configured?

I have 2 S2 Xbees. one of them is configured to coordinator API mode, and the other one is End device AT mode. Almost tried any combinations, but still didn't work.

I used one to connect to UNO, and the other one connect to my Mac

Have you tried "Wireless Messaging" between two PCs? https://p2pu.org/en/courses/831/content/2640/

This should be a first step to learn how to use the XBees. When the two XBees are communicating you can move to the next project.

yeah, I have tried that out and it worked.

the problem is I don’t know how to move to next step.