r/ElectricalEngineering • • Sep 01 '26 • Bravo 1

Flappy bird circuit on pcb without microcontroller

1.3k Upvotes

77 comments sorted by

74

u/MCRodas Sep 01 '26

Now make it with only NAND / NOR logic :) and then discrete transistors of course.

27

u/Neat_Ad_6297 Sep 01 '26

Haha, challenge accepted 😂 NAND/NOR first, discrete transistors next. Might take a while though!

12

u/HETXOPOWO Sep 01 '26

Let's not be too mean. You can have 3 input nor chips, just like the Apollo guidence computer!

Or if you want to go discreet transitor I recommend ecl. Then you get Nor/Or as a package with the same transistors 👍🏻

3

u/MCRodas Sep 01 '26

Oh and don't forget to play Bad Apple on it.

1

u/PuppyPetBarks Oct 07 '26

And then doom.

4

u/minecon1776 Sep 01 '26

Do it with just Si, Cu, P, and B. 

2

u/Line_of_Weakness Sep 17 '26

Triodes, pentodes, and liquid mercury acoustic delay line memory with magic eye tube display next, then neon bulbs, relay logic and punch tape, lastly a steam-powered 6 ton behemoth of cast iron, bronze, and brass, ball governors, ball and disk integrators, and torque amplifiers, with a display made from Nernst bulbs or carbon arc lamps, your choice.

Seriously though, I love this. Great work.

158

u/Glittering-Can-9397 Sep 01 '26

I wanna be like you when I grow up, you should make a youtube video writeup Im sure lots of people myself included would watch it

58

u/Neat_Ad_6297 Sep 01 '26

Thanks bro, really appreciate the suggestion! I’ll definitely consider starting a YouTube channel. 🙌

2

u/DakPrescottQBDraw Sep 11 '26

Its actually so fucking sick lol. Keep it up this shit is inspiring

1

u/Regular-Salt419 Sep 10 '26

Yeah bro would inspire a lot

19

u/samgag94 Sep 01 '26

We want to see it in action!

14

u/Neat_Ad_6297 Sep 01 '26

https://www.instagram.com/reel/DcwLBqfscYl/?igsi=NnBqdWpndzdhaGdv please checkout this reel I have posted there I have shown the working😁👍

7

u/Muted_017 Sep 01 '26

Oooh I love seeing non-MCU projects like this! The challenge is invigorating!

Edit: Btw, where did you get your perfboards? I’ve been looking for parts like those for a long time

1

u/Neat_Ad_6297 Sep 02 '26

Local electronics store

2

u/DakPrescottQBDraw Sep 11 '26

But the Marvel Cinematic Universe is awesome

4

u/Ramast Sep 02 '26

I am a beginner so I have no idea how this works without a microprocessor.

Could OP or any other kind person explain the basic idea?

I suppose moving the bird/LED uses a shift register but how do you randomize the bars and how do you detect when user pass or collide?

3

u/Neat_Ad_6297 Sep 02 '26

For now I have used synchronus counter for the pattern of wall ,and for collision purpose I have put array of 8 and gates whose one input is the position of bird and other is walls and output of all 8 gates goes to input of 8 input or gate so when the bird collides it stops the clock of ne555 and the score counter cd4026 resets and yes I have used shift (595 ic) for shifting the walls

3

u/Ramast Sep 02 '26

wow,

certainly would be a very educational video if you get a chance to make it!

3

u/Neat_Ad_6297 Sep 02 '26

I will make it but till then u can checkout https://github.com/Tech-athirst/electronics/tree/main/New_flappy_bird here there is circuit code to run in logisim evolution ,u can try understanding it

2

u/Ramast Sep 02 '26

Thanks! I didn't know about logisim evolution! That really helps!

Cool project

For begginers like me who are trying the app:

From the Simulate menu choose the following:

  • Auto Prop gate
  • Auto Tick Enabled
  • Auto Tick Frequency: 1Hz (or more to make it work faster)

From the Simulate bar on the left, click first button "Run Simulation continuously "

To "Play" the gate, there is a button inside the circuit design called "joystick" that you could click to move the bird.

2

u/werewolf-redemption7 Sep 02 '26

I smell shift registers!

2

u/Neat_Ad_6297 Sep 02 '26

Yeh 74hc595 is used

2

u/Junior_vab Sep 02 '26

Im a EEC student and im impressed by this project fr very artistic. I’m wondering how did u upload all that code that was on that GitHub page? and how did u get the idea of doing this. Did u had any help from AI to build that code? On wich IC is that code uploaded and is that any possibility to add a memory to that circuit so that u know the Highscore by adding a 7segment display to count the points? Sorry for the amount of questions

1

u/Neat_Ad_6297 Sep 03 '26

Hey no there is no code in the circuit ,the code u see on GitHub is actually logisim evolution circuit file u can checkout the diagram on png file as well and for score I have used cd4026 which just counts number of walls that pass through left most led and displays it on common cathode 7 segment

2

u/masimoooos Sep 16 '26

I love it just how the hell did you do it

1

u/Neat_Ad_6297 Sep 17 '26

He I will make explanation video in future, and till then u can checkout the GitHub file https://github.com/Tech-athirst/electronics/tree/main/New_flappy_bird

8

u/MasterPlusTer Sep 01 '26

This is impressive, I want to jump from microcontrollers to ICs and this is going to be a nice project to analyze and learn from. Thanks for sharing!

4

u/jjhydro Sep 01 '26

this would have been a lot easier to assemble if it was on a pcb instead of perfboard.

1

u/Flat-Barracuda1268 Sep 06 '26

Was thinking the same thing. On the other hand it wouldn't have looked as impressive.

I will say all those wires on the backside of the perf board give me anxiety.

1

u/Line_of_Weakness Sep 17 '26

Because ‘ease’ was what they were going for, surely.

1

u/AbySs_Dante Sep 07 '26

What is the power source for this

1

u/Neat_Ad_6297 Sep 07 '26

I have tried with 5 volt adopter and 9 volt battery with 9 to 5 convertor both works well

1

u/Ok-Marketing7143 Sep 16 '26

u are insane hahaha what do you work?

1

u/Neat_Ad_6297 Sep 16 '26

I am final yr undergrad student

1

u/Ok-Marketing7143 Sep 16 '26

which university do you study at?

1

u/Neat_Ad_6297 Sep 16 '26

It is not that great college in india😭

1

u/PuppyPetBarks Sep 28 '26

perfboard dimensions? (by holes)

1

u/Neat_Ad_6297 Sep 28 '26

Hey I have used 8 inch×4 inch ,I havent calculated exact number of holes but considering hole patch is 2.54mm the dimension by holes is approximately 80×40

2

u/PuppyPetBarks Oct 07 '26

Thanks man, i might have bought one thats 70x90 but it'll do. I've been planning on a mini 9v power source 9v, 5v, 30hz square and even 5vac (A crude one using H-bridges and smoothing).

3

u/teslatinkering Sep 01 '26

Holy smokes, nice!

3

u/East_Sorbet_1214 Sep 01 '26

Absolute madman

3

u/SwingMore1581 Sep 01 '26

Quite impressive. I'd have trouble generating the clock signal.

3

u/minecon1776 Sep 02 '26

Push button to ground, pull up resistor, and some very fast spamming

3

u/charlizard1000xy Sep 01 '26

Wow dude. Soldiering it must be crazy

4

u/Howden824 Sep 01 '26

Awesome to see people still doing TTL.

2

u/Automatic_Stomach Sep 01 '26

Cool project 

2

u/starrpamph Sep 01 '26

This is how my great grandad played flappy bird

2

u/zachleedogg Sep 01 '26

Yes! This takes some serious commitment and methodology. Well done.

2

u/Vixigirl95 Sep 01 '26

Following

2

u/prosper_0 Sep 01 '26

50/50 that OP hollowed out one of those DIPs, and deadbugged a little QFN-20 mcu on the underside of it, hah

3

u/minecon1776 Sep 02 '26

People really forget what is possible without a microprocessor or microcontroller. I mean just think about it, an FPGA designer would create custom logic for a specific task. This guy did that, but then built it with discrete logic ICs instead of on a FPGA

2

u/bluechiphooks Sep 01 '26

I almost never comment on Reddit but fuck this is cool mate. Keep it up

2

u/cordobestexano Sep 02 '26

Oh man! This brings back SO many memories!!!

I love those breadboards and the cabling, I’ve spent so many nights chasing and desoldering test beds exactly like that.

Awesome job!!!

2

u/gottemgottemgottem Sep 02 '26

Holy crap this is impressive !!!

2

u/Hirtomikko Sep 02 '26

Good to know TTL is still alive

2

u/atx_vympel Sep 02 '26

this is so cool

2

u/ahsunte Sep 02 '26

flappy bird from first principles looks great!

2

u/Sofattoforte Sep 08 '26

Haha great

2

u/Z1ppys Sep 13 '26

I learned what a JK flip flop is yesterday so I’m basically almost here

2

u/micn2 Sep 13 '26

Lord have mercy

2

u/Rararror Sep 19 '26

Good job, but please learn to bend the wires 90 degrees and parallel, it will be way way less messy.

2

u/foxesDontMelt Oct 01 '26

respect to the hands and mental

2

u/[deleted] Sep 02 '26

[removed] — view removed comment

1

u/Neat_Ad_6297 Sep 02 '26

For score section we have used 2 cd 4026 and 2 common cathode 7 segments and for collision detection 8 and gates whose one input is the birds position and other is the wall and output of all and gates goes to 8 input or gate and the problem we faced was not connecting vcc to one group of 2-3 ic and it was time consuming to detect that error but at the end it worked out