Posts

Showing posts with the label Resistance Color Code Calculator Using Python

Resistance Color Code Calculator

Image
Hello Every One This is my first post on a python project Resistance Color Code Calculator. Technology Used : Python 3, Tk i nter Software Used : Pycharm We can calculate the value of the resistance of a resistor from its color code value as  given below let us consider,                'a’  represents the  first band of resistor.                ‘ b’  represents the second band of resistor.                ‘ c’  represents the third multiplier band of resistor.                ‘ d’  represents the fourth tolerance band of resistor.      Then the resistance value is given by ,  We can implement the above thing in the form of a GUI (Graphical User Interface) using Tkinter library of python which gives styling to the interface as given in the following picture.                    The Code of the above GUI is given below from tkinter import * import tkinter.messagebox as tmsg from tkinter import ttk class Resistor: def __init__(self,root): self.root = root self.