My own brain board

Hardware inside and outside of the ECU
Post Reply
Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

My own brain board

Post by Ahmad » Wed Sep 11, 2019 11:34 am

After 5 days, my brain board pcb is finished :?
STM32F407V_Brain_Ahmad.png
STM32F407V_Brain_Ahmad.png (285.8 KiB) Viewed 135 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 135 times
Any comment?
Last edited by Ahmad on Thu Sep 12, 2019 5:42 pm, edited 2 times in total.

User avatar
russian
Site Admin
Posts: 9599
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: My own brain board

Post by russian » Wed Sep 11, 2019 12:00 pm

I would recommend having 4 status LEDs for firmware diagnostics, see 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 :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Abricos
contributor
contributor
Posts: 711
Joined: Mon Aug 18, 2014 12:32 am

Re: My own brain board

Post by Abricos » Wed Sep 11, 2019 1:32 pm

LED ?
STM32F407V_Brain_Ahmad__01.png
STM32F407V_Brain_Ahmad__01.png (292.69 KiB) Viewed 123 times

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: My own brain board

Post by Ahmad » Wed Sep 11, 2019 1:38 pm

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.
Last edited by Ahmad on Wed Sep 11, 2019 2:41 pm, edited 2 times in total.

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: My own brain board

Post by Ahmad » Wed Sep 11, 2019 1:47 pm

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:
Attachments
Brain_Board_Sch_Ahmad_V1.pdf
(810.73 KiB) Downloaded 5 times

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: My own brain board

Post by Ahmad » Wed Sep 11, 2019 2:00 pm

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.
Attachments
mCHP.png
mCHP.png (151.15 KiB) Viewed 119 times

User avatar
kb1gtt
contributor
contributor
Posts: 3444
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: My own brain board

Post by kb1gtt » Wed Sep 11, 2019 4:07 pm

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.
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9599
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: My own brain board

Post by russian » Wed Sep 11, 2019 10:05 pm

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
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: My own brain board

Post by Ahmad » Thu Sep 12, 2019 8:47 am

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?

User avatar
russian
Site Admin
Posts: 9599
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: My own brain board

Post by russian » Thu Sep 12, 2019 10:57 am

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
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Post Reply