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: GermanyPosts: 206 |
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 KingdomPosts: 6761 |
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: AustraliaPosts: 2129 |
+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 KingdomPosts: 6761 |
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: GermanyPosts: 206 |
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 KingdomPosts: 6761 |
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: AustraliaPosts: 482 |
Maybe have a look at the Elektor kit |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6761 |
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 |