Search found 210 matches

by royhen99
Tue Apr 16, 2024 8:45 pm
Forum: Nissan
Topic: Leaf Gen 1 Inverter Board
Replies: 319
Views: 145741

Re: Leaf Gen 1 Inverter Board

That's what I would expect. The ISA shunt data is sent to Serial2 which is the wifi interface. To view it on the terminal you to need to change Serial2 to Serial, or you could copy the code so it sends to both.
by royhen99
Tue Apr 16, 2024 4:40 pm
Forum: Nissan
Topic: Leaf Gen 1 Inverter Board
Replies: 319
Views: 145741

Re: Leaf Gen 1 Inverter Board

I have tested with your exact code with the } fixed and it all works. I am only sending messages to Can0 and don't have wifi so all readings are going to Serial ( I am using Arduino Due so just looking with serial monitor in IDE ). I thought it might be a timing problem as CheckCAN is polled in loop...
by royhen99
Tue Apr 16, 2024 12:59 pm
Forum: Mitsubishi
Topic: Can you identify this Outlander item?
Replies: 6
Views: 371

Re: Can you identify this Outlander item?

From searches for part number this is dc to 110V AC. The dc-dc 12V converter part number TW-90 / 37129-01001, ( for heated windows ) has fans but they blow air over an external heatsink. The dc - 230V converter is also made by Toyota Industries is part number 9461A092.
by royhen99
Tue Apr 16, 2024 11:32 am
Forum: Nissan
Topic: Leaf Gen 1 Inverter Board
Replies: 319
Views: 145741

Re: Leaf Gen 1 Inverter Board

There's a small error in CheckCan } if(inFrame.id >= 0x521 && inFrame.id <= 0x528 && inFrame.length == 8){ Sensor.ISA::gotFrame(&inFrame, 0); //Added by royhen99 } //////////////////////////////////////////////////////////////////////////////////////////////// } should be if(inFr...
by royhen99
Mon Apr 15, 2024 11:21 pm
Forum: Projects
Topic: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Replies: 15
Views: 4586

Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack

0x59E, 0x55B and 0x5BC. If you look at each id one at a time it's clear that most of the messages sent are the fixed values from leafinv.cpp.
by royhen99
Mon Apr 15, 2024 6:29 pm
Forum: Nissan
Topic: Leaf Gen 1 Inverter Board
Replies: 319
Views: 145741

Re: Leaf Gen 1 Inverter Board

I think I have fixed it. The isa library has is own interrupt service routine which takes priority over the routine in the main code. The modifications below fix this by calling the isa interrupt routine from the main code. I have checked with appropriate ids and data generated in Savvycan. 1) in IS...
by royhen99
Mon Apr 15, 2024 10:37 am
Forum: Projects
Topic: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Replies: 15
Views: 4586

Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack

I have no experience with leaf PDM etc, but your code on github does not look up to date as it does not compile and has other errors. From you CAN log the zombieverter is still sending data on 3 ids which may be causing the problems. I think this is because where you have declared/defined the variab...
by royhen99
Sun Apr 14, 2024 8:55 pm
Forum: Nissan
Topic: Leaf Gen 1 Inverter Board
Replies: 319
Views: 145741

Re: Leaf Gen 1 Inverter Board

Seting up the ISA shunt sets a filter on can0 that blocks the inverter can ids.

Adding the line in bold after Sensor.begin may fix it.

Sensor.begin(port,datarate);
port->setRXFilter(0, 0x100 0x300, false); // this allows ids 0x100 - 0x1FF and 0x500 - 0x5FF to pass
by royhen99
Fri Apr 12, 2024 12:28 pm
Forum: Battery Managment (BMS)
Topic: BMW 330e pack balancing
Replies: 11
Views: 494

Re: BMW 330e pack balancing

Cell voltage readings are only valid when not balancing so they are updated every minute. The min to max cell voltage difference is checked against the "Balance Voltage Hysteresis" setting and balancing cycle continues until this is met.
by royhen99
Fri Apr 12, 2024 11:54 am
Forum: Battery Managment (BMS)
Topic: BMW 330e pack balancing
Replies: 11
Views: 494

Re: BMW 330e pack balancing

Cells in series per string should be 96.
by royhen99
Fri Apr 12, 2024 10:08 am
Forum: Battery Managment (BMS)
Topic: BMW 330e pack balancing
Replies: 11
Views: 494

Re: BMW 330e pack balancing

balstat indicates which individual cells are being balanced. 1 balancing, 0 not balancing. It's one digit per cell so 0xFFFF is all 16 cells in a module balancing.
by royhen99
Fri Apr 12, 2024 9:01 am
Forum: Battery Managment (BMS)
Topic: BMW 330e pack balancing
Replies: 11
Views: 494

Re: BMW 330e pack balancing

Simpbms code balances BMW phev packs. The rate is very slow, maybe only 2mV per hour so a 150mV imbalance could take 2 - 3 days to balance.
by royhen99
Mon Apr 08, 2024 12:08 pm
Forum: Projects
Topic: [WIP] BMW Z3
Replies: 334
Views: 170531

Re: [WIP] BMW Z3

I think the numbers across the bottom are sample number. The time varies with "Burst length" but from tests I have done it is about 27-28ms per sample with "Burst length" = 10.
by royhen99
Mon Apr 01, 2024 12:55 pm
Forum: General
Topic: Help with this ElectroHydraulic Power steering pump?
Replies: 5
Views: 211

Re: Help with this ElectroHydraulic Power steering pump?

It also looks similar to the Ford Galaxy pump BG91-3K514-AC.

I found some info for a Ford pump here. https://www.diyelectriccar.com/threads/ ... ump.88303/
by royhen99
Thu Mar 28, 2024 11:09 pm
Forum: Toyota/Lexus
Topic: Gen 3 Prius Transaxle P410 Makes Clunky Noise.
Replies: 26
Views: 847

Re: Gen 3 Prius Transaxle P410 Makes Clunky Noise.

Did today's testing unequivocally show that the inverter temperature is signed 8 bit?

If so then the GS450 tmphs/temp_inv_water still needs fixing

temp_inv_water=int8_t(mth_data[42]);
by royhen99
Thu Mar 21, 2024 2:19 pm
Forum: General
Topic: Battery packs with 3p
Replies: 15
Views: 873

Re: Battery packs with 3p

Tachopis wrote: Thu Mar 21, 2024 1:09 pm Therefore, a 3P configuration will have a 50% greater capacity than a 2P configuration
the part you have missed is it also comes with a 50% increase in size and weight. Tom's data above shows it's possible to get the same or better performance with 2P configuration.
by royhen99
Fri Mar 15, 2024 4:42 pm
Forum: Mitsubishi
Topic: I just bought a Mitsubishi Outlander charger. - Now What?
Replies: 30
Views: 1646

Re: I just bought a Mitsubishi Outlander charger. - Now What?

That's the rear inverter to motor cable.
That price is very cheap for both cables. Was this listing for just one of the cables and did you get the right one?
by royhen99
Sun Mar 10, 2024 11:18 pm
Forum: Getting Started
Topic: Setting Up CAN reader - STM32 Nucleo board
Replies: 9
Views: 587

Re: Setting Up CAN reader - STM32 Nucleo board

You can not just change board type and expect it to compile . The STM32 core library does not support can so an external library is needed, ( or write your own ). Even then a lot of changes are needed to get it to work.

Non of the libraries I am familar with support STM32F334.
by royhen99
Thu Mar 07, 2024 1:55 pm
Forum: Mitsubishi
Topic: What do you need an Outlander HV Junction box for?
Replies: 2
Views: 292

Re: What do you need an Outlander HV Junction box for?

It's for connecting the heater and a DC-DC converter for heated screens or DC-AC converter.
by royhen99
Tue Mar 05, 2024 10:12 pm
Forum: Projects
Topic: ISA Shunt With ZombieVerter VCU [FINISHED]
Replies: 13
Views: 974

Re: ISA Shunt With ZombieVerter VCU [FINISHED]

The SPI connections are on the connector marked "SPI", just look up Arduino Due pinout for actual pins.

If you intend to run Savvycan then you only need one or two CAN transceivers, either a MCP2551 or SN65HVD230.
CANRX - CAN0 RX, CANTX - CAN0 TX.
DAC2 - CAN1 RX, Pin 53 - CAN1 TX.
by royhen99
Tue Mar 05, 2024 8:09 pm
Forum: Inverters / Motor Controllers
Topic: with or without (C18,C19) [SOLVED]
Replies: 1
Views: 182

Re: with or without (C18,C19) [SOLVED]

They are load capacitor for X2 which is a crystal for the real time clock. As this uses an internally generated clock the crystal is not fitted and the capacitors are not needed.
by royhen99
Tue Mar 05, 2024 3:25 pm
Forum: Projects
Topic: [wip] DIY electric buggy for school students, Renault PHEV drive, Auris openinverter board
Replies: 12
Views: 1001

Re: [wip] DIY electric buggy for school students, Renault PHEV drive, Auris openinverter board

I think this is the correct part Sumitomo 8100-3455. I buy parts from here https://www.auto-click.co.uk/6189-1240
Not so good from outside the UK but is a least a good source of infomation.
by royhen99
Tue Mar 05, 2024 12:20 am
Forum: Vehicle Control (VCU)
Topic: zombiverter high speed can3 jumpers
Replies: 2
Views: 223

Re: zombiverter high speed can3 jumpers

image.png
image.png (5.8 KiB) Viewed 217 times
by royhen99
Mon Mar 04, 2024 11:03 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13149

Re: Webasto HVH50

If I use the max 8 bit value of 255, by the formula of (255-256)*40 = -40, right??? No, the simplist way it to put the code back to how it was originally with the power sent over LIN the required power / 40. The 400 - 256 is just truncating a 9 bit number to 8 bits, it's not a general formula for c...
by royhen99
Mon Mar 04, 2024 12:25 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13149

Re: Webasto HVH50

Good to see that you are getting heat but I think you are looking at the status ID data rather than the measurement ID. From your update in the wiki this seemed a posibility and checking back in some of the previous data there was also a response on ID 23. Maybe check if ID 23 is Read Meas and 39 is...