The course had been closed in several months ago, but I didn't get enough leisure time (and proper mood... maybe...) to complete the robot until these weeks. The following photos show the QuickBot:
Front view of my QuickBot |
Top view; the BBB is on the left side |
The mess of wires between the chassis |
I searched and found some conversion formulas for Arduino[2]:
source: http://www.dfrobot.com/wiki/index.php?title=File:Formulas.jpg |
The trend of the output seemed right, but the absolute values were far from accurate. I might have to do some tests to find my own formula.
What I failed in the test was the communication between the host PC (running pysimiam) and the QuickBot's BBB (running quickbot_bbb). I have Wi-Fi adaptor connected to the BBB and it worked perfectly for accessing the internet, but I just couldn't connect the BBB wirelessly from my PC. I decided to postpone this part.
My next plans are:
- To write some code to drive the motors with the IR readings as the reference;
- to change the battery packs to the Li-Poly one.
---
[1] Without signing up the course, you may not be able to view the content. Here is the play list on YouTube: https://www.youtube.com/playlist?list=PLp8ijpvp8iCvFDYdcXqqYU5Ibl_aOqwjr . It has only the video course, however.
[2] http://www.dfrobot.com/wiki/index.php/SHARP_GP2Y0A41SK0F_IR_ranger_sensor_%284-30cm%29_SKU:SEN0143
[3] My modified code is here: https://github.com/hiankun/qb_test.git