Main Site Documentation

Xbee tutorials


#1

Those who have subscribed to my youtube channel might have seen the videos already.
Anyway, here is the project page. One video is left, I will make and upload soon.

Link: (link removed)


#2

Very useful videos but the camera can’t focus so it is hard to see. Is there a “flower” mode on your camera to help in focus for future videos?

Added 300 points :slight_smile:


#3

Yes I know Gus, I might try a other camera. It was some struggling for getting everything right and clear, so I do not know if I will retake these videos, might do anyway.

The videos are anyway just a “help” for the scheme. If someone does not understand the scheme, they can have a look at the video for more help :slight_smile:

I hope it’s a little clear for everyone, even though the camera is a little buggy?
Is there someone who is struggling with understanding the video?

Thanks Gus, I do my best :wink:


#4

Thanks Robert. What great timing, I just managed to borrow a few XBee modules and now you have provided a great starting point to test them out.


#5

wow great to hear that someone can already make us of them!
If you have any questions, please let me know. Also, check out the software provided at the project page. It should help you get started very fast.

Good luck, let me know if you have any questions left! :wink:


#6

Very Nice Foekie


#7

Great tutorial, thanks!
I am going to use my X-Bees with my Domino…


#8

Have fun! Let me know if you need anything :slight_smile:


#9

Nice work Robert. Thanks for sharing your work for all of us to explore.


#10

This is a great example of point-to-point communication, but has anyone seen a tutorial for a multi-point Xbee implementation?


#11

I noticed you had this in your code sample


        public static void Main()
        {
            UART = new SerialPort("COM1", 115200);
            UART.Open();
            UART.DataReceived += new SerialDataReceivedEventHandler(UART_DataReceived);

            while (true)
            {

            }
        }

mmm shouldnt there be a Sleep( Infinite ) in the main loop, just as a matter of style
(no offence meant)


#12

Why? The

while(true)
{

}

has a sleep in it.


#13

well in DominoXbee Program.cs the main loop is running without any Sleeps which isnt a good thing in micro.Net land


#14

Then this is a error. I will correct it later when I am at home. :wink:


#15

I assumed it was a typo


#16

I do not know what I was doing back then, but this was definitely a stupid mistake.


//Change this
while(true)
{

}

//to:

Thread.Sleep(Timeout.Infinite);


Code updated.
Thanks for pointing me to the error :wink:


#17

Foekie,
I did add a portion of XCTU tutorial to your XBee tutorial, as promised.


#18

that’s what I was planning, did not have time to complete it. Thank you for your help!

We might add some other stuff too?
Just to make sure new users can start right off.


#19

Let me know what kind of stuff you want to add more,
I’ll be glad to help as much as I could.


#20

I’ll contact you later on. I have some sort of class in mind, I have seen it with a other project, we might use/tweak it.

I’ll try to look into this today. Can’t promise though.