Page 22 of 37

Re: Prius Gen2 adapter board development thread

Posted: Thu Aug 13, 2020 5:08 pm
by imwoody36
if you have a gen2 prius transmission, the original equipment is a resolver, not an encoder. so choose resolver.
i will link a tub vid with colors you may see in a minute

Re: Prius Gen2 adapter board development thread

Posted: Thu Aug 13, 2020 5:11 pm
by imwoody36




at 1 minute 15 seconds you can see the toyota colors and what works.
also notice red yellow swap may be needed for you. mine did.

Re: Prius Gen2 adapter board development thread

Posted: Thu Aug 13, 2020 5:24 pm
by RetroZero
Thanks imwoody26, set resolver in encmode and saved to update.
But even before this, I want to do manual mode with delta config ... Resolver isn't required right?

Re: Prius Gen2 adapter board development thread

Posted: Thu Aug 13, 2020 6:04 pm
by imwoody36
sorry, i dont know.

Re: Prius Gen2 adapter board development thread

Posted: Thu Aug 13, 2020 6:14 pm
by RetroZero
I won't do the same as last time. Going to close shop and start fresh tomorrow.
I'll check your last parameters you shared and see what I'm missing. Thanks

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 9:05 am
by Jack Bauer
Ok. Time to start at the begining. My plan for the video is to take a Gen 2 inverter and transaxle and get mg2 running with one controller and mg1 running with another. In order to do that the first step is how do we wire the first controller (mg2) to the inverter. On the wiki right now we have a pinout for the inverter connector but none for the controller and no diagram showing which pin on the controller should connect to which pin on the inverter. So before we go doing anything else lets get that part right. I'm approaching this as if I've never done this before.
https://openinverter.org/wiki/Toyota_Prius_Gen2_Board

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 10:11 am
by RetroZero
If you like, I will post the latest pin mapping for adapter board in added sub folder for smd board.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 10:30 am
by Jack Bauer
Yes please

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 11:16 am
by RetroZero
Done, please confirm there are no mistakes (when you have a moment)
And, thanks to updating, I realised the modifications of pinouts now mentions "Connect CPWM to 12V via 470 Ohm resistor for charge mode" as apposed to CSDN Pin#29 in Main 32 pin inverter connector.
But CPWM is already connected between inverter and adapter board.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 11:45 am
by Jack Bauer
Great thanks. We need to get these basics out of the way first so we are all working from the same wiring and hardware.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 11:58 am
by imwoody36
I can send pix and confirm colors etc,and can have my staff try software, but im not at the Indiana office for the next week. im at the Florida office working on the LEAF powered boat.
will be lurking as well.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 12:30 pm
by Jack Bauer
No need for software as yet. If we have someone handy with visio or some other drawing package lets get a nice color coded and annotated wiring diagram made up.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 12:57 pm
by RetroZero
I am not at home either. In garage last 3days trying to get delta lights mode working

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 2:47 pm
by ZooKeeper
I updated the Gen2 wiki slightly and will work on a diagram, but have never published one before so.... buyer beware.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 3:35 pm
by RetroZero
Thought I would go back to 4.85version, as I had manual mode (even with 2 phases) now my board has gone to 'sleep'. The stm32_sine. bin file was uploaded and then wifi switched off. No flashing led 😡
I seem to be going backwards...

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 4:23 pm
by Jack Bauer
Yeah. We all need to slow down a little in order to move fast. I'm working on getting the hardware setup over the weekend so with luck Johannes and I will be shooting next week with a view to having the video up on both our channels by the weekend.

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 5:01 pm
by RetroZero
OK, thanks. Really sorry I couldn't help with basic setup. You guys have so much on the go, and I thought it was much simpler than this.... Not grumbling, just owning up to my lack of knowledge. I'm away next week, but taking board with and will 'try' to flash firmware somehow. It's scary, as I know even less in that field. The sine.bin and foc.hex files go to about 3% then wifi switches off. I even moved 'houses' thinking I was getting jammed..

Re: Prius Gen2 adapter board development thread

Posted: Fri Aug 14, 2020 8:38 pm
by MattsAwesomeStuff
Even though I'm not using the Prius Transaxle... I think you guys going through this process will help me tremendously.

And, I think the adoption of this will become *the* beginner tool for EV conversions in the future.

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 5:41 am
by RetroZero
Took the liberty to add first 4 initial set up steps. I trust it helps and is not going to cause more work managing the wiki.
I will up load a picture of wiring diagram if I get a chance (in between moving house)

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 2:35 pm
by ZooKeeper
Is it just me, or is there no Gen2 Prius Wiki link on the Wiki homepage??? The only way I found it was using the link a couple pages back, but maybe I am just missing it on the Wiki page???

Wiki Home =https://openinverter.org/wiki/Main_Page (no obvious Gen2 link??)

Gen2 Wiki link: https://openinverter.org/wiki/Toyota_Prius_Gen2_Board

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 2:45 pm
by RetroZero
I suppose, since we're 'working on a viable solution' it is in 'Other Inverters', and then the Gen 2 link with Damiens blue pill and Johannes' Smd board afterwards. That's where I started adding steps and photos.
Once it's more documented and 'tested' it would be upgraded to Welcome page link before Gen 3 Inverter?

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 3:36 pm
by ZooKeeper
OK folks, V1.0 of the Gen2 Prius Adapter Board diagram done, I will accept ALL constructive criticisms and adjust accordingly.

See attached.

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 4:18 pm
by Kevin Sharpe
ZooKeeper wrote: Sat Aug 15, 2020 3:36 pm OK folks, V1.0 of the Gen2 Prius Adapter Board diagram done, I will accept ALL constructive criticisms and adjust accordingly.
Thankyou :)

Re: Prius Gen2 adapter board development thread

Posted: Sat Aug 15, 2020 8:07 pm
by RetroZero
Looking good, can replace what I put in the wiki. Nice job... Will cross reference (like everyone else) 👍

Re: Prius Gen2 adapter board development thread

Posted: Sun Aug 16, 2020 8:51 am
by Jack Bauer
Excellent. I'll be wiring the vcu tomorrow and will advise on any changes needed. Once we are all on the same wiring diagram then we progress to the next phases.