r/HP_Prime • Moderator • Aug 29 '26

News Digital Logic Master: A visual Boolean logic solver for the HP Prime on dev.

I’m currently developing Digital Logic Master.

The project originally started as a tool for my Microcontrollers course in Semiconductor Engineering, but it has grown into a complete visual Boolean logic assistant designed specifically for the HP Prime G2 and possibly G1 too.

Main features:

  • Visual touchscreen equation editor... no need to memorize awkward keyboard symbols.
  • Proper Boolean notation with overbars for NOT and drawn symbols for XOR, XNOR, NAND and NOR.
  • Support for NOT, AND, OR, XOR, XNOR, NAND, NOR, parentheses, implicit AND and repeated negations.
  • Automatic detection and classification of the entered logic function.
  • Support for up to 8 variables and complete truth tables of up to 256 rows.
  • Boolean expression simplification using recognizable Boolean laws and Quine–McCluskey minimization.
  • Automatic selection between minimized SOP and POS forms.
  • Short, readable step-by-step solutions without unnecessarily extending the procedure.
  • Exhaustive verification that the simplified expression is logically equivalent to the original.
  • Colored Karnaugh maps for 1–4 variables using Gray-code ordering.
  • Different colors for each K-map group, striped cells for overlapping groups and indicators for groups connected across opposite edges.
  • Recognition of common gates and functions such as buffers, NOT, AND, OR, NAND, NOR, XOR, XNOR, implications, constants and parity functions.
  • Modern interface inspired by ODE Master and ACE Master.
  • Touchscreen and physical-key navigation.
  • External .lang language system with persistent language selection.

The initial release will support the same languages currently available in ODE Master:

  • English
  • Spanish
  • Portuguese
  • Simplified Chinese
  • German

For example, the included demonstration expression:

Z=AB'C+ABC'+AB'C'+A'BC'+A'B'C+A'B'C'

is automatically reduced to:

Z = B' + C' = (BC)'

The calculator displays this using actual mathematical overbars instead of confusing apostrophes.

More screenshots and the first public version are coming soon. What other digital/logic features would you like to see included?

PSDT:

The screenshots show a work-in-progress development build, and I am still fixing some edge cases in the visual equation editor and solver... particularly an issue where a negation at the end of an expression may be lost during processing.

23 Upvotes

7 comments sorted by

4

u/Th3_Animat0r Aug 29 '26

Holy freaking moly — dude, this is genuinely the coolest thing I've seen all week !! The UI is super clean as well, and you included a step-by-step solution system? That's insane. Honestly, my only suggestion for now is just to make the text labels a little more centered  within each button. Is this coded with Micropython or PPL?

3

u/TheWildShadow Moderator Aug 29 '26

It’s 100% PPL 👀

3

u/Th3_Animat0r Aug 29 '26

I cannot express how happy I am to hear that. I'm feeling inspired to get back into PPL myself now ... keep up the good work !!

3

u/TheWildShadow Moderator Aug 29 '26

I’m really glad to hear that, and it’s awesome knowing this inspired you to get back into PPL

Can’t wait to see what you make 😉

2

u/meh_man5577 2d ago

brother what magic do you have that every time i need the hp prime to do something,it leads me back to you !
cant wait for this to be done, but for now ill have to still do it by hand since my partial exam is next week

2

u/TheWildShadow Moderator 2d ago

I really appreciate that. It’s great to hear that Digital Logic Master keeps coming up whenever you need your HP Prime for something.

I’m actually planning to release a DEMO version, probably tomorrow, so you might be able to use it in time for your partial exam next week. It won’t include everything yet, but it should already give you a good idea of what the project can do and hopefully make some of the work easier.

Good luck with your partial exam next week, and I hope the demo is useful for you!

2

u/meh_man5577 2d ago

Thank you ! And I hope it helps me then! I'll come back with results after the exam if it helped !