Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now


Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 08-25-2009, 04:14 AM   #1 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: terra firma
Posts: 26
Thanks: 1
Thanked 1 Time in 1 Post
OK to change I/O pins ?

Was there a reason for putting the Injector input on, specifically, Digital 2 & 3? I'm thinking it would make more sense to put them on Dig 15 & 16 (aka Analog 1 & 2), so that all inputs are clustered together, and the top row can be pretty much dedicated to the LCD.

Can anyone foresee any problems with this move, other than me having to mod the source with each rev? Is there an actual, physical difference between the "Digital" and "Analog" input lines?

Aside from that, I'd also like to rearrange a couple LCD wires that criss-cross.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
  Reply With Quote
Old 08-25-2009, 09:28 AM   #2 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
2 and 3 are the external interrupt pins, they are special because they can differentiate between a rising signal and a falling signal. So essentially one pin fires a tiny bit of code when the injector opens and one the other one fires a tiny bit of code when it closes.

This eliminates any guesswork in the interrupt.

The LCD wires were chosen because they were convenient for standard arduino layout and left some multi purpose pins open. Will probably change in the prebuilt code someday.
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
The Following User Says Thank You to dcb For This Useful Post:
nickdigger (08-25-2009)
Old 08-25-2009, 05:44 PM   #3 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: terra firma
Posts: 26
Thanks: 1
Thanked 1 Time in 1 Post
Thanks for the explanation. Guess i'll just leave well enough alone.

wrt the LCD, were you trying to leave the PWM pins open? That i can understand, but Dig 4,5,6 connect to LCD 4,6,3. D 4,5,6 --> L 3,4,6 looks cleaner ... unless there is another special signalling issue that forced this arrangement.
  Reply With Quote
Old 08-25-2009, 05:49 PM   #4 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
one of them got crossed when I realized I could control contrast via pwm, that may be what you are seeing.
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
Reply  Post New Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mods-data-% change or Cd change( installment#5-roofline data) aerohead Aerodynamics 3 09-26-2009 03:01 PM
change habits, change car landscaper52 EcoModding Central 3 07-12-2009 09:29 AM
Converting Cali Civic VX to Fed (lean burn) VX NachtRitter DIY / How-to 1 03-01-2009 06:31 PM
Oil change guys under-inflated my tires Formula413 The Lounge 12 07-31-2008 05:27 PM
Article: CAFE Change Looks Likely SVOboy General Efficiency Discussion 0 12-05-2007 01:24 PM




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
All content copyright EcoModder.com