Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rodkaelyas

Pages: 1
1
Wirelings / LRA Wireling Audio-to-Vibrate Issue
« on: July 10, 2023, 07:24:33 PM »
Hello, I am using the LRA Wireling and the Tiny Lily Processor in a project with a small split camera. The problem I am running into is that with the same battery providing power to both the camera and the Tiny Lily/LRA Wireling, the LRA motor does not activate. However if I power the camera and the Tiny Lily/LRA Wireling off of separate batteries, the LRA functions just fine. I am running the recommended coupling capacitor between the output on the board (where I removed the pcb speaker) and the LRA Wireling input.

Attached is a labeled photo of the circuit, and the code I am running. Thanks in advance!

#include <Wire.h>             // For using I2C communication
#include "Adafruit_DRV2605.h" // For interfacing with the DRV2605 chip
#include <Wireling.h>

Adafruit_DRV2605 drv;   // The variable used to interface with the DRV2605 chip

// Make Serial Monitor compatible for all TinyCircuits processors
#if defined(ARDUINO_ARCH_AVR)
  #define SerialMonitorInterface Serial
#elif defined(ARDUINO_ARCH_SAMD)
#define SerialMonitorInterface SerialUSB
#endif
void setup() {

  // Initialize and power wireling
  Wireling.begin();

  //The port is the number on the Adapter board where the sensor is attached
  Wireling.selectPort(0);

  SerialMonitorInterface.begin(9600);
  SerialMonitorInterface.println("LRA Audio to Vibrate");
  drv.begin();

  drv.setMode(DRV2605_MODE_AUDIOVIBE);
 
  drv.useLRA();

  // ac coupled input, puts in 0.9V bias
  drv.writeRegister8(DRV2605_REG_CONTROL1, 0x20); 
 
  // analog input
  drv.writeRegister8(DRV2605_REG_CONTROL3, 0xA3);
 
  //drv.writeRegister8(DRV2605_REG_AUDIOLVL, 0x32);
  drv.writeRegister8(DRV2605_REG_AUDIOMAX, 0x4B);

  drv.writeRegister8(DRV2605_REG_AUDIOOUTMIN, 0xFF);
  drv.writeRegister8(DRV2605_REG_AUDIOOUTMAX, 0xFF);

}

void loop() {
}

2
TinyLily / Tinylily LRA Module Issue
« on: October 27, 2022, 01:31:18 PM »
Hello, I am running into an issue with the DRV2605 in audio to vibrate mode. When the microcontroller is hooked up to the USB connection and the rest of the circuit is hooked up to the battery, it works fine. However when everything is hooked up to the battery, the LRA motor just vibrates continuously.

Circled in the photo are the signal and ground wires for the audio signal that goes to the DRV2605 module. With the microcontroller hooked up to USB they read 0v normally, but with the battery connected to the microcontroller they are getting 3.3v continuously.

I tried this same circuit with the Seeed Xiao and the Adafruit haptic module and ran into the same problem.


Any help is appreciated!

3
Wirelings / LRA Wireling Power Issue
« on: October 27, 2022, 01:30:36 PM »
Hello, I am running into an issue with the DRV2605 in audio to vibrate mode. When the microcontroller is hooked up to the USB connection and the rest of the circuit is hooked up to the battery, it works fine. However when everything is hooked up to the battery, the LRA motor just vibrates continuously.

Circled in the photo are the signal and ground wires for the audio signal that goes to the DRV2605 module. With the microcontroller hooked up to USB they read 0v normally, but with the battery connected to the microcontroller they are getting 3.3v continuously.

I tried this same circuit with the Seeed Xiao and the Adafruit haptic module and ran into the same problem.



Any help is appreciated!

Pages: 1
SMF spam blocked by CleanTalk