Minor refactoring and reduce refresh rate
Added sketch for arduino
S1 in the diagram refers to a separated aluminium sheet