#include <Keypad.h> const byte ROWS = 4; //four rows const byte COLS = 4; //three columns char keys[ROWS][COLS] = { {'7','8','9', '/'}, {'4','5','6','x'}, {'1','2','3','-'}, {'*','0','#','+'} }; byte rowPins[ROWS] = {13, 12, 11, 10}; //connect to the row pinouts of the keypad byte colPins[COLS] = {9, 8, 7, 6}; //connect to the column pinouts of the keypad Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); int KeyCheck = 0; void setup() { Serial.begin(9600); } void loop() { char key = keypad.getKey(); if (key) { if(key == '1'){KeyCheck = 1; Serial.print("1");} if(key == '2'){KeyCheck = 1; Serial.print("2");} if(key == '3'){KeyCheck = 1; Serial.print("3");} if(key == '4'){KeyCheck = 1; Serial.print("4");} if(key == '5'){KeyCheck = 1; Serial.print("5");} if(key == '6'){KeyCheck = 1; Serial.print("6");} if(KeyCheck == 0){Serial.print(key);} KeyCheck = 0; } }
int Motor1 = 7; int Motor2 = 6; int Motor3 = 5; int Motor4 = 4; int DataCheck = 0; void setup() { Serial.begin(9600); pinMode(Motor1, OUTPUT); pinMode(Motor2, OUTPUT); pinMode(Motor3, OUTPUT); pinMode(Motor4, OUTPUT); digitalWrite(Motor1, HIGH); digitalWrite(Motor2, HIGH); digitalWrite(Motor3, HIGH); digitalWrite(Motor4, HIGH); Serial.print("This Arduino Code & Proteus simulation is designed by:"); Serial.println(); Serial.println(" www.TheEngineeringProjects.com"); Serial.println(); Serial.println(); Serial.println(); } void loop() { if(Serial.available()) { char data = Serial.read(); Serial.print(data); Serial.print(" ======== > "); if(data == '1'){DataCheck = 1; digitalWrite(Motor2, LOW);digitalWrite(Motor1, HIGH); Serial.println("First Motor is moving in Clockwise Direction.");} if(data == '2'){DataCheck = 1; digitalWrite(Motor1, LOW);digitalWrite(Motor2, HIGH); Serial.println("First Motor is moving in Anti-Clockwise Direction.");} if(data == '3'){DataCheck = 1; digitalWrite(Motor1, LOW);digitalWrite(Motor2, LOW); Serial.println("First Motor is Stopped");} if(data == '4'){DataCheck = 1; digitalWrite(Motor3, LOW);digitalWrite(Motor4, HIGH); Serial.println("Second Motor is moving in Clockwise Direction.");} if(data == '5'){DataCheck = 1; digitalWrite(Motor4, LOW);digitalWrite(Motor3, HIGH); Serial.println("Second Motor is moving in Anti-Clockwise Direction.");} if(data == '6'){DataCheck = 1; digitalWrite(Motor3, LOW);digitalWrite(Motor4, LOW); Serial.println("Second Motor is Stopped.");} if(DataCheck == 0){Serial.println("Invalid Command. Please Try Again !!! ");} Serial.println(); DataCheck = 0; } }
Hello everyone, I hope you all are doing great. In today's tutorial, I am going to share a new version of Heart Beat Sensor Library for Proteus i.e. version 2.0. I have already posted the First Version of the Heart Beat Sensor Library for Proteus in which you can use the TestPin and if it's HIGH then a single heartbeat pattern will start. So, if you use that library, you will always get the same result for your heartbeat. But in this 2nd version, I have added variable heartbeat depending on the value of TestPin. I will show you in detail, how to do it.
I have also posted a project Heart Beat Counter using Arduino in which I have shown you How you can use this sensor and count your Heart Beat. So, let me show you How you can use this new Heart Beat Sensor Library for Proteus.
So, that was all about Heart Beat Sensor Library V2.0 for Proteus. I hope you will enjoy it. Will meet you guys in the next tutorial. Till then take care and have fun !!! :)
Hello everyone, I hope you all are doing great. Today, I am going to share a new Heart Beat Sensor Library for Proteus. Using this Library, now you can easily simulate your Heart Beat Sensor in Proteus ISIS. I am quite excited while sharing this Library as it has never been designed before. All credit goes to the TEP team for creating this awesome Heart Beat Sensor Library for Proteus. You should also have a look at this Second Version of Heart Beat Sensor Library for Proteus.
Heart Beat Sensor is used to measure the Heart Beat Count of a person. When you are using a Heart Beat Sensor in hardware then there's a chance that you won't get the same results as this simulation because the placement of a finger on this sensor matters a lot. If you haven't placed your finger correctly then you may get different results. This Proteus Sensor will give you the ideal result means the finger is perfectly placed on the sensor. So, let's get started with Heart Beat Sensor Library for Proteus:
So, that's all for today. I hope you have enjoyed this awesome Heart Beat Sensor Library for Proteus. Let me know about your feedback in the comments. Till next tutorial, take care and have fun !!! :)
Hello everyone, I hope you all are fine and having fun with your lives. Today, I am going to share a new Capacitive Touch Sensor Library for Proteus, which is designed for the first time by our team. :) Capacitive Touch Sensor is used to sense the presence of a human finger on the sensor.
We all know that human carries a charge, which is used by these touch sensors. These sensors are available these days online and you can easily buy them. I have designed its Proteus Library which I am presenting today for free to our readers. I hope you guys are going to enjoy working on it. :) So, let's get started with Capacitive Touch Sensor Library for Proteus:
That's all for today. I hope you guys are gonna enjoy this Capacitive Touch Sensor Library for Proteus. Will meet you guys in the next tutorial. Till then take care and have fun !!! :)
Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to share a list of New Proteus Libraries for Engineering Students. I have shared many Proteus Libraries till now but they all are randomly spread in blog posts, so I thought to post all those Proteus Libraries links in today's post. So that engineering students can get benefit from these awesome libraries. You should also have a look at How to add new Library in Proteus 8 Professional, if you are new to Proteus.
You can download them from their respective links and then can use them in your Proteus Projects. These modules are all compatible with Arduino and PIC Microcontroller. So, if you got into any trouble regarding these New Proteus Libraries, you can ask in the comments and I will try my best to resolve your issues. So, let's get started with these New Proteus Libraries for Engineering Students. If you don't have the Proteus software then you should read How to Install and Download Proteus Software?
Note:You should also have a look at these Proteus Libraries as well:
Here's a video in which I have explained all these Proteus Libraries:
First of all, you should download Arduino Library for Proteus. Using this Library you can easily simulate Arduino boards in Proteus and can design any kind of circuit. This Arduino Library is the first one in this Proteus Libraries list. Once you install this Arduino Library for Proteus, you will be able to easily simulate Arduino boards in Proteus:
Download Proteus library zip file download and more details about this Arduino Library for Proteus by clicking the below button:
Download Arduino Library for Proteus
You all have heard about this new Genuino boards which are launched by Arduino group after Arduino boards. They are almost similar to Arduino baords. So, we have also designed these Genuino boards in Proteus. This Genuino Library for Proteus includes following Genuino boards:
The Proteus library zip file download link is as follows:
Download Genuino Library for Proteus
GPS is used in almost every navigation project. GPS is used for the detection of user location. It works in NMEA coding and gives longitude and latitude. Most of the GPS modules are operated through Serial Port i.e. they give data via serial ports. We have designed this GPS module for Proteus using which you can easily simulate this GPS module. I have skm53 in mind while designing this GPS Library for Proteus but still, you can use it for any kind of GPS module because most of them work on NMEA coding so all NMEA-coded modules follow this GPS module. The Proteus library zip file download link is as follows:
Download GPS Library for Proteus
Note:
Next is the GSM Library for Proteus. Using this Library you can easily simulate the GSM Module in Proteus. This GSM module is used for SMS sending and receiving. We can send SMS or receive SMS using this GSM module. There are different types of GSM modules available in the market. I have designed the library of the GSM Module named SIM900D in Proteus. I hope you guys are gonna enjoy it. This GSM module works on AT Commands and the list of these AT commands is given in the below post from where you will download it. You can download Proteus Library for GSM, by clicking the below button:
Download GSM Library for Proteus
Note:
XBee modules are used for wireless communication. They work on radio frequency (RF) and are very helpful in those projects where wireless communication is required. Using XBee modules we can communicate between nodes etc. We have designed XBee Library for Proteus which you can download by clicking the below button. The XBee module works on Serial protocol and can send data wirelessly. In the below post, I have also shown you how to send data between two XBees. If you got into some trouble then ask in the comments below and I will resolve them.
These XBee modules are not fully functional because we are still working on them. Rite now only TX and RX pins are working but soon we will update all other pins too. So, stay tuned. :) You can download the Proteus library, by clicking the below button:
Download XBee Library for Proteus
Note:
Bluetooth modules are also used for wireless communication just like XBee modules. But Bluetooth modules use Bluetooth as a way of communication instead of RF. These Bluetooth modules are used in those projects where low-range communication is required because they don't work in high range. These Bluetooth modules also work on Serial Protocol and you have to connect them with your device and get your data. This Library includes two Bluetooth modules, which are:
You can download the Proteus library by clicking the below button:
Download Bluetooth Library for Proteus
DS1307 module is an RTC module that is used in projects where the current time is required. This module is basically a clock and you have to program it for once and then it keeps on ticking forever. These are used mostly in attendance projects and are quite helpful. Proteus already has this module in its database but it's not much attractive and looks like a simple module. So, we have given it a stylish look and it's just a click away from you.
I have also posted a project DS1307 Arduino-based Digital Clock in Proteus in which I have shown how to use this DS1307 in Proteus ISIS. I will also post a tutorial soon in which I will interface this DS1307 sensor with PIC Microcontroller and 8051 Microcontroller but you have to wait a little. :P I hope you guys are gonna enjoy it. We have designed its Proteus library, zip file download link is given below:
Download DS1307 Library for Proteus
LCDs are available in Proteus in very simple form so we have done a little work and designed New LCD Library for Proteus using which you can now get these stylish LCDs in Proteus. As you can see in the image, these new LCDs now look more attractive and more realistic. I hope you guys will enjoy them. As functionality is concerned they are exactly the same as the normal Proteus LCDs but they are different in looks so you can use the same code for these new LCDs as well.
In this below link, I have also interfaced this NEW LCD with an Arduino board which is also given in the below link for download. This example will help you in understanding how to use this LCD. This Library includes two such LCDs, which are:
The Proteus library zip file download link is as follows:
Download New LCD Library for Proteus
Ultrasonic Sensors are used for obstacle avoidance and hurdle detection. Ultrasonic sensors are used in almost every robotics project and are very easy to interface with Arduino or PIC Microcontroller. We have designed this Ultrasonic Sensor Library for Proteus using which you can easily simulate this Ultrasonic sensor in Proteus and can also interface it with Arduino boards.
I have also posted examples that will help you in understanding of how to use these ultrasonic sensors in Proteus. I have posted three different examples as well, which will are dealing with different scenarios in which these ultrasonic sensors can work. I hope you guys are gonna enjoy them. You can download this ultrasonic sensor library for Proteus by clicking the below button:
Download Ultrasonic Sensor Library for Proteus
Note:
PIR Sensors are used for motion detection. They work on thermal detection, they detect human heat and then detect the presence of the human body in the surroundings. They are used for security purposes and are mostly installed in projects like Home Security Systems, Bank Security Systems etc.
As we can't detect the real motion in Proteus ISIS so that's why I have placed a TestPin in this PIR Sensor. When you give +5V to this pin, the sensor will act as its detecting motion and when it's ground(0V), it will act as no motion detected. We have designed its Proteus Library and the proteus library zip file download link is as follows:
Download PIR Sensor Library for Proteus
Gas Sensors are used for Gas Leakage Detection. It's an essential sensor for most industries because Gas Leakages in industry cause fatal incidents. So using these Gas Sensors one can easily detect the Gas Leakage. We have designed their Proteus Library using which you can easily simulate these Gas Sensors in Proteus. This Gas Sensor Library includes the following Gas Sensors:
The Proteus library zip file download link is as follows:
Download Gas Sensor Library for Proteus
Flame Sensors are used for Fire Detection and are normally used for Security purposes. Flame Sensors are best for Fire Detection. So, you must get an idea about its importance. They are used in almost all kinds of projects where fire security is required.
As we can't actually produce Fire in the Proteus environment that's why I have placed a TestPin which will be used for the detection of Fire. If this TestPin is HIGH then it means there's fire and if it's LOW then it means there's no fire around the sensor. You can download Proteus Library for Flame Sensor by clicking the below button:
Download Flame Sensor Library for Proteus
Vibration Sensors are used for vibration detection. They are mostly used in those projects where vibration detection is necessary like we can use it for security purposes and can place them on doors and windows. So if someone tried to break the doors or windows then the vibrations will be detected by this sensor and a buzzer can trigger.
Moreover, you can also place them on heavy machinery to detect whether there are vibrations in those machines or not. I have also used this sensor in my project GSM-based Home Security System. You can download this Vibration Sensor Library for Proteus by clicking the below button:
Download Vibration Sensor Library for ProteusFlex Sensors are actually used for detecting the bending angle. So, its normally used in projects where you need to detect the fingers bending. For example, I once designed a project in which I have to use sign language and then convert it into words, so in that project, I used Flex Sensors on all of my fingers & thumb and then by detecting the bending, I converted the sign language to text.
So, I have designed the Flex Sensor Library for Proteus and I hope you are gonna enjoy it and are gonna use it in your projects. You can download this Proteus Library by clicking the below button:
Download Flex Sensor Library for Proteus
L298 Motor Driver is used for controlling the speed and direction of different Motors. We can use it to control DC Motors as well as Stepper Motors. It's quite widely used in Engineering Projects and has an L298 module in it.
Proteus doesn't contain L298 Motor Driver in it so, our team has designed it in Proteus and it's now ready to simulate in it. You can download this L298 Motor Driver Library for Proteus by clicking the below button:
Download L298 Motor Driver Library for Proteus
Heart Beat Sensor is used to count the Heart Beat of a human being. You need to place your finger on this sensor and then it detects your beating and you can count this beating via Arduino or any other Microcontroller.
Heart Beat Sensor is not available in Proteus and we have designed two versions of Heart Beat Sensor. The first version has just a single heartbeat pattern, while the second version has multiple heartbeat samples in it. You can download them by clicking the below buttons:
Download Heart Beat Sensor Library for Proteus
Download Heart Beat Sensor Library V2.0 for Proteus
C945 is an NPN transistor used in many engineering projects. Its main purpose is to use as an automatic switch or in some cases, it is also used for generating a PWM pulse. C945 is not available in the Proteus Components list. Our team has designed this transistor and you can download it by clicking the below button:
Download C945 Library for Proteus
An infrared Sensor is used for the detection of obstacles in the path. It uses infrared waves which are transmitted from the transmitter and are received by the receiver of this sensor, which tells us whether we have some obstacle or not. It is normally used for security purposes but also has a wide application in robotics.
Download Infrared Sensor Library for Proteus
The solar panel is a new and free renewable energy source, and it is widely used today because it only uses solar energy and converts it to electrical energy. It is used a lot in final year and semester projects where teachers force to use solar panels instead of common sources.
Proteus doesn't have solar panels in its database that's why we have designed this new library and using it you can now easily simulate Solar panels in Proteus. Click the below button to download this Library.
Download Solar Panel Library for Proteus
Magnetic Reed Switch is used to detect the magnetic field in the surroundings. It is normally used in electromagnetic projects where magnetic field intensity etc is required.
Proteus doesn't have this sensor in its database that's why we have designed it. You can download it by clicking the below button:
Download Magnetic Reed Switch Library for Proteus
Rain Sensor, as the name suggests, is used for rain detection. It's normally used in home automation or security projects.
Proteus lacks this sensor so we have designed its library so that you can easily create your projects' simulation. You can download this sensor by clicking the below button:
Download Rain Sensor Library for Proteus
I have posted 16 New Proteus Libraries above and I hope you guys are gonna like them and will use them in your engineering projects. Our team will keep on designing more New Proteus Libraries for engineering students and I will keep them posted here so stay tuned with this post so that you remain aware of New Proteus Libraries.
So, that's all for today. Will see you guys in the next tutorial. Till then take care and have fun !!! :)
Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to share a new Proteus Library named Vibration Sensor Library for Proteus. This Library is designed by our team on TEP and it's not yet published anywhere. We are the first creator of this Vibration Sensor Library for Proteus. This Library contains just one Vibration Sensor named SW-420. I will post a tutorial soon on interfacing this SW-420 Vibration Sensor with Arduino. This library is compatible with all the microcontrollers like Arduino, PIC Microcontroller or 8051 Microcontroller etc. You should also have a look at Analog Vibration Sensor Library for Proteus.
Using this Library you can now easily Simulate your Vibration Sensor in Proteus ISIS software. As we can't produce real vibration in the Proteus environment so that's why I have placed a TestPin in this Vibration sensor. If you send 0 at this TestPin then it means no vibration and if you sent 1 then it means we have some vibration. The Library is given below for download along with a simple simulation of this vibration sensor. So, let's get started with Vibration Sensor Library for Proteus:
Note: Other Proteus Libraries are as follows:That's all for today. I hope you will enjoy this Vibration Sensor Library for Proteus. I have just added one module right now but I am gonna add more soon. You should also have a look at these New Proteus Libraries for Embedded Systems Projects. Take care !!! :)
Hello friends, I hope you all are fine and having fun with your lives. In today's tutorial, I am going to share a new Flame Sensor Library for Proteus. This Flame Sensor is not available in Proteus and its library is not yet developed anywhere. We are the first ones designing this new Flame Sensor Library for the first time. I am quite excited while sharing it as it's our team efforts that we are able to design new Proteus Libraries which are helpful for students.
We are planning to share more sensor libraries this week. I hope you guys are going to enjoy them and share them with your friends so that they can also know about them. Other bloggers are warmly welcome to share this library on their blogs but do mention our blog link in it as a favor. As this flame sensor is concerned, you can also interface it with any Microcontroller like Arduino, 8051 Microcontroller, PIC Microcontroller etc. It is also used in Embedded Systems Projects especially related to security.
If you have any questions, then ask in the comments. In this next tutorial, I will show you How to interface this Flame Sensor with Arduino in Proteus ISIS. So, now let's get started with this new Flame Sensor Library for Proteus.
Note: Other Proteus Libraries are as follows:So, that's all for today. I hope you have enjoyed this Flame Sensor Library for Proteus. If you are new to Embedded Systems then you should first read this Arduino Tutorial for Beginners. Let me know your suggestions about this amazing Proteus Library. Thanks.