Detailed hardware design
Now that we understand the high-level hardware architecture, we can start to dive into the details. The first step is to perform a trade study and select the different components we are going to use in our design. Since this project is just about an RGB pushbutton and an I/O expander, we can start by specifying that we are going to use the MicroPython hardware we have around the lab and the pyboard.
Next, we need to examine the I/O expanders that we can use with our pushbutton. If we look back at our requirements, there really isn't too much there to constrain us, so we will use the best practices. We will select an I/O expander that uses an I2C bus in order to limit the number of pins used and to provide flexibility ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access