Sunday, 24 February 2019

microcontroller - Connecting the Vdd terminal in Proteus


I'm a beginner to microcontroller programming and the Proteus simulator. I have a LED blinking microcontroller circuit diagram. I'm trying to simulate it in Proteus. The problem is there is no Vdd and GND terminals.


I know it's hidden. After reading a solution I was able to set Gnd but I can't understand how to connect the Vdd terminal .


I want to know how to connect to Vdd like in the circuit diagram.


My circuit diagram:



enter image description here


This is my Proteus project so far and here is my project file if needed.


enter image description here



Answer



Several active devices in proteus have hidden power pins. To access them right click on the component you are interested in and click edit properties. In the window that opens there is a hidden pins button, click it and you will see the names of the hidden pins and the power nets they are connected to.


enter image description here


The VDD and VSS nets represent power rails of the design and are already assigned to 5v and 0v(GND) respectively.


You can see the project power rails from design -> configure power rails menu


enter image description here


enter image description here



One way to do what you want is to disconnect the VDD net from the VCC/VDD net (from the power rails screen shown above), and then connect VDD to the output of the regulator using a terminal. Note that this will effect any device on the schematic that uses the VDD net, not just the PIC.


The alternative, which can limit the change effect to the PIC only, is to create a new net (e.g VDD5 or any other name you like), connect the hidden PIC VDD pin to it (from the hidden pins button of PIC), and also connect the same net to the regulator output using a terminal.


To do what I describe, place a terminal as shown below, then right click it and select properties, from there assign VDD5 to it and click OK.


enter image description here


Then open the hidden pins screen of PIC and next to pin VDD write VDD5.


enter image description here


Finally connect the VDD5 terminal to the output of the regulator.


enter image description here


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