Hot answers tagged

16

In order to show again the closed oscilloscope window start the simulation, then click pause and open the debug menu. From there click the oscilloscope option and the oscilloscope window will appear. You can then resume or stop and restart the simulation and the window will be visible. The same stands for any other closed debug window. Using the Reset Debug ...


9

I checked the available file importers for Altium and I don't see ARES or .LYT listed. Even if there were such an importer available, you would need an Altium license to be able to use it. However, there are many many pcb fab shops available, and 90% (or more) of them accept either gerber files or ODB++ rather than design files for any particular design ...


8

I have found one way. Click the Subcircuit Mode icon 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 ...


8

This can probably be explained better in a in a video but I'll try with images Open ARES and place a similar footprint on the design (a relay that matches the number of pins is fine) what you get is right click on the footprint and select decompose tagged objects If the dimension of your footprint are in mm then pres the m button for metric or leave it ...


6

Proteus ISIS is a schematic capture tool. It therefore does not care much about vertical or horizontal position of an individual component (assuming you mean vertical as in standing up from the board). There are two possible interpretations of your question, I will address each one. If you mean the rotation of the capacitor and its leads in the schematic ...


6

Forget rectangular holes! This kind of part is usually bolted to a heat sink, "dead bug style" (legs pointing into the air). The terminals do not go through a PCB; it is not a through hole part. The terminals accept sliding "push on terminal" connectors. (source of picture)


6

Try this. System --> Set Animation Options --> SPICE Options Change "Default Settings" into "Settings for Better Convergence" and load it.


6

When a string of voltages does not add up to what you expect, you check each individual part to understand why. Vf for small Silicon diodes and Vbe near 1mA is around 0.65V. Note that just by rearranging the same loop it may be easier to understand the R1 controlled loop current. If we assume they are ideal 3V batteries and a real diode, I would expect ...


6

Not having the source of those libraries I can't tell you how to fix it, but I can help you understand the problem so you may be able to sort it out yourself. Here's a memory map for a typical 16x4 LCD display (Displaytech 164A series): ...and here's the map for a typical 20x4 (Displaytech 204A series): As you can see, the third and fourth lines both ...


5

I am not a professional PCB designer. My rule is: put all the connected electronics on the schematic. The chassis-mounted parts need nets for their connections, otherwise what will they connect to? The simplest way to achieve this is put the chassis-mounted parts on the schematic. The chassis-mount parts will need a PCB footprint for the connecting wires....


4

In the given code, the LED is lit up as soon as the microcontroller starts operating. Thus, even if the watchdog timer were to reset the MCU, the LED would be off for an infinitesimal time, if at all. Consider turning the LED off at start up, then after a delay of a few hundred milliseconds or so, turn it on. If the MCU resets, it will turn the LED off ...


4

Yes, there is a debugger for C source codes in the Proteus ISIS VSM, however since C code will differ with the compiler, only certain compilers are allowed. In the website, you can see that supported compilers for PICs are: CCS for PIC (at least V4.107) Hi-Tech C for dsPIC33 (at least V9.60) Hi-Tech C for PIC10/12/16 (at least V9.8) Hi-Tech C for PIC18 (at ...


4

From answer posted here It's in the Proteus Help file: SCHEMATIC CAPTURE HELP (F1) -> MULTI-SHEET DESIGNS -> Hierarchical Designs See the section "Module Components": Any ordinary component can be made into a module by setting the Attach Hierarchy Module checkbox on the Edit Component dialogue form. The component's value is taken to be the name for ...


4

The biggest limitation is that you'll spend more time building the simulation than it would take to build the circuit. Simulations are great for answering specific questions, but the effort to produce them grows quickly with level of detail, and they can never model all the intricacies of the real world. If you are trying to answer a question that doesn't ...


4

The two chips are almost the same. They use the same instruction set, so yes, you can execute a program written for C72 on F72. However, there are differences, some of which could be critical: The C72 lacks the ability to read the program memory as data. The C72 is an OTP (One-Time Programmable) chip, not a flash chip. The C72 has an OPTION and TRIS ...


4

Every register in the microcontroller exists whether you explicitly set a value or not. If you don't explicitly change the value of a register, the microcontroller will happily use the default value. The default values for each and every bit are defined in the datasheet. For Microchip products, the default bit values for each register are defined along the ...


4

It's in the Proteus Help file: SCHEMATIC CAPTURE HELP (F1) -> MULTI-SHEET DESIGNS -> Hierarchical Designs See the section "External Modules" - you should be able to define the child sheet as a .MOD file, then use the Make Device command on the parent component and use include the .MOD file there. I've never done it before, but I'll try it now. Sounds like ...


4

Me and my friends created a blog specially for AVR & 8051 MCU. It contains both code and proteus simulation along with a video. Have a look at it.!


4

All these Programmers are based on USBASP which is not professional programmer/debugger tools and many parameters e.g. USB cable length make some problems at writing speed and performance. I had same problems with USBASP too. I think the best answer is to say change your programmer and buy a professional one(or a clone version of professional programmers).


4

The difference seems to be close to a ~ 0.7 V drop across the diode. Could that be the source of the error? Ideal diodes are almost always modeled as having a constant 0.7 V drop regardless of the current. That is the ideal part. This seems to be exactly what is happening in your circuit. The voltage drop seems to be modeled as 0.64 V. A non-ideal model ...


4

It's pretty clear that the diode is accounting for (I assume) a simulated voltage reading in Proteus. I can't speak to how "ideal diode" applies to your simulator, as I don't have or use it. But broadly speaking the loop equation looks about like: $$\begin{align*} 0 &= +3\:\textrm{V} - I\cdot R_1 - \frac{n k T}{q}\cdot \textrm{ln}\left(\frac{I}{I_s}\...


4

Your loop takes 3 instruction cycles to execute. Not every instruction on the PIC takes exactly one instruction cycle. See Table 7-2 in the PIC16F84A datasheet. DECFSZ takes 1 instruction cycle usually (2 when it skips) and GOTO takes 2 instruction cycles. That's 3 cycles normally. So, given 3uS per loop, that's almost exactly the timing you got (196ms). ...


3

I see no reason to suspect that any of the pins are not electrical contacts which deserve a pad, though the connection diagram might show that some of them are unconnected. The drawing you link shows that the radius of the pin circle is .100 inches. It also shows that the diamter of the housing is .370 inches, not counting the orientation tab. While not ...


3

Having used Proteus a lot, it does allow you to create both Gerber and ODB++ files. To create Gerber files from your .PCB file, open the .PCB in ARES, go to the OUTPUT menu (Next to File Menu), and click on Gerber/Excellion Output. That should then generate the gerbers for you. You have options on which layers you want to export (for example, if it is a 2 ...


3

Although you have fixed the immediate issue by disabling optimization (which proves that it was being optimized out), consider what would happen down the road if you need to optimize the code. You will likely have forgotten about this, and change the settings. Or, someone else might come and change it, or maybe you create a project with new settings. The ...


3

Panelisation (which it what you're trying to do) isn't possible in the printer output. However, Ares does have a panelisation mode, and if you use that to create your multiple copies the printer mode will output them all just fine. It is a bit of a roundabout way of doing things (intended for manufacture rather than printing, one presumes), but this it how ...


3

Normally, you put something on the PCB to connect to these components. Vias, pads, a connector, something. That something should be present on your schematics, since you'll have to use some footprint object in the PCB editor, and the component used in the schematics editor should correspond to the footprint object in the PCB editor.


3

One obvious problem is that you don't have power connected to the processor. You also left the PGM pin floating. Since nothing is connected to the oscillator pins, you have to make sure the processor is configured to run from the internal oscillator. Otherwise, a 10 kΩ pullup on MCLR to Vdd is fine.


3

The F72 is the modern version with flash based program memory. The C72 is an older, one time programmable version. As far as simulation goes, they are identical, but for debugging hardware, you would want the F72 to be able to erase and reprogram.


3

The display under the motor shows the RPΜ (rounds per minute). The rate of the pulses that you get at the output pins (encoder) depends on the pulses per revolution property of the motor. Here is what you see when you open the motor properties (these are the default settings) The zero load RPM is 360 @12v supply (nominal voltage), and the pulses per ...


Only top voted, non community-wiki answers of a minimum length are eligible