Guest User

Untitled

a guest
Apr 13th, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. case 3: //Pin mappings as per the androidcho's SimpleECU v1.0 PCB
  2. //High current outputs (exactly the same), ready for programmable outputs
  3. pinInjector1 = 6; //Output pin injector 1, PCB Pin - HC1
  4. pinInjector2 = 7; //Output pin injector 2, PCB Pin - HC2
  5. pinInjector3 = 4; //Output pin injector, PCB Pin - HC3
  6. pinInjector4 = 5; //Output pin injector, PCB Pin - HC4
  7. pinFan = 9; //Pin for the fan output, PCB Pin - HC5
  8. pinFuelPump = 8; //Fuel pump output, PCB Pin - HC6
  9. pinTachOut = 11; //Tacho output pin, PCB Pin - HC7
  10. //pinVVT = 10; //Enough high current outputs, we have place for dedicated VVT out, PCB Pin - HC8
  11. pinIdle1 = 2; //Single wire idle control, PCB Pin - HC9
  12. pinIdle2 = 3; //2 wire idle control, PCB Pin - HC10
  13. //Non-programmable low current outputs, used for coil outputs
  14. //PNP transistors, "Going High" in Tunerstudio
  15. pinCoil1 = 48; //Pin for coil 1, PCB Pin - IGN1
  16. pinCoil2 = 44; //Pin for coil 2, PCB Pin - IGN2
  17. pinCoil3 = 32; //Pin for coil 3, PCB Pin - IGN3
  18. pinCoil4 = 36; //Pin for coil 4, PCB Pin - IGN4
  19. //Inputs
  20. pinTrigger = 18; //The CAS(Crank) pin
  21. pinTrigger2 = 19; //The Cam pin
  22. pinTPS = A4; //TPS input pin
  23. pinMAP = A2; //MAP sensor pin
  24. pinIAT = A1; //IAT sensor pin
  25. pinCLT = A0; //CLT sensor pin
  26. pinO2 = A3; //O2 Sensor pin
  27. pinBat = A15; //Battery reference voltage pin
  28. pinStepperDir = 17; //Direction pin for DRV8825 driver
  29. pinStepperStep = 16; //Step pin for DRV8825 driver
  30. pinLaunch = A5; //Can be overwritten below, pulled up by 10k and protected, PCB Pin - D1
  31. //pinAnalogDigitalIn2 = A6; //Spare analog input, pulled up by 10k and protected, PCB Pin - D2
  32. pinDisplayReset = 48; //OLED reset pin
  33. break;
Advertisement
Add Comment
Please, Sign In to add comment