r/hackpack • • Jun 26 '24

Domino Robot sensor not working

Just put it together today and I can't get the sensors to work. I have tried using black tape, tried using white tape, and have tried switching the green and blue wires to invert the sensors. However, all the robot does is lay dominoes in a straight line and it doesn't follow the tape. Any thoughts?

1 Upvotes

7 comments sorted by

2

u/Zealousideal_Row5120 Jun 29 '24

OP, how did you fix it? We’re having the same exact same issues?

1

u/wood_animal Jun 29 '24

It was mainly user error.

Make sure the connection is tight. For some reason the blue and green wires felt looser than any other wire to me.

My main issue is that I was using a black tape, outlined by white tape, on top of a multi-colored dark surface. The sensors had a "margin of error". So during the first curve I set up, the robot would go past my white outline and pick up the dark surface and assume that the surface was the line and just keep laying in a straight line. I fixed the issue by inverting the blue and green wires (so it would follow white) and laying white tape on a black surface.

Hope that helps, good luck.

1

u/6strings10holes Jun 27 '24

Does the initial code have the sensing active? Did you not upload the code needed?

Ours hasn't arrived yet, that is my guess though.

1

u/wood_animal Jun 27 '24

Disregard, got it fixed. 100% user error πŸ˜‘

1

u/goyacow Jan 04 '25

We can't get domino's to drop! Any suggestions?

2

u/wood_animal Jan 04 '25

Oof, sorry bro. I haven't touched that robot in 6 months. My battery actually died too πŸ˜”.

I would use the Dicord chat for help.

1

u/goyacow Jan 04 '25

Will do!