For any pieces of hardware directly related to Speeduino (ie Boards, components etc)
By gwynethh
#61083
Does anyone (besides the Drop Bear designer) know which Teensy3.5 digital out capable pin(s) are free for other use? Even after reassigning The "boost" pin, we are short one output to try to deal with our installation AND A/C control in a 1995 Subaru SVX.

After we find a spare pin, we intend to send the result to the car via a ULN2003 powered (only) from the stepper motor socket and out the black connector unused pin (A4).

We are asking here as the designer appears to be very busy producing a new Drop Bear version to get around the car parts chip set shortage. Thanx.
By LPG2CV
#61085
case 55:
#if defined(CORE_TEENSY)
//Pin mappings for the DropBear
injectorOutputControl = OUTPUT_CONTROL_MC33810;
ignitionOutputControl = OUTPUT_CONTROL_MC33810;

//The injector pins below are not used directly as the control is via SPI through the MC33810s, however the pin numbers are set to be the SPI pins (SCLK, MOSI, MISO and CS) so that nothing else will set them as inputs
pinInjector1 = 13; //SCLK
pinInjector2 = 11; //MOSI
pinInjector3 = 12; //MISO
pinInjector4 = 10; //CS for MC33810 1
pinInjector5 = 9; //CS for MC33810 2

pinTrigger = 19; //The CAS pin
pinTrigger2 = 18; //The Cam Sensor pin
pinFlex = A16; // Flex sensor
pinMAP = A1; //MAP sensor pin
pinBaro = A0; //Baro sensor pin
pinBat = A14; //Battery reference voltage pin
pinSpareTemp1 = A17; //spare Analog input 1
pinLaunch = A15; //Can be overwritten below
pinTachOut = 5; //Tacho output pin
pinIdle1 = 27; //Single wire idle control
pinIdle2 = 29; //2 wire idle control. Shared with Spare 1 output
pinFuelPump = 8; //Fuel pump output
pinVVT_1 = 28; //Default VVT output
pinStepperDir = 32; //Direction pin for DRV8825 driver
pinStepperStep = 31; //Step pin for DRV8825 driver
pinStepperEnable = 30; //Enable pin for DRV8825 driver
pinBoost = 24; //Boost control
pinSpareLOut1 = 29; //low current output spare1
pinSpareLOut2 = 26; //low current output spare2
pinSpareLOut3 = 28; //low current output spare3
pinSpareLOut4 = 29; //low current output spare4
pinFan = 25; //Pin for the fan output
pinResetControl = 46; //Reset control output PLACEHOLDER value for now

#if defined(CORE_TEENSY35)
pinTPS = A22; //TPS input pin
pinIAT = A19; //IAT sensor pin
pinCLT = A20; //CLS sensor pin
pinO2 = A21; //O2 Sensor pin
pinO2_2 = A18; //Spare 2
#endif

#if defined(CORE_TEENSY41)
pinTPS = A17; //TPS input pin
pinIAT = A14; //IAT sensor pin
pinCLT = A15; //CLS sensor pin
pinO2 = A16; //O2 Sensor pin
pinBat = A3; //Battery reference voltage pin. Needs Alpha4+
pinLaunch = 34; //Can be overwritten below
#endif

pinMC33810_1_CS = 10;
pinMC33810_2_CS = 9;

//Pin alignment to the MC33810 outputs
MC33810_BIT_INJ1 = 3;
MC33810_BIT_INJ2 = 1;
MC33810_BIT_INJ3 = 0;
MC33810_BIT_INJ4 = 2;
MC33810_BIT_IGN1 = 4;
MC33810_BIT_IGN2 = 5;
MC33810_BIT_IGN3 = 6;
MC33810_BIT_IGN4 = 7;

MC33810_BIT_INJ5 = 3;
MC33810_BIT_INJ6 = 1;
MC33810_BIT_INJ7 = 0;
MC33810_BIT_INJ8 = 2;
MC33810_BIT_IGN5 = 4;
MC33810_BIT_IGN6 = 5;
MC33810_BIT_IGN7 = 6;
MC33810_BIT_IGN8 = 7;

//CS pin number is now set in a compile flag.
// #ifdef USE_SPI_EEPROM
// pinSPIFlash_CS = 6;
// #endif

#endif
break;

I've managed to dig up a few obscure wiring diag[…]

Niiiice... 8-) Looking forward to your updates![…]

I'd be surprised if its not a 32-bit processor on[…]

I search for the datasheet of the IC and the on[…]

Still can't find what you're looking for?