Quote:
Originally Posted by bobski
Right. I was ruling out special-purpose pins like rx(0), tx(1) and I seem to recall the pin with an attached on-board LED having something to do with programming, but I see now that's pin 13 which is in use by the LCD. So yeah, there's two digital pins.
|
well, all the pins I listed can be used as general i/o digital pins, so technically there are 6 available. You might want to avoid rx so as to have an easier time with the bootloader.
Quote:
Originally Posted by bobski
My line of thought on the analog side was that if we relocate the button signals to different analog pins, then use analog 4 and 5 for I2C, all the analog inputs will be occupied.
|
FYI, with a couple resistors you can "multiplex" several buttons onto one analog pin. It's how the buttons on my saturns cruise control works.
http://i13.tinypic.com/80uib5y.jpg
Quote:
Originally Posted by bobski
Which is great as a finished product but it doesn't leave any room for expansion, tinkering or innovation in general.
|
I think that really depends on the tinkerer. I'm reminded of brandonU's powning of a usb cable, though the writeup is gone now:
http://ecomodder.com/forum/showthrea...html#post37599 , basically, if you can see or hack your way to the leads, you can tinker/expand/modify/innovate anything, just not in lego fashion.
Doing what the OP was requesting, adding logging, means adding one wire to the unit (3 if you want to borrow 5 volts and ground).
Quote:
Originally Posted by bobski
They sound awesome but I doubt the Arduino IDE supports them (in spite of them sharing AVR architecture), and I don't like the thought of programming serial comms in assembly.
|
There are arduino options there, as well as possibly taking a dremel to a mega 328
Arduino Forum - sizing down my arduino