DMG I2C PCB Help
-
- Posts: 3
- Joined: Sat Jul 02, 2016 11:02 pm
DMG I2C PCB Help
So, I accidentally bought the custom PCB from Kitsch-bent that uses I2C instead of the traditional solder points and I have no idea how to use it. Does anyone know where to point me to figure out how to use it? Where would I solder it to my Pi? I've never done anything with I2C before, and I am totally confused. It's the last part I need to finish and I'm done! So all help is appreciated.
This one: http://store.kitsch-bent.com/product/ex ... 2c-version
This one: http://store.kitsch-bent.com/product/ex ... 2c-version
- Kilren
- Posts: 574
- Joined: Wed May 11, 2016 4:40 pm
- Location: Washington, USA
- Has thanked: 35 times
- Been thanked: 84 times
Re: DMG I2C PCB Help
@kitsch-bentroneyizpie wrote:So, I accidentally bought the custom PCB from Kitsch-bent that uses I2C instead of the traditional solder points and I have no idea how to use it. Does anyone know where to point me to figure out how to use it? Where would I solder it to my Pi? I've never done anything with I2C before, and I am totally confused. It's the last part I need to finish and I'm done! So all help is appreciated.
This one: http://store.kitsch-bent.com/product/ex ... 2c-version
- FreddySalted
- Posts: 26
- Joined: Sat Jun 18, 2016 2:09 pm
- Location: West Country, UK
- Has thanked: 3 times
- Been thanked: 15 times
Re: DMG I2C PCB Help
Take a look at this page as they use the same MCP23017 I2C chip as the Kitsch-Bent PCB
https://github.com/recalbox/mk_arcade_joystick_rpi
Scroll about 2/3 of the way down the page. I have not tested this method, nor do i plan to implement it. Just trying to help with a little piece of info I found.
https://github.com/recalbox/mk_arcade_joystick_rpi
Scroll about 2/3 of the way down the page. I have not tested this method, nor do i plan to implement it. Just trying to help with a little piece of info I found.
-
- Posts: 3
- Joined: Sat Jul 02, 2016 11:02 pm
Re: DMG I2C PCB Help
Thanks guys! Yeah I've looked everywhere and can't find an answer really O.o I appreciate the link! I'll hopefully have this figured out today.
- Kilren
- Posts: 574
- Joined: Wed May 11, 2016 4:40 pm
- Location: Washington, USA
- Has thanked: 35 times
- Been thanked: 84 times
Re: DMG I2C PCB Help
Any luck yet? @kitsch-bent is a user on the forum, I was hoping he'd say something the last time I pasted him and support his product.roneyizpie wrote:Thanks guys! Yeah I've looked everywhere and can't find an answer really O.o I appreciate the link! I'll hopefully have this figured out today.
Let us know if you solve it.
- kitsch-bent
- Posts: 93
- Joined: Tue May 10, 2016 4:15 pm
- Has thanked: 31 times
- Been thanked: 20 times
Re: DMG I2C PCB Help
must have missed the notification before, my bad!Kilren wrote:Any luck yet? @kitsch-bent is a user on the forum, I was hoping he'd say something the last time I pasted him and support his product.roneyizpie wrote:Thanks guys! Yeah I've looked everywhere and can't find an answer really O.o I appreciate the link! I'll hopefully have this figured out today.
Let us know if you solve it.
the place to solder this board to the Pi depends entirely on your code and how you are addressing it. there isn't a standard way, its really up to you in how you set up your Pi for I2C communication. this particular IC (MCP23017) is used a lot in hobby projects and you'll find a lot of examples using it if you poke around google. including on/with a Pi.
the example code on the product page is an arduino script which is basically good for testing it and to see the bare minimum setup required to get the IC going. (internal pull-ups and reading inputs). make sure you engage the internal pull-ups in your code otherwise you'll get bad readings back.
its full of Game Boy Zero stuff!!! -----> -----> -----> http://store.kitsch-bent.com
(^_^) *(^_^)* (^_^) >*(^_^)*< (^_^) *(^_^)* (^_^)
(^_^) *(^_^)* (^_^) >*(^_^)*< (^_^) *(^_^)* (^_^)
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: DMG I2C PCB Help
Excuse me, but i am hijacking this thread.
Can someone please explain to me the differences of this method?
What are the pros and cons of using I2C instead of the usual way?
Is this saving pins or only wires? You would still need a Teensy/Arduino, i guess.
Can someone please explain to me the differences of this method?
What are the pros and cons of using I2C instead of the usual way?
Is this saving pins or only wires? You would still need a Teensy/Arduino, i guess.
- kitsch-bent
- Posts: 93
- Joined: Tue May 10, 2016 4:15 pm
- Has thanked: 31 times
- Been thanked: 20 times
Re: DMG I2C PCB Help
Fleder wrote:Excuse me, but i am hijacking this thread.
Can someone please explain to me the differences of this method?
What are the pros and cons of using I2C instead of the usual way?
Is this saving pins or only wires? You would still need a Teensy/Arduino, i guess.
its saving a lot of pins/wires. instead of the normal 'Ground + number of buttons' on a regular board, this cuts it does to 4.
you don't need an additional microcontroller, you can do it straight from the Pi itself.
i don't really see any cons, apart from needing to set up the IC on the Pi (which is a DIY element, but then again... this entire project is). it can read multiple button presses, the IC can work incredible quickly... i'm not sure there is a con when compared to the original boards that have so many wires. perhaps there is and i'm just not recognizing it yet. these ICs are pretty nifty, and can really help clear up space in a project either pushing the limit on available connection points, and clear up space in the case by cutting down on the wires being used
its full of Game Boy Zero stuff!!! -----> -----> -----> http://store.kitsch-bent.com
(^_^) *(^_^)* (^_^) >*(^_^)*< (^_^) *(^_^)* (^_^)
(^_^) *(^_^)* (^_^) >*(^_^)*< (^_^) *(^_^)* (^_^)
Re: DMG I2C PCB Help
@FlederFleder wrote:Excuse me, but i am hijacking this thread.
Can someone please explain to me the differences of this method?
What are the pros and cons of using I2C instead of the usual way?
Is this saving pins or only wires? You would still need a Teensy/Arduino, i guess.
See this page: Preparation of the RPi for MCP23017
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: DMG I2C PCB Help
Thank you Kitsch and Chiz!
So, one is placing an IC on the board that does all the work instead of letting the Teensy or the Pi do it.
But that does mean i have to sacrifice some GPIO pins, i guess. Is the IC doing some kind of multiplexing?
The way i understand it is, that it is the same as connecting the buttons right to the GPIOs but with fewer wires because of multiplexing.
So, one is placing an IC on the board that does all the work instead of letting the Teensy or the Pi do it.
But that does mean i have to sacrifice some GPIO pins, i guess. Is the IC doing some kind of multiplexing?
The way i understand it is, that it is the same as connecting the buttons right to the GPIOs but with fewer wires because of multiplexing.
Who is online
Users browsing this forum: No registered users and 1 guest