pcbway




xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee libraryHello everyone, today I am going to share a new XBee Library for Proteus. I am quite excited while sharing it as we are the first developer for this XBee Library. Now you can quite easily use XBee module in your Proteus software using this XBee Library for Proteus.Wehave spent quite a lot of time in developing this and that’s the reason I couldn’t share new tutorials in the past few days. Anywayswe are done with this new exciting XBee Library for Proteus, hope you are gonna enjoy this one. I have already sharede two libraried for Proteus which are Arduino Library for Proteus and GPS Library for Proteus. You can also interface this XBee module with microcontrollers like Arduino, PIC Microcontroller and 8051 Microcontroller quite easily.

As its the first version of our XBee Library for Proteus so its not quite perfect and can’t do the complex tasks such as analog inputs etc. It will just do the serial communication. This xbee module has two pins TX and RX and you can do your communication with it quite easily. We have designed this XBee Library for Proteus, after quite a lot of effort and we are quite proud that we are presenting it first time for Proteus. Other bloggers are welcome to share this library on their blogs to share the knowledge but do mention our blog post link in your post. ๐Ÿ™‚ You should also have a look at XBee Arduino Interfacing. So, let’s get started with it.

XBee Library for Proteus

  • First of all, download this XBee Library for Proteus by clicking on the below button:

Download Library for Proteus

  • Now once you click it you will get a zip file to download so download this zip and open it.
  • In this zip file you will get two files named as:
    • XBeeTEP.LIB
    • XBeeTEP.IDX
  • So, now place these two files in the libraries folder of your Proteus software.

Note:

  • If you are using Proteus 7 Professional, then the library folder link will be something like this: C:Program Files (x86)Labcenter ElectronicsProteus 7 ProfessionalLIBRARY
  • If you are using Proteus 8 Professional, then the library folder link will be something like this: C:ProgramDataLabcenter ElectronicsProteus 8 ProfessionalDataLIBRARY
  • Now, start your Proteus ISIS software or restart it if its already running.
  • Go to your components library and search for XBee Module as shown in below figure:

xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee library

  • Now place it in your workspace and it will look something as shown in below figure:

xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee library




  • If you don’t know much about xbee module then you should also have a look at Introduction to XBee Module.
  • As you can see in the above figure, its our xbee module in Proteus for the first time.
  • As, I mentioned earlier, its a first version of xbee module so its not very advanced and it will do just the basic serial communication i.e. sending and receiving data.
  • It has two pins on it which are TX and RX and using these two pins you can send and receive data quite easily.
  • So, let’s design a simple example and we will see How to do the Serial communication using this new XBee library for Proteus.
  • Design a simple circuit as shown in below figure:

xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee library

  • Now what I did is, I simply place a Virtual terminal with both of these xbee modules.
  • Now we need to change the Properties of one of these XBee module so double click on any one of these and you will get the below window:

xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee library

  • You should also have a look at Interfacing of XBee with Computer.
  • Now, I have simply changed the Physical Port of this module to COM2 while the other module is at COM1.



  • So, now one of my XBee module is at COM1 while the second module is at COM2.
  • Now when I run my simulation then both XBee will start sending and receiving data on their respective COM Ports.
  • So, what I need to do is to virtually combine these two ports and for that I have used a software named as Virtual Software Driver from Eltima and I combine these two ports.
  • Now, run your simulation and whatever you type in the Virtual Terminal of first xbee will appear in the virtual terminal of second xbee. as shown in below figure:

xbee simulation in proteus, xbee in proteus, proteus xbee simulation, proteus simulation for xbee, xbee proteus simulation, proteus xbee simualtion, xbee proteus library, proteus xbee library


I hope you have enjoyed it and are gonna like it. Let me know if you got into any trouble and have problems in using this library. Also share your suggestions about improvement in this XBee Library for Proteus. ๐Ÿ™‚

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Post comment