This past week I focused on sourcing a bigger piece of granite (granite is by nature slightly radioactive and will be the source for generating random numbers with the geiger counter) and the circuit for the user interaction. I used an example from the adafruit-learn section as the basis for my code which will interface with the geiger-counter. The circuit will perform the following tasks:
- listen to knocks of the users against the stone with a piezo element
- listen to geiger counter (convert 3.3 V of geiger-counter pulse to 5 V of Arduino digital-in)
- compare the knocks of the user with the inner true random decay pattern of the granite (measured with the geiger counter)
- trigger a solenoid for 10s in the true random decay pattern of the granite if user and stone pattern align / if user and stone are "in sync"