Search found 261 matches

by royhen99
Fri Feb 14, 2025 10:42 am
Forum: General
Topic: Zombiverter VCU pin-out incorrect in wiki data [SOLVED]
Replies: 3
Views: 3736

Re: Zombiverter VCU pin-out incorrect in wiki data [SOLVED]

Rustybkts wrote: Fri Feb 14, 2025 10:14 am Zombiverter VCU pin-out info which is very incorrect
This is the pinout from the schematic which has the pin numbers reversed and the Can1 and Can2 swapped.
It doesn't really provide any useful information, so not sure why it was added to the wiki.
by royhen99
Sun Feb 02, 2025 10:07 am
Forum: Tesla
Topic: Tesla SDU board
Replies: 21
Views: 7872

Re: Files

by royhen99
Thu Jan 30, 2025 10:18 pm
Forum: Vehicle Control (VCU)
Topic: is it possible temperature-controlled operation
Replies: 23
Views: 7147

Re: is it possible temperature-controlled operation

Really easy to get the correct frequency. The clock is 72MHz so need total division of 36000000, e.g. 9000 x 4000.
set Tim3_Presc to 8999, and Tim3_Period to 3999. Duty cycle is controlled with Tim3_x_OC, where x is 1 to 3. 1000 gives 25% duty cycle, 2000 gives 50%, 3000 75% etc.
by royhen99
Sat Jan 11, 2025 3:51 pm
Forum: Vehicle Control (VCU)
Topic: STM32F405 build
Replies: 9
Views: 2691

Re: STM32F405 build

#ifdeffing makes the code less readable and as I modified files based on F1 version rather than modifying old F4 version it did not seem necessary. It's an F4 branch not F1/F4.
by royhen99
Sat Jan 11, 2025 2:31 pm
Forum: Vehicle Control (VCU)
Topic: STM32F405 build
Replies: 9
Views: 2691

Re: STM32F405 build

For G4 and updated F4 version there are no modifications to libopencm3. They are all done in the libopeninv code.

G4 and recently updated F4 versions are at github below. F4 mostly untested, G4 mostly works except saving/reading flash still needs fixing. It uses 64 bit read/write so is different ...
by royhen99
Sat Jan 11, 2025 11:21 am
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 762
Views: 400319

Re: Tesla Model 3 Rear Drive Unit Hacking

WSB BSS138BK, WVS BSS84AK
by royhen99
Sat Jan 11, 2025 10:49 am
Forum: Vehicle Control (VCU)
Topic: STM32F405 build
Replies: 9
Views: 2691

Re: STM32F405 build

I only had a quick look at can and digio, and found a few errors.

Can bus bit timings are wrong. The older version of F4 library assumed a clock frequency of 168MHz ( or 84MHz ) which gives can bus clock source at 42MHz. Timings in original version were correct but need to add values for 800kbps ...
by royhen99
Sat Dec 28, 2024 11:25 pm
Forum: General
Topic: Throttle Pedal Voltage Test Query
Replies: 7
Views: 3897

Re: Throttle Pedal Voltage Test Query

potmin and potmax ( and pot2min, pot2max ) need setting correctly for each pedal to avoid above errors.
by royhen99
Sat Dec 28, 2024 10:54 pm
Forum: General
Topic: Throttle Pedal Voltage Test Query
Replies: 7
Views: 3897

Re: Throttle Pedal Voltage Test Query

The "specifications" are typical values from a document explaining throttle position error code.
The best numbers I could find are the limits on a sensor tester in this post https://priuschat.com/threads/pedal-commander-for-faster-gas-pedal-response.230983/.

Sensor 1
0.4 - 1.4V Not depressed
3.1 ...
by royhen99
Thu Dec 26, 2024 10:44 pm
Forum: Vehicle Control (VCU)
Topic: Trying to add a new vehicle to Zombie 2.20A release
Replies: 14
Views: 3760

Re: Trying to add a new vehicle to Zombie 2.20A release

Python needs to be installed to generate some of the header files.


.....but is there really no other way?

Learn a little bit about virtual and pure virtual function declarations/definitions.

Some functions need to be in the child class as they are not defined in the vehicle parent class ...
by royhen99
Tue Dec 24, 2024 2:55 am
Forum: General
Topic: DIY Economiser for OEM Contactors
Replies: 100
Views: 47346

Re: DIY Economiser for OEM Contactors

The problem with the pnp transistor is the base and collector are swapped. In the schematic you have used a spice simulation symbol which has different pin numbers from the transistor used, and states it's for simulation only.
by royhen99
Thu Dec 19, 2024 10:25 pm
Forum: Mitsubishi
Topic: iMiEV getting started
Replies: 19
Views: 16959

Re: iMiEV getting started

There is a problem compiling GVRET code. I tried when setting up a 2nd Due before searching the forum. Use GVRET firmware updater about half way down the page.
https://savvycan.com/
https://savvycan.com/GVRETupdate.zip
by royhen99
Wed Dec 18, 2024 2:26 am
Forum: Batteries and Charging
Topic: ESP32 Based Chademo
Replies: 88
Views: 89695

Re: ESP32 Based Chademo

Assuming you have the the same version as on github, connect your wifi to ESP32-CHADEMO, password ChadMeO.
Then access the web page at 192.168.4.1 which is the default IP address for the ESP32 web server.
by royhen99
Tue Dec 17, 2024 6:36 pm
Forum: Vehicle Control (VCU)
Topic: Zombieverter WifI pin headers
Replies: 2
Views: 1425

Re: Zombieverter WifI pin headers

Damien does option 1. The other option is pin header on the board and standard header on the wifi module.

by royhen99
Mon Dec 16, 2024 7:20 pm
Forum: Drive trains (motors and inverters)
Topic: CAN Bootloader
Replies: 47
Views: 25105

Re: CAN Bootloader

Watchdog is initialised in the bootloader, so a iwdg reset is required before the 2sec timer expires. Application address is 0x08001000 ( 4k offset from bootloader start address ).
by royhen99
Sun Dec 15, 2024 9:24 pm
Forum: Battery Managment (BMS)
Topic: Simp BMS
Replies: 733
Views: 476929

Re: Simp BMS

Code was very similar to that posted by mane2. Hardware was Skpang triple can board, just used for Initial testing and balancing of BMW battery pack.
by royhen99
Sun Dec 15, 2024 8:12 pm
Forum: Battery Managment (BMS)
Topic: Simp BMS
Replies: 733
Views: 476929

Re: Simp BMS

In the version I did for Teensy 4.0 I moved OUT5 and OUT6 to pins 3 and 4 as they were on the can bus pins ( 22 and 23 )
by royhen99
Mon Dec 09, 2024 8:31 pm
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 462
Views: 1115503

Re: Info on BMW hybrid battery packs?

2020 gen2 pack.
by royhen99
Mon Dec 09, 2024 6:16 pm
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 462
Views: 1115503

Re: Info on BMW hybrid battery packs?

This is what mine looks like with the blue shroud removed.
by royhen99
Sat Dec 07, 2024 2:18 pm
Forum: Vehicle Control (VCU)
Topic: Zombieverter Outlander charger CP Spoofing
Replies: 4
Views: 1530

Re: Zombieverter Outlander charger CP Spoofing

If you are not using one of the charging interfaces then why not just connect CP directly to the charger? In that case the cp spoof is not needed. As you have found CP_PWM does not work as Damien described in the video, setting it to a specific value is ignored as the line of code that would use ...
by royhen99
Tue Dec 03, 2024 9:21 am
Forum: Vehicle Control (VCU)
Topic: STM32F405 build
Replies: 9
Views: 2691

Re: F405 build

Ferrari F405 or STM32F405? I assume the later but this could be better reflected in the thread title.
There is a version of libopeninv library for the STM32F40x but the last update was Feb 2022, so will not work with most recent code. There are major changes in the CAN setup with the splitting of ...
by royhen99
Tue Nov 26, 2024 6:21 pm
Forum: Nissan
Topic: Looking for EM57 Mechanical Drawings
Replies: 15
Views: 6034

Re: Looking for EM57 Mechanical Drawings

A google or wiki search would have easily found this but here it is.
https://openinverter.org/wiki/Nissan_le ... ter_plates
by royhen99
Fri Nov 22, 2024 6:08 pm
Forum: Batteries and Charging
Topic: Not able recieve CAN frames using stm32_can.cpp
Replies: 5
Views: 2714

Re: Not able recieve CAN frames using stm32_can.cpp

I don't understand it well enough to explain how it works but the callback occurs in CanHardware::HandleRx.

There is no need to use can_receive() directly. Can call back is set like this FunctionPointerCallback cb(CanCallback, SetCanFilters); but in ccsclara, I think, the can is all handled using ...