Electronic Tribble, "Fuzzy Logic" Type

Electronic Tribble, \"Fuzzy Logic\" Type
Remember way back in the early 1970s when you would watch Star Trek? Remember how much you wanted to have a Tribble of your very own? Well, now you can! You just have to build it ... using the stone knives and bear skins of 1970s era semiconductor microelectronics. These are instructions for how to build your own purring, electronic Tribble (almost just like from Star Trek) using digital CMOS Schmitt Trigger NAND gates as analog oscillators. The instructions include theory of operation and construction, electronic schematic diagram, parts and tools lists, and detailed, step-by-step description of how to assemble the project.

Back in the late 70s, when I was in high school, I used to build these and give them to girls I had a liking for. I even managed to get a date or two from some of the recipients. Heh, the life of a high school science geek. Well, anyway...

The first few specimens I built used three 555 IC oscillators slaved to each other. After those first few I'd made of 555 chips I started thinking about how to make an equivalent circuit out of fewer, cheaper, more clever parts. Like 4xxx series CMOS inverter gates. After all, almost anyone can build a three-oscillator circuit using off-the-shelf oscillator IC chips (or a microcontroller, for the more sophisticated).
 
Remove these adsRemove these ads by Signing Up
 

Step 1Theory (such as it is) - waveforms

Theory (such as it is) - waveforms
As noted above,this version of the electronic Tribble consists of three simple oscillator circuits: main "tone", modulation, and "breathing cycle". The main tone is at a few hundred Hertz, the modulation is at a couple dozen Hertz, and the breathing cycle is at about a third of a Hertz. The oscillators are made of a form of CMOS gates and simple RC networks.

Why CMOS? High circuit impedance and very low current requirements lead to long battery life and, as we'll see below, lower parts cost and better "character" in the finished toy. Why CMOS 4xxx series? Because they can be run from a wide voltage supply: from 3 to 18 Volts -- just the thing for a toy using a 9V battery as a supply.

Aside from its extremely low current requirements digital CMOS provides a few other advantages in this analog application. First, the extremely high impedance of CMOS circuits leads to increased "noise susceptibility" -- the opposite of noise immunity -- which is something that we want in this application. Nose susceptibility adds character to the Tribble. The extremely high impedance and low internal leakage of CMOS also allows us to use small capacitor values and high resistor values in our RC networks. Resistors (of a given precision and thermal dissipation capacity) generally cost the same regardless of their Ohmic value. The same is not true of capacitors; the higher capacitances tend to cost more, and be of larger physical size, than the lower ones.

But perhaps the main attraction of using CMOS gates is the satisfaction of knowing that you are using digital logic blocks to do an analog task. A corruption of logic ... so to speak.

Some of you may have seen oscillator circuits that use simple inverters, and you could certainly build our three oscillators from a single hex inverter IC, but then you would still need a way of multiplying (AND-ing) the outputs together. Worse, since the inverter circuits require two gates per oscillator they are not the most clever, parsimonious way to build this particular toy. Therefore, the IC that I've selected for this version of the Tribble is the 4093B quad 2-input NAND Schmitt Trigger. It can provide all three oscillators as well as do the multiply/mixing of the signals.

(Actually, I would have used a hex Schmitt Trigger inverter, the 40106B, if I could have found one at the store. As I'll show below an oscillator using a Schmitt Trigger needs only a single inverter. Perhaps I'll do that one another day because it is even more interesting than the current design as an example of Micky Mouse logic and applied bullshit.)

Figure 1 shows the voltage vs. time graph of the three signals we want to mix (and the mixed result). Red traces are the RC voltages. Blue traces are the outputs from the "inverters" (actually NAND Schmitt Trigers) of the stages.

Figure 2 shows the three signals multiplied (AND-ed) together.

