<div dir="ltr">Hi all<div>Implementation of my logging of naps continues:</div><div><ol><li>10cm x 30 cm  light weight aluminum sheeting under mattress cover</li><li>feeding into 4ft twisted pair</li><li>feeding schottky diode</li><li>(I&#39;d like to amplify the signal at this point by a factor 5) HELP!</li><li>feeding mcp3008 ADC</li><li>feeding raspberry pi b+ SPI input</li></ol></div><div>One wire of the twisted pair is grounded  to earth and the other end is unattached at the foil. I thought this might reduce antenna pickup between foil and ADC.</div><div><br></div><div>I&#39;m currently measuring the 1/2 volt amplitude of the 60 cycle hum picked up by the foil which is reduced by half when my body is on top of the foil.  The mcp3008+RPI can sample about 100 times per 60hz cycle... good enough.  Here is a plot of those samples.  1024 would be max amplitude</div><div><br></div><div><img src="cid:ii_kw5l67q41" alt="image.png" width="162" height="285" style="margin-right: 0px;"><br></div><div><br></div><div>Below is a chart from midnight to noon. I got up a couple of times in the night, then I got up around 8am, then again at about 9am,</div><div>The blue &quot;short&quot; line is a thermistor reading the room temperature, and red &quot;long&quot; is a thermistor reading temperature beside the foil, for a check of antenna sanity.</div><div>The yellow line, &quot;cap&quot; , is an integration of  a positive half cycles, divided by 10.  I take measurements every 10 minutes.</div><div><img src="cid:ii_kw5jtq9b0" alt="image.png" width="502" height="183" style="margin-right: 0px;"><br></div><div>Next I need to add the amplifier, </div><div><br></div><div>--<img src="cid:ii_kw5mpd9i2" alt="image.png" width="166" height="170" style="margin-right: 0px;"></div><div><br></div><div>and then some logic to turn on the alarm if my afternoon nap  goes over an hour.\U0001f62f<br></div><div><br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">George Bowden  250-893-7423<div>Victoria BC</div></div></div></div></div>