View Single Post
Old 12-08-2010, 06:06 PM   #26 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by bobski View Post
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 View Post
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 View Post
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 View Post
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
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 12-09-2010 at 08:01 AM..
  Reply With Quote