r/hackpack • • May 01 '24

Hack Pack 1 Troubleshooting Tips

If one of these fixes your turret, or something else does, please comment below!

Remote is not working:

Falco_iii: Take the plastic tab out of the remote. Double check the connections. Disconnect all connections, take the wiring card off the board and re-connect all connections, double check the connections again.

Pitch servo motor crashes downward and gets hot:
Dan Tompkins: If this happens it's likely that the servo's arm got twisted around past it's max rotation point during installation, so it tries to "home" upside-down. The quick fix is to turn off the turret, unscrew the two screws in the pitch servo arm, and rotate the servo arm 180 degrees and remount. If this fails the servo may have burned out and will need to be replaced, which you can either get for free through our customer service (help@crunchlabs.com) or by buying any SG90 servo online to swap it out.

Turret is behaving weirdly in general: Dan Tompkins: We've had reports of some folks having intermittent connection issues with the turret, causing it to behave in a strange semi-responsive way. Possible causes and their respective fixes:

Wire connections are loose. Try removing the wiring card from underneath the arduino and reinstalling the wires and microcontroller in the same spots, making sure to plug everything in all the way as you reset.

IR signal is getting garbled. Causes of this can be myriad but the biggest issue is folks just not pointing the remote at the antenna directly.

Servo horn / star is attached too tight, impacting servo movement. This one is much more rare but I have seen it happen once. If one motor is not moving or barely moving and other fixes don't work it could be this problem. Try loosening the tiny bolt that attaches the servo horn or arm to the servo itself.

HackPack IDE can't connect to the microcontroller:
Dan Tompkins: This is an issue we're working on a broader fix for. At the moment the solve is likely that you either haven't downloaded the Arduino Create Agent (click the ? icon in the IDE to read instructions on that), or you got partway through but couldn't open the config file. Causes for this could be that you haven't specified a default text editor to open .ini files (needed to edit the config until we apply our broader fix) or that your Arduino Create Agent is in some way set up wrong. I recommend trying to use the Arduino IDE in the meantime if this is an issue for you, and I will be sharing the complete IR Turret .ino files so that you can program it there as well.

11 Upvotes

22 comments sorted by

1

u/Metarazzi May 06 '24

u/falco_iii said:

I recommend trying to use the Arduino IDE

Have you done this? What specific device type must be selected in the Arduino Cloud IDE to associate with the Crunch Labs device?

Thx.

1

u/falco_iii May 06 '24

That was posted by Dan T from crunch labs.

3

u/Metarazzi May 06 '24

I just read u/Sufficient-Pomelo263's post that the Aarduino Nano works. I added comments there about my experience. In summary, it works!

3

u/TheGentleTone May 05 '24

"HackPack IDE can't connect to the microcontroller"

The solution to my issue after doing all the setup as per hackpack's instructions was that I need to quit and relaunch the ArduinoCreateAgent manually every time I connect the hackpack hardware via USB in order to have the port recognized in the web coding console. Pausing and Resuming the Agent is not enough in my case on an intel-based Mac running MacOS 14 Sonoma.

1

u/TheGentleTone May 18 '24

Not Connecting anymore!!!

While I got the hackpack turret connect to my Mac as mentioned above, it is now again not connecting at all - might it have to do with crunch lab's release of the install agent and any modification done on their backend?

Now, neither the CrunchlabsArduinoCreateAgent.app install nor a manual ArduinoCreateAgent install works for me to connect. In both cases I only get "No device connected" in the top left drop down menu of the Hackpack IDE.

I went through their troubleshooting diagram, the light on the microcontroller is on, all seems to be working and it did work until about a week ago - now though... no connection.

Any ideas or advise anyone?

1

u/Local_Strong Jun 05 '24

Make sure your USB cable is capable of sending data, and not just power. You'd be amazed how many USB cables out there simply won't work.

3

u/Sufficient-Pomelo263 May 05 '24 edited May 05 '24

Beginner user here, still can't get the board to work in the HackPack IDE (Mac Sanoma):

Using lots of GPT-4, we have:
-Found the config.ini file (well hidden:  /Users/.../Library/Application Support/ArduinoCreateAgent/config.ini)
-We changed the "origin" line to reflect:  Once you're done, be sure to modify the origins line to read "origins=https://local.arduino.cc:8000,https://ide.crunchlabs.com" in your Agent's configuration
-At this point we couldn't get the ArduinoCreateAgent to launch or the IDE to do anything and dispaired...

BUT- the below works!

-So, we pivoted to the Arduino IDE found here: https://www.arduino.cc/en/software (which we've never used FWIW) and and ran into the need to install IRremote library (thank you GPT...)
-The Discord channel has the zip files with the .ino files (those load the sketch into the IDE
-Find the IR Library: Sketch > Include Library > Manage Libraries search for "IRremote"
**Along the way, we figured out that in the Arduino IDE, the correct board is the "Arduino Nano" (from the folder name...)**

And... bingo, now we are up and running outside of the HackPack IDE

Have also added Rober's suggested "three failed passcodes and it shoots you" hack via GPT which added a counter plus the fireAll() action. So fun!

I hope that this helps someone. Pretty impressed that knowing *zero* we got there anyway thanks to GPT- great lesson for my 13 y/o for sure!

2

u/Metarazzi May 06 '24

Thank you for confirming the board type to select in the Arduino IDE! I tried that a few times. It indicated it was found, but I could never seem to upload. Tried other Nano models, too, with same results. Just detached and selected the Nano again. Had to restart the serial com port, and it connected (as before), but this time I was able to upload code!

3

u/Ill-Interview-2677 May 07 '24

Pitch servo motor crashes downward and gets hot:
yup unscrewed servo horn form plywood and it was able to reset.
Then we had Turret is behaving weirdly in general: 
yup removing the wiring card fixed that and we can control
but not Yaw, no movement ... until
star is attached too tight
I unscrewed center screw on horn and the servo started moving ... a bit.
looks like we broke an internal gear in the servo while trying to get the platform to rotate.

But these trouble shooting tips need to be on the build page.
Trouble shooting tips should probably be a button on the left.

2

u/claflico May 05 '24

Our issues were the rehoming servo and couldn't connect to the IDE.

The USB-C to USB-C cables I use to connect my Mac to my monitors (handles network/power/video) wouldn't work with the Arduino, didn't even power on. Luckily I had the same USB dongle shown in the video & when he said to "use the power USB cord to connect" I tried it with the dongle & the Arduino lit up & the IDE showed connected.

2

u/stocktobot Jan 10 '25

HackPack IDE won't work with the newping library

1

u/jdorfman May 05 '24

Passcode length

If you try defining the length of the passcode from the default (4 integers) to say 3 you won't be able to.

Scroll down to line 294 and update:

`if (strlen(passcode) == 4)` to `if (strlen(passcode) == PASSCODE_LENGTH)`

That way on line 1 you can change:

`#define PASSCODE_LENGTH 4` to `#define PASSCODE_LENGTH 3`

1

u/alexucf May 23 '24

Sometimes the pitch servo works intermittingly, sometimes it points down and makes a high pitched noise and gets super hot. Sometimes it turns a little at a time, sometimes the IR doesn't work. For awhile it was shooting fine, but now it doesn't at all.

:|

1

u/cobaltocene May 29 '24

I’m having an issue where the addition seems to lose power every couple of minutes despite full and properly connected battery. Makes having it as a sentry very difficult because you have to constantly flip the switch back and forth

1

u/AluminumAngel Sep 30 '24

Pitch servo motor crashes downward

Had this issue. Removing it and rotating the servo 180 degrees in the direction it was crashing solved this issue.

Turret was not responding to controls

Had this issue. Putting downward preasure on the arduino with a finger caused it to start responding. Obviously it was a connection issue between the arduino and the baord. That led me to following the tip of removing the wiring card from underneath the arduino and reinstalling the wires and microcontroller in the same spots. The turret began responding correctly.

1

u/DLT_1995 Apr 19 '25

So i just got the Hack Pack 1 , got it built and working ought away. However I did notice thay if I tilt the pitch all the way down , the motor can't lift the barrel back up . Sometimes it'll just launch all the way backwards to full upwards tilt all of a sudden.

If I don't have the barrel attached it doesn't have this issue at all.

1

u/terminally_irish May 20 '25

Having same issue. The motor gets “stuck” in the down position and can’t lift the turret back up.

Is it a weak servo?

1

u/Reginald-Gillespie Nov 20 '25

Most content in this post and these comments is out of date - you can find troubleshooting guides at: https://ide.crunchlabs.com/troubleshooting

The official Hack Pack Discord is also a great resource, and you can email help@crunchlabs.com for help.

1

u/Green_Prompt9065 Dec 26 '25

Yaw motor doesn’t fit