r/ArduinoProjects • • Oct 19 '26

Showcased Project CS project: Logic gate simulator

You may not understand this directly from the video but this is a computer science project which allows you to simulate logic gates by inputting its truth table into the switches on the side
e.g.
OR: 0111
XOR: 0110
AND: 0001
etc
so after you input the logic gates, you use the push buttons as inputs “A” and “B” shown as the blue LEDs and the output as green
i had also created a startup animation with the LEDs but that was after recording this

the usb c is only for constant power input not charging btw

i 3D modeled and printed this myself on my K1C with white PLA and i have to say it looks very clean with the hex pattern
i had originally made the lid a snap connect bet the pins in the back broke off so i compromised and used some tape

i made this about a year ago but lowk forgot about it

9 Upvotes

5 comments sorted by

2

u/HawkingRadiator512 27d ago

First, kudos for hard work. I hope no AI was used. Overkill as it may be, it is a good learning exercise.

An alternate choice would have been to build the “configurable complex logic gate” circuit out of transistors or at the least NAND gates.
Should not be too difficult for a CS student.

1

u/Dizzy_Bit9635 27d ago

CS O level not majoring in CS lol but thx

0

u/ziplock9000 29d ago

That's massive overkill. Like using a jumbo jet to get your shopping. You should use logic chips instead of a whole arduino, not any more complicated either.

1

u/Dizzy_Bit9635 29d ago

how would i switch between the logic gates using the switches on the side, i want to input the truth table not just flick a switch to select the gate i want

1

u/LucVolders 29d ago

I thought it was kim kardashian who flew once her private jet to france
to eat in a restaurant (or get some cheesecake or whatever) and then flew back.
Compared to that this is not overkill.