ros-ukraine/leobot

Create electronic schematic for robot

Opened this issue · 11 comments

Schematic will be created in free EDA KiCad.

Great choice!

Added 3D model for the footprint in KiCad. As for me looks nice :)
image

  1. Connection diagram:
    image

  2. Preliminary schematic:
    image

@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:

  1. 5v should be connected to shields.
  2. 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:

image

connected motor driver signals INA, INB to the stm32 board connector:
image

@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

  1. INA and INB = 0
  2. INA and INB = 1
  3. PMW = 0

image

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.
image