Posts

Python coding(calculator)

Python code calculator   Today, we made a calculator using Python code. We did the coding on an online Python compiler called Programiz Python compiler. We used the "if" function to decide which code to run. There were four separate parts of the code to carry out different operations. When we press the "Run" button, it asks us to enter any of the four mathematical operations. Once we enter the operation, we need to enter two numbers. These numbers have to be integers only, or the code will have an error. The "while(True)" function keeps the code running after doing one operation. Code: while (True):     print("Enter operation:")     c =str (input())          if c=="+" :         print("Enter number a:")         a=int(input())         print("Enter number b:")         b=int(input())         add=a+b         print("Addition ...

Home Automation through Mobile app

Image
  Home Automation through Mobile app Here at DIY lab, we made a small circuit to turn off & on a light bulb. The things we need to make this are simple & easily available in electronic shops. You can turn off & on a light bulb with the use of a mobile app. To make this system we need a bulb, an Arduino uno board, relay, breadboard, Bluetooth unit & jumper wires. Connect one male-to-male wire to the VCC or positive terminal of the Arduino uno board & one to the GND or negative terminal. Connect these two wires on the breadboard & attach the positive & negative terminals of all other components to provide a supply of electricity to them. Attach the RXD & TXD of the Bluetooth unit to the TXD & RXD of the Arduino uno board. Connect the input pin of the relay to one of the digital pins given on the Arduino uno board. Connect the bulb to the relay. Connect the  Bluetooth unit to the app on your smart phone. To make the app, open MIT app inventor o...

DIY Lab

Image
DIY Lab My name is Tejas. I am in 7th grade. I have been a member for DIY lab since the last 1 year. Here at DIY lab, we do many different things & projects. There is a verity of tools like 3d printers, Lazer cutter, vinyl cutter, etc. I have done quite a lot of projects myself. I have used many electrical components here, like some microcontrollers, breadboard, jumper wires, and many more.  I got to know about these instruments because of DIY lab. The best thing abought it is that it is open every day. It is because of DIY lab that I got to know how different things work. I also got to know about many software that I could not have learn anywhere else. If you have an idea, they can help you make it come to life. I have done block coding, made games and even made working robots. We have taken things apart, learnt how they worked & put them back together. I remember coming here for the first time and seeing all the different things that I couldn't have seen if I would have c...