@Athena I have connected 4x4 motors with 2 Hbridge with PWM, but the motor which is connected in D9,D10,D11 is not working. why?. i normally coded in arduino ide and its worked fine but in synthiam is not working why and how, my EZB is Arudino MEGA
I don't see D9 listed in your summery in the picture you attached. Did you just omit that connection? Take a look and confirm your connection points to the ports.
You may need to familiarize yourself with how an HBridge works and how to wire it.
In addition, you were instructed in another post about how to use two HBridges with one movement panel. Your summary shows you are not following the instructions. Please read the responses to your questions.
Please click on that link and read the manual for the Arduino Mega to understand the port mapping. As of this writing, this is a copy and paste from the manual you would benefit from reading. It is essential to view the link yourself to ensure the most up-to-date mapping. Reading the manuals will help with your questions.
ADC Ports
ARC has the ability to select up to 8 ADC ports per EZB. The MEGA has 8 ADC capable ports mapped to the ARC ADC ports starting from ADC0 to ADC7...
(ARC Left, Arduino Right)
ADC0 = A0,
ADC1 = A1,
ADC2 = A2,
ADC3 = A3,
ADC4 = A4,
ADC5 = A5,
ADC6 = A6,
ADC7 = A7
PWM Ports
ARC has the ability to select up to 24 PWM ports per EZB. The MEGA has 13 PWM capable ports mapped to the ARC PWM ports starting from D0 to D12...
(ARC Left, Arduino Right)
D0 = 2,
D1 = 3,
D2 = 4,
D3 = 5,
D4 = 6,
D5 = 7,
D6 = 8,
D7 = 9,
D8 = 10,
D9 = 13,
D10 = 44,
D11 = 45,
D12 = 46
Digital Ports
ARC has the ability to select up to 24 Digital ports per EZB. Digital ports also operate as bit-bang serial/uart (transmit only). The MEGA has 21 Digital capable ports mapped to the ARC Digital ports starting from D0 to D20...
(ARC Left, Arduino Right)
D0 = 2,
D1 = 3,
D2 = 4,
D3 = 5,
D4 = 6,
D5 = 7,
D6 = 8,
D7 = 9,
D8 = 10,
D9 = 11,
D10 = 12,
D11 = 13,
D12 = 44,
D13 = 45,
D14 = 46,
D15 = 62,
D16 = 63,
D17 = 64,
D18 = 65,
D19 = 66,
D20 = 67
Servo Ports
ARC has the ability to select up to 24 servo ports per EZB. The MEGA has 24 servo capable ports mapped to the ARCservo ports starting from D0 to D23...
(ARC Left, Arduino Right)
D0 = 22,
D1 = 23,
D2 = 24,
D3 = 25,
D4 = 26,
D5 = 27,
D6 = 28,
D7 = 29,
D8 = 30,
D9 = 31,
D10 = 32,
D11 = 33,
D12 = 34,
D13 = 35,
D14 = 36,
D15 = 37,
D16 = 38,
D17 = 39,
D18 = 40,
D19 = 41,
D20 = 42,
D21 = 43,
D22 = 68,
D23 = 69,
It seems like you're having trouble with the Dual HBridge w/PWM Movement Panel in ARC, specifically with the motors connected to D9, D10, and D11 on your Arduino Mega. Let's go through a few steps to troubleshoot and resolve the issue:
Check Wiring Connections:
Ensure that the wiring from the Arduino Mega to the HBridge is correct. Double-check that the connections match the ports specified in the ARC project settings.
For the Dual HBridge w/PWM, you should have connections for the motor control signals and PWM signals. Make sure these are correctly connected to the corresponding pins on the Arduino Mega.
Verify Port Mapping:
The Arduino Mega has specific port mappings in ARC. According to the manual, the PWM ports are mapped as follows:
Ensure that you are using the correct ports for PWM signals. For example, if you are using D9, D10, and D11, make sure they are mapped to the correct pins on the Arduino Mega.
In ARC, go to the settings of the Dual HBridge w/PWM skill and ensure that the ports are configured correctly. The ports in ARC should match the physical connections on the Arduino Mega.
Test Individual Motors:
Test each motor individually by connecting them to known working ports. This will help determine if the issue is with the motor, the HBridge, or the port configuration.
Check Power Supply:
Ensure that the HBridge and motors are receiving adequate power. Insufficient power can cause motors to not function correctly.
Review the HBridge Manual:
Refer to the HBridge Movement Panel Manual for detailed instructions on wiring and configuration.
Arduino Mega Manual:
Review the Arduino Mega Manual for port mapping and additional configuration details.
If you've gone through these steps and the issue persists, please let me know, and we can explore further troubleshooting options. Additionally, if you have any specific error messages or behaviors, please share them for more targeted assistance.
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 i properly read the manual of mega and mapped with the corresponding pin numbers still its not working that is my issue. D9 = 11,
D10 = 12,
D11 = 13,
Using the Set Digital robot skill, an oscilloscope or meter is used to check the ports. Understanding how the microcontrollers work and how they map will be beneficial.
@Athena I have connected 4x4 motors with 2 Hbridge with PWM, but the motor which is connected in D9,D10,D11 is not working. why?. i normally coded in arduino ide and its worked fine but in synthiam is not working why and how, my EZB is Arudino MEGA
I don't see D9 listed in your summery in the picture you attached. Did you just omit that connection? Take a look and confirm your connection points to the ports.
We have moved your question into a new thread to give it the attention it deserves. You had posted it in an unrelated thread regarding the Arduino Mega. This conversation is about the HBridge movement panel. Please follow the instructions in the manual for the HBridge Movement Panel with PWM. You can find it here: https://synthiam.com/Support/Skills/Movement-Panels/Dual-HBridge-w-PWM?id=16067
You may need to familiarize yourself with how an HBridge works and how to wire it.
In addition, you were instructed in another post about how to use two HBridges with one movement panel. Your summary shows you are not following the instructions. Please read the responses to your questions.
In addition, you need to follow the manual for the Arduino Mega to understand the port mapping: https://synthiam.com/Support/Hardware/Arduino-Due-Mega
Please click on that link and read the manual for the Arduino Mega to understand the port mapping. As of this writing, this is a copy and paste from the manual you would benefit from reading. It is essential to view the link yourself to ensure the most up-to-date mapping. Reading the manuals will help with your questions.
It seems like you're having trouble with the Dual HBridge w/PWM Movement Panel in ARC, specifically with the motors connected to D9, D10, and D11 on your Arduino Mega. Let's go through a few steps to troubleshoot and resolve the issue:
Check Wiring Connections:
Verify Port Mapping:
Configure ARC Settings:
Test Individual Motors:
Check Power Supply:
Review the HBridge Manual:
Arduino Mega Manual:
If you've gone through these steps and the issue persists, please let me know, and we can explore further troubleshooting options. Additionally, if you have any specific error messages or behaviors, please share them for more targeted assistance.
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 i properly read the manual of mega and mapped with the corresponding pin numbers still its not working that is my issue. D9 = 11, D10 = 12, D11 = 13,
Using the Set Digital robot skill, an oscilloscope or meter is used to check the ports. Understanding how the microcontrollers work and how they map will be beneficial.
Thanks for your support.