The OpenRB-150 comes with Serial2 set up with the usual UART 4-pin port (near the DXL-VIN jumper), but the user will have to do some soldering work to put a 1x4 PIN Header Socket (Pitch 2mm) before it is usable. Then a BT-210/410 module can be used there as Serial2.
Here I was using the Virtual Controller RC-100 from TASK 2 Tool to verify that Remocon packets were going from the PC (BT-410 dongle) through the BT-410 receiver (Serial2) and then the Arduino sketch OK.
To test out the I2C port, I was using the ToF sensor VL53L5CX from Pololu. This sensor was working OK with the OpenRB-150.
Strange behavior of Ping() with Arduino Core V. 0.2.1 for OpenRB-150
Version 0.2.1 incorporates previous hot fixes but Ping() now behaves strangely.
I have a CarBot using 4 XL-320s and when I used scan_dynamixel.ino to check it out, I had found that if I used the usual Broadcast ID of 254, the OpenRB-150 reported that no dynamixel could be detected:
To make a long story short, this camera can only work properly with the OpenRB-150 when the 5V Pin out of this boardโs header is used to power the camera. First, I thought that it would be more proper to use the 3.3V Pin to do this job, but this usage gave me run-time issues with the Serial Monitor (costed me a whole day of work to figure this out!).
From the picture above, for a successful run, this camera could provide tracking data for a single target for about every 47 ms for an image resolution of 1024x768 pixels.
It got more interesting when I used this camera on a MKR ZERO, and I found out that with the MKR ZERO, I could use either 5V Pin or 3.3V Pin to make the H7 Plus work properly. It will be interesting to see/figure out why, when ROBOTIS releases the schematic for the OpenRB-150 in the near future.
I am using this camera in I2C mode and @willson would be glad to know that the Wire Library is working well now.
So far, I have only tested out Color Detection and at first glance, data throughput for HuskyLens seems to be the best as compared to Pixy2 and H7 Plus cameras.
Previously, this A4WP-H robot had been controlled by an RPi0-2W and an OpenCM-904 - please check out this post:
This time, I used the OpenRB-150 + HuskyLens camera and Arduino instead:
Some of the XL-430s are in Timed Position Control mode so that the robot can be programmed to โwalkโ via SyncWrite. The ones with โwheelsโ are of course in Velocity Control mode.
The HuskyLens camera tracks the โredโ objects very well (in I2C mode) but this process tended to โsuppressโ the RC-100 packet flow coming from the UART port, so I practically lost Manual Control when I set this robot to Autonomous Tracking mode.
Importantly, I had found that the OpenRB-150 will not work properly when its Voltage Input is over 11.1~11.2 V. So the standard 12V PS that comes with any ROBOTIS kit will not work for this board (although this 12 V PS had been working fine for me with Open904 and even MKR ZERO and DXL MKR Shield). I had to get a Continuously Variable PS so that I could figure out that it needed around 11.1 V. So hopefully this issue only happens for my particular board. May be other Beta Testers can share in if they encountered the same issue?
The Power Conversion circuitry on my OpenRB-150 continued to break down, I could only use ~10.8 V to power my Mobile Manipulator as shown above. Fortunately, at ~10.8 V, the OpenRB-150 was still able to operate the 12 AX-12s + Pixy2 camera + ToF Imager (8x8 zones) adequately enough.
Main Controller operates the Wheels & receives Commands from PC (TASK Output Monitor via BT-210). The Main Controller communicates with the Pan-Tilt Controller (Tx and Rx) via Serial3 (Wired UART). There are two modes of operations: Manual RC via PC and Autonomous Target Tracking. When in Manual RC Mode, the operator can move the Pan-Tilt platform from the PC.
Pan-Tilt Controller operates the Pan-Tilt Platform to move the HuskyLens camera. The Pan-Tilt Controller communicates with the Main Controller (Tx and Rx) via Serial3 (Wired UART). It does the Image Processing required for Autonomous Target Tracking. When in Autonomous Target Tracking mode, the Pan-Tilt Controller also controls the Wheels on the Main Controller.