Note that the frequency ratios in the figures are not to scale.
« Previous StepDownload PDFView All StepsNext Step »
40 comments
Dec 21, 2011. 3:07 AMthrobscottle says:
Apparently the original tribbles had windup motors from clockwork toys in them - no electronics at all - the sound effects were put in afterwards (and I'm not even particularly interested in Star Trek!)
Jan 2, 2011. 5:18 AMDream Dragon says:
Could you clarify?

Tuning is managed by means of capacitance alone, or a combination of capacitance and resistance? Seems they should be interdependent values and some alteration might be achieved by means of preset variable resistors.

I have a slightly different project in mind and something that makes wibbly-wobbly noises at different tones and frequencies would be fun.
Jan 6, 2010. 5:27 PMabadfart says:
they also make good watch dogs for Klingons  
Dec 11, 2009. 1:30 PMMirime says:
Oooo!!! I lke the tribbles they make some peple laugh but they are great to have if you dont feel good kinda like a shmoo
Dec 6, 2009. 1:20 PMSmalfrii says:
you could just buy one from www.thinkgeek.com
Jun 19, 2009. 5:55 AMwelder guy says:
it's not going to multiply and eat all my quadrotriticaley (cerial made of wheat)? is it?
Jun 22, 2009. 7:04 PMwelder guy says:
i'm sorry dude but i have no idea what you just said in the paragraph. i understand electronics and electricity well but i don't understand gates. i'm still reading about it
Jun 5, 2009. 9:17 PMmash4077 says:
whos the cute chick in the uniform! i love star trek
Jul 19, 2008. 8:43 AMUnit042 says:
For the AND-ing, you could have used three transistors/MOSFETs in series with a high resistance, well, resistor going to GND, to provide a low while all MOSFETs/transistors are off. PS: as of this second, I've only gotten to step 1, but this looks like cool electronics, with oscillator modulating. i think I might try something like this.
Jul 20, 2008. 8:44 AMUnit042 says:
Yeah, so many ways to skin a cat. I don't care which way is used, as long as the cat's skin comes off.
Jul 19, 2008. 8:36 AMUnit042 says:
Nice electronics, but I missed that episode of Star Trek. What were the treibles? Just furry, purry things that breed like rabbits?
Jul 19, 2008. 4:36 PMduckythescientist says:
http://tv.msn.com/tv/ has most of the old Star Trek episodes. I don't know if tribbles are there but it is worth a look for Trek fans.
Jul 20, 2008. 8:41 AMUnit042 says:
Oh. I was born in 1991, but my dad watches it because it comes on TV for free. I never liked it because there was hardly ever any starship fighting, and when there was, the Enterprise would be beat up and chased away by ships half it's size(70%, 40%, 10%, need more power to the sissy shields, scotty!). Oh, and Kirk is so stupid the way he constantly beams himself onto unknown planets and always gets taken hostage along with his entire bridge crew... does he WANT to die?!? But I'm ranting. My favorite episode/movie was the wrath of kahn (I think it's somewhere on the movie shelf....) because of the knock down drag out fight that the starships had. Didn't like the ear worm/leeches much--yuck.
Jul 23, 2008. 6:17 PMUnit042 says:
Campyness? I've not heard that one before.
Jul 14, 2008. 8:12 PMGWJax says:
WOW great instructible this is how everyone should do it. Great job!!! A++++
Jul 15, 2008. 2:10 AMGWJax says:
Well I guess you just have to do the next project 3 or 4 times to get better then, just kidding it's still great! Still would like to see more but if this is the last then it must go into my favs. hehe you hould have put this into the robotics contest befour it closed. maybe next time. Jax
May 11, 2008. 11:37 AMjcomtois says:
Very nice, well-written Instructable, the informative kind that makes this site so interesting. Loved the stone knives and bearskins reference, too.
May 10, 2008. 1:37 PMfma321 says:
Great instuctable...this would make a great gag hair piece...kinda looks like my uncles...lol
May 9, 2008. 6:18 AMRetroPlayer says:
Great job! Now THIS is what an instructable should look like. Excellent documentation, lots of pictures and detailed drawings to explain, and in-depth detail in the text on a somewhat complex subject without being boring. This is magazine quality, in my opinion.
May 9, 2008. 1:35 AMrachel says:
Yay Tribbles! This is quite like a kind of stuffed toy I make, although much more sophisticated. Mine is here - it is merely a cell phone vibrator motor activated by a fabric pressure switch, so does not have nearly the character yours does, but it's the same family. My friend and I even taught a workshop on making these simple ones, at the recent Maker Faire.

Another more fanciful related toy is the Snailbot (original by Evil Mad Scientist).

I've also made a more complicated Tribble using a Qprox touch sensor chip and a wire antenna sewn to the inside of the fur covering. The touch sensor works, I believe, similarly to your variable capacitor (my understanding is that it's a capacitance sensor), and I used the same tiny vibrator motor which in this case is triggered when the Tribble is petted. I don't have an instructable on that as I only made one so far and it was kind of sloppy; I took it apart to see what I'd done so I could make another, and that's where THAT project is at just now. I do plan to write it up when I make the next one.

I will probably have to make yours, too, just to round out my Tribble-making powers (I will post a picture). The instructions look super clear and detailed! It will also help improve my electronics knowledge which is still pretty small.
May 8, 2008. 4:08 PMdarkmuskrat says:
I love how Kurk got rid of the Tribble problem. Scotty: "Well, we beamed them to the klingons ship cap'tn"
May 8, 2008. 7:30 AMnnygamer says:
I have a commercial variation one that was called a Dreeble, it came out in the 80's I think. It had 3 switches inside and if you pressed lightly it purred, too hard(more then one switch activated) it squealed. Looks just like that one too (but how do you tell one Tribble from another?)
May 8, 2008. 5:10 AMfearless_fool says:
David: Cool stuff! (Nostalgic comments w.r.t. 40xx-series CMOS elided...). Have you tried making a variable "squashable" resistor out of black conductive foam? (You would eliminate C4 and put the foam in series with R3.) As often as not, you get the foam for free with the CMOS part, which is in keeping with the elegantly minimalist approach of your design. - ff
May 8, 2008. 6:40 AMPolyhistor says:
Nice! One observation - one of your R3s in the layout drawings s/b R4 ...
May 8, 2008. 4:52 AMgmoon says:
Back in the late 70s, when I was in high school, I used to build these and give them to girls I had a liking for. I even managed to get a date or two..

Heeheehee. Great job on this. It's how electronic instructables should be done.
May 8, 2008. 4:12 AMspacepirate04 says:
Awsome!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:davidwoolsey