Arduino IO Expansion
- cornholio
- Away
- Platinum Member
Less
More
- Posts: 1073
- Thank you received: 358
05 Jan 2025 00:54 #318136
by cornholio
Replied by cornholio on topic Arduino IO Expansion
Thank you for confirming that as soon as you say you will not think someone of being something they deny it.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 925
- Thank you received: 143
05 Jan 2025 01:30 #318140
by blazini36
Replied by blazini36 on topic Arduino IO Expansion
I think maybe you need to take some time off and work some things out. That's beyond bizarre.
Please Log in or Create an account to join the conversation.
- cornholio
- Away
- Platinum Member
Less
More
- Posts: 1073
- Thank you received: 358
05 Jan 2025 02:02 #318142
by cornholio
Replied by cornholio on topic Arduino IO Expansion
Oh here we go, something that someone thinks else that is foreign to you, you allude to some sort of mental issues.......confirmation umber 2, thank you once again.
You really are the archetypal NPC.
You really are the archetypal NPC.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 925
- Thank you received: 143
05 Jan 2025 10:32 #318154
by blazini36
Replied by blazini36 on topic Arduino IO Expansion
lol OK, here's a summary of the conversation:
Me "hey you're wrong about this serial thing"
You: "Oh yeah well you're a fascist......and an NPC.
This is pretty embarrassing.
Me "hey you're wrong about this serial thing"
You: "Oh yeah well you're a fascist......and an NPC.
This is pretty embarrassing.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3999
- Thank you received: 1726
05 Jan 2025 10:47 #318155
by Aciera
Replied by Aciera on topic Arduino IO Expansion
Maybe you guys could just agree to disagree and move on?
Please Log in or Create an account to join the conversation.
- cornholio
- Away
- Platinum Member
Less
More
- Posts: 1073
- Thank you received: 358
05 Jan 2025 11:28 #318156
by cornholio
It seems you got the wrong end of the stick. This was my statement.
This is kind of going off the rails now. I quite happy to not totally agree with you but also not think you are a fascist.
I did agree to not agree, was happy to do so.
I don't know how saying "not think you are a fascist" is calling you fascist. I would think it means the complete opposite.
Now the NPC comment was not right, but then again suggesting someone may have a mental issue was wrong as well. Yes that was childish on my behalf. [joke]But then again you stated it.[/joke]
For the sake of harmony I unconditionally withdraw the NPC statement, I'm kind of impressed you're aware of the term.
I would also implore you to reread the portion of text where you incorrectly thought I called you a fascist. It was half meant as a bit of levity and half meant to see what reaction you would have. Unfortunately you reacted as many others have on previous occasions, you see one word and pay no attention to the words before & after. In all reality resorting to calling someone a fascist to a very minor disagreement is way over the top. Furthermore it would be an incorrect use of the word. To think that you ,quoting definition of a fascist, ie: political philosophy characterized by authoritarian views and a strong central government, would be the greatest of leaps. You mentioned no hard adherence to authoritarian views nor support of a strong central government.
Replied by cornholio on topic Arduino IO Expansion
lol OK, here's a summary of the conversation:
Me "hey you're wrong about this serial thing"
You: "Oh yeah well you're a fascist......and an NPC.
This is pretty embarrassing.
It seems you got the wrong end of the stick. This was my statement.
This is kind of going off the rails now. I quite happy to not totally agree with you but also not think you are a fascist.
I did agree to not agree, was happy to do so.
I don't know how saying "not think you are a fascist" is calling you fascist. I would think it means the complete opposite.
Now the NPC comment was not right, but then again suggesting someone may have a mental issue was wrong as well. Yes that was childish on my behalf. [joke]But then again you stated it.[/joke]
For the sake of harmony I unconditionally withdraw the NPC statement, I'm kind of impressed you're aware of the term.
I would also implore you to reread the portion of text where you incorrectly thought I called you a fascist. It was half meant as a bit of levity and half meant to see what reaction you would have. Unfortunately you reacted as many others have on previous occasions, you see one word and pay no attention to the words before & after. In all reality resorting to calling someone a fascist to a very minor disagreement is way over the top. Furthermore it would be an incorrect use of the word. To think that you ,quoting definition of a fascist, ie: political philosophy characterized by authoritarian views and a strong central government, would be the greatest of leaps. You mentioned no hard adherence to authoritarian views nor support of a strong central government.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 925
- Thank you received: 143
06 Jan 2025 05:45 #318192
by blazini36
Replied by blazini36 on topic Arduino IO Expansion
OK I think that's beating a dead horse now, hopefully a mod will just wipe out the last 10 posts or so.....
Anyway I posted this as an issue on the Git repo of this....
I'm pretty bad with "code" so it'll take me all day to probably get nowhere but when I first started messing with Arduino Connector I whipped up a couple of different BOBs and first used it with a matrix style key pad I made. My friend added some code to AC that made it work correctly but I wasn't thrilled about the scanning/pulsing LEDs. So I went back and made the keypad out of I2C IO expanders. These are really just I2C inputs and outputs, nothing specific to a keypad. I built the keypad but dropped this cuz of the lag issues.
Now that I'm sort of picking it back up (hopefully the lag is resolved) I actually got to testing the keypad and it does work with a basic test sketch. Ideally it would be nice if I2C IO were added as a different input type to Arduino connector but just as basic inputs/outputs.If anyone wants to make an attempt, this is an example of working I2C IO and the schematic for my keypad. Seems like an easy thing if you know what you're doing.....unfortunately I don't. I'm testing this with an Arduino Mega but the I2C keypad was actually made for a Teensy 4.1 which is a hell of alot faster but has much less IO
Anyway I posted this as an issue on the Git repo of this....
I'm pretty bad with "code" so it'll take me all day to probably get nowhere but when I first started messing with Arduino Connector I whipped up a couple of different BOBs and first used it with a matrix style key pad I made. My friend added some code to AC that made it work correctly but I wasn't thrilled about the scanning/pulsing LEDs. So I went back and made the keypad out of I2C IO expanders. These are really just I2C inputs and outputs, nothing specific to a keypad. I built the keypad but dropped this cuz of the lag issues.
Now that I'm sort of picking it back up (hopefully the lag is resolved) I actually got to testing the keypad and it does work with a basic test sketch. Ideally it would be nice if I2C IO were added as a different input type to Arduino connector but just as basic inputs/outputs.If anyone wants to make an attempt, this is an example of working I2C IO and the schematic for my keypad. Seems like an easy thing if you know what you're doing.....unfortunately I don't. I'm testing this with an Arduino Mega but the I2C keypad was actually made for a Teensy 4.1 which is a hell of alot faster but has much less IO
Attachments:
Please Log in or Create an account to join the conversation.
- cornholio
- Away
- Platinum Member
Less
More
- Posts: 1073
- Thank you received: 358
06 Jan 2025 06:18 #318195
by cornholio
Replied by cornholio on topic Arduino IO Expansion
Did you think about using a 74c923, 4x5 matrix decoder, requires 5 pins for data, one for data available pin and one, if required for data output enable. Could make PCB layout easier, that's if you are looking for a 1 of 20 key input. If you're just looking for multiple inputs to be on at the same time maybe not so useful......although the key could be "latched" via software.
The 74c922 can be expanded to a 32 input setup.
www.mouser.com/datasheet/2/149/MM74C922-...xBlJAaX9SvHCYaJQVzJt
I bought about 10 of them off aliexpress a while back and haven't had any failures.
The 74c922 can be expanded to a 32 input setup.
www.mouser.com/datasheet/2/149/MM74C922-...xBlJAaX9SvHCYaJQVzJt
I bought about 10 of them off aliexpress a while back and haven't had any failures.
Please Log in or Create an account to join the conversation.
- cornholio
- Away
- Platinum Member
Less
More
- Posts: 1073
- Thank you received: 358
06 Jan 2025 06:28 #318198
by cornholio
Replied by cornholio on topic Arduino IO Expansion
Or for inputs you could use one of those USB arcade boards which appear as a HID, whether you are going to use the arduino or HID device, it's all going to filter its way through the USB stack.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 925
- Thank you received: 143
06 Jan 2025 06:49 #318200
by blazini36
Replied by blazini36 on topic Arduino IO Expansion
The MCP23017 is for inputs OR outputs. In the keypad example it is independently controlling the LEDs inside of the pushbuttons.
Like I said it has almost nothing to do with a keypad, this is just IO, it could be anything so I have no specific use for keypad encoders.
You can see there I'm using 4 16bit IO expanders, that's 64 extra IO from a single I2C port. These use 3 address pins so you could be using 8 of them on 1 I2C port. I already made this so I don't have any use for some other type of hardware plus that is not useful to other people.
The code will eventually get stuffed in there, even if I have to fork it and bribe a friend to do it.
Like I said it has almost nothing to do with a keypad, this is just IO, it could be anything so I have no specific use for keypad encoders.
You can see there I'm using 4 16bit IO expanders, that's 64 extra IO from a single I2C port. These use 3 address pins so you could be using 8 of them on 1 I2C port. I already made this so I don't have any use for some other type of hardware plus that is not useful to other people.
The code will eventually get stuffed in there, even if I have to fork it and bribe a friend to do it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds