This one is really useful.
Most of the times you are developing a project, you will need some sort of monitoring or visual output to understand the status of your program. Sure some LEDs blinking are great but some times you need more. This is where the good old serial communication comes in. Through this communication you will be able to send information in the form of data or text, to and from your computer. You can use it as a debugging tool to monitor what is going on in your microcontroller during execution time. Or you can use this communication to send data to the PIC for processing and then receive the result back. I am sure you will appreciate the usefulness of this as soon as you implement it.
And all this happens by sending a sequence of zeros and ones… Read more…
Incoming search terms:
- cp2102 (13)
- PIC18F DataRdyUSART (6)
- max232 connection with 16f877a (4)
- what do with cp2102 (4)
- sure cp2102 buy (3)
- Terminal from Br@y (3)
- XBee spi (3)
- CP2102 picaxe (3)
- pic interface with pc (2)
- cp2102 PIC (2)
Hey guys a quick post here.
Since the first time I used XBees (2 years back?) I noticed that they were dropping bytes. This is quite annoying as it disturbs the normal flow of your device. What I did fixed it for good and I never had a single bit dropped from XBees ever again, and let me tell you I sent many thousands bytes so far
Anyway, what you need to do is really simple. You need to assign a destination to your transmission. You do that by first entering the command mode (when using the AT firmware). To do that you need to enter the “command sequence character” three times in a row i.e. for the default settings enter “+++” (without the quotes) to the terminal. The XBee should reply with “OK” and you have a short period of time to enter an AT command. Next you need to send the destination XBee by entering “ATDN<DESTINATION ADDRESS HERE>”. And that’s it
Let’s do an example. You have two XBees, one is called BASE and the other one is called HELI. Oh make sure you name your XBees by changing the Node Identifier in the settings. If HELI wants to talk to BASE it will
- Enter “+++”
- Wait for “OK”
- Enter ATDNBASE
Now you can send as much data as you want and you wont loose a byte. This is so simple. Do the opposite i.e. BASE->HELI and you will have a pretty good two way communication.
Let me know if you need any help
Incoming search terms:
- xbee atdn (7)
- command sequence character for xbee (2)
- how to use atdn command of xbee for setting destination address (2)
- xbee c18 library (2)
- ATDNコマンド xbee (1)
- byte dropping xbee (1)
- c18 xbee library (1)
- xbee dropping bytes (1)
Hello again,
Long time no see huh! Well I was pretty busy with many many things. I hope I can find more time to write more posts here. Today we are going to talk about PIC Zigbee projects.
Last year I was working on a PIC project that needed wireless communication and I made a little research on the internet where I came across ZigBee networks. Zigbee specification is ideal for low power applications. It is actually an offspring of the IEEE 802.15.4-2003 standard which is aiming low power wireless communications. Read more…
Incoming search terms:
- zigbee pic (8)
- xbee projects (8)
- zigbee pic projects (5)
- pic zigbee (5)
- pic zigbee projects (4)
- how to interface zigbee with pic (4)
- interface zigbee rf module with pic (3)
- pic xbee project (2)
- zigbee and pic program (2)
- xbee project (2)
Recent Comments