r/ArduinoProjects • • Oct 19 '26

Showcased Project CS project: Logic gate simulator

Enable HLS to view with audio, or disable this notification

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

View all comments

2

u/HawkingRadiator512 Oct 21 '26

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 Oct 22 '26

CS O level not majoring in CS lol but thx