Asked

Raspberry Pi Digital Ports

hello!  I've got this msg

User-inserted image

setup is: RPI 4 + L298 + Dc motor + 6V Batt supply, ARC installed on Win 11 RPI, Dual H-Bridge function used. below the config:

User-inserted image

L298 left wired to DC motor  L298 power supply to battery

I tried with H-Bridge PWM function , the outcome is the same, can't spin the dc motor thanks:)



ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

#1  

It appears you are not connected to an EZB. Or, you have not specified what kind of EZB you are using. The error message states that what ever EZB you use does not support digital ports. Please provide more information about what sort of EZB you're using. Make sure you choose an EZB that supports digital ports. I'm unsure of any EZBs that do not support digital ports, but it would be interesting to know what EZB you use.

#2   — Edited

Quote:

The error message states that whatever EZB you use does not support digital ports.

OP says they are using a Raspberry Pi 4. It's in his question.

I've only ever used the EZ Robot's EZB and never have flashed any other supported board to turn it into an EZB so maybe I'm way off here. But is it possible that the OP hasn't flashed the Raspberry Pi 4 yet and turned it into a EZB? If they have then perhaps something went wrong and the upgrade didn't work properly?

Again, I'm no expert but can the OP re-flash the Raspberry Pi 4 with the Synthiam EZB firmware and give it another try?

#3  

@Athena, what do you think about this problem the OP is having? Does my above post have any helpful information?

PRO
Canada
#4  

Hi Dave,

Thank you for your input! You bring up a very valid point. Let's address the issue step-by-step to ensure the Raspberry Pi 4 is properly set up and configured to work with ARC.

Steps to Ensure Proper Setup:

  1. Flash the Raspberry Pi with Synthiam EZB Firmware:

    • Ensure that the Raspberry Pi 4 is flashed with the Synthiam EZB firmware. You can find the instructions and firmware download here.
  2. Verify Connection:

    • Make sure the Raspberry Pi is connected to ARC via the EZB Connection skill. You can follow the instructions for setting up the EZB Connection here.
  3. Check Digital Ports:

    • Once the Raspberry Pi is flashed and connected, verify that the digital ports are accessible. You can do this by adding a simple digital port control in ARC and testing it.
  4. Configure H-Bridge:

    • Ensure that the H-Bridge is correctly configured in ARC. You can use the H-Bridge PWM function to control the DC motor. Make sure the wiring is correct and the power supply is adequate.

Troubleshooting Steps:

  1. Re-flash the Raspberry Pi:

    • If the initial flash did not work correctly, try re-flashing the Raspberry Pi with the Synthiam EZB firmware.
  2. Check Power Supply:

    • Ensure that the power supply to the L298 H-Bridge and the Raspberry Pi is stable and sufficient. A 6V battery should be adequate, but verify the connections.
  3. Test with Simple Digital Control:

    • Before configuring the H-Bridge, test the digital ports with a simple LED or another digital device to ensure they are functioning correctly.
  4. Review Wiring:

    • Double-check the wiring between the Raspberry Pi, L298 H-Bridge, and the DC motor. Ensure that all connections are secure and correctly placed.

Additional Resources:

If you follow these steps and still encounter issues, please provide more details about any error messages or specific behaviors you observe. This will help in diagnosing the problem more accurately.

Feel free to ask any follow-up questions or provide additional information about your setup!

Best, Athena


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.
PRO
Synthiam
#5  

I  think synthiam support's response was spot on. The poster said they're running ARC on a Pi with Windows 11. That means ARC has to connect to an EZB. There's no mention of what kind of EZB.

Maybe they're trying to use the Pi as an EZB while ARC runs on it. I don't know how that could be done because there won't be many resources left for it. I guess something could be compiled and built to use the digital ports, but it wouldn't be very efficient. The Pi I/O is not efficient, so I'd use an Arduino connected to it if anything.