⚠️ WARNING: This page is obsolete
Articles typically receive this designation when the technology they describe is no longer relevant, code
provided is later deemed to be of poor quality, or the topics discussed are better presented in future
articles. Articles like this are retained for the sake of preservation, but their content should be
critically assessed.
We’ve all heard the urban legend where someone’s tooth filling picks up radio signals, some versions claim AM radio stations’ music is heard, others that wartime Morse code is heard. Is this really possible? Well, as a dental student and an electrical engineering / RF engineering enthusiast, I can think of no one better prepared to put this myth to the test! Yeah, I’m going to put my money where my mouth is. (zing!) Myth Busters attempted to replicate this, but they concluded it was “busted”, however I think they were going about it the wrong way. Let’s back up! Here’s a quote from Lucille Ball who is often accredited for originating this urban legend:
One night I came into the Valley over Coldwater Canyon, and I heard music. I reached down to turn the radio off, and it wasn't on. The music kept getting louder and louder, and then I realized it was coming from my mouth. I even recognized the tune. My mouth was humming and thumping with the drumbeat, and I thought I was losing my mind. I thought, What the hell is this? Then it started to subside. I got home and went to bed, not sure if I should tell anybody what had happened because they would think I was crazy.
--Lucille Ball
It was noted that Lucy recently had several temporary lead fillings installed in her teeth which caused this unique phenomenon. Let’s assume this isn’t a made-up story. If this were possible, what would cause it? Without going into detail as to how (whether by galvanic corrosion or other means), we’d have to assume that RF could be absorbed by the filling (whatever type it was), and turned into electrical activity. This electrical activity was either transferred directly to the nerves (felt as tingly electric shocks, which I feel isn’t likely) or converted into mechanical energy (creating vibrations which would be hears as sound waves). The piezoelectric effect may be one method where an electrical signal could produce these vibrations. Many small speakers are called piezoelectric speakers, because they have a small crystal in them (usually quartz) which changes its dimension as electricity is applied to the crystal, creating mechanical vibrations (turned into sound waves). Tooth enamel is 98% hydroxyapatite crystal - I wonder if it could be coaxed to vibrate similarly to quartz? There’s only one way to find out!
First, I start with a jar of teeth. Yeah, this is mine. Don’t ask how I got it! They’re all nasty as heck, and require sterilization before I will touch them without gloves. There are many advantages of spending every day in a medical setting, one of which is easy access to an autoclave! After picking a tooth which I think will have a lot of enamel I can isolate, I sterilized it.
I started by sectioning the tooth mesio-distally using a slow-speed air-driven handpiece and a #2 round burr. As I cut through the enamel, you can see the darker, yellowish dentin layer showing through.
This is my test subject. It’s a maxillary left first premolar. My goal is to isolate only enamel from this tooth, take it home and experiment with it.
Although dentin is crystal too, it’s about half organic matter and I feel it’s less likely to exhibit significant piezoelectric effect. Therefore, I’m going to try to eliminate all the dentin attached to the enamel. The image above shows some yellow dentin remaining near the center of the enamel. The lingual surface of the tooth has already been removed, leaving a thin shell of the facial surface. I’ll try to be more aggressive taking out more dentin…
Oops! Enamel is strong, but brittle. This brittleness is exacerbated by the process of autoclaving. While trying to drill away dentin, a large amount of the enamel chipped off, but I think it’s enough to use for my experiment.
Here’s what I have to work with. It’s pretty thick - I imagine if I make it thinner still, it will have a better chance of vibrating. Either way, it’s a start! The view above shows the facial aspect of the tooth - just think, this was probably on someone’s mouth for 50 years, viewed by thousands of people. Now it’s in my hands, and I’m about to turn it into a radio. I love my life.
From the other side, you can see enamel gets thicker toward one side of the tooth. My plan once I go home tonight (after I spend the afternoon in oral surgery, possibly extracting some teeth) is to gator-clip leads onto different sections of this tooth and run current through it. I’m thinking half a watt of 28MHz (since I have that transmitter I made yesterday still on my workbench), amplitude-modulated to produce a 300Hz tone. If my piezoelectric tooth enamel theory holds water, the tooth will vibrate at 300Hz when I do this. I can’t wait to try it out!
We had a cancellation in the student oral surgery clinic, so with my unexpected free time I decided to prepare another tooth and attempt to isolate a larger, thinner selection of enamel. I chose a maxillary left lateral incisor this time, and carefully drilled it down until it was only enamel, and pretty thin at that. Take a look!
I don’t have my calipers on me, so I can only estimate its thickness to be between 500 and 1000 microns. It’s likely still too thick to vibrate extremely well, but it will be a good starting point. We’ll see how it fairs when I apply some RF current through it tonight at home!
To add credibility to this story, here is the official description of an episode from the Gilligan’s Island Episode List wikipedia page:
Gilligan's mouth becomes a radio when a filling in a tooth is knocked loose. Just in time too, as the regular radio is broken and a monster typhoon is on its way.
"Hi-Fi Gilligan", Season 2, Episode 10, November 25, 1965
I’m starting to feel like I might have been played. I tried sending different types of current through flakes of enamel and nothing I did seemed to make it vibrate measurably. I tried audio level 5V square waves, audio level modulated RF 30PPV sine waves, and a few other things at all locations on the enamel, but I couldn’t get it to produce sound. I think it’s either (a) not thin enough to vibrate freely, (b) not highly piezoelectric, (c) not fed the correct frequency, for which I really need a RF sweep generator, or (d) simply not possible and I’m chasing a ghost on this one… If someone has any ideas of what to try, I’d appreciate it. If I can’t make it vibrate from electrical current, I’ll never make progress toward proving the “tooth radio” story, so I guess it ends here for now. If you have any ideas, feel free to share them with me! I’ll probably move on to bigger, better things now…
Second wind: I’m starting to think that I’m beginning this project too complexly. I know a quartz peizoelectric speaker works. I should probably start by replicating this, using a fragment of enamel rather than quartz. Also, most of the volume from a peizo speaker comes from its resonant chamber. Technically, this could be vibrating in front of me right now and I wouldn’t be able to hear or see it! I should find a crystal peizo speaker, replace the quartz with enamel, and start from there…
SUCCESS! I can’t believe I gave up that easily! I’d actually started moving onto another project, when I had an idea and revisited this one. So what if the piezoelectric vibration experiment didn’t work? Is it possible that RF could be turned into electrical signals that could be sensed by the mouth? Two dissimilar metals in contact may form a P-N junction, the fundamental unit of semiconductors. A simple diode would take audio-level amplitude modulated radio frequency signal and act as an envelope detector, producing electrical output corresponding to the audio used to modulate the carrier signal. A simple diode should do the same thing. Therefore, if a diode in my mouth produces a tingle of electricity upon RF exposure, and if I can figure out which dental materials are P-type and N-type, I can replicate this! First test, diode.
There’s a simple 1N914 diode with a tooth beside it for scale reference. A diode, when exposed to RF, acts a bit like a half-wave rectifier, the body acts as a lowpass filter, and the result is a small electrical current delivered upon RF exposure. The black stripe indicates the + side of the diode. I place this on my tongue, touch the other end with my hand and and let’s try keying up a transmitter…
ZAP! Even though I’m not holding the radio (as evidenced by a black/Mexican hand with nail polish), every time my wife presses the transmit button I feel a slight tingle in my mouth. This is a 5W radio a few feet away. I couldn’t even imagine what a 50,000 watt AM radio station would feel like! Now, if I can just figure out which dental materials would act like a diode, I can construct this dental device in a human tooth and measure the current produced! If I’m confident it’s sterilized, I guess I can put it in my mouth and see if I can feel it tingle. eww! I’ll cross that bridge when I come to it. Time for more research!
⚠️ WARNING: This page is obsolete
Articles typically receive this designation when the technology they describe is no longer relevant, code
provided is later deemed to be of poor quality, or the topics discussed are better presented in future
articles. Articles like this are retained for the sake of preservation, but their content should be
critically assessed.
My expression is completely flat right now. I simply cannot believe I’m about to say what I’m preparing to say. I spent nearly a year cracking large prime numbers. In short, I took-on a project I called _The Flowering N’th Prime Project, where I used my SheevaPlug to generate a list of every [every millionth] prime number. The current “golden standard” is this page where one can look-up the N’th prime up to 1 trillion. My goal was to reach over 1 trillion, which I did just this morning! I was planning on being the only source on the web to allow lookups of prime numbers greater than 1 trillion.
However, when I went to look at the logs, I realized that the software had a small, fatal bug in it. Apparently every time the program restarted (which happened a few times over the months), although it resumed at its most recent prime number, it erased the previous entries. As a result, I have no logs below N=95 billion. In other words, although I reached my target this morning, it’s completely irrelevant since I don’t have all the previous data to prove it. I’m completely beside myself, and have no idea what I’m going to do. I can start from the beginning again, but that would take another YEAR. [sigh]
So here’s the screw-up. Apparently I coded everything correctly on paper, but due to my lack of experience I overlooked the potential for multiple appends to occur simultaneously. I can only assume that’s what screwed it up, but I cannot be confident. Honestly, I still don’t know specifically what the problem is. All in all, it looks good to me. Here is the relevant Python code.
def add2log(c,v):
f=open(logfile,'a')
f.write("%d,%dn"%(c,v))
f.close()
def resumeFromLog():
f=open('log.txt')
raw=f.readlines()[-1]
f.close()
return eval("["+raw+"]")
For what it’s worth, this is what remains of the log file:
953238,28546251136703
953239,28546282140203
953240,28546313129849
...
1000772,30020181524029
1000773,30020212566353
1000774,30020243594723
⚠️ WARNING: This page is obsolete
Articles typically receive this designation when the technology they describe is no longer relevant, code
provided is later deemed to be of poor quality, or the topics discussed are better presented in future
articles. Articles like this are retained for the sake of preservation, but their content should be
critically assessed.
My goal is to create a QRPP (extremely low power) transmitter and modulation method to send QRSS (extremely slow, frequency shifting data) efficiently, able to be decoded visually or with automated image analysis software. This evolving post will document the thought process and development behind AJ4VD's Frequency Shift Keying method, vdFSK.
Briefly, this is what my idea is. Rather than standard 2-frequencies (low for space, high for tone) QRSS3 (3 seconds per dot), I eliminate the need for pauses between dots by using 3 frequencies (low for a space between letters, medium for dot, high for dash). The following images compare my call sign (AJ4VD) being sent with the old method, and the vdFSK method.
Again, both of these images say the same thing: AJ4VD, .- .--- ....- ...- -..
However, note that the above image has greater than a 3 second dot, so it’s unfairly long if you look at the time scale. Until I get a more fairly representative image, just appreciate it graphically. It’s obviously faster to send 3 frequencies rather than two. In my case, it’s over 200% faster.
This is the code to generate audio files converting a string of text into vdFSK audio, saving the output as a WAV file. Spectrographs can be created from these WAV files.
# converts a string into vdFSK audio saved as a WAV file
import numpy
import wave
from morse import *
def makeTone(freq, duration=1, samplerate=5000, shape=True):
signal = numpy.arange(duration*samplerate) / \
float(samplerate)*float(freq)*3.14*2
signal = numpy.sin(signal)*16384
if shape == True: # soften edges
for i in range(100):
signal[i] = signal[i]*(i/100.0)
signal[-i] = signal[-i]*(i/100.0)
ssignal = ''
for i in range(len(signal)): # make it binary
ssignal += wave.struct.pack('h', signal[i])
return ssignal
def text2tone(msg, base=800, sep=5):
audio = ''
mult = 3 # secs per beep
msg = " "+msg+" "
for char in msg.lower():
morse = lookup[char]
print char, morse
audio += makeTone(base, mult)
for step in lookup[char]:
if step[0] == ".":
audio += makeTone(base+sep, int(step[1])*mult)
if step[0] == "-":
audio += makeTone(base+sep*2, int(step[1])*mult)
if step[0] == "|":
audio += makeTone(base, 3*mult)
return audio
msg = "aj4vd"
file = wave.open('test.wav', 'wb')
file.setparams((1, 2, 5000, 5000*4, 'NONE', 'noncompressed'))
file.writeframes(text2tone(msg))
file.close()
print 'file written'
# library for converting between text and Morse code
raw_lookup="""
a.- b-... c-.-. d-.. e. f..-. g--. h.... i.. j.--- k-- l.-.. m--
n-. o--- p.--. q--.- r.-. s... t- u.- v...- w.-- x-..- y-.-- z--..
0----- 1.---- 2..--- 3...-- 4....- 5..... 6-.... 7--... 8---.. 9----.
..-.-.- =-...- :---... ,--..-- /-..-. --....-
""".replace("n","").split(" ")
lookup={}
lookup[" "]=["|1"]
for char in raw_lookup:
"""This is a silly way to do it, but it works."""
char,code=char[0],char[1:]
code=code.replace("-----","x15 ")
code=code.replace("----","x14 ")
code=code.replace("---","x13 ")
code=code.replace("--","x12 ")
code=code.replace("-","x11 ")
code=code.replace(".....","x05 ")
code=code.replace("....","x04 ")
code=code.replace("...","x03 ")
code=code.replace("..","x02 ")
code=code.replace(".","x01 ")
code=code.replace("x0",'.')
code=code.replace("x1",'-')
code=code.split(" ")[:-1]
#print char,code
lookup[char]=code
Automated decoding is trivial. The image above was analyzed, turned into the image below, and the string (AJ4VD) was extracted:
# given an image, it finds peaks and pulls data out
from PIL import Image
from PIL import ImageDraw
import pylab
import numpy
pixelSeek = 10
pixelShift = 15
def findPeak(data):
maxVal = 0
maxX = 0
for x in range(len(data)):
if data[x] > maxVal:
maxVal, maxX = data[x], x
return maxX
def peaks2morse(peaks):
baseFreq = peaks[0]
lastSignal = peaks[0]
lastChange = 0
directions = []
for i in range(len(peaks)):
if abs(peaks[i]-baseFreq) < pixelSeek:
baseFreq = peaks[i]
if abs(peaks[i]-lastSignal) < pixelSeek and i < len(peaks)-1:
lastChange += 1
else:
if abs(baseFreq-lastSignal) < pixelSeek:
c = " "
if abs(baseFreq-lastSignal) < pixelSeek:
c = " "
if abs(baseFreq-lastSignal) < pixelSeek:
c = " "
directions.append(
[lastSignal, lastChange, baseFreq, baseFreq-lastSignal])
lastChange = 0
lastSignal = peaks[i]
return directions
def morse2image(directions):
im = Image.new("L", (300, 100), 0)
draw = ImageDraw.Draw(im)
lastx = 0
for d in directions:
print d
draw.line((lastx, d[0], lastx+d[1], d[0]), width=5, fill=255)
lastx = lastx+d[1]
im.show()
im = Image.open('raw.png')
pix = im.load()
data = numpy.zeros(im.size)
for x in range(im.size[0]):
for y in range(im.size[1]):
data[x][y] = pix[x, y]
peaks = []
for i in range(im.size[0]):
peaks.append(findPeak(data[i]))
morse = peaks2morse(peaks)
morse2image(morse)
print morse