The WS2812B leds are daisy chained in each panel. Since there are four of these panels, they all share the data line. The Arduino "thinks" there are only 40 leds(8x5) but in fact there are 120. The reason for not connecting the panels linearly(thereby daisy chaining all 120 leds) is to reduce communication time. Instead, the connections branch off to the four panels i.e. the wires connect to a screw terminal block on the perfboard.. We do not need the leds to be individually addressable but if all of them are connected linearly then the last (120th) led will take a significant amount of time to respond and this might be an issue when using high stimulation frequencies.
All the peripheral components(indicator leds, buzzer, and cooling fans) are connected to the perfboard. The fans are switched through a transistor since the Arduino itself cannot power two such fans for circulation.
This is a schematic of the circuit.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.