Hello welcome to the garage today I received a new
boards from JLC PCB and i'll be working on turning this board into that now.
i'm actually lying to you i've been working on this board for whole week
and been filming bits and pieces bit by bit so today i will show you what i've done
and how did i get the board working with the toyota prius inverter
surprise surprise i found that my board is bigger
so what could i do i used the toyota board as a template and marked the holes on my board
however i've decided i will only make two holes on one side and leave one side hanging
i received five boards from jlc pcb and two of them were populated and three of them were blank
as i was saving money i've decided to populate two boards so i used one of the blank boards as
a template and marked the holes using the toyota board as a guidance and i marked again and again
and marked again so now once i got it right i used one of the blank boards to drill the holes
in it first and then use it as a template to drill the holes in the board that was assembled
you could see i'm trying the blank board i see my pilot holes line up very well so i could now
drill the main board and now main board drilled i found another problem the edge of the board is
extended a little bit too far so it was resting on the edge of a mounting bracket of the inverter
i decided to trim a couple of corners adjacent to the um this mounting hole cutting corners i
thought that was not in my character but i suppose one would have to start someday
first i will solder a jst connect as it is the more complex one to solder as well as it has a
low profile so it will less likely to interfere with other parts or connectors i placed flux on
the connectors trackpads so it actually was quite handy because it was held in place by the flux and
you can easily position connector correctly and i use a drug soldering technique to solder through
the connector and actually worked really well you could see that there's no bridges whatsoever and
the solder went really well turned it looks very clean and the last step i used a flux cleaner
just to clean a connector and area around the connector thoroughly all i needed in the end is
to solder adc connector so i can apply power and a three-pin programming connector for the stm32 chip
okay so now we connected the 12 volts and we have indication that power is working
we need to check the main supply voltages so i'll start from 3.3 volt so i'll pick up the
ground from ftdi connector and i check well it's 3.30 that's great the next one is the 5 volts
so i'll pick up one of these capacitors it's 5.00 that's perfect and now we need to check
-5 which would be here minus 5.00 amazing and 26 is 25.7 perfect so we have all our power in place
now we need to program the istm stm32 module okay i now connected um the st-link programmer
i got power on so we got power 12 volts to pin 1 and ground to pin 6. so i'm going to plug st-link
st-link is in there on this board we have two processors one is stm32 and another one
is atmega328p so atmega is used to control the charger where stm32 is used to control
the functions of inverter i've decided to program stm32 first and just play with an inverter and
then maybe at later date uh to play with the charge so because of this i will only program
stm32 for now i started a stealing utility and connected a programmer by going target connect now
i'm programming a bootloader first so i went to open a bootloader hex file and selected program
and verify to program the bootloader next i will program the actual firmware i chosen this time
foc.hex which is basically programming a field oriented control firmware i have
programmed another board where i used sign firmware so in this case you have to choose
sign dot hex once firmware has been programmed you could see that second
led starts flashing rather quickly that means the firmware has been successfully programmed
now with the board programmed all i needed to do is to solder connectors
so i pretty much use similar technique and just place the connector on
flux and folded appropriate pins here on this one i went little bit overboard and as you can see i
put the solder bridge so i had to use a wick to wick out some extra solder it worked out quite
well in the end and i managed to clear off all the extra solder and i managed to produce quite
a good quality connector and after that i went all around the board soldering other connectors
and now by the magic of video editing voila we have the whole board ready thank you for
watching in the next video i will be installing the board into inverter and
testing and producing hopefully the pwm signals to control igbts so if you want to watch more
of this madness please subscribe if by any weird strange circumstances you liked it
please smash that like button as they say in america adios bye bye