Monday, 24 March 2014

Serial Devices Interfacing to Proteus Using VSPE

Proteus (ISIS Design) tool is very popular platform for simulating an electronic design before making its real hardware but its hard to get every components and its functionality in proteus. So we  interface hardware components  with proteus design like RFID Module, GSM Module, Bluetooth Module, Finger Print Module etc. via virtual serial port emulation( VSPE) software.



Virtual Serial Port Emulation (VSPE): VSPE is use to help developers to create applications that use serial ports. It is able to create various virtual devices to  transmit/receive data. One Serial port can be opened into many different applications and use their different functionality. With VSPE you are able to share physical serial port data for several applications, create virtual serial port device  pairs and so on.

DOWNLOAD VSPE : Click Here

Configuring VSPE: Step by Step process to configure the VSPE shown below.

1) Open the VSPE from my program or by desktop icon.


2) Now go to the Device>Create after clicking the Create below window open.



3)  Now specify device type and select splitter and click on Next button



4) Now Plug the USB2Serial into the USB Port and open the Device Manager and check for the Port number (ex: COM4).


5) Now check the VSPE window back and specify device characteristics. Now their are two blocks 
  • Virtual Serial Port > specify the number you want to give the virtual port you want to make (ex com1)
  • Data Source Serial Port > In this field put your COM Port number which you get into the last step. COM4.

6) Now left Click on Settings.. and select 9600 in speed field.where 9600 is the baud rate of communication. Now left Click on Finish button.



7) After Clicking  on Finish button the virtual device will initialized.



The Virtual Device finally Configured now we Need to configure the proteus (ISIS Design).

COMPIM: The COMPIM model is a Physical Interface Model of a serial port. Incoming serial data is buffered and presented to the circuit as a digital signal, whilst serial digital data generated by a CPU or  UART model appears at the PC's physical COM port. The COMPIM model also provides for baud rate translation, and for optional hardware or software handshaking on both the physical and virtual sides of the device.

1) Add the COMPIM in ISIS from its component mode.




2) Now Add the Virtual Terminal from the Virtual instrument mode.
   connect the RXD and TXD of virtual terminal to RXD/TXD to COMPIM.


3)  Now right click on COMPIM and select the Edit Properties.


4) Change the Baud rate of physical port and virtual port to 9600 as shown in the fig below.


Do the same step for virtual terminal.



5) now press the Play button as in the fig below



6)  Now punch the card and see the data at virtual terminal in the fig below  as i mentioned already that i used the RFID Module for this tutorial as an example.




I hope the above post would help you. I really welcome your suggestions and queries.
****************
THANK YOU
****************


About the Author

Vikas Sharma

Author & Editor

Hobbyst Researcher and working in electronics domain, M.Tech in VLSI Design and Embedded Systems.

15 comments:

  1. wow,super, i tried 5 hours,finally got your idea,solve the communication with two system ,thank u

    ReplyDelete
  2. I can send sms through compim vai gsm modem , but I cant read anything through compim , the RXD never flashes and TXD flashes as expected . Pls give me a idea how to solve this problem .

    ReplyDelete
  3. hi i want to use compin as bluetooth . i downloaded a bluetooth terminal app from play store but when i tried to connect my app with my pc then problem occurs. its not connectrd with my pc

    ReplyDelete
  4. Great post!I am actually getting ready to across this information,i am very happy to this commands.Also great blog here with all of the valuable information you have.Well done,its a great knowledge.

    ccna training in chennai saidapet

    ReplyDelete

  5. This blog explains the details of most popular technological details. This helps to learn about what are all the different method is there. And the working methods all of that are explained here. Informative blog.
    PHP Training Institute in Chennai

    ReplyDelete
  6. It is really very excellent,I find all articles was amazing.Awesome way to get exert tips from everyone,not only i like that post all peoples like that post.Because of all given information was wonderful and it's very helpful for me.

    ccna training in chennai guindy

    ReplyDelete
  7. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing

    dot net training in chennai

    php training in chennai

    java training in chennai

    ReplyDelete
  8. Wow, I am glad that I landed on this site because I have gained a lot of knowledge about Serial Devices Interfacing to Proteus Using VSPE and the writer has used a lot of diagrams to demonstrate the actual devises thus helping the readers to have clear visual impression of the product described by the article. I found this link to also contain some useful information and you can click on Buy Analysis Help during your free time and check it out

    ReplyDelete
  9. Thanks for such important information.keep up the good work.Ethical Hacking training is based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. Indian Cyber Army Provides Best Ethical Hacking Training in India.Indian Cyber Army credibility in Ethical hacking training & Cybercrime investigation training is acknowledged across nation as we offer hands on practical knowledge and full assistance with basic as well as advanced level ethical hacking & cybercrime investigation courses

    ReplyDelete
  10. myTectra Placement Portal is a Web based portal brings Potentials Employers and myTectra Candidates on a common platform for placement assistance

    ReplyDelete
  11. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    rpa training in chennai
    rpa training in bangalore
    rpa course in bangalore
    best rpa training in bangalore
    rpa online training

    ReplyDelete

 
2embeddedrobotics © 2015 - Designed by Templateism.com