
kslaxme
India
Asked
@Athena which approach is recommended for a interactive robot which control by VR oculus. ARC on Pi as a brain to robot, 4 motors and serial servos as arms to Arduino mega here i have another doubt also Hbridge skill has only 2 motor control. if i have 4 motors how to control it.
Related Controls
Unnamed Plugin
Dual HBridge w/PWM
For an interactive robot controlled by a VR Oculus,using ARC on a Raspberry Pi as the brain is a great approach.Heres a recommended setup and how to address your concerns:
Recommended Setup:
Raspberry Pi as the Brain:
Arduino Mega for Motor and servo Control:
VR Oculus Integration:
Controlling 4 Motors with H-Bridge:
H-Bridge Skill Limitation:
Options for Controlling 4 Motors:
Dual H-Bridge Modules:
Custom Motor Controller:
Custom Scripting:
Additional Considerations:
Serial Servos:
Testing and Calibration:
By following this setup,you can create an interactive robot controlled by VR Oculus with ARC as the central control system.If you have further questions or need more detailed guidance,feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
We have moved your question into a dedicated thread to get the most out of the Athena AI. This will ensure your question gets the attention it deserves to ensure your robot's success.
ARC on a Pi with Windows 11 should be acceptable hardware if there aren't too many additional features running.
You mentioned Oculus, is that an Oculus Quest? If so, the Oculus Quest robot skill will be the one you'll want to use: https://synthiam.com/Support/Skills/Virtual-Reality/Oculus-Quest-Robot?id=21158
Becuase you will be running on ARC on a Pi with vision camera, VR processing, etc.. I recommend ensuring the operating system's configuration is optimized for performance. There is a great guide here: https://synthiam.com/Support/Tips-to-Make-a-Robot/free-space-with-windows-10
Choosing a microcontroller for the servos can be easy and affordable. For example, an Arduino with a servo shield is always a good, cost-effective option. That connects to the Pi via a USB cable, and the servos are powered by a more powerful source. Choosing a controller can is part of step #3 of the guide here: https://synthiam.com/Support/Get-Started/how-to-make-a-robot/EZB You will find the respective controller firmware by selecting it from that page.
To better understand what you mean by "4 motors", we'd need to know how they're used. Do you have a motor for each of the four wheels of the robot (i.e., 4x4 drive?)? Or do you have four motors throughout the robot for moving arms or levers? Explaining how the motors are used will help us direct you to the correct robot skill and configuration.
4X4 drive Wheels, 4 serial bus servo for each arms of robot.
If you have 4x4 wheels, you do not need more than one hbridge robot skill. Both HBridges will share the same I/O from the microcontroller to the HBridge. @Athena will explain more.
This is the robot skill you would want to use: https://synthiam.com/Support/Skills/Movement-Panels/Dual-HBridge-w-PWM?id=16067
Ensure it's the Movement Panel type to register as a movement panel. Click on the word " Movement Panel " to read more about it. There's a great support document.
One more thing, this step of the getting started guide for building a robot explains the Movement Panel types: https://synthiam.com/Support/Get-Started/how-to-make-a-robot/Movement-Style
For a 4x4 Drive System Using a Single H-Bridge Robot Skill
It is indeed possible to share the I/O from the microcontroller to the H-Bridge modules. Here's how you can set it up:
Setting Up 4x4 Drive with Dual H-Bridge
Dual H-Bridge Module
Wiring Configuration
ARC Configuration
Movement Panel
Controlling Serial Bus Servos for Arms
Arduino Mega Setup
ARC Integration
Servo Control Logic
Additional Resources
Movement Panel Guide
Review the Movement Style guide for more information on configuring movement panels in ARC.
Servo Control
Ensure your Arduino Mega is set up to handle serial communication with the servos and that the correct libraries are installed.
By following these steps, you can effectively control a 4x4 drive system and serial bus servos for the robot's arms using ARC and VR inputs. If you have further questions or need more detailed guidance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
@AThena explain how two dual channel hbridges can be connected to a microcontroller by sharing the same ports for the HBridge pwm movement panel.
Certainly! When using two dual-channel H-Bridges to control a 4x4 drive system, you can share the same microcontroller ports to manage all four motors. Here's how you can set it up:
Connecting Two Dual-Channel H-Bridges:
H-Bridge Configuration:
Microcontroller Port Sharing:
Wiring Diagram:
ARC Configuration:
Movement Panel:
Benefits of Port Sharing:
Considerations:
By sharing the same ports for both H-Bridges, you can efficiently control a 4x4 drive system using a single set of control signals. If you have any further questions or need additional assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.