Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
The goal is to develop a Electronics Calculator similar to the Apps ElectroCalc and ElectroDroid on Android OS.
The program would be first implemented on the Casio prizm series in BASIC language, maybe in Python and possibly porting to other platforms using SourceCoder 3 Online TI-BASIC IDE.

TODO: Create a list of functions and formulas to be implemented: For now, Ohms Law, Resistive divider, Resistor Color code ( Color Rings + Text )
This is a short update on the Electronics Calculator to show a way how things will be implemented, in terms of provided formulas / helpers, splitted by typical passive components :

2020-02-16 : Added description for submenus

> Ohm's Law

- Calculate the R, V or I, of the Ohms Law
- Represent formula in plot functions or ASCII

> Resistive Divider:

- Calculate Vout, Current, Power dissipation supplying R1, R2, Vin
- Choose R1 / R2 using list with know values ( eg: 220, 330 Ohms ), supplying Vin , Vout
- Supply schematic either with plot functions or ASCII mode

> Resistor Color Codes:

- 3/4 Ring mode + Tolerance
- Draw rings using rectangle, box plotting + color shading and / or provide ASCII textual

> Parallel Resistor:

- Input n resistor on loop until is done and calculate Req
> Series Resistor:

- Input n resistor on loop until is done and calculate Req

I'll post later on the Resistive divider code .. for now this is just a simple program done for the Resistive divider, as it is my second BASIC program writen on a cg50. Consider this as a short running... :


Lbl 1
If A=0
Then "BAD INPUT":Stop
Else Goto 2
Lbl 2
Locate 4,4,A
If C<=0
Then "DIV ZERO":Stop
Else Goto 3
Lbl 3

Each program will be related to a component and a Menu to reach its sections will be developed. About sections will describe how each one can be implemented.

The main idea is to automate electronics calculation during development and components requirement, avoiding repeating calculations.
Perhaps this could come in handy
I don't condone code theft though, so like don't just snatch it Laughing
Thank you for the link. Maybe not snatch but to get some idea how it is implemented and do it more quickly :Razz

The vague idea for implementation is to plot rectangles as rings and colorize them while pressing keys . If this option is not possible than text mode option with color description should also be available.

Later will describe in detail the submenus of Resistors...
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum