Friday, June 25, 2021

Calculator

 




I had promised to show what you can do with an arduino, leds and few buttons. I had said you can do quite a lot. 

Here is the first project in the series of showing the power of a turing machine. 

I built a calculator that can add numbers. You can give one number after another and it will keep adding it. 

But you need to read the result in binary and convert it to the regular numbers we are familiar with because leds show results(numbers) in binary. 

The left button is for incrementing the number from 1, 2, 3 .... . The right button is to add that number to the accumulator. The accumulator stats with 0. Accumulator stores the result of all additions so far. 



No comments:

Post a Comment