I've never heard an Edison cylinder player live and was amazed at how loud the are for a purely mechanical device.
Among the goodies was this Lafayette receiver.
Lots of great stuff and Rob has such an understanding wife...
mv /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist.old
// Control a AD9851 DDS based on the good work of others including:
// Mike Bowthorpe, http://www.ladyada.net/rant/2007/02/cotw-ltc6903/ and
// http://www.geocities.com/leon_heller/dds.html
// This code by Peter Marks http://marxy.org
#define DDS_CLOCK 180000000
byte LOAD = 8;
byte CLOCK = 9;
byte DATA = 10;
byte LED = 13;
#define MHZ 1000000
void setup()
{
pinMode (DATA, OUTPUT); // sets pin 10 as OUPUT
pinMode (CLOCK, OUTPUT); // sets pin 9 as OUTPUT
pinMode (LOAD, OUTPUT); // sets pin 8 as OUTPUT
pinMode (LED, OUTPUT);
Serial.begin(9600);
}
void loop()
{
// Do a frequency sweep in Hz
for(unsigned long freq = 1 * MHZ; freq < 10 * MHZ; freq += 1 * MHZ / 4)
{
sendFrequency(freq);
delay(200);
Serial.print(freq / MHZ, DEC);
Serial.print(".");
Serial.print(freq - ((freq / MHZ) * MHZ), DEC);
Serial.print("\t");
int value = analogRead(0);
Serial.println(value, DEC);
}
Serial.println("----------");
}
void sendFrequency(unsigned long frequency)
{
unsigned long tuning_word = (frequency * pow(2, 32)) / DDS_CLOCK;
digitalWrite (LOAD, LOW); // take load pin low
for(int i = 0; i < 32; i++)
{
if ((tuning_word & 1) == 1)
outOne();
else
outZero();
tuning_word = tuning_word >> 1;
}
byte_out(0x09);
digitalWrite (LOAD, HIGH); // Take load pin high again
}
void byte_out(unsigned char byte)
{
int i;
for (i = 0; i < 8; i++)
{
if ((byte & 1) == 1)
outOne();
else
outZero();
byte = byte >> 1;
}
}
void outOne()
{
digitalWrite(CLOCK, LOW);
digitalWrite(DATA, HIGH);
digitalWrite(CLOCK, HIGH);
digitalWrite(DATA, LOW);
}
void outZero()
{
digitalWrite(CLOCK, LOW);
digitalWrite(DATA, LOW);
digitalWrite(CLOCK, HIGH);
}
set terminal png size 410, 320
set title "Off Centre Fed Dipole"
set output "OCFD.png"
set xlabel "Frequency MHz (log)"
set ylabel "SWR"
set xrange [2.7 : 32]
set log x
plot "swrMX4.txt" using 1:2 title 'SWR' with linespoints