Page 1 of 1

My own brain board

Posted: Wed Sep 11, 2019 11:34 am
by Ahmad
After 5 days, my brain board pcb is finished :?
STM32F407V_Brain_Ahmad.png
STM32F407V_Brain_Ahmad.png (285.8 KiB) Viewed 9216 times
I want to use screw-less connector(MX250B-3.5) for mother board, because the test engine is a stationary generator.
Max250B-3.5.jpg
Max250B-3.5.jpg (98.66 KiB) Viewed 9216 times
Any comment?

Re: My own brain board

Posted: Wed Sep 11, 2019 12:00 pm
by AndreyB
I would recommend having 4 status LEDs for firmware diagnostics, see https://rusefi.com/forum/viewtopic.php?f=4&t=381

Without schematics with just a picture there is too little information.

Why do you believe that a new brain board is necessary? Looks like there are SO many boards :)

Re: My own brain board

Posted: Wed Sep 11, 2019 1:32 pm
by Abricos
LED ?
STM32F407V_Brain_Ahmad__01.png
STM32F407V_Brain_Ahmad__01.png (292.69 KiB) Viewed 9204 times

Re: My own brain board

Posted: Wed Sep 11, 2019 1:38 pm
by Ahmad
Thanks for new topic.
LEDs can be placed on mother board instead of brain board. The brain board may be used for other projects.
I use Altium and our local PCB makers have some limits on manufacturing (clearance, pad/via size, ...).
The price and size of an STM32F4Discovery and its extra components lead me to make my own brain board.
I want to test RusEfi code for testing and learning, because my experiences is low level programming and RusEfi code is high level.
Now my doubt is connector selection for mother board. I want to have some flexibility on wiring.

Re: My own brain board

Posted: Wed Sep 11, 2019 1:47 pm
by Ahmad
Abricos wrote:
Wed Sep 11, 2019 1:32 pm
LED ?
STM32F407V_Brain_Ahmad__01.png
4 LEDs are for 3.3V, USB5V, SDcard and Debug.
Schematic:

Re: My own brain board

Posted: Wed Sep 11, 2019 2:00 pm
by Ahmad
I have another question.
Is the free Tuner Studio best choice for monitoring/tuning?
May last project was a generator controller/monitoring and I wrote my own software.

Re: My own brain board

Posted: Wed Sep 11, 2019 4:07 pm
by kb1gtt
Best choice is a vague term. It's free, and it works. For many that makes it the best. However best is in the eyes of the beholder. The console also several features which are not options in TS.

Re: My own brain board

Posted: Wed Sep 11, 2019 10:05 pm
by AndreyB
Ahmad wrote:
Wed Sep 11, 2019 1:47 pm
LED Debug.
So you have one debug LED that's something! I would recommend at least two debug LEDs. Please be aware that you would need to compile your own firmware if you want your FATAL ERROR debug LED to be on a custom pid, FATAL ERROR could not be adjusted via configuration by design.

rusEfi stm32f407 default firmware uses

Code: Select all

#define LED_ERROR_BRAIN_PIN GPIOD_14

Re: My own brain board

Posted: Thu Sep 12, 2019 8:47 am
by Ahmad
russian wrote:
Wed Sep 11, 2019 10:05 pm
So you have one debug LED that's something! I would recommend at least two debug LEDs. Please be aware that you would need to compile your own firmware if you want your FATAL ERROR debug LED to be on a custom pin, FATAL ERROR could not be adjusted via configuration by design.
rusEfi stm32f407 default firmware uses

Code: Select all

#define LED_ERROR_BRAIN_PIN GPIOD_14
Thanks to notification Andrey
I'm drawing mother board and will connect any unused pin to a LED :)
but I don't understand "FATAL ERROR could not be adjusted via configuration by design".
you means, I can't change pin definitions in your source code and then compile?

Re: My own brain board

Posted: Thu Sep 12, 2019 10:57 am
by AndreyB
no, i only mean it could not be adjusted after compiling. everyghing else could be sdjusted via tunerstudio but not that.

if you can recompile you are good. it would be easier to use standard official binaries

Re: My own brain board

Posted: Fri Nov 01, 2019 5:12 pm
by Ahmad
My experimental ECU board is complete and now i want to edit firmware to match it.
the board consist of:
- STM32F407V module
- L9779 module for Digital I/O, Stepper motor Driver(we have gas mixer instead of injectors), ...
- CJ125(TQFP) module for Lambda
- IGBT module with current sense for ignition
- LAN (w5500) module
- RS485 (ADM2587E) module
- WiFi(ESP8266) module with current softener supply
- TLE9201SG for ETB