Open vyosypenko opened 6 years ago
Great choice!
lib with STM32F4 board headers: http://smisioto.no-ip.org/elettronica/kicad/kicad-en.htm
Symbol and footprint https://www.snapeda.com/parts/STM32F4DISCOVERY/STMicroelectronics/view-part/
Headers 3D model: https://grabcad.com/library/stm32f4discovery-socket-for-kicad-1
Added 3D model for the footprint in KiCad. As for me looks nice :)
KiCad project is located: https://github.com/ros-ukraine/leobot/tree/F%23124_MCU_Board_Schematic/docs/design/hardware/MCU_Board
Connection diagram:
Preliminary schematic:
@nemo8 great schematics! It seems like we need both InA and InB for motors drive shield. I guess that we have to consider powering drive shields from 5V
@LyubomyrD ,
thanks! Good catch!
I have made some mistakes with motor driver signals.
You are right:
I will update schematic.
If You wish you can open schematic in Kicad, the current project is located here: https://github.com/ros-ukraine/leobot/tree/firmware/docs/design/hardware/MCU_Board
Hi @LyubomyrD , according to the motor driver schematic VCC is used only for two signal pull-up (we don't use these pins in our design), so it doesn't really matter 5V or 3.3V:
connected motor driver signals INA, INB to the stm32 board connector:
@nemo8 as far as I understand, pull-ups are for the motor_enable pin. I guess, that even if we do not use it now, we should add the usage to the schematics for safety reasons and possible power usage optimization (when robot is idle, there is no need for motors to be ebanled). @AndriyPt , please, confirm.
@LyubomyrD yes, these pins are for motor enable. For this pins 5V and 3.3V are fine.
Motor is disabled in the next cases
To disable motor using ENA/DIAGA, ENB/DIAGB just need to take off supply volatage (and pininternally will be connected to GND). These pins are dedicated for monitoring fault detection. If we want to disable motor via ENA/DIAGA, ENB/DIAGB pins we need to add the transistor switch for 5V line.
Schematic will be created in free EDA KiCad.