Forum Replies Created
- AuthorPosts
- February 16, 2016 at 9:06 am #2948DanParticipant
Thank you for your help. I have the Arduino mega reading the SPI signal from the encoder buffers. For some reason, I was having a problem with my USB host shield that was breaking the SPI signal. When I switched the USB host shield to a different one, I started getting a valid connection.
I am having a different problem now. One of the LS7366R chips does seem to run in 4x quadrature mode. I set the MDR0 to 0x03 and then read that register just to make sure. The motor on this pin always returns an encoder reading that is half of the other motors even though the motors are running at the same speed. Again, I am using the IG52 motors with hall effect sensors. I checked the pull up resistors on the board and I get an impedance reading across the 5v pin to the A, B and LFLAG pins of around 880-940 ohms on both chips. The issue does not seem to be with the pullup resistors, but with the LS7366R chip. I also tried swapping the SS pins to see if it was the motor, but whatever motor is connected to that chip gets a 2x reading.
Any thoughts? Thanks
DanFebruary 10, 2016 at 1:02 pm #2920DanParticipantDo the jumper need to be bridged even when using the encoder pull up board? This would put 2k of resistance between the a & b sensors and the encoder buffer chip.
February 9, 2016 at 3:55 pm #2917DanParticipantI am using the board how it came from superdroidrobots. I tested with a multimeter and thought that the solder jumpers came pre-soldered. Is this correct? Also, I have the motor encoders hooked up with the following pull up board.
I do not have the I (index) pin on the encoder buffer hooked to anything, but what I have read from the documentation, setting the MDR0 to 0x03 makes the index pin unused. Is this correct?
Thanks
Dan - AuthorPosts