@Dronebotworkshop
  @Dronebotworkshop
DroneBot Workshop | Build a Real Robot Episode 8 - Motor Controller Part 1 @Dronebotworkshop | Uploaded April 2019 | Updated October 2024, 8 hours ago.
In this week's installment of my quest to Build a Real Robot, I am starting to design the motor controllers for the DB1 robot.

More robot projects and Arduino experiments at dronebotworkshop.com

Today we'll start the design of the motor controller, actually “controllers” as there is one for each motor. These devices will connect to the Arduino Mega 2560 over I2C and will drive the Cytron MD10C motor drivers.

They will also connect to the rotary encoders in the gear motors so that we can read the motor speed and position. And they will have an Emergency Stop input, to bring the motors to an immediate stop if something bad happens.

I’m just starting the design, in this episode I will explain the design criteria and show you the commands the state controller will respond to.

Had a bit of a problem in the workshop this week, my workbench computer is no longer working. The SSD, which is only four months old, will not boot. Not a huge issue as all the data is on a network server (and is backed up to a cloud server), but it did set me back a bit while I set up a Windows notebook to take over until I replace the SSD.

As a result, I’m now developing the motor controller using an Arduino Uno, all attempts to install the CH340 Windows drivers for my Arduino Nano clones failed so I switched to an Uno. It’s just for development purposes, the final controller will use either Arduino Nanos, Pro Minis or (most likely) just the ATMega328P chip with its supporting hardware.

It’s a short episode, both due to the computer failure and because I’m in a “design mode” so I’m running a lot of tests and experiments that are still “in progress”. Next week I hope to have some code and demos to show you.

Nonetheless, I hope you enjoy the episode and that you find it useful. See you again next week!

P.S I’d like to get suggestions for creating something like a forum or Wiki, so we can trade ideas and also display all of our robotic creations. If you have any ideas please leave them in the comments. Thanks!
Build a Real Robot Episode 8 - Motor Controller Part 1I2C Part 1 - Using 2 ArduinosBuild a REAL Robot - Episode 4 - Selecting WheelsTech Toolkit | The Ultimate Electronics Tool Round-UpDiodes  - A Practical GuideExploring the Arduino Nano ESP32 | MicroPython & IoT CloudControl Large Gearmotors with PWM & ArduinoUsing EEPROM with Arduino - Internal & ExternalArduino Uno to ATmega328 - Shrinking your Arduino ProjectsBuild a Real Robot - Episode 6 - Power DistributionBuild a REAL Robot - Episode 7 - Motor TestArduino IoT Cloud 2021 - Getting Started with Arduino & ESP32

Build a Real Robot Episode 8 - Motor Controller Part 1 @Dronebotworkshop

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER