Closed SJoWie80 closed 9 months ago
i have tried to make a fritzing schematic (first time) can someone look and see if my connections are right? also i cant seem to find where the three shift registers need to connect to.
This is pretty close, the SDA/SDL lines are pretty simple so you have those setup right. The shift register connect as follows: SHIFT/LOAD -> PD4, CLOCK and CLOCK INHIBIT -> PD3, QH -> PD2.
There is a pretty good schematic you can follow here that will show you how to connect the button side: https://playground.arduino.cc/Code/ShiftRegSN74HC165N/
Thank you for your reply.
i managed to get the buttons and mpu working and the first 15 outputs. howver the pca9685 seems to be reversed: On is Off / Off is On
Yes, PCA9685 is set to sync current, so you will run 5v to the leds or other outputs and the negative side goes to the PCA9685.
On Sat, Oct 14, 2023 at 9:49 AM SJoWie80 @.***> wrote:
Thank you for your reply.
i managed to get the buttons and mpu working and the first 15 outputs. howver the pca9685 seems to be reversed: On is Off / Off is On
— Reply to this email directly, view it on GitHub https://github.com/philipellisis/arduino-virtual-pinball-board/issues/8#issuecomment-1762921583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENMHGXET253W6QV6MNJUYDX7KJ6FAVCNFSM6AAAAAA54SGLGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRSHEZDCNJYGM . You are receiving this because you commented.Message ID: @.*** com>
FYI, I found a pre-made PCB (3x 74HC165 ICs) with connectors that may be useful for this project: https://www.aliexpress.us/item/3256804661575696.html. Allows plugging 24 buttons.
Is the PWM9685 considered an extension board or the main board in the output section of the configuration tool?
From what I've seen in the code, the first output of the pwm9685 would be the output #16 in the mainboard output tab
That's correct, the main board on the PinOne does have one pwm9685 built into it. You could still use the 15 outputs that are tied to the data pins as outputs without a pwm9685 and will work just fine that way.
Hi there.
i like to build this. is there any schematic on how to connect the MPU-6050, PCA9685 & 74HC165?
Thanks! Joey