Honda Insight Forum banner

401 - 411 of 411 Posts

·
Registered
Joined
·
1,316 Posts
Save time and contact Sargent ,he will build you one if you ship him your harness,I have a kit ready to go too,but he started helping guys who not good with soldering.
 

·
Linsight Designer
Joined
·
1,802 Posts
Discussion Starter #403
Okay, fresh install of the arduino and bam, similar error code for the test code above.
If the test code returns the same error, then your compiler isn't installed correctly... you might try downloading Arduino's standalone version (that doesn't require admin install).
Windows ZIP file for non admin install

No need to continue troubleshooting anything else until the test code works... Arduino needs to be able to 'cast' a boolean variable into a function's boolean input.
 

·
Registered
Joined
·
16 Posts
Okay... it appears the solution is code side. Some things are over my head and I truthfully don't understand completely what exactly is going on. It appears that some language changes have occurred and a minor tweak will appease and compile.

The argument to digitalWrite for the Nano Every is an enum, if you change the argument type of the function to PinStatus it should work with the 0/1 input. It has broken a lot of code making the change to the enum.

Code:
typedef enum {
  LOW     = 0,
  HIGH    = 1,
  CHANGE  = 2,
  FALLING = 3,
  RISING  = 4,
} PinStatus;
(edit) Type-casting the bool to PinStatus seems to appease the compiler;

Code:
digitalWrite(MOTFSBpin,(PinStatus)jj);  //set data
Just FYI, this issue of breakage from changing the parameter type of digitalWrite() has been reported to the Arduino developers and they have proposed a solution (but not implemented and released it so far):
https://github.com/arduino/ArduinoCore-API/issues/25
Going to upload with the code tweak and hopefully install tonight and pray that lean burn will work.

Thank you for all the help!
 

·
Registered
Joined
·
16 Posts
CEL, 88-10 code, IMA not delivering torque and another for no communication. I believe that I may have used an improper pin on the arduino...
 

·
Registered
Joined
·
16 Posts
CEL, 88-10 code, IMA not delivering torque and another for no communication. I believe that I may have used an improper pin on the arduino...
EDIT:

actual values while at idle,

IMA torque -98Nm
SOC 2%
IMA standby EXIST
 

·
Registered
Joined
·
16 Posts
Got a killer deal on this one, plus smaller package for when I repurpose it into a temperature compensated PWM boost controller. I was under the assumption that this was a direct pin number for pin number wise replacement for the uno.
 

·
Registered
Joined
·
16 Posts
Had to change pin locations (nano every supports PWM on different pins) tweaked the lean burn code to compile and initially no CEL, a few miles down the road however it returned. I'm spent for the day and will see why it's on tomorrow. No driveability concerns and lean burn easier than ever to get into and maintain even with the CEL, thanks again mudder and the rest of the community here on ic for getting this car limping by until the swap
 

·
Registered
Joined
·
19 Posts
Hey guys I've got everything plugged in and running well with the Arduino IMA delete, minus I have the p1646 code. Double checked all my connections. Any tips? Which wire specifically? Pin 12 out of the Arduino? Red/yellow what where? Do I need to update the code?
 

·
Registered
Joined
·
850 Posts
Hey guys I've got everything plugged in and running well with the Arduino IMA delete, minus I have the p1646 code. Double checked all my connections. Any tips? Which wire specifically? Pin 12 out of the Arduino? Red/yellow what where? Do I need to update the code?
P1646 is MOTSTB (YEL/RED) signal not present/signal error.
Look at the wiring diagram.

83835
 
401 - 411 of 411 Posts
Top