here is a chip that will give you 2 button's on one i/o
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4588
here is a chip that will give you 2 button's on one i/o
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4588
You seriously want to pay $1 for a 2 I/O expander?
If you need two buttons on one I/O, then you can achieve that with a different value of Capacitor on each of two Buttons and measure the time period for charge. Cost about 5 cents and a bit of magic in software...
You could also use the pot command and tie each button to a different value resistor.
This gives you the added ability of determining when both buttons are being pressed.
Well if I had been trying to solve this problem since March I think a $1 part would be cheap,sorry you didn't like my feable attempt at helping out
I'll go to my room now and keep quiet.
Don't get the hump over my comment... I'm NOT criticising your contribution which is perfectly valid, but think about a $1....
For $1 you can get a PIC with a heap of I/O's...
For an extra $1 added to whatever PIC you are currently using would probably give you a dozen I/O's more
For 75 cents you can get an I2C 8 channel I/O expander...
For 45 cents you can get a PIC10F to give you your extra I/O's...
Adding I/O's at the rate of 50 cents per I/O is nonsensical... there's just so many options available for less money - but...
you've brought it to everyone's attention, and that just might be exactly the product someone is looking for, so thank you for that.
Melanie
I was not in the least bit offended,you must have missed the happy faceand it did spur you to give Ben another cheaper option not to mention Ben's idea so in around about way I guess I've helped.
I like to think that every comment on this forum, good or bad, is a valid one and holds as much weight as every other. What's wrong for one person may be someone elses perfect "cup of tea" (beer). Even 'crazy price' Maxim must be doing something right - after all, they're still in business....
Bookmarks