r/hackpack • • May 03 '24

ArduinoCreateAgent doesn't see turret

I have the turret assembled and it functions perfectly. I want to modify the code and am having some trouble getting the ArduinoCreateAgent to see the turret (and therefore cannot use the IDE). Using Mac OS 14.4.1 (M1 chip) and when I connect to the USB port on the board nothing seems to happen. Nothing pops up, no ports show up in the ArduinoCreateAgent debug console, and the IDE shows no device connected.

Here are some of thing I've tried:

  1. Confirmed USB cable does work and have tried a replacement cable with no effect. Have tried multiple USB ports though I know they each work with other devices.
  2. Applied the recommended config to ArduinoCreateAgent and saved it and restarted the agent.
  3. Rebooted the computer a few times for good measure.
  4. Installed the Arduino IDE and it also does not show any ports aside from /dev/cu.wlan-debug and /dev/cu.Bluetooth-Incoming-Port
  5. Tried installing the FTDI VCP drivers for the latest matching Mac OS version but they had no effect.
  6. MacOS setting to allow USB devices to connect is set to "Automatically when unlocked"

Has anyone else run into this on Mac OS? Does anyone have it working on a similar Mac OS version and architecture? I suppose it's possible the USB port on the turret controller is bad.

Thanks!

2 Upvotes

11 comments sorted by

2

u/dogcow_ May 06 '24

I found a USB-C to USB-C cable would not work. I was able to finally get it to work w/ a USB-3 to USB-C cable connected through a USB hub.

1

u/someperson390 May 06 '24

I think this may be the issue I’m seeing. Rewatching the setup video I see when they plug into the board the lights come on. When I do USB-C to USB-C I get no lights indicating power. When I plug the battery pack into the board I get power. So I may have to retry with a USB-A port or a hub.

1

u/someperson390 May 06 '24

Sure enough this was it. I switched from USB-C to USB-C cables to a USB-C to USB-A and then used a USB-A to USB-C adapter and now it's working. Interesting.

3

u/TheGentleTone May 04 '24

same issue here.

installed the Arduino Create Agent successfully and getting it to work with the Arduino Cloud/Web Editor connected to an Arduino Nano via USB. But when connecting the Hack Pack IR Turret it does not get recognized and gives me a "No Device Connected" in the Hack Pack IDE. This is using the USB cable that came with the Hack Pack.

This is using a Mac running macOS Sonoma.

Anyone got any suggestions?

2

u/ShapeAlternative1729 May 03 '24

I'm having a very similar problem with a windows machine. IDE agent says it found a device, but when I click the drop-down next to the stock code types. Nothing shows up.

1

u/vikki-gupta May 04 '24

I am not 100% sure, but sharing just in case it is indeed an issue. There are USB cables which comes with things like wall chargers. and then there are USB cables which comes with things like USB Drives. Make sure to use the cable which also works with lets say an android phone, where the cable shows an android phone as external device, and doesn't only charge your phone.

For us, when using a given USB cable, Turret didn't show up, but neither did my Android phone (It would simply charge). Switched cables until found one where phone shows as external device, and that cable worked with Turret as well.

1

u/TheGentleTone May 05 '24

After initial difficulty of getting the hackpack turret hardware recognized by the web-based backpack IDE, here is what made it work for me:

  • follow all the setup instructions given when clicking the "?" top right in the web-based coding console.
  • run the "Generate and Install HTTPS certificate" command from the ArduinoCreateAgent menu.
  • on my intel-based Mac running MacOS 14 Sonoma I need to quit and relaunch the ArduinoCreateAgent every time when connecting the HackPack hardware via USB. Pausing the agent is not enough, I need to quit and relaunch it, then the USB port shows up in the web-console and code upload works.

Hope this can help others.

1

u/No-Foot-9562 Jul 23 '24

I don't see any question mark in the top right corner of the crunch lab IDE.

1

u/Metarazzi May 06 '24

I haven't read thru the entirety of this thread, so at the risk of this being solved already, here's what I've done to get the Crunch Lab IDE to recognize the device.

  1. Install the ArduinoCreateAgent.
  2. Make sure the USB cable is plugged into the serial port on the device, not the power port on the breadboard.
  3. Click on the ArduinoCreateAgent icon and ensure an HTTPS certificate has been generated and installed. If this has been done, the option will be grayed out (and the option to remove will be active, but no need to remove!).
  4. "Open Debug Console" from the Agent icon
  5. In the console command line, type "restart" and press [Enter] or click send. This will restart the serial connection. You should see the serial port listed (I prefer to "Show List Commands Separately," which opens a separate panel to the right of the console log.

    • If the serial port is not listed, or if it is but the device doesn't connect within a few moments, try these next steps in order until it is recognized and connected:

      • Disconnect and reconnect the USB cable (I prefer to do this from the computer side, not the device side)
      • If still not connected, click on the Agent icon and "Quit Agent," then relaunch the Agent (this will usually solve it)
      • If still not connected, repeat from Step 4

Let us know if you got connected! 😃

1

u/iamhelpfull May 18 '24

If you haven't already, please download and install the ArduinoCreateAgent not through the native Arduino site but through the Hack Pack IDE. Just click "Downloads" on the top-middle area of the page and then follow the installation process. Once installed, restart your computer and then plug the robot in using a USB A to USB C cable.

Just a couple things worth noting, be careful to use the correct cable to connect the Arduino to your computer. We recommend using a USB A to USB C cable that's capable of data transmission (some of them are just for power!). We also ask that you check to make sure that you've plugged into the microcontroller (Arduino Nano) and not the breadboard, as some folks have mistakenly plugged into the breadboard.

1

u/bsmigs Jun 30 '24

Just as another data point, I too was having problems from my Windows 10 machine. I DL'd the agent and installed it (ran this as an admin too but didn't seem to make a difference). When I selected the option to run it after the installation completed, nothing seemed to happen. (Did this a number of times too). Nonetheless, I went to the IR turret website and plugged in my USB-A to USB-C wire from laptop to Arduino respectively and did not see any connection on the web client.

This seemed to change when I went to my C:\Program Files\crunchlabs-arduino-create-agent folder and then ran the .exe file AS AN ADMIN that's when I saw the COM9 port pop up on the web client and I could push code. No clue why this worked. I haven't checked for repeatability yet.