From: Federica Di Lauro Date: Fri, 26 Jul 2019 20:23:11 +0000 (+0200) Subject: Begin of hardware requirements X-Git-Url: http://git.leonardobizzoni.com/?a=commitdiff_plain;h=f987ca73484edbc2458eb236557124e95bbecb0a;p=pioneer-stm32 Begin of hardware requirements --- diff --git a/hardware-requirements.md b/hardware-requirements.md new file mode 100644 index 0000000..44e24e3 --- /dev/null +++ b/hardware-requirements.md @@ -0,0 +1,25 @@ +## Hardware requirements and peripherals + +### Motor drivers +[High-power motor drivers](https://www.pololu.com/category/11/brushed-dc-motor-drivers) + +We have to control 2 motors so a 2 channel driver should be the best choice. +TBD which one depending on the motor current needs. + +### Encoders + +TBD + +### PIN requirements +##### pin needed for encoders: +2 GPIO for each encoder, 4 GPIO total + +##### pin needed for drivers: +* 6 GPIO for fault indicators, sleep inputs, motor directions +* 2 PWM pins for motor speed control +* 2 Analog pins for current sense + +##### Total pin count: +* 10 GPIO +* 2 PWM +* 2 Analog