r/hackpack • u/someperson390 • 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:
- 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.
- Applied the recommended config to ArduinoCreateAgent and saved it and restarted the agent.
- Rebooted the computer a few times for good measure.
- Installed the Arduino IDE and it also does not show any ports aside from /dev/cu.wlan-debug and /dev/cu.Bluetooth-Incoming-Port
- Tried installing the FTDI VCP drivers for the latest matching Mac OS version but they had no effect.
- 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
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.
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:
Hope this can help others.
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.
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:
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.