Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create electronic schematic for robot #124

Open
vyosypenko opened this issue May 15, 2018 · 11 comments
Open

Create electronic schematic for robot #124

vyosypenko opened this issue May 15, 2018 · 11 comments
Assignees

Comments

@vyosypenko
Copy link
Contributor

Schematic will be created in free EDA KiCad.

@vyosypenko vyosypenko self-assigned this May 15, 2018
@LyubomyrD
Copy link
Contributor

Great choice!

@vyosypenko
Copy link
Contributor Author

vyosypenko commented May 15, 2018

@vyosypenko
Copy link
Contributor Author

vyosypenko commented May 15, 2018

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

@vyosypenko
Copy link
Contributor Author

image

@vyosypenko
Copy link
Contributor Author

@vyosypenko
Copy link
Contributor Author

  1. Connection diagram:
    image

  2. Preliminary schematic:
    image

@LyubomyrD
Copy link
Contributor

@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

@vyosypenko
Copy link
Contributor Author

@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

@vyosypenko
Copy link
Contributor Author

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

@LyubomyrD
Copy link
Contributor

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

@vyosypenko
Copy link
Contributor Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants