#199 Self Balancing 'Bot (almost) with Arduino Pro Micro
For several weeks I've followed Joop Brokking's detailed project for a self-balancing robot.
JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/
Also you get free assembly right now too.
I've made a few changes to the mechanical design but in essence it's pretty much as his website shows (links below). The electronic changes I've made are just nice-to-have features that I've demonstrated in this channel, such as the MOSFET reverse polarity protection and the Si4599 Arduino-controlled auto-off function.
It's early days. The bot doesn't balance very well, but I've only just changed the oversized wheels to 5cm wheels (as per Joop's design) and it already works a lot better.
This is not a cheap project, but keeps me very busy and it's fun to do. Whether I will still be saying that as I try and get my head round Joop's PID calculations remains to be seen.
PID? Basically a feedback control loop. Your living room thermostat is the simplest I can think of, but the cruise-control of a car is another. We'll talk about all this in a later video once I have a successfully balancing and moving 'bot.
So this video is more about my journey thus far, getting the 'bot to stand up (some of the time) and my plans to enhance its abilities going forward.
You'll also see the excellent JLCPCB PCB board I made for the project which simplifies the wiring considerably and mitigates wiring errors.
===========
INFORMATION
===========
The parts list you'll find on Joop's website here, along with 3 videos that explain it all:
http://www.brokking.net/yabr_main.html
@https://www.youtube.com/channel/UCpJ5uKSLxP84TXQtwiRNm1g
Useful information on the DRV8825 Stepper Motor module:
http://www.geeetech.com/wiki/index.php/DRV8825_Motor_Driver_Board
Want to know about PID? Read on in Wikipedia:
https://en.wikipedia.org/wiki/PID_controller
========
HARDWARE
========
I bought my Pro Mini (5V / 16MHz) from Banggood (this is for a 5-pack but they sell them individually too):
https://www.banggood.com/5Pcs-Pro-Mini-ATMEGA328P-5V-or-16M-Improved-Version-Module-Development-Board-p-1009204.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
And the Si4599 dual MOSFET board for the auto off:
https://www.banggood.com/5pcs-CJMCU-4599-Si4599-N-and-P-Channel-40V-D-S-MOSFET-Expansion-Board-Module-p-1363263.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
5cm (cheap) wheels I got from here (drill a 4.5mm hole in the wheel if using Nema 14 35mm stepper motors):
https://www.technobotsonline.com/plastic-wheel-51x16x2.6mm-pk-4.html
NEMA 14 metal 'L' brackets also:
https://www.technobotsonline.com/nema-14-stepper-motor-l-angle-bracket.html
### List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------
Видео #199 Self Balancing 'Bot (almost) with Arduino Pro Micro канала Ralph S Bacon
JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/
Also you get free assembly right now too.
I've made a few changes to the mechanical design but in essence it's pretty much as his website shows (links below). The electronic changes I've made are just nice-to-have features that I've demonstrated in this channel, such as the MOSFET reverse polarity protection and the Si4599 Arduino-controlled auto-off function.
It's early days. The bot doesn't balance very well, but I've only just changed the oversized wheels to 5cm wheels (as per Joop's design) and it already works a lot better.
This is not a cheap project, but keeps me very busy and it's fun to do. Whether I will still be saying that as I try and get my head round Joop's PID calculations remains to be seen.
PID? Basically a feedback control loop. Your living room thermostat is the simplest I can think of, but the cruise-control of a car is another. We'll talk about all this in a later video once I have a successfully balancing and moving 'bot.
So this video is more about my journey thus far, getting the 'bot to stand up (some of the time) and my plans to enhance its abilities going forward.
You'll also see the excellent JLCPCB PCB board I made for the project which simplifies the wiring considerably and mitigates wiring errors.
===========
INFORMATION
===========
The parts list you'll find on Joop's website here, along with 3 videos that explain it all:
http://www.brokking.net/yabr_main.html
@https://www.youtube.com/channel/UCpJ5uKSLxP84TXQtwiRNm1g
Useful information on the DRV8825 Stepper Motor module:
http://www.geeetech.com/wiki/index.php/DRV8825_Motor_Driver_Board
Want to know about PID? Read on in Wikipedia:
https://en.wikipedia.org/wiki/PID_controller
========
HARDWARE
========
I bought my Pro Mini (5V / 16MHz) from Banggood (this is for a 5-pack but they sell them individually too):
https://www.banggood.com/5Pcs-Pro-Mini-ATMEGA328P-5V-or-16M-Improved-Version-Module-Development-Board-p-1009204.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
And the Si4599 dual MOSFET board for the auto off:
https://www.banggood.com/5pcs-CJMCU-4599-Si4599-N-and-P-Channel-40V-D-S-MOSFET-Expansion-Board-Module-p-1363263.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
5cm (cheap) wheels I got from here (drill a 4.5mm hole in the wheel if using Nema 14 35mm stepper motors):
https://www.technobotsonline.com/plastic-wheel-51x16x2.6mm-pk-4.html
NEMA 14 metal 'L' brackets also:
https://www.technobotsonline.com/nema-14-stepper-motor-l-angle-bracket.html
### List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------
Видео #199 Self Balancing 'Bot (almost) with Arduino Pro Micro канала Ralph S Bacon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![#205 ESP32 Internet Radio with VS1053 MP3 decoder and ILI9341 TFT](https://i.ytimg.com/vi/xrR8EZh2bMI/default.jpg)
![What can be done from the old hard drive? DIY Powerful Heater !](https://i.ytimg.com/vi/nOOB5ucmQsk/default.jpg)
![#198 Wii Nunchuck (I2C Joystick) for your Arduino project - Easy!](https://i.ytimg.com/vi/sA74PdujjQI/default.jpg)
![#188 Nightmare Fan Speed Controller PLUS a Volts & Amps Digital Display](https://i.ytimg.com/vi/WqoxHBS8tZI/default.jpg)
![Extreme Engineering Machines Building The Most Amazing Megastructures](https://i.ytimg.com/vi/PYd4Oa7DoE0/default.jpg)
![#182 Project updates & woes - phone charger .apk, vacuum tubes & more!](https://i.ytimg.com/vi/EHnkoG5vF0M/default.jpg)
![Top 10 Arduino Projects 2020 | Awesome Idea for winning Science Project](https://i.ytimg.com/vi/gXF0VDY7DHI/default.jpg)
![#190 External Watchdog Timer - Prevent latch/hang ups in a µController](https://i.ytimg.com/vi/wcRuVxXlEKw/default.jpg)
![3 Amazing ideas with Arduino - Compilation](https://i.ytimg.com/vi/uVv5i8T9J9Y/default.jpg)
![#219 Generating sounds 🎵 from the PICO! But is it music to my 👂 ears?](https://i.ytimg.com/vi/9H6zeZcrZ7M/default.jpg)
![#157 Top 5 Essential Arduino Workshop Tools 🛠️ - Beginner & Upgrader](https://i.ytimg.com/vi/BGg2uGDivYQ/default.jpg)
![How to Make DIY Balancing Robot [My Experience]](https://i.ytimg.com/vi/vPx2oyZGv50/default.jpg)
![TENEX Solid State Volumetric OLED Display - EP-T0-622343EB](https://i.ytimg.com/vi/sVv1oc14X1w/default.jpg)
![TOP 10 Arduino projects of 2020](https://i.ytimg.com/vi/ydgLQCQMBuU/default.jpg)
![#153 STM32 clones - good value or cheap copy? Asian Alternative Components](https://i.ytimg.com/vi/VE8-DCMXzo8/default.jpg)
![](https://i.ytimg.com/vi/x7ObmSTebyc/default.jpg)
![#217 Auto Transformer ⚡ Variac for motor control - silent control 👍](https://i.ytimg.com/vi/Ciea-GC82Ms/default.jpg)
![BUILDING a Self-Balancing Robot | PART 3 - Remote & Code!](https://i.ytimg.com/vi/BPNc3-46LlU/default.jpg)
![#173 ATTiny85 Power On Off Shutdown](https://i.ytimg.com/vi/S2y1oAVmxdA/default.jpg)
![#192 Wakey, wakey! Let the DS3231 RTC wake up your Arduino - easy!](https://i.ytimg.com/vi/-dW4XsBo3Mk/default.jpg)