Skip to main content

Posts

Showing posts from August, 2021

Car Parking System using Arduino

This blog will show you how to design and create a Car Parking System using a Seven Segment display interfaced with Arduino Uno . You just need some components, and I assure you this project is gonna be fun! Components Needed Bread Board Jumper Wires Resistors (1 ohm) Arduino UNO IR-Sensors (2x) 7-Segment Display (Common-Cathode) Adding Arduino Library Proteus doesn't come up with Arduino Libraries . We are using Arduino Uno in this project, so manually installing Arduino libraries in Proteus Professional .  You can use the path if it works for you. In my case, it works.  C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\LIBRARY If it doesn't work, then you have to follow a few steps. All the required files can be downloaded using the link given at the end of the blog. So don't worry about the files. First, you have to download the files and paste Arduino Library files into the proteus library folder. Your folder might be installed in the  Programs  fo...

Hangman Game in Python

Hangman Game in python is a word guessing game written in the Python programming language . It's all about guessing letters (A-Z) to form the words. If the player assumes the correct letter within the word, the letter appears at its proper position. The user has to guess the right word until a man is hung, then the game is over.   Source Code import random def hangman(word): s = ["", "________ ", "| | ", "| | ", "| 0 ", "| /|\ ", "| / \ ", "| "] w = 0 a = list(word) b = ["__"] * len(word) win = False print("----Welcome to Hangman----\n") while w < len(s) - 1: char = input("\nGuess a letter:") if char in a: cind = a.index(char) b[cind] = char ...