Skip to main content

Calculator with AVR

In this project we have quite a good calculator that supports all main operations like: +   -   *   % with integer and float numbers and even it can calculate Sin(x), Cos(x), Tan(x) and Cot(x) for all angles. This is a two line calculator that shows you what you are entering just like scientific calculators and of course it is as fast as them. You can also do multi operations at the same time. Accuracy is really acceptable due to using float numbers and also it can do some conversions for some units like :
inch-->mm
mm-->inch
ft-->m
m-->ft
F-->C
C-->F
Cal-->J
J-->Cal.





here is the program in Codevision:
here is the schematic in Proteus:

                         

Comments

Popular posts from this blog

Star Delta Starter with Arduino Nano

This project about star delta connection for a three phase motor. I did'n have three phase induction motor so I used three signal lamp instead. In star delta connection first, star connection actives and then after a while delta connection will active. The time between star and delta connection depends on how powerful your motor is. In this project it is possible to change the time from 0 second to 100 seconds by potentiometer connected to A0. I used Arduino Nano instead of any industrial PLC. The outputs of the Arduino is connected to the relay board and then it is connected to contactors. Contactor is a devise that can connect three phase voltage to an induction motor. There is a video of how this circuit works. Download link: https://drive.google.com/open?id=1rkaE7WTPg93gEQ8l0ehYUHintUx-WcQG

Single phase half-wave diode rectifiers

Half-wave rectifier with resistive load: Half-wave rectifier with R-L load: Half-wave rectifier with freewheeling diode: Half-wave rectifier with capacitor filter: Download link: https://drive.google.com/open?id=1609_GDuzLA2BWE0a7nPnaERC9rhMrg8N                          

I2C LCD with Arduino Nano

This project is about connecting 16*2 LCD thorough I2C protocol with Arduino Nano. The advantage of using I2C protocol for connecting LCD is that it uses only 2 ports of your Arduino while if you want to connect LCD directly to the arduino  it uses at least 6 ports. There is a shield of course to translate I2C commands for LCD and first you need to get I2C library for arduino and install it on your IDE. Download link: https://drive.google.com/open?id=1iuaCFyH-HoGGssdio45KEtStTvtxIGD2