1. Welcome to Tacoma World!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tacoma discussion topics
    • Communicate privately with other Tacoma owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

2nd Gen Tacoma 4.6 V8 1UR-FE and GX powertrain Swap

Discussion in '2nd Gen. Tacomas (2005-2015)' started by dpanibratets, May 22, 2022.

  1. Mar 31, 2025 at 11:44 AM
    #1121
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    The good news is that my ac lines have held pressure for over 3 months now so we are good to go on that front.
     
  2. Mar 31, 2025 at 12:13 PM
    #1122
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Here is the diagram that @Pittsy hooked me up with.

    Parts list is this:
    Item Quantity

    LM358 I.C X1
    Resistor 1KOHM X2
    Resistor 10KOHM X2
    Resistor 14KOHM X1


    upload_2025-3-31_11-49-48.png
    upload_2025-3-31_12-13-31.png

    I am basically copying @Pittsy code to spoof the clutch lock sensor. I actually already have a solution for the coolant temperature signal, I purchased a module that was purpose built by @Braddman . His module allows you to hook up a temp sensor and translates the coolant temp to the signal that the Tacoma AC amp is looking for.

    Here is the code that @Pittsy used:

    unsigned long previousMillisPin5 = 0; // Variable to store the last time pin 5 (PORTD5) was updated
    unsigned long previousMillisPin6 = 0; // Variable to store the last time pin 6 (PORTD6) was updated
    unsigned long previousMillisPin10 = 0; // Variable to store the last time pin 6 (PORTD6) was updated
    const long intervalPin10 = 55; // Interval at which to blink pin 5 (milliseconds) //9hz //voltage divider //2.5V
    const long intervalPin5 = 12; // Interval at which to blink pin 5 (milliseconds) //41hz //opamp //12V
    const long onTimePin6 = 180; // On time for pin 6 (milliseconds)//2hz //simple //5V
    const long offTimePin6 = 238; // Off time for pin 6 (milliseconds)
    int dutyCycle = 0; // Initial duty cycle
    bool pin6State = LOW; // Initial state of pin 6
    #define PWM_PIN 10

    #include <avr/io.h>
    void setup() {
    pinMode(5, OUTPUT);
    pinMode(6, OUTPUT);
    pinMode(PWM_PIN, OUTPUT);
    }

    void loop() {
    unsigned long currentMillis = millis(); // Get the current time

    // Blink pin 5 (PORTD5)
    if (currentMillis - previousMillisPin5 >= intervalPin5) {
    previousMillisPin5 = currentMillis;
    PORTE ^= (1 << PORTE3); // Toggle pin 5
    }

    // Blink pin 6 (PORTD6)
    if (pin6State == HIGH && currentMillis - previousMillisPin6 >= onTimePin6) {
    pin6State = LOW;
    previousMillisPin6 = currentMillis;
    PORTH &= ~(1 << PORTH3); // Turn off pin 6
    }
    else if (pin6State == LOW && currentMillis - previousMillisPin6 >= offTimePin6) {
    pin6State = HIGH;
    previousMillisPin6 = currentMillis;
    PORTH |= (1 << PORTH3); // Turn on pin 6
    }

    //PORTB ^= (1 << PORTB2); // Toggle pin 10
    if (currentMillis - previousMillisPin10 >= intervalPin10) {
    previousMillisPin10 = currentMillis;
    PORTB ^= (1 << PORTB4); // Toggle pin 10
    }


    // analogWrite(10,1);
    // delay(55);
    // analogWrite(10,0);
    // delay(55);
    // DDRB |= (1 << DDB1);
    // // PB1 as output
    // OCR1A = 0x01FF;
    // // set PWM for 50% duty cycle at 10bit
    // TCCR1A |= (1 << COM1A1);
    // // set non-inverting mode
    // TCCR1A |= (1 << WGM11) | (1 << WGM10);
    // // set 10bit phase corrected PWM Mode
    // TCCR1B |= (1 << CS11);
    // delay(1000);
    // TCCR1A &= ~(1 << COM1A1);
    // set prescaler to 8 and starts PWM
    // myPwm(127, 7.5); //e.g. (127/255)50% duty with 7.5 Hz
    // delay(1000);
    // myPwm(13, 10); //e.g. (13/255)5% duty with 10 Hz
    // delay(1000);
    // myPwm(204, 5); //e.g. (204/255)80% duty with 5 Hz
    // delay(1000);
    }
    //void myPwm(unsigned char duty, float freq) {
    // TCCR1A = 0x21;
    // TCCR1B = 0x14;
    //}
     
    EdinCincinnati, scootter82 and Pittsy like this.
  3. Mar 31, 2025 at 11:33 PM
    #1123
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    See my post above.
     
    Camazon[QUOTED] likes this.
  4. Apr 5, 2025 at 9:49 AM
    #1124
    EdinCincinnati

    EdinCincinnati Well-Known Member

    Joined:
    Mar 11, 2013
    Member:
    #99457
    Messages:
    2,431
    Gender:
    Male
    First Name:
    Ed
    Ohio
    Vehicle:
    2014 4x4 TRD OR
    Hey Denis, please post some new pictures of your truck in its current condition.
     
  5. Apr 7, 2025 at 12:34 PM
    #1125
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Hey Everyone,

    I was going to pull it out of the garage today but the battery went flat. It is on the charger now. I will get some pics of it tomorrow. 20250407_122623.jpg
     
  6. Apr 7, 2025 at 12:40 PM
    #1126
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    I got all the parts I need for the clutch lock signal spoof. Since I only need the clutch lock signal can anyone revise the diagram above to make this setup more optimized?

    Last I checked, I think the GX makes the same RPM and ACT and AC1 signals. The coolant temp signal is already taken care of with my other module.
    20250407_122804.jpg
     
  7. Apr 7, 2025 at 12:46 PM
    #1127
    Gallowbraid

    Gallowbraid Known Problem

    Joined:
    Nov 12, 2015
    Member:
    #169439
    Messages:
    163
    Gender:
    Male
    Can't comment on the hardware layout for optimization, but I'd do a lot of testing with the code using Millis() to track time. The comparisons that code is doing seem pretty safe, but depending on the quality of the board you can get some time drift and the code can do odd things as that value gets larger and larger. I've used millis() successfully in some projects and in others I've had to utilize a RTC module to do any time calculations.
     
  8. Apr 7, 2025 at 1:19 PM
    #1128
    nudavinci64

    nudavinci64 Robert @ Holy Horsepower

    Joined:
    Nov 14, 2013
    Member:
    #116533
    Messages:
    10,133
    Gender:
    Male
    First Name:
    Robert
    San Mateo/Cayucos, CA
    Vehicle:
    13 S/C TRD OffRoad 4x4
    Boosted Money Pit....
    is there any thread that talks about wiring this up on a 2nd gen setup?
     
  9. Apr 7, 2025 at 1:23 PM
    #1129
    nudavinci64

    nudavinci64 Robert @ Holy Horsepower

    Joined:
    Nov 14, 2013
    Member:
    #116533
    Messages:
    10,133
    Gender:
    Male
    First Name:
    Robert
    San Mateo/Cayucos, CA
    Vehicle:
    13 S/C TRD OffRoad 4x4
    Boosted Money Pit....
    got info on that fan setup you can pass over. Looks clean.
     
    dpanibratets[OP] likes this.
  10. Apr 8, 2025 at 12:28 PM
    #1130
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Here are some updated pictures. I have all of the body parts I am just not yet bolting them on while I work out all of the laundry list of gremlins.

    20250408_114046.jpg 20250408_114018.jpg 20250408_114102.jpg 20250408_114112.jpg 20250408_114133.jpg 20250408_114036.jpg
     
  11. Apr 8, 2025 at 12:29 PM
    #1131
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
  12. Apr 8, 2025 at 12:54 PM
    #1132
    hinmo24t

    hinmo24t MAhole

    Joined:
    Aug 17, 2018
    Member:
    #263138
    Messages:
    423
    Gender:
    Male
    First Name:
    tom
    dartmouth, ma
    Vehicle:
    2015 TRD OR , blue ribbon metallic
  13. Apr 12, 2025 at 3:45 PM
    #1133
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Okay guys, I have absolutely no idea what is going on here. Please help if you can.

    upload_2025-4-12_15-45-26.png
     
    Last edited: Apr 12, 2025
  14. Apr 12, 2025 at 6:52 PM
    #1134
    replica9000

    replica9000 Das ist no bueno

    Joined:
    Apr 6, 2008
    Member:
    #5782
    Messages:
    16,376
    Lake Chargoggagoggmanchauggagoggchaubunagungamaugg
    Vehicle:
    2019 T4R ORP
    Looks like something to monitor signals. I'm not really familiar with Arduino, but it looks like the functions "setup" and "loop" are empty at the top, but appear again at the bottom with code in them.

    Also, I see this on line 9
    Code:
    }unassigned long previous....
    
    But it should look like this:
    Code:
    }
    
    unassigned long previous...
    
    Could cause the code not to run or compile properly. I would think lines 1 through 8 plus the curly bracket at the beginning of line 9 can go, but someone more familiar with Arduino can say for sure.
     
  15. Apr 12, 2025 at 11:42 PM
    #1135
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    I was able to successfully upload the code on to the board, I just had to delete the default startup text on the arduino software and then paste the code above. Time to wire it up.

    What I need is:

    2.5V, 9hz signal for compressor lock

    I don't need:

    5V, 2hz signal for engine coolant temp because I have another module that is supplying this already.
    12V, 41hz for engine RPM signal because both GX and Tacoma PWM signals are the same so I just tapped into RPM signal off of the GX460 ECU


    upload_2025-4-12_23-33-50.png

    upload_2025-4-12_23-31-16.png

    RPM signal:

    upload_2025-4-12_23-45-44.png
    upload_2025-4-12_23-47-2.png
     
    Last edited: Apr 12, 2025
    mit88 and Ricardo13x like this.
  16. Apr 19, 2025 at 1:50 PM
    #1136
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Hey Guys,

    I am wiring up the board today. Could someone help me understand where does the board get its power in this diagram? I see that it has a ground but no positive hookup in the power section of the board.



     
    mit88 likes this.
  17. Apr 19, 2025 at 2:03 PM
    #1137
    Pittsy

    Pittsy Ex car guy, currently in rehab

    Joined:
    Jan 20, 2022
    Member:
    #387923
    Messages:
    2,307
    Gender:
    Male
    First Name:
    Davis
    Cave Creek, AZ
    Vehicle:
    07 DCSB 4x4, 20 DCSB PRO 6MT
    BTF Fab +4.5 - DMZ SUA - TE Cage - LS6 Swap
    There is a black barrel jack on the end of the board. I just soldered wires to the jack to give it power.
     
  18. Apr 19, 2025 at 2:09 PM
    #1138
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    12v from ignition source should work?
     
  19. Apr 19, 2025 at 2:15 PM
    #1139
    Pittsy

    Pittsy Ex car guy, currently in rehab

    Joined:
    Jan 20, 2022
    Member:
    #387923
    Messages:
    2,307
    Gender:
    Male
    First Name:
    Davis
    Cave Creek, AZ
    Vehicle:
    07 DCSB 4x4, 20 DCSB PRO 6MT
    BTF Fab +4.5 - DMZ SUA - TE Cage - LS6 Swap
    yep! thats what I used.
     
  20. Apr 19, 2025 at 7:59 PM
    #1140
    dpanibratets

    dpanibratets [OP] Well-Known Member

    Joined:
    Sep 18, 2013
    Member:
    #112778
    Messages:
    565
    Gender:
    Male
    First Name:
    Denis
    Vancouver, WA
    Vehicle:
    2005 DCSB soon to be with V8 1UR-FE
    Well guys, here is how I wired it up and it doesn't work. The AC system has about 50 psi pressure in the system. I also took AC signal and hooked it up directly to 12v since the gx460 ACT signal is 5v and still nothing. I don't really know where to go from here. On top of this, the truck is acting up with the fuel pump fuse blowing again lol. Any input would be helpful.

    upload_2025-4-19_17-36-16.png
     

Products Discussed in

To Top