$begingroup$ This is not a complete respond to but might remedy part of the challenge with optoswitches, and is too lengthy for your remark. A priority that I've with this technique is usually that The present drawn with the choose switches might be to A lot for the previous IC https://lennyu223ezs8.wikiconverse.com/user