Hello friends, I hope you are doing well. This is the nineteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Add a Live Control Panel to a Proteus Component, our Traffic Light Module learned to show its pins and lamps on a panel and to change its LOGIC setting with a click while the simulation runs. So far, we tested every part with logic switches. Today, we test the library the way its users will use it. Our topic is how to test a custom Proteus library with Arduino. A library is only finished when it works with a real program. Logic switches show that a part reacts to its pins; a sketch on a simulated microcontroller shows that it reacts to them at the right speed, in the right order and together with other parts. We will build a test project with an Arduino UNO, our Traffic Light Module and our Push Button Module, write a small traffic light sketch with a pedestrian button, compile it to a HEX file, load it into the simulated Arduino and run three tests: the normal cycle, a button press and a deliberate configuration mistake. Everything shown here was done in Proteus 8.5 Professional on our PC. The picture below shows the test project during a run: the sketch has just switched to red, the Traffic Light Module shows it on its lamps and its panel, and the Virtual Terminal shows the sketch's own messages. In the earlier tutorials, we tested each part in isolation: lamp currents with ammeters, states with LOGICSTATE parts, the ...
Hello friends, I hope you are doing well. This is the eighteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Create a Proteus Simulation Model DLL in C++, we wrote TEPTRAFFIC.DLL, a model for our Traffic Light Module that honours its LOGIC property, and linked it to a new part, TRAFFICLIGHTVSMTEP. The model already draws the lamps. Today, it draws much more. Our topic is how to add a live control panel to a Proteus component. A live control panel is a small instrument that belongs to the part itself: it sits next to the module on the schematic, shows what the model sees while the simulation runs, and has buttons that change the model's behaviour without stopping the run. Our panel shows the level of each input pin and the state of each lamp, counts how often a lamp switched on, flips LOGIC between High and Low with one click, and lights all lamps while a LAMP TEST button is held down. On the way, we met two surprises that cost us an evening, and we show both, because you will meet them too. Everything shown here was done in Proteus 8.5 Professional and Visual Studio 2026 Community on our PC. The picture below shows the result during a simulation: on the left, the panel after one click on LOGIC, with the module now active low; on the right, the same panel while LAMP TEST is held down. Many of Proteus's own parts have more than lamps and switches. The virtual instruments open windows of their own, and the models of our TEP ...
Hello friends, I hope you are doing well. This is the seventeenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Design a User Interactive Library in Proteus, we added a Push Button Module to our library and used it to switch the red lamp of our Traffic Light Module. Both parts were built entirely from Proteus's own primitives. Today, we write a model in C++ instead. Our topic is how to create a Proteus simulation model DLL in C++. A model DLL can do things a drawn model cannot. Our Traffic Light Module still has the LOGIC property from the eighth tutorial, the one that says whether a lamp lights on a HIGH or on a LOW pin, and in the fifteenth tutorial we left it unused because a schematic model cannot honour it. A few lines of C++ can. We will look at what a VSM model DLL is, write one for our module, compile it with Visual Studio, link it to a new version of the part and test it in a simulation. Everything shown here was done in Proteus 8.5 Professional and Visual Studio 2026 Community on our PC. The picture below shows the result: the same module with the same inputs, R and G high and Y low, once with LOGIC set to High and once set to Low. The lamps follow the property, and the only thing that changed is one value in the part's properties. In the twelfth tutorial, we met the four kinds of simulation model the Proteus help describes: primitive models built into the simulator, schematic models, SPICE models and VSM models. The ...
Hello friends, I hope you are doing well. This is the sixteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Create an Animated Component in Proteus, our Traffic Light Module learned to show its lamps: state symbols, a common symbol and real time current probes in the model. That part is an indicator; it shows what the circuit does. Today, we build the opposite kind of part, one that the user operates with the mouse while the simulation runs. Our topic is how to design a user interactive library in Proteus. Our example is a new member of our TEPTUTORIAL library: a Push Button Module with the pins GND, VCC and OUT, like the small button boards sold for Arduino projects. We will look at the three markers that make a part clickable, INCREMENT, DECREMENT and TOGGLE, at the STATE property that stores what the user did, and at the RTSWITCH primitive that turns that state into a real connection in the model. Then we draw the module, make its state symbols, store it with Make Device, compile its model and use it to switch the red lamp of our traffic light. Everything shown here was done in Proteus 8.5 Professional on our PC. The picture below shows the result: on the left, the drawing of the module with its pins and markers; on the right, the button held down during a simulation, with the red lamp lit and 9.26 mA in the meter. The Proteus help divides the animated parts of an interactive simulation into two groups. Indicators display a ...
Hello friends, I hope you all are doing great. Today, I am going to share a list of Medical Sensor Libraries for Proteus. Biomedical projects are a favourite of engineering students: pulse oximeters, heart rate monitors, fall detectors for elderly people, smart gloves for rehabilitation and patient monitors that send data to a doctor's phone. They are meaningful projects, and they teach you signal processing, sensors and communication all at once. They are also projects where you can't easily test on yourself. You can't change your own heart rate on demand, fall on purpose or produce a low oxygen reading to check your alarm. In Proteus, our libraries give you those signals on a slider or a pin: the MAX30102 model lets you set the pulse rate, the SpO2 target and whether a finger is on the sensor, the MPU6050 lets you create a fall with its acceleration sliders, and our heart beat and flex sensors produce their signals from a test pin. Our new MAX30102 and MPU6050 libraries come first in this list, followed by our heart beat and flex sensors, a complete heart beat monitor project and the formulas behind pulse, SpO2 and fall detection. If you are new to Proteus libraries, read How to Add New Library in Proteus 8 first. So, let's get started with the Medical Sensor Libraries for Proteus: These libraries are made for learning and for testing your code. The signals come from our models, not from a human body, and a working simulation does not prove that a real device would measure ...
Hello friends, I hope you are doing well. This is the fifteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Create a Schematic Simulation Model (MDF) in Proteus, we drew the circuit of our Traffic Light Module, compiled it into TRAFFICLIGHT.MDF and let each placed module have its own resistor values. The currents were right, but the three lamps stayed dark whatever we did. Today, we make them light up. Our topic is how to create an animated component in Proteus. We will see how Proteus animates a part, how it names the pictures of each state, and how a probe inside the model tells the part which picture to show. Then we draw the six lamp states of our module, declare them in Make Device, add a common symbol for the parts of the drawing that never change, put a real time current probe into each lamp branch of the model and test the result with logic switches. On the way, we hit one surprise that the help does not mention, and we show how to avoid it. Everything shown here was done in Proteus 8.5 Professional on our PC. The picture below shows the finished result: on the left, the model with a current probe in each branch; on the right, our part during a simulation with the red and green inputs high and the yellow input low. An animated component changes its picture while the simulation runs. LEDs light up, switches flip, meters show values and our traffic light will show which lamps are on. Proteus calls such parts active ...
Hello friends, I hope you are doing well. This is the fourteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, How to Add a SPICE Model in Proteus, we gave our Traffic Light Module its first working model: a SPICE subcircuit with a resistor and an LED per lamp, linked to the part with four properties. Today, we build the same behaviour a different way, by drawing it. Our topic is how to create a schematic simulation model (MDF) in Proteus. We will look inside two of Labcenter's own schematic models, draw the model of our module in a project of its own, compile it with the Model Compiler into an MDF file, attach it to our part with the MODFILE property and test it. On the way, we read the compiled file and find two mistakes before running a single simulation. Finally, we use the feature that makes schematic models worth the effort: properties of the part that flow into the model, so that each placed module can have its own resistor values. Everything here was done in Proteus 8.5 Professional on our PC, and every current in this tutorial was read from the simulation. The picture below shows the result: on the left, the model circuit as we drew it; on the right, our part using the compiled model in the test circuit from the previous tutorial. A schematic model is a circuit drawn in Proteus that describes how a part behaves. The help explains the idea: when a device is too complex for a single primitive, you draw a circuit of simulator ...
Hello friends, I hope you all are doing great. Today, I am going to share the new NEO-6M GPS Library for Proteus V1.1. The u-blox NEO-6M is the GPS module most students start with: it is cheap, it talks to an Arduino over two wires, and it tells you where you are, how fast you move and the exact time. With this NEO-6M Library for Proteus, you can build and test your GPS project on your PC, without waiting next to a window for a satellite fix. In this new version, you get two devices in one library: NEO-6M Simple, which draws a GPS screen on the schematic, and NEO-6M Advance, which opens a pop-up window with the GPS screen and four real GPS test tools (time to first fix, accuracy, NMEA check and route). I am also sharing a complete Arduino GPS Proteus simulation: one UNO prints the raw NMEA sentences, and the other reads the position with the popular TinyGPS++ library. NOTICE: This library is very close to our hearts. Our GPS model does not just replay a recorded file: it moves 30 satellites over the sky, measures their signals, computes the fix and the HDOP from their geometry and answers the real u-blox commands, right inside Proteus. It took our team a lot of hard work, many test runs and many design changes, and this library is a tribute to that effort. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Proteus Libraries category of our forum. And if our free libraries help you in your studies or work, you can ...
Hello friends, I hope you all are doing great. Today, I am going to share a list of Smart Agriculture Sensor Libraries for Proteus. Smart farming is one of the most useful areas of embedded systems: a small Arduino node in the field can measure the soil, the air and the light, switch a water pump only when the plants need it, skip watering when it rains, and send an alert to the farmer's phone. That's why automatic irrigation and greenhouse monitoring are among the most popular final year projects. The trouble is that you can't test a farm on your desk. Soil dries out over days, rain comes when it wants and the field is far from your lab. In Proteus, our libraries let you play all of that: sliders for the temperature, humidity and light, and test pins or analog inputs for the soil moisture, the rain, the water level and the pH. You can run a whole growing season in a few minutes and see whether your pump logic does the right thing. In this list, our new climate sensors come first: the SHT31, BME280 and BH1750. After them, you will find our soil, rain, water and pH sensors, our solar panel libraries for powering a field node, and the radios that carry the data back home. I have also added the irrigation logic and the idea of a complete smart farm node. If you are new to Proteus libraries, read How to Add New Library in Proteus 8 first. So, let's get started with the Smart Agriculture Sensor Libraries for Proteus: Here is what each measurement tells a farmer, and which of our ...
Hello friends, I hope you are doing well. This is the thirteenth tutorial in our series on how to create a Proteus library. In the previous tutorial, Proteus Simulation Models Explained, we met the four kinds of simulation model and saw that our Traffic Light Module still has none: Pick Devices labels it No Simulator Model, and a simulation stops with "No model specified". Today, we give it its first working model. Our topic is how to add a SPICE model in Proteus. We will write a small SPICE subcircuit for the module, attach it to our part with four properties in the Make Device wizard, copy the model file to the right folder and test the result with ammeters at 5 V and at 3.3 V. Then we make three typical mistakes on purpose and read the messages Proteus gives for each, pack the model into a SPICE model library with Labcenter's own tool, and look at the other ways Proteus accepts SPICE models. Everything shown here was done in Proteus 8.5 Professional on our PC, and every number in this tutorial was read from the simulation. The picture below shows the two halves of the job: the SPICE properties in Make Device on the left, and the test circuit with the currents our model draws on the right. PROSPICE, the simulator inside Proteus, is based on Berkeley SPICE3F5. That means it understands the same text format as other SPICE programs: a netlist of resistors, capacitors, diodes, transistors and sources, written one element per line. A SPICE model is a piece of such text that ...