Search found 311 matches

by janosch
Thu Sep 22, 2022 1:47 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 74723

Re: Nissan Leaf Gen3 inverter

Zapatero wrote: Wed Sep 21, 2022 6:53 pm ...
We might have a spare one here that we can post to you, I would need to "check inventory".

Edit: Apologies, we left it on the donor cars when taking the HV towers out.
Edit Edit: Look who it is!
by janosch
Tue Sep 20, 2022 12:26 pm
Forum: General
Topic: EV conversion with everything made from wood
Replies: 3
Views: 673

Re: EV conversion with everything made from wood

Very interesting. EMF will be a struggle, surely his plan is to give all the wood pieces to a local fabby and let them make it all out of steel in one go?

Unless he lives somewhere in Arizona or Mexico where it literally never rains, but even then: EMF.
by janosch
Wed Sep 14, 2022 3:53 pm
Forum: Inverters / Motor Controllers
Topic: UART Firmware updating not working.
Replies: 18
Views: 1546

Re: UART Firmware updating not working.

Before you change the chip or the board, have you got a second F103RBT6 that you can flash just to make sure there is nothing else afoot?

Try flashing another chip via UART just to be sure everything else in your process is correct before getting the heat gun out.
by janosch
Wed Sep 14, 2022 2:18 pm
Forum: Inverters / Motor Controllers
Topic: UART Firmware updating not working.
Replies: 18
Views: 1546

Re: UART Firmware updating not working.

If that was the case you would also have problems with web interface and the flashing process, but CRC is transmitted correctly for all pages, which makes this interesting. Maybe try plotting variables through the web interface just to rule it out.
by janosch
Wed Sep 14, 2022 1:54 pm
Forum: Inverters / Motor Controllers
Topic: UART Firmware updating not working.
Replies: 18
Views: 1546

Re: UART Firmware updating not working.

Interesting that the upload seems to work, because comms between bootloader and your Python script work and sends the pages through. 1) Could you hook a USB to UART just RX & GND into the connection and listen in to what is being sent when you deploy from STM32Cube, then compare to what is being...
by janosch
Wed Sep 14, 2022 11:39 am
Forum: General
Topic: Cleanly get variables in and out of various CPP files
Replies: 6
Views: 4379

Re: Cleanly get variables in and out of various CPP files

... I need to declare the object with extern in front to allow multi file usage. ... Hey Tom, you can check how Johannes is doing it in his code: https://github.com/jsphuebner/stm32-template https://github.com/jsphuebner/stm32-car (I adapted this for my needs and it works well, but embedded program...
by janosch
Wed Sep 14, 2022 11:29 am
Forum: Nissan
Topic: We built a manual P-Brake actuator for the Leaf gearbox
Replies: 10
Views: 1705

Re: We built a manual P-Brake actuator for the Leaf gearbox

Yeah exactly, and the spanner turns ... 90 degrees? maybe only 45 even. I think the little motor could in theory be made to work with an OpenInverter mini board as it is three phase. We had to de-prioritise the software solution, but if someone wants to tinker something together and publish here tha...
by janosch
Wed Sep 14, 2022 8:23 am
Forum: Nissan
Topic: We built a manual P-Brake actuator for the Leaf gearbox
Replies: 10
Views: 1705

Re: We built a manual P-Brake actuator for the Leaf gearbox

arber333 wrote: Tue Sep 13, 2022 8:52 pm a TUV standard.
Yeah if you could point me in the direction of this, whichever language that would be fine, I will be able to Google the other versions myself. All that said it makes perfect sense the way you describe it, I just want the original source at hand :)
by janosch
Tue Sep 13, 2022 4:10 pm
Forum: Nissan
Topic: We built a manual P-Brake actuator for the Leaf gearbox
Replies: 10
Views: 1705

Re: We built a manual P-Brake actuator for the Leaf gearbox

arber333 wrote: Mon Apr 11, 2022 6:53 pm ... Automotive rules require two separate moves for reversing action...
Which ones by the way? We were discussing this today again, do you have a link?
by janosch
Tue Sep 13, 2022 12:32 pm
Forum: Projects
Topic: [DRIVING] Audi A2 /w Prius Gen2 Transaxle & Inverter [FINISHED]
Replies: 345
Views: 92920

Re: Audi A2 /w Prius Gen2 Transaxle & Inverter [FINISHED]

... Had to cut the one drum apart because it wouldn't come off... Oh god, our very early prototype had a drum that was badly seized: pulling technique on YouTube <-- this is what I did back then. The twisting big bolt in the middle there didn't work for me, I used a car jack to rip it the drum off ...
by janosch
Wed Sep 07, 2022 4:20 pm
Forum: User Interface
Topic: terminal.cpp Unknown Command Sequence "json" [SOLVED]
Replies: 8
Views: 5868

Re: terminal.cpp Unknown Command Sequence "json" [SOLVED]

Yes! I think it works with the second scheduler, thanks. Had to: - create a second scheduler using TIM3 - bump the priority for CAN_TX, CAN_RX and Ms{10,100,500}Task in libopeninv - put a pointer to the Terminal on the stack The variable is being plotted in the web interface and at the same time the...
by janosch
Wed Sep 07, 2022 8:52 am
Forum: News
Topic: I explain how we built our vehicles at IoT North podcast
Replies: 1
Views: 3379

I explain how we built our vehicles at IoT North podcast

The first ~16 minutes of this stream is me talking. If you are just starting out: 4:18 "just an engine swap" - all problems that should be on your radar UK licensing: 16:14 Shoutout to Johannes & Damien of course: 12:04 Shoutout to other EV converters: 16:57 Hope this helps/is interest...
by janosch
Tue Sep 06, 2022 4:31 pm
Forum: User Interface
Topic: terminal.cpp Unknown Command Sequence "json" [SOLVED]
Replies: 8
Views: 5868

Re: terminal.cpp Unknown Command Sequence "json" [SOLVED]

Right, what I tried to do here was add an I2C display and have it updated in main(){ while(1){}} . Unfortunately adding I/O like that messes up the timings for Terminal::Run() , destroying plotting functionality and web interface. I could: 1) add the I2C I/O code into the scheduled handlers, but del...
by janosch
Mon Sep 05, 2022 8:32 am
Forum: User Interface
Topic: terminal.cpp Unknown Command Sequence "json" [SOLVED]
Replies: 8
Views: 5868

Re: terminal.cpp Unknown Command Sequence "json" [SOLVED]

Ok, good, sounds like I understood how its meant to work in that case and just messed up somewhere. Will take a look today.
by janosch
Fri Sep 02, 2022 4:10 pm
Forum: User Interface
Topic: terminal.cpp Unknown Command Sequence "json" [SOLVED]
Replies: 8
Views: 5868

Re: terminal.cpp Unknown Command Sequence "json" [SOLVED]

Yeah, copying everything to the left one char and replacing the command echo with just a newline echo brings the params back into the web interface, but I am sure breaks other functionality. It will break itself once the \n decide to go and I am one char short. Question remains where the newlines sp...
by janosch
Fri Sep 02, 2022 2:37 pm
Forum: User Interface
Topic: terminal.cpp Unknown Command Sequence "json" [SOLVED]
Replies: 8
Views: 5868

terminal.cpp Unknown Command Sequence "json" [SOLVED]

Ok this might be a stupid one but I am a bit at a loss here, so I am posting it: Web interface "spontaneously" stopped reading params from my VCU, so I had a bit of a look around and in Terminal::Run I stepped through the parsing and found leading "\n" in term->inBuf but I can't ...
by janosch
Wed Aug 17, 2022 1:52 pm
Forum: Charging
Topic: InstaVolt Chademo Failure
Replies: 6
Views: 1012

Re: InstaVolt Chademo Failure

Nice! I still wonder what the issues is with us & BP. It connects fine, the EVSE sees the battery percentage and then it stops. Haven't tested for a few days with them so I don't remember their error code. I think it goes through the Isolation test fine as well but don't remember now off the top...
by janosch
Wed Aug 17, 2022 11:15 am
Forum: General
Topic: UK IVA Modifications
Replies: 107
Views: 34014

Re: UK IVA Modifications

That's it. You have to provide electrical measurements as well, and they don't take your word for it, but you can give the IVA people a call and they will tell you who they accept. A certified inspector comes to your car and witnesses you making the measurements and notes down the values. You will e...
by janosch
Tue Aug 16, 2022 3:31 pm
Forum: General
Topic: UK IVA Modifications
Replies: 107
Views: 34014

Re: UK IVA Modifications

daft question... Now if you go through the steps of the IVA, the car is essentially re-registered therefore do you (a) get electric on the v5? (b) get ved of zero as the car is electric? Not daft: Nope, because of the DVLA situation. They reclassified us as zero for a while "by accident" ...
by janosch
Tue Aug 16, 2022 2:11 pm
Forum: General
Topic: UK IVA Modifications
Replies: 107
Views: 34014

Re: UK IVA Modifications

Licensing it elsewhere and importing is a good idea, the certification agencies are in competition with each other in principle. It is a quite common practice. I think pre-Brexit it would have been a tad easier than it is now, but who knows, maybe someone can find a path? I don't know why people are...
by janosch
Tue Aug 09, 2022 11:38 am
Forum: Inverters / Motor Controllers
Topic: Article: "Debugging bare-metal STM32 from the seventh level of hell"
Replies: 7
Views: 2562

Re: Article: "Debugging bare-metal STM32 from the seventh level of hell"

Yeah, I didn't realise they were back. In that case I am happy to stick with them ad infimum.
by janosch
Mon Aug 08, 2022 12:21 pm
Forum: Inverters / Motor Controllers
Topic: Article: "Debugging bare-metal STM32 from the seventh level of hell"
Replies: 7
Views: 2562

Re: Article: "Debugging bare-metal STM32 from the seventh level of hell"

, but with the STM32F030, which has very limited debugging capabilities compared to other STM32s, because in case of a fault it just jumps to the HardFault vector without information where the fault occured. That sounds like fun. No callstack no nothing? stm32-template/libopencm3 jumps into blockin...
by janosch
Mon Aug 08, 2022 9:57 am
Forum: Inverters / Motor Controllers
Topic: Article: "Debugging bare-metal STM32 from the seventh level of hell"
Replies: 7
Views: 2562

Article: "Debugging bare-metal STM32 from the seventh level of hell"

Article: https://jpieper.com/2022/08/05/debugging-bare-metal-stm32-from-the-seventh-level-of-hell/ Discussion on Hacker News: https://news.ycombinator.com/item?id=32381448 Read that this morning, thought some of the techniques he applied were curious. His result as well, if he only had internalised ...
by janosch
Thu Aug 04, 2022 1:11 pm
Forum: Inverters / Motor Controllers
Topic: STM32F1 template project
Replies: 13
Views: 13553

Re: STM32F1 template project

Maybe another word of praise for this, as I have been working with it for more than a year and a half now: The approach is great on a few different fronts: - getting the web interface for free with it is neat - plotting in the web interface is fantastic for debugging - libopeninv and libopencm3 are ...
by janosch
Thu Aug 04, 2022 12:34 pm
Forum: Getting Started
Topic: Newb Asks: Why don't we rely on the component coolant for heat?
Replies: 7
Views: 1467

Re: Newb Asks: Why don't we rely on the component coolant for heat?

Liquid battery cooling & rapid charging I could see work: If you have 200kg+ of material that are 50deg after a rapid charge session or two, cooling them down again should produce nice warm air for the passengers? If you are not rapid charging but the batteries are full, use an electric element....