TSMurray
Posts: 4
Joined: Tue May 22, 2018 8:29 pm

Stacking Geekworm Motor HAT jumper setting help needed

Tue May 22, 2018 9:00 pm

I recently purchased two Geekworm Motor HAT's for a project involving 6 motors that i'm building for my Raspberry Pi. Unfortunately, it's not clear on how to set their addressing. A similar product, "the Adafruit DC Motor hat" has a set of jumpers on the front that you bridge with solder to program the offset.

The Geekworm model doesn't have that on the front, but has something similar on the back (A0, A1, A2, etc..) and a JP2 solder point. Am i to solder a small wire between one of the A pins and the JP2 to program the offset?

Any help would be GREATLY appreciated. The geekworm site really isn't that helpful.



TSMurray
Posts: 4
Joined: Tue May 22, 2018 8:29 pm

Re: Stacking Geekworm Motor HAT jumper setting help needed

Wed Jun 13, 2018 12:59 am

sorry to be a pest, but I'm really at a loss here. Any help would be appreciated.

pcmanbob
Posts: 3848
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Stacking Geekworm Motor HAT jumper setting help needed

Wed Jun 13, 2018 8:25 am

It might help if you post some good quality pictures of the front and back of the pcb so we can see the A0 A1 A2 A3 as all the pictures I can find on line show just a single pad already soldered.

As always the more information and that includes pictures you provide the better chance people will be able to help.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

scotty101
Posts: 2848
Joined: Fri Jun 08, 2012 6:03 pm

Re: Stacking Geekworm Motor HAT jumper setting help needed

Wed Jun 13, 2018 9:42 am

How many HATs are you trying to connect?

Generally speaking, if you only want to connect one HAT, you shouldn't need to change anything with the jumpers.
Difficult to give you a good answer given the lack of documentation that exists for this HAT. There is a reason it is cheap....

The only document i can find is this https://github.com/mlichtenstein/31bot/ ... Guide1.pdf
and it doesn't even mention the jumper pins and only briefly mentions stacking.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

pcmanbob
Posts: 3848
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Stacking Geekworm Motor HAT jumper setting help needed

Wed Jun 13, 2018 12:16 pm

I did manage to find some example python programs for this hat, one of which was for testing 2 hats stacked.

In it is this bit of code

Code: Select all


# bottom hat is default address 0x6f
bottomhat = Raspi_MotorHAT(addr=0x6f)
# top hat has A0 jumper closed, so its address 0x61
tophat = Raspi_MotorHAT(addr=0x61)
so that tells us we need to close the A0 jumper for the second hat, but there is no detail on were or how which is why I asked for some good quality pictures.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

Return to “Beginners”

Who is online

Users browsing this forum: jbudd, thagrol and 41 guests