Makelangelo – motors not jogging
Shop › Forum › Makelangelo Polargraph Art Robot › Makelangelo – motors not jogging
- This topic is empty.
-
AuthorPosts
-
2015-10-09 at 02:59 #6141AnonymousInactive
When pushing the firmware_ams.ino to my Arduino UNO/AMSv2.3 both the serial monitor and log window trace the full HELLO WORLD msg. I can control my servo from Makelangelo, however I am unable to jog my motors from Makelangelo or the serial monitor.
Just to make sure my stepper motors are cool with the AMSv2.3, I ran the example files included with the AMSv2.3 firmware package and both motors function as expected.
My hardware list is the following:
- – Arduino UNO
- – Adafruit MotorShield v2.3
- – Sparkfun stepper motors: https://www.sparkfun.com/products/9238
- – Generic 180deg Servo
- – 12vDC/3A PSU
I think all my hardware is compatible with the software… do I need to mod anything in the INO? I’m using the firmware from the Makelangelo v7.1.3 package.
2015-10-11 at 03:42 #7183AnonymousInactiveWe’re aware of this issue and looking into it.
2015-10-20 at 18:10 #7184AnonymousInactiveWas this determined to be user error or a firmware issue? :ugeek:
Here’s a pic of my AMSv2.3 to rule out anything obvious…
2015-10-22 at 21:46 #7185AnonymousInactiveVery likely the AMS2 i2c address is wrong in the firmware.
http://playground.arduino.cc/Main/I2cScanner
will tell you the correct i2c address, which should be set on
https://github.com/MarginallyClever/Makelangelo-firmware/blob/master/firmware_ams/firmware_ams.ino#L107
O// stacked motor shields have different addresses. The default is 0x60
// 0x70 is the "all call" address - every shield will respond as one.
#define SHIELD_ADDRESS (0x61)the 0x61 should be replaced with your i2c address.
With the wrong address the Arduino is saying “hey, 0x61! move!” and your board thinks “I’m 0x60, I’m not doing nothing.”
2015-10-23 at 04:08 #7186AnonymousInactiveThat was the issue – the address was 0x60. Thanks for taking the time to help!
Once I’m done setting up the rest of the machine and push a few prints through I’ll post some photos.Thanks again!
-
AuthorPosts
- You must be logged in to reply to this topic.