The design is rooted in another proven design, but changed to take advantage of parts ... of the Arduino code is how it deals with the nonlinear nature of the diodes used in the circuit.
Apart from understanding the Arduino's code language, one of the most confusing parts about the platform ... the Nano is a classic platform ideal for basic circuit building and breadboard ...