geekhack

geekhack Projects => Making Stuff Together! => Topic started by: adventurepoop on Tue, 27 May 2014, 17:40:55

Title: Quick circuit help
Post by: adventurepoop on Tue, 27 May 2014, 17:40:55
For my 5 key, Are the diodes needed in this circuit? I'm thinking they aren't, but I know you need them for a matrix.
(http://i.imgur.com/j5CR5VS.png)
Title: Re: Quick circuit help
Post by: Melvang on Tue, 27 May 2014, 17:45:57
Since everything is on the same row you shouldn't.
Title: Re: Quick circuit help
Post by: OldDataHands on Tue, 27 May 2014, 22:41:54
that micro doesn't have support for USB, does it? (pick a micro that does...)

also, none of those diodes appear to me to serve any need.

For your purposes, configure the switch input pins as pull-up, and have the switches connect that pin to ground( or vise-versa). nothing else required.

Why is D1 present? It would be very abnormal. You should remove it.
Title: Re: Quick circuit help
Post by: adventurepoop on Wed, 28 May 2014, 07:53:56
Okay so since i posted this all diodes have been removed, also attiny24/44/84 will seemingly work with vusb, which i think will make it work fine. Thanks for the help though!