Create electronic schematic for robot
Opened this issue · 11 comments
Schematic will be created in free EDA KiCad.
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
KiCad project is located: https://github.com/ros-ukraine/leobot/tree/F%23124_MCU_Board_Schematic/docs/design/hardware/MCU_Board
@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
thanks! Good catch!
I have made some mistakes with motor driver signals.
You are right:
- 5v should be connected to shields.
- And there are no "InA and InB" lines on the current schematic.
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
- INA and INB = 0
- INA and INB = 1
- PMW = 0
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.