You are browsing as a guest. Sign up (or log in) to start making projects!

Calculator

Hardware
  • 7 Devlogs
  • 4 Total hours

Im building a calculator tht runs on a rp2040 and might be able to run doom update no doom

Open comments for this post

23m logged

Final Devlog Before Approval

Calculator

Calculator running on CircuitPython firmware with a Feather RP2040 with DVI output, driven by a 5x4 matrix keypad.

Hardware

  • Adafruit Feather RP2040 DVI
  • 5x4 matrix keypad, diodes pointing toward the columns (cathode at column, anode at row)
  • HDMI/DVI display — tested target is a 7” 1024x600 panel, driven at 800x480 (panel scales it down)

Keymap

x      ^      √      ÷
7      8      9      X
4      5      6      -
1      2      3      +
clear  0      .      sum

( and ÷ show as the real symbols on-screen via the custom font which a extraction of the baisic one to preserve memory)

Usage

Basic math — type a number, an operator, another number, then sum to evaluate. Chained expressions evaluate left to right
x as a variable

  • x 3 sum → stores 3 into x (the screen shows x=3)
  • x + 5 sum → substitutes the stored value of x into the expression
  • Pressing x with nothing stored yet and using it in a calc shows an x undef error
    (root) — binary, first number is the degree, second is the radicand: 2 √ 9 sum3 (square root of 9). 3 √ 27 sum → cube root of 27.

clear

  • single press → clears the current entry/expression only
  • triple press within ~0.6s → also wipes the stored x value (shows mem cleared)

Case

I dint yet make the display part of the case as im planning to do tht after i get it (I did Make the hinge part tho as i needed to get the 15 mins to post this devlog)

Final Devlog Before Approval

Calculator

Calculator running on CircuitPython firmware with a Feather RP2040 with DVI output, driven by a 5x4 matrix keypad.

Hardware

  • Adafruit Feather RP2040 DVI
  • 5x4 matrix keypad, diodes pointing toward the columns (cathode at column, anode at row)
  • HDMI/DVI display — tested target is a 7” 1024x600 panel, driven at 800x480 (panel scales it down)

Keymap

x      ^      √      ÷
7      8      9      X
4      5      6      -
1      2      3      +
clear  0      .      sum

( and ÷ show as the real symbols on-screen via the custom font which a extraction of the baisic one to preserve memory)

Usage

Basic math — type a number, an operator, another number, then sum to evaluate. Chained expressions evaluate left to right
x as a variable

  • x 3 sum → stores 3 into x (the screen shows x=3)
  • x + 5 sum → substitutes the stored value of x into the expression
  • Pressing x with nothing stored yet and using it in a calc shows an x undef error
    (root) — binary, first number is the degree, second is the radicand: 2 √ 9 sum3 (square root of 9). 3 √ 27 sum → cube root of 27.

clear

  • single press → clears the current entry/expression only
  • triple press within ~0.6s → also wipes the stored x value (shows mem cleared)

Case

I dint yet make the display part of the case as im planning to do tht after i get it (I did Make the hinge part tho as i needed to get the 15 mins to post this devlog)

Replying to @emmanuell

0
1
Open comments for this post

24m 48s logged

Finished up the repo and ready for shipping !!!

Finished up the repo and ready for shipping !!!

Replying to @emmanuell

0
1
Open comments for this post

34m logged

Finished the pcb and designed the keypad half of the case il prolly design the display case after getting it

Finished the pcb and designed the keypad half of the case il prolly design the display case after getting it

Replying to @emmanuell

0
1
Open comments for this post

49m logged

Finished the schematic and nearly dun w the pcb ish

Finished the schematic and nearly dun w the pcb ish

Replying to @emmanuell

0
3
Open comments for this post

20m logged

Made a keymap and started making the pcb schematic

Made a keymap and started making the pcb schematic

Replying to @emmanuell

0
1
Open comments for this post

22m 1s logged

Uhm research and made a sorta BOM and i hve a sorta idea on how to proceed planning on running it on a lipoly battery and w a display w a dvi in

Uhm research and made a sorta BOM and i hve a sorta idea on how to proceed planning on running it on a lipoly battery and w a display w a dvi in

Replying to @emmanuell

0
1

Followers

Loading…