Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:14 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Programmable Calculator

Author Message
andreas

Senior Member

Joined: 07/12/2020
Location: Germany
Posts: 206
Posted: 07:30pm 26 Oct 2024
Copy link to clipboard 
Print this post

Build a "programmable calculator" ;-)

Everything it does: connecting a RP2040-LCD with a keypad. Programming is up to you!
Just an inspiration  










' keypad

CLS
Text 10,10,MM.Info(device)

Device KEYPAD Taste,myint,GP15,GP14,GP7,GP6,GP5,GP4,GP3,GP2
Font 5

Sub myint()
 Print "Taste = " Taste
 Text 10,10,"       "
 Text 10,10,Str$(Taste)
End Sub

Do
 Pause 1000
Loop


> option list
PicoMite MMBasic Version 6.00.00RC9
OPTION SYSTEM SPI GP10,GP11,GP28
OPTION AUTORUN  ON
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 50, 100
OPTION LCDPANEL ST7735S, LANDSCAPE,GP8,GP12,GP9,GP25
OPTION F1 files
OPTION F5 ^


-andreas
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 07:42pm 26 Oct 2024
Copy link to clipboard 
Print this post

I like it. :)
They don't come much more programmable than that. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 08:44pm 26 Oct 2024
Copy link to clipboard 
Print this post

  Quote  I like it. :)
They don't come much more programmable than that. :)
+1

Add a IR LED and/or RF module and you have a customizable remote control for multiple devices. Could be very handy.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 08:58pm 26 Oct 2024
Copy link to clipboard 
Print this post

Add a BT module then you can use your phone as the keyboard. Erm, but there's already a calculator on my phone...


:)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
andreas

Senior Member

Joined: 07/12/2020
Location: Germany
Posts: 206
Posted: 05:41am 27 Oct 2024
Copy link to clipboard 
Print this post

Good ideas! The box is large enough to build in all these ideas.

My primary reason to setup this calculator is the game "Hare and Hedgehog – Game of the Year 1979". There you have to calculate the number of carrots to move from a starting field to a destination field. Even better would be a calculator which tells you how far you can reach within 2 or 3 or 4 rounds or what will be the "best move" to reach the final destination as quickly as possible. So I will use it as a "carrot-calculator" & "gaming-advisor"  

-andreas
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 06:42am 27 Oct 2024
Copy link to clipboard 
Print this post

I wasn't entirely serious about the BT....  :)

However, after further consideration, it might then be possible to use it as a numeric pad.

A JDY-40 controlled by 7 or 8 GPIO pins could control another one connected to relays or something. Some fancy soldering on little connections though!
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 482
Posted: 10:21am 07 Nov 2024
Copy link to clipboard 
Print this post

Maybe have a look at the Elektor kit
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 10:43am 07 Nov 2024
Copy link to clipboard 
Print this post

34 quid +carriage +VAT and it's inferior as it's Pico-free!

:)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024