Yup, It's more confusing!
KOR:
yes it is for the same project 24V IO.
You're making me work, here ... what is "for the same project 24V IO"? Define "it".
If I have the logic and the 24V io powered from the same supply I don't need the optos, as far as I know.
What "optos"?!? When did you ever mention "optos"?!! You seem to be assuming I can read minds
So I looked at the powersupplies I had access to and found this meanwell 20W 12V which I will be using for logic power and the 24V powersupply for the IO.
Wait! I thought you said that the Logic [i.e. the 74HC165(s)] will be powered from the 24V supply! So, now you're referring to the Mega side as the "logic" side, and the 74HC165 side as the "IO" side?!? Please make your language more consistent and less ambiguous!!!
I got a tip to use those shift registers for Outputs so I can safe a couple optos.
You seem to be assuming that I was privy to that conversation! Again, I can't read your mind!!
Since they need a decent 5V and they are on the 24V side of the optos they need 5V from 24V.
WHAT OPTOS?!? What needs a decent 5V ... and how did you arrive at that?
The mega pro has a recommended input voltage of 6-9V. So I need to lower the voltage to something between 6-9V on the logic side.
Do you mean "Mega" (what's a "Mega Pro"?). Assuming you mean "Mega", then False. The recommended input voltage range is 7-12V.
Do you see the problem I'm having, here? You are making assumptions, expecting me to know things there is no way I can know [like what "Optos" have to do with anything, and what "tip" you're referring to], etc. Please, when you write up a post, read it back, to yourself, and ask the following questions:
- Have I supplied enough informaiton
- Have I made my language clear, consistent and unambiguous.
- If I were the one reading this, and trying to help me, would I know what the heck I was talking about?
- You might also catch a typo--or two--thus making it even easier for us to read -- those of us who are giving you our time, for free!