Monday 24 March 2014

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
****************


Serial Devices Interfacing to Proteus Using VSPE

Tuesday 4 March 2014

ISIS design environment helps an embedded system developer from the painful electronic verification of the circuits. It became the first choice for electronics engineer to verify its design and simulate it in real-time environment before making it real hardware. It reduces the design time and cost also. 

In this article we will see how to simulate an Embedded System design with ARDUINO UNO Board having ATMEGA328 microcontroller. Engineers who are frequently using the Arduino for their application would know that how to blink LED in arduino.



ADDING LIBRARY TO ISIS: 
  • Download the Library from here.  click here
  • Now extract the ARDUINOLIBS,zip and open the folder copy ARDUINO.LIB and ARDUINO.IDX files
  • Now paste these 2 files into library folder which could be located at "C:\Program Files\LabcenterElectronics\LIBRARY\" in your system
  • once you paste your file its over for ISIS.
MAKING DESIGN IN ISIS:
  • Open ISIS software then goto component mode and click P(pick from library) 
  • write arduino and select and click into the workspace and connect an LED to pin 13 of arduino 
WRITING PROGRAM:
  • Open ArduinoIDE and open the blink project
  • Goto: file->prefrences->compilation   check that box
step by step process in images>>


* Now click on verify button or go to sketch and verify


* Now note the address of the location of hex file generated by arduino. which is in blue color circle.


DUMPING HEX FILE INTO BOARD:
Now open the ISIS design again and double click on ARDUINO image in ISIS design.
Now give the path in the field shown below in orange color circle.


now press ok and hit the run button to play the simulation and enjoy :-)

Download Project:  click to download project. click here

ARDUINO SIMULATION USING PROTEUS( ISIS )

 
2embeddedrobotics © 2015 - Designed by Templateism.com