Friday, 19 July 2019

How to make own device in Proteus


I made a scheme of 16-bit decoder in ISIS by AND's, XOR's etc. and now I want to use this scheme to make my own device. The block with ports. How to do this? I found videos, where people make block and its ports, but I have never seen how to use my own scheme to make my own device.




I've made this in ISIS: enter image description here It's working. And I need to take this circuit: enter image description here


And make a simple block of it. Something like this: enter image description here Something, that I can save to library and use it later.



Answer




I have found one way.


Click the Subcircuit Mode icon here: enter image description here


Then click on the screen, drag and create a box you want your device to look like. In the list you now have highlighted "DEFAULT". You choose "INPUT", click on your box, where you want ports to be. Than do the same with "OUTPUT". Give name to all ports by double clicking or using context menu and properties. You should get something like this: enter image description here


Then click on the box and choose "Goto Child Sheet". There you can create the circuit. There you need to use INPUT and OUTPUT from the Terminals Mode (the icon right under the Subcircuit Mode icon in the first picture) and name them exactly the same as ports in the previous file. Be careful. Do not put ports on the wire. You have to connect them by the wire as any other device.


enter image description here


You can continue with building circuit in the parent sheet. I didn't find a way how to get it in to library to use it in other projects, but you can always copy it (Parent and Child sheet. If you copy only the box of circuit, the Child sheet will be empty).


I hope this is clear enough. My English is poor.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...