User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mission:log:2014:02:08:playing-with-my-pigi-jamest42 [2014/02/09 22:38] – inserted pics jamestmission:log:2014:02:08:playing-with-my-pigi-jamest42 [2014/02/14 19:36] (current) – fix in program code comments jamest
Line 1: Line 1:
 ====== Personal Log: PiGI Testing ====== ====== Personal Log: PiGI Testing ======
  
-Some time ago i stumbled upon the [[lab:pigi|PiGI]] project, joined the chatroom and somehow convinced chron0 to send me a prototype board. Thanks for that! So here will be a summary of my testing of the PiGI.+Some time ago i stumbled upon the [[lab:pigi|PiGI]] project, joined the chatroom and somehow convinced chrono to send me a prototype board. Thanks for that! So here will be a summary of my testing of the PiGI.
  
 {{ :mission:log:2014:02:08:pigi-jamest42.jpg?200 |}} {{ :mission:log:2014:02:08:pigi-jamest42.jpg?200 |}}
Line 50: Line 50:
    /*    /*
   Activating the Interrupt: If the signal on Pin 2 drops below the threshold "FALLING",   Activating the Interrupt: If the signal on Pin 2 drops below the threshold "FALLING",
-  the function Interrupt() is called+  the function CountInterrupt() is called
    */    */
   attachInterrupt(0, CountInterrupt, FALLING);   attachInterrupt(0, CountInterrupt, FALLING);
Line 104: Line 104:
    /*    /*
   Activating the Interrupt: If the signal on Pin 2 drops below the threshold "FALLING",   Activating the Interrupt: If the signal on Pin 2 drops below the threshold "FALLING",
-  the function Interrupt() is called+  the function CountInterrupt() is called
    */    */
   attachInterrupt(0, CountInterrupt, FALLING);   attachInterrupt(0, CountInterrupt, FALLING);
Line 137: Line 137:
 ==== Generating random numbers (proof-of-concept) ==== ==== Generating random numbers (proof-of-concept) ====
  
-Recently, i visited a lecture about computer physics, and when we discussed different random number generators I had the idea to implement a random number generator based on radioactive decay. See [[https://www.sparkfun.com/tutorials/132|This Sparfun tutorial for the principles.]]+Recently, i visited a lecture about computer physics, and when we discussed different random number generators I had the idea to implement a random number generator based on radioactive decay. See [[https://www.sparkfun.com/tutorials/132|this Sparfun tutorial for the principles]] or [[http://www.ciphergoth.org/crypto/unbiasing/|this page]].
  
 <sxh c; toolbar:false> <sxh c; toolbar:false>