Search found 216 matches

by royhen99
Sun Aug 20, 2023 5:49 pm
Forum: Toyota/Lexus
Topic: Newb Asks: Does the Lexus GS450h VCU have any Serial Pins for Communication?
Replies: 37
Views: 8049

Re: Newb Asks: Does the Lexus GS450h VCU have any Serial Pins for Communication?

All the above would either need modifiying the SAM3X code to get the correct format on serialdebug to drive the Nextion display or an external processor to covert from async serial to Nextion/I2C. I think the suggestion from a few days ago of using CAN bus and arduino would be best. This would also ...
by royhen99
Fri Aug 11, 2023 6:23 pm
Forum: BMW
Topic: BMW S-Box Phev (SafeyBox 9846612)
Replies: 43
Views: 10759

Re: BMW S-Box Phev (SafeyBox 9846612)

Zombieverter declares Voltage in the header file so you will need to declare in your code, int32_t Voltage.
by royhen99
Wed Aug 09, 2023 9:22 pm
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 569
Views: 7560975

Re: Develop a QCA7000 board?

Available from TE website, https://www.te.com/usa-en/product-DTM13 ... BR008.html
down the page a little under CAD files.
by royhen99
Sun Jul 30, 2023 7:02 pm
Forum: BMW
Topic: BMW S-Box Phev (SafeyBox 9846612)
Replies: 43
Views: 10759

Re: BMW S-Box Phev (SafeyBox 9846612)

Zombieverter code uses int32_t for Voltage and sign extends from 24 bit value to 32 bit.

Voltage=((bytes[2] << 16) | (bytes[1] << 8) | (bytes[0]));
Voltage = (Voltage<<8) >> 8; // sign extend

you could then convert to float with the multiplication by 0.001
by royhen99
Mon Jul 17, 2023 11:33 am
Forum: Vehicle Control (VCU)
Topic: Trouble contributing to Stm32-vcu
Replies: 11
Views: 5532

Re: Trouble contributing to Stm32-vcu

https://github.com/jsphuebner/esp8266-web-interface is best place for ESP8266 code, Damien's appears to be specific to the GS450_VCU and only displays some battery parameters. One thing to note if updating the ESP code is that zombieverter ( and sine_vcu ) use 2 stop bits on the 115200 speed serial ...
by royhen99
Mon Jul 17, 2023 3:26 am
Forum: Vehicle Control (VCU)
Topic: Trouble contributing to Stm32-vcu
Replies: 11
Views: 5532

Re: Trouble contributing to Stm32-vcu

Try reloading the bootloader via stlink. If the bootloader is corrupted the main application will not run.
by royhen99
Tue Jul 11, 2023 1:51 pm
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 569
Views: 7560975

Re: Develop a QCA7000 board?

They open in Kicad 7.0.
by royhen99
Tue Jul 11, 2023 1:36 pm
Forum: Charging
Topic: Develop a QCA7000 board?
Replies: 569
Views: 7560975

Re: Develop a QCA7000 board?

SN65HVD234 CAN transceiver needs EN pin pulling high. If not using enable pin better to use SN65HVD230.
by royhen99
Sun Jul 09, 2023 11:34 pm
Forum: Vehicle Control (VCU)
Topic: Inverter is not detecting high voltage (Zombieverter)
Replies: 8
Views: 5842

Re: Inverter is not detecting high voltage (Zombieverter)

GS450S does not use can bus it uses two serial buses. Torque is on htm so that looks ok, inverter voltage, INVudc is on mth so check mth connections.
Temperatures, tmphs and tmpm, are also on mth so checking these values will confirm if it's a bad mth connection.
by royhen99
Fri Jul 07, 2023 6:08 am
Forum: General
Topic: Alternatives to FAN3122TMX
Replies: 4
Views: 392

Re: Alternatives to FAN3122TMX

Electrically they are the same part it is just qualification and maybe some testing that is different.
by royhen99
Fri Jul 07, 2023 5:36 am
Forum: General
Topic: Alternatives to FAN3122TMX
Replies: 4
Views: 392

Re: Alternatives to FAN3122TMX

The info is in the data sheet but the -F085 is qualified to AEC-Q100 which is an automotive standard so should be suitable if you can find them. The only parts available from LSCS Electronics is the FAN3122TM1X-F085 which has the exposed pad on the bottom. This might work with some added insulation,...
by royhen99
Tue Jul 04, 2023 3:02 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2274

Re: Added LinBus class to libopeninv

Have you added linbus.o to the OBJSL list in the makefile?
by royhen99
Thu Jun 22, 2023 11:54 pm
Forum: Vehicle Control (VCU)
Topic: Zombieverter no spot values showing
Replies: 26
Views: 9324

Re: Zombieverter no spot values showing

There is no need to reset the board to upload but I find occasionly the wifi module needs resetting after. This is easy if working on the bench with the Wemos module as it has a reset button, otherwise power cycle the board. Are you using a board from Damien with the firmware pre-intstalled?
by royhen99
Wed Jun 21, 2023 8:25 pm
Forum: Vehicle Control (VCU)
Topic: Zombieverter no spot values showing
Replies: 26
Views: 9324

Re: Zombieverter no spot values showing

Either you have DualChannel selected with a single pot attached or pot2min and pot2max need setting or a wire is broken/not connected.
Check the pot and pot2 ( if using DualChannel ) spot values to see that the values are changing with the throttle pedal.
by royhen99
Wed Jun 21, 2023 2:15 pm
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 437
Views: 799176

Re: Info on BMW hybrid battery packs?

Voltages match SimpBMS I far as I can tell. It's matched to 10/11mV so not easy to see any errors as the voltages are so close. I worked out the DBC from SimpBMS but as it uses masking of ID to determine each cell it was not it was not obvious which ID related to each cell. That explains the extra w...
by royhen99
Wed Jun 21, 2023 12:20 am
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 437
Views: 799176

Re: Info on BMW hybrid battery packs?

I bought a 12KWh Dec 2020 pack last week. Got S-Box switching and voltage and current readings working a couple of days ago and working on BMS today. Took an hour or so to work out the problem with the connection ( have since found a post from March 2021 but not on wiki ), as it appears to have chan...
by royhen99
Sun Jun 18, 2023 4:15 pm
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 437
Views: 799176

Re: Info on BMW hybrid battery packs?

I did this just to avoid cutting the cable for now. I can still connect the BMS master and log CAN messages etc.
by royhen99
Sun Jun 18, 2023 2:57 pm
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 437
Views: 799176

Re: Info on BMW hybrid battery packs?

It needs four links on the black connector 10 - 13 CANH, 23 - 26 CANL, 16-18 0V and 1 - 5 12V. On the external wiring loom red and grey/purple are 12V and brown is 0V.
by royhen99
Sat Jun 17, 2023 4:27 am
Forum: General
Topic: Arduino CanBus message question
Replies: 7
Views: 3819

Re: Arduino CanBus message question

It looks like the data is little endian so it's just going from 0x500 to 0x4FF, 1280 to 1279 dec, not sure where 1087 ( 0x43F ) came from. If you want 1200 to be the minmum you need if (x < 1200) x = 1200; as map will just produce a negative number. Without the /4 in your calculation 1200 is about 3...
by royhen99
Thu Jun 15, 2023 9:26 am
Forum: Tesla
Topic: Tesla LDU Pick & Place File Fix? [SOLVED]
Replies: 4
Views: 450

Re: Tesla LDU Pick & Place File Fix? [SOLVED]

The PCB layout tool is DesignSpark. Its placement file is not very compatible with JLCPCB. I have manunally adjusted the location and rotation in attached file. Check carefully as there could still be some mistakes. While doing that I noticed that the clearance between USART_RX and GND pin on STM32 ...
by royhen99
Sun Jun 04, 2023 6:17 pm
Forum: Getting Started
Topic: Mixing motors and inverters
Replies: 6
Views: 3501

Re: Mixing motors and inverters

A quick image search suggests it is propably a Siemens 1DB2024 – WS36. 6 ph requiring dual inverter
by royhen99
Sun May 14, 2023 12:46 pm
Forum: Nissan
Topic: 16383rpm issue on startup
Replies: 6
Views: 3805

Re: 16383rpm issue on startup

Are you using DBC file to interpret messages?
EV-can_ZE0.dbc has B6 of 0x1DA as a message counter that cycles between 0 and 3.
by royhen99
Wed May 10, 2023 12:22 pm
Forum: Vehicle Control (VCU)
Topic: Chademo Leaf PDM & Zombieverter!
Replies: 57
Views: 11717

Re: Chademo Leaf PDM & Zombieverter!

Should '42 - interface' not be an option as apposed to the bullet points currently shown? - please see my attachment for reference! It's because the valid number of interfaces has changed from 0-3 to 0-2. If you had Leaf_PDM selected it is now invalid ( it is now selected by chargemodes ). To fix t...