Adafruit Motor HAT for pi test examples
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Motor HAT for pi test examples
What do you get from the command sudo i2cdetect -y 1
- JTibbetts
- Posts: 3
- Joined: Wed Nov 18, 2015 8:10 am
Re: Adafruit Motor HAT for pi test examples
Exactly the same as the other guy
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Motor HAT for pi test examples
So, I2Cdetect is finding the HAT at 0x60?
What error messages are you getting?
What do you mean, "it won't power the motor"? Do you have an external power supply attached to the HAT?
Can you post some pictures of both sides of the HAT?
What error messages are you getting?
What do you mean, "it won't power the motor"? Do you have an external power supply attached to the HAT?
Can you post some pictures of both sides of the HAT?
- Darkvadera4b6
- Posts: 4
- Joined: Sat Nov 21, 2015 3:49 pm
Re: Adafruit Motor HAT for pi test examples
I had exactly the same problem when running the dctest.py ir says error check i2c address ..so r u saying that if I change the address to 0x60 instead of 0x61 it'll work ..I'll give this a try when I get home
- JTibbetts
- Posts: 3
- Joined: Wed Nov 18, 2015 8:10 am
Re: Adafruit Motor HAT for pi test examples
Hi, Thanks for trying to help, Found out today that my partner melted the board meaning we will have to replace it, Sorry for wasting your time.
- adafruit2
- Posts: 22187
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Adafruit Motor HAT for pi test examples
updated the code - it should have been 0x60, was a typo!
the current github code is fixed (or, if you have the older code, just change the 0x61 to 0x60)
sorry about that!
the current github code is fixed (or, if you have the older code, just change the 0x61 to 0x60)
sorry about that!
- qd11
- Posts: 4
- Joined: Sun Aug 28, 2016 4:15 pm
Re: Adafruit Motor HAT for pi test examples
Hi there,
I recently purchased Motor Hat and I am experiencing difficulties to get it running.
I followed to the letter the guide here https://learn.adafruit.com/adafruits-ra ... guring-i2c
but when I do sudo i2cdetect -y 1
I get all blanks, i.e.,
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Although: ls /dev/*i2c*
/dev/i2c-1
Respective modules are loaded too.
lsmod
Module Size Used by
...
i2c_dev 5859 0
i2c_bcm2708 4770 0
...
I've got Raspberry Pi 3 model B with Linux RPi3 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
Motor Hat is powered, the green "power" diode is lit up.
What seems to be a problem? Thanks.
On the side note, I also have a SenseHat, this guy works ok.
I recently purchased Motor Hat and I am experiencing difficulties to get it running.
I followed to the letter the guide here https://learn.adafruit.com/adafruits-ra ... guring-i2c
but when I do sudo i2cdetect -y 1
I get all blanks, i.e.,
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Although: ls /dev/*i2c*
/dev/i2c-1
Respective modules are loaded too.
lsmod
Module Size Used by
...
i2c_dev 5859 0
i2c_bcm2708 4770 0
...
I've got Raspberry Pi 3 model B with Linux RPi3 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
Motor Hat is powered, the green "power" diode is lit up.
What seems to be a problem? Thanks.
On the side note, I also have a SenseHat, this guy works ok.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Motor HAT for pi test examples
post some clear, detailed pictures of both sides of the Hat
- qd11
- Posts: 4
- Joined: Sun Aug 28, 2016 4:15 pm
Re: Adafruit Motor HAT for pi test examples
Here you go
Do you suspect hw problems?
I could also try to get a fresh raspbian.
Do you suspect hw problems?
I could also try to get a fresh raspbian.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Motor HAT for pi test examples
You haven't soldered anything to the hat. You have to solder on the headers.
- qd11
- Posts: 4
- Joined: Sun Aug 28, 2016 4:15 pm
Re: Adafruit Motor HAT for pi test examples
OK, I am new to these things, I apologize for my ignorance.
I followed the guide over here https://learn.adafruit.com/simple-raspb ... t/assembly
It says nothing about soldering and SenseHat works without soldering, so I assumed...
All right, thanks for your help, I will solder things as here
https://learn.adafruit.com/adafruit-dc- ... i/assembly
I followed the guide over here https://learn.adafruit.com/simple-raspb ... t/assembly
It says nothing about soldering and SenseHat works without soldering, so I assumed...
All right, thanks for your help, I will solder things as here
https://learn.adafruit.com/adafruit-dc- ... i/assembly
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Motor HAT for pi test examples
Yeah - the hat is already assembled in the robot tutorial. I'll add a reference to the assembly instructions.
- qd11
- Posts: 4
- Joined: Sun Aug 28, 2016 4:15 pm
Re: Adafruit Motor HAT for pi test examples
OK, soldered it works as charm. thanks.
Please be positive and constructive with your questions and comments.