Make your robot drive straight (ok, well, straighter) using the MPU-6050 6-Degrees-of-Freedom accelerometer/gyro. This is another presentation given to the Nashua Robot Builders. Here’s the Arduino code: _2020Bot_MUP6050.ino.zip Please note… the Arduino code isn’t up to my usual standards, but it will show you a few things. Pay attention to the required libraries (links […]
Phew! That was amazing! I had a blast at Bay Area Maker Faire building 2020 Bots all day Saturday and Sunday. Once an hour, a couple attendees got a chance to build their own 2020 Bot and take it home with them.
I just updated the 2020 Bot Arduino Library to include a couple motor control examples: https://github.com/robojay/_2020Bot_Library One uses the delay() function between motions. This is great for ease of understanding, but not so great to use in practice. The delay() function blocks the robot from doing most other tasks until the time expires. The second example […]
When you build a robot, it’s nice to have layers of sensors. You can think of the layers either top down (maybe starting with a 3D laser scanner), or from the bottom up (are my motors stalled?). Proximity sensing sits on one of the lower layers, and generally is used as “Hey, there’s something near […]
Once you’ve built your 2020 Bot and played around with it a bit, the next step is writing your own programs. The 2020 Bot uses an Arduino Nano micro controller. A simple web search will turn up plenty of references. Here’s a good link to get you started: Official Nano Getting Started guide from Arduino: https://www.arduino.cc/en/Guide/ArduinoNano
Here is a hookup diagram and a wiring checklist to go along with the 2020 Bot video instructions. The diagram has a couple breadboard locations that are different than what are called out in the video and checklist, but they are functionally equivalent. Click on each image to download PDF versions:
Here are examples of Remote Control and Autonomous modes of the Demo program in the 2020 Bot Library. Remote Control: Autonomous:
I will be giving build demos of the 2020 Bot at Maker Faire! http://makerfaire.com/bay-area/ http://makerfaire.com/maker/entry/60008/ At least once an hour, I’ll pick a volunteer from the attendees to build a 2020 Bot. The lucky volunteer will get to keep the robot after they build it! The catch is, they need to hang out at my […]
The 2020 Bot project is really starting to develop, and it will eventually have a dedicated site. For now, I’ve added a 2020 Bot Resources menu to the blog. You’ll definitely want to check out my project posts along with the resources.
I’ve been using the 3.0 version Arduino Nano on the 2020 Bot, which replaces usual FTDI USB to Serial converter with the less expensive CH340G.