Cannot activate haptic vibration

Hi, I'm trying to activate the haptic component with the code below, nothing happens. what am I doing wrong? perhaps some initialization that should be done?

final Haptic boardHaptic = board.getModule(Haptic.class);
boardHaptic.startBuzzer((short) 500);

Comments

  • Do you have a buzzer attached to the board?

  • No I don't, I thought that the board (MetaMotionR) has this inside. can you explain how to attach a buzzer to the board? the only visible interface is the micro-USB used for charging

  • The board has an HCD pin you can use to drive haptic devices. Check your board's datasheet to find where on the board the pin is located.
    https://mbientlab.com/documentation/

    If you aren't experienced with soldering micro-electronics, MbientLab does attach buzzers to the board. You will have to talk to support to see what they can do about your specific order.
    https://mbientlab.com/product/buzzer/

  • ruthif,
    If you are looking for the haptic version of the board, you simply need to purchase the MetaMotionR+ version of our board.

Sign In or Register to comment.