Git Product home page Git Product logo

arc's Introduction

ARC (Arduino RPN Calculator) 1.0

What is ARC?

ARC is a scientific calculator which can do basic (+-*/) and high level mathematical operations (trigonometric, statistics, regression). See below for detailed commands.

On which hardware does ARC run?

ARC runs on the popular arduino platform (AVR/ATmega) with 32 kbyte flash memory and 1 kbyte RAM. Due to the 8-bit-processor ARC calculates only 5 to 6 digits exactly. This should be enough for most calculations (except you are a bookkeeper who wants to add billion-amounts with cent-accuracy).

How do I run ARC?

Buy an arduino, install the arduino software (including appropriate libraries) on your PC and compile/upload "calc.ino" to your arduino. By defining (and compiling) one input and one output channel ARC can be operated by a serial keyboard (terminal software like screen or putty) or a 12 key keyboard (4 rows, 3 columns). Output will be shown on a terminal or a 128x64 OLED-display.

Which Commands does ARC support?

  • Basic keys: ENTER, DEL, +, -, *, /, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, EE, CHS, STO, RCL
  • Stack operations: SWAP, LASTx, ROT+, ROT-
  • Settings: DEG, RAD, FIX, SCI, SCROFF (screen off time in s, 2...200), CLOCK (counts h.ms)
  • Mathematics: SQRT, SQR, 1/X, POWER, FACT (!), PI
  • Logarithmic, exponential: LN, EXP, LOG, 10x, Py,x, Cy,x
  • Trigonometric: SIN, COS, TAN, ASIN, ACOS, ATAN
  • Hyperbolic: SINH, COSH, TANH, ASINH, ACOSH, ATANH
  • Statistic: CLRSUM, SUM+, SUM-, MEAN/STDDEV (mean value and standard deviation)
  • Linear regression: A+BX (interception and slope), ->X,Y (estimation of x and y)
  • Other: ANNU (present value for a given interest rate and duration), GAUSS (density and distribution), ->P (convert to polar and ...), ->R (... rectangular coordinates), ->H.MS (convert hours to hours, minutes, seconds ...), ->H (... and back), ->RAD (convert degrees to radians), ->DEG (and back)

A short Video of a Miniaturized Mobile ARC

http://youtu.be/F3uRQhoFq40

In this video you can see the following calculations:

  • Approximating PI with 22/7
  • Inserting -3.14159265E-2
  • Setting to 6 decimal places (FIX)
  • Calculating the mean value and standard deviation of 4, 5 and 6 (including SWAP)
  • Convert a rectangular vector (1,1) to polar and back (swap to change arguments)
  • Calculating the Gauss normal distribution and density function at 0 (swap to change results)
  • Starting a clock at 8:16 (and 50 seconds)

Some Pictures of a Miniaturized Mobile ARC

ARC pictures

The Circuit Diagram

ARC circuit diagram

Key Assignment for the 12-Key-Keyboard

ARC assignment of keys

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.