Search found 265 matches

by royhen99
Thu Apr 23, 2026 9:16 pm
Forum: General
Topic: Anyone interested in designing a pcb for me £$¥
Replies: 23
Views: 365

Re: Anyone interested in designing a pcb for me £$¥

Why do you need a buck converter? The nano has one onboard. Vin is 6 - 21V.
by royhen99
Thu Apr 23, 2026 1:55 pm
Forum: General
Topic: Anyone interested in designing a pcb for me £$¥
Replies: 23
Views: 365

Re: Anyone interested in designing a cab for me £$¥

I might be willing to do this. Do you have a rough schematic or do you need circuit as well pcb design.
by royhen99
Sun Jan 04, 2026 1:33 am
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 1194
Views: 481282

Re: Tesla Model 3 Rear Drive Unit Hacking

It has reverse and over voltage protection. It has probably blown F1 which is below / next to D14 in your picture, part number JFC2410-0500TS.
by royhen99
Wed Jul 09, 2025 11:33 am
Forum: Vehicle Control (VCU)
Topic: Compiling firmware but not getting same hash
Replies: 5
Views: 4989

Re: Compiling firmware but not getting same hash

With md5 I get the same result as you for the release bin file but different for the compiled file. With sha256 I get the same result for both files.
by royhen99
Fri Feb 14, 2025 10:42 am
Forum: General
Topic: Zombiverter VCU pin-out incorrect in wiki data [SOLVED]
Replies: 3
Views: 23019

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: 8689

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: 8874

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: 3142

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: 3142

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: 1194
Views: 481282

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: 3142

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: 6761

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: 6761

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: 4261

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: 50983

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: 21
Views: 22172

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: 93334

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: 1565

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: 26598

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: 769
Views: 515601

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: 769
Views: 515601

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: 465
Views: 1145888

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: 465
Views: 1145888

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: 1755

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: 3142

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 ...