Author Topic: What to do with 118 CD4013 Chips?  (Read 3563 times)

0 Members and 1 Guest are viewing this topic.

Offline TheGreatGooglyMooglyTopic starter

  • Contributor
  • Posts: 22
What to do with 118 CD4013 Chips?
« on: March 08, 2017, 09:57:27 pm »
Over time I've acquired 118 CD4013 dual flip-flop chips as well as a fair amount of standard 40xx and 74xx logic.
The question is what are some fun project ideas, that ideally use all 118 of the flip-flops chips.

Open to any ideas lol. Have breadboards, perf boards and a lab full of test equipment.
All the chips are DIP

Looking forward to fun fun fun!  :-/O
 

Offline tpowell1830

  • Frequent Contributor
  • **
  • Posts: 863
  • Country: us
  • Peacefully retired from industry, active in life
Re: What to do with 118 CD4013 Chips?
« Reply #1 on: March 08, 2017, 10:04:39 pm »
Pinball machine?  :-+  :-/O  :popcorn:
PEACE===>T
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: What to do with 118 CD4013 Chips?
« Reply #2 on: March 08, 2017, 10:29:39 pm »
The difficulty in a pinball machine is building the electromechanical parts, the electronics are easy. A few years ago I implemented most of the electronics of the early 80s Gottlieb pinball hardware in VHDL as an exercise, it was based on a 6502 microprocessor.

If you want to build something with flip flops, how about a counter? Clock? Stopwatch? Memory?
 

Offline orolo

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: es
Re: What to do with 118 CD4013 Chips?
« Reply #3 on: March 08, 2017, 10:52:21 pm »
If you want to build something with flip flops, how about a counter? Clock? Stopwatch? Memory?
A heat death wake up alarm: a 32768 clock at one side of the 236 flip flops,a red led at the other. By the time it lights up, it will be the brightest light in the universe.
 
The following users thanked this post: TheGreatGooglyMoogly, xorly

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: What to do with 118 CD4013 Chips?
« Reply #4 on: March 08, 2017, 11:13:38 pm »
Not sure what you'd use for a power supply that will be resilient enough to ever need that LED.
 

Offline TheGreatGooglyMooglyTopic starter

  • Contributor
  • Posts: 22
Re: What to do with 118 CD4013 Chips?
« Reply #5 on: March 08, 2017, 11:39:12 pm »
What happens if you observe the LED light up...?  :o :scared:
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: What to do with 118 CD4013 Chips?
« Reply #6 on: March 09, 2017, 12:01:07 am »
You can try building a 8-bit CPU out of those. Try add a MMU. And then try put xv6 (a modern reimplementation - read using ISO C99 - of UNIX Version 6) on it. Bonus point if you can get Linux 4.10 there.
« Last Edit: March 09, 2017, 12:17:03 am by technix »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: What to do with 118 CD4013 Chips?
« Reply #7 on: March 09, 2017, 12:27:06 am »
A simple LED clock would be pretty good.  Takes a modest number of latches, a lot of wiring, and a little ingenuity to figure out where to put everything. :)

Not that latches/flops solve all the problems of such a circuit, but a flop-heavy solution could be interesting.

Hey, it's been done with diodes.  You're not going to let diodes outshine classic CMOS, are you? ;D

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: TheGreatGooglyMoogly

Offline technix

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: What to do with 118 CD4013 Chips?
« Reply #8 on: March 09, 2017, 12:29:35 am »
A simple LED clock would be pretty good.  Takes a modest number of latches, a lot of wiring, and a little ingenuity to figure out where to put everything. :)

Not that latches/flops solve all the problems of such a circuit, but a flop-heavy solution could be interesting.

Hey, it's been done with diodes.  You're not going to let diodes outshine classic CMOS, are you? ;D

Tim

Diodes?!? Latches and muxes using diodes?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: What to do with 118 CD4013 Chips?
« Reply #9 on: March 09, 2017, 01:05:05 am »
Diodes?!? Latches and muxes using diodes?

https://hackaday.io/project/11677-the-diode-clock

IIRC it's dynamic logic using an AC supply, and reverse recovery.  It could also be built with ferrite cores, and fewer diodes. :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Online joeqsmith

  • Super Contributor
  • ***
  • Posts: 11898
  • Country: us
Re: What to do with 118 CD4013 Chips?
« Reply #10 on: March 09, 2017, 01:25:53 am »
I've got a box of old DIP parts that still turn to from time to time. I recently needed a 60Hz source and just built it out of old CMOS parts. 

You could try to make something like a frequency counter.  Maybe some nice features like event counting, period vs freq.   

Offline technix

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: What to do with 118 CD4013 Chips?
« Reply #11 on: March 09, 2017, 01:48:39 pm »
Wait. Did this guy just solve the MOS feature size limit?

If such diode-based logic is synthesizable, Schottky barriers and small inductors can be printed using the usual CMOS photolithography process and the circuit have a manageable power draw, we may be able to build CPU chips with a minimum frequency requirement of a few GHz at a feature size of single-digit nanometers with DDL internals.

"Introducing Intel Core i7-9770K hexa-core mainstream performance processor with 4nm DDL process, and a base clock of 7GHz and boost clock of 7.5GHz. It can mostly be overclocked to over 10GHz easily." :scared:
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: What to do with 118 CD4013 Chips?
« Reply #12 on: March 09, 2017, 02:20:45 pm »
Bury them in the back yard for the archaeologists to ponder in 10,000 years.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline HSPalm

  • Regular Contributor
  • *
  • Posts: 106
  • Country: no
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2906
  • Country: gb
Re: What to do with 118 CD4013 Chips?
« Reply #14 on: March 09, 2017, 03:11:50 pm »
Not sure what you'd use for a power supply that will be resilient enough to ever need that LED.
Anything.

with 236 flip-flops and a 32768Hz clock that LED is going to light in about 1059 years.

That's 6x1048 times the current age of the universe so we will probably have hit the "big crunch" way before then.

As no-one is ever going to see the LED light up, you might as well connect the whole system to a stone - the ultimate effect will be the same :)
 
The following users thanked this post: orolo

Offline orolo

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: es
Re: What to do with 118 CD4013 Chips?
« Reply #15 on: March 09, 2017, 03:46:56 pm »
Anything.

with 236 flip-flops and a 32768Hz clock that LED is going to light in about 1059 years.

That's 6x1048 times the current age of the universe so we will probably have hit the "big crunch" way before then.

As no-one is ever going to see the LED light up, you might as well connect the whole system to a stone - the ultimate effect will be the same :)
On the contrary, there lies the greatness of this project! I envision the device as a relic of unknown origin, surviving the eons passing from sentient species to sentient species, galaxy to galaxy, leaving behind a trail of several solar masses in depleted batteries. Sages countless will ponder on the runes carved in the blocky ICs. Fanatical cults will care after the device, guarding it from glitches caused by proton decay and offering bloody sacrifies. Until 1059 years in the future, when the last sentient species, wispy things made of pure energy barely surviving on the last few scraps of heat to be harvested from pure disorder, will gather around the artifact to witness the final tick... and be annihilated by the scorching light of the red LED.

The definitive electronic gadget. You should auction it on ebay, starting the endless chain: "mysterious alien doomsday artifact (battery powered)".
 

Offline TheGreatGooglyMooglyTopic starter

  • Contributor
  • Posts: 22
Re: What to do with 118 CD4013 Chips?
« Reply #16 on: March 09, 2017, 07:47:11 pm »
I was also thinking I could make a 236 bit random number generator... Need a few XOR gates lol

 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: What to do with 118 CD4013 Chips?
« Reply #17 on: March 09, 2017, 08:24:47 pm »
Wait. Did this guy just solve the MOS feature size limit?

If such diode-based logic is synthesizable, Schottky barriers and small inductors can be printed using the usual CMOS photolithography process and the circuit have a manageable power draw, we may be able to build CPU chips with a minimum frequency requirement of a few GHz at a feature size of single-digit nanometers with DDL internals.

"Introducing Intel Core i7-9770K hexa-core mainstream performance processor with 4nm DDL process, and a base clock of 7GHz and boost clock of 7.5GHz. It can mostly be overclocked to over 10GHz easily." :scared:

Hmm, interesting thought.

I don't think it's possible, though.  AFAIK, it depends on reverse recovery, which will take some um of height and width, and distance and/or isolation trenches between diodes.  It's also a lossy process, so it might have similar process and thermal limitations to the last runs of NMOS.

And with detectors and filters, I don't think it would be very amenable to high clock rates, though that is something that can be controlled at least: I'd suppose 1N4001s could be replaced with 1N914s (or even smaller and faster PN diodes), and 1N914s replaced with RF schottkys, using an excitation source of a few GHz, and a usable logic rate on the order of some 100s MHz.

Personally, I look forward to ~10nm lossless CMOS: the chip is biphase clocked, with nice smooth sine waves or whatever, and there's a data input, data output, and an "entropy dump".  (The "dump" is necessary, because all computations must be reversible, e.g., using Toffoli or Fredkin gates.  Eventually, some unwanted data must be discarded, making the computation irreversible; hence, "entropy dump".)  This would also be the perfect design lead-in to full quantum computing, which is also reversible.

Since it's lossless, there's no need for a supply rail, and the clock lines look largely capacitive.  (The gates effectively connect or disconnect data lines from the clock lines, so voltage transitions are always carried by the clocks.)  Losses arise from the usual sources, but also any irreversible calculations.  The clock lines therefore look like lossy capacitors, so you'd use a resonant supply to power the circuit.  The entropy dump might just be some resistors.  (It shouldn't be possible to recycle the "entropy" energy, but maybe it's okay to use some diodes to get some back.)

The important feature being, though the logic is bigger (you're passing more signals in and out of each gate, and the gates need more transistors), you can integrate it as high as you want, with little concern for overheating.  This, of course, depends critically on having some efficient way to grow stacked circuits, which simply doesn't exist right now...

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline TheGreatGooglyMooglyTopic starter

  • Contributor
  • Posts: 22
Re: What to do with 118 CD4013 Chips?
« Reply #18 on: March 09, 2017, 09:27:13 pm »
Another idea I had is to make a hardware Conway's game of life... if I ever get  around to a) cleaning the lab like i'm supposed to and b) not reading about diodes lol  :popcorn:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf