Skip to content

LMS-ESP32 v2.0 + BluePad32 \Breaks Motor Position Control on Spike Hub #22

@IsaacTheIceMan

Description

@IsaacTheIceMan

bluepad_spike3_issue.zip

Plugging the LMS-ESP32 v2.0 board into Port F causes motors on Ports A and B to spin several rotations at a time instead of moving to a specified position. Further, the position reported by the motors is always zero.

Moving the LMS-ESP32 v2.0 to a different Port (e.g. Port D) appears to resolve the issue in the simple test case since motors on Port A and B resume working with position as expected.

I discovered this issue while attempting to follow along with https://www.antonsmindstorms.com/2024/02/18/how-to-use-a-gamepad-with-spike-prime-word-blocks/. When I attempted to run the first suggested program, it did not work as expected.

Steps to reproduce:

  1. Load BluePad32 for Spike3 and Pybricks (20240825) onto LMS-ESP32 v2.0
  2. Plug the LMS-ESP32 v2.0 into Port F of the Spike Hub
  3. Plug a medium motor into Port A
  4. Attempt to set the motor position on Port A to a specific number of degrees

I have attached the simple Spike program I used to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions