Loading...
  Show Posts
Pages: 1 [2] 3 4 ... 11
16  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: February 01, 2013, 12:46:03 pm
Why not use .stopVoice method?
17  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: January 19, 2013, 09:11:56 am
Edited fist post. Hope this helps.
18  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: January 15, 2013, 11:18:10 am
Will re-upload the library this night from home.
19  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: January 03, 2013, 10:19:51 am
Hello!
I have a question!
How to manually change modes on vtv020-sd-16p,all ekys are on/off(loop),key 5 group of voice...
Thanks!!!
You can't. It is hardwired on those modules.
20  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: January 03, 2013, 10:19:24 am
Busy pin is not always detected when using synchronous playback (playVoice), so add a delay of 50 ms before the detection of busyPin.
Add delay(50) in the line 42 of Wtv020sd16p.cpp

Good Luck!
I think that could solve the problem, but according to the manual, only 20 ms will do the job. I will test it and add that to the library, so nobody have to add code.
21  Using Arduino / Audio / Re: Arduino library for PAM8803 audio amplifier module on: January 03, 2013, 10:09:28 am
As a matter of fact, If you don't reset the module, internal volume won't match internal variable holding the current volume. So, If you decrement the vol without reset or initialize the module, you will suffer of weird behavior like this. I will re-check the source code and will post some recommendations.
22  Using Arduino / Audio / Re: Arduino library for PAM8803 audio amplifier module on: January 02, 2013, 10:11:07 am
That's the problem. reset() method set the vol to level close to 20%. That's why setVolumen(10) is not working the proper way.
23  Using Arduino / Audio / Re: cheap sound module: what version is this? on: December 02, 2012, 11:10:05 am
No problem. If you have anything else to ask, just do it. And as I stated to @onesky, there is no quality difference working on any voltage. And won't be any difference for the library I wrote.
24  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: December 02, 2012, 11:07:47 am
I did not notice any difference in quality working at 5v or 3.3v.
25  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: December 01, 2012, 11:00:44 am
1N4007. Connected in series as you will do with two power supplies to add its volts.



5V entering to the + lead of the first diode and connecting the - lead of the second diode to the wtv.
26  Community / Exhibition / Gallery / Re: star wars blaster with arduino on: December 01, 2012, 07:36:26 am
Bellissimo! Really. Congratulations! Thanks to you I met this Arduino thing, and I am really happy about it. What's the story about that RGB led. Where did you get it and how do you use it?
27  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: November 26, 2012, 02:34:03 pm
Here you have the wtv working at 5V with two diodes:

28  Using Arduino / Audio / Re: cheap sound module: what version is this? on: November 26, 2012, 02:31:23 pm
Video update about my Arduino project. Now with fire selector: Regular or Stun laser gun.

29  Community / Exhibition / Gallery / Re: V Visitor Laser Gun Replica Prop with Light and Sound on: November 26, 2012, 02:26:18 pm
New version of the software + a fire module selection option. Regular and Stun laser gun. Everything working at 5V.



Code:
/*
 Sketch to control a V Visitor laser gun prop.
 Created by Diego J. Arevalo, November 26, 2012.
 Released into the public domain.
 */

#include <Wtv020sd16p.h>
#include <Pam8803.h>
#include "LaserGunFactory.h"

const int WTV_RESET_PIN = 2;
const int WTV_CLOCK_PIN = 3;
const int WTV_DATA_PIN = 4;
const int WTV_BUSY_PIN = 5;
const int ANALOG_LED_PIN= 6;
const int TRIGGER_PIN = 7;
const int FIRE_MODE_PIN = 11;
const LaserGunType LASER_GUN_TYPE = VVisitorLaserGun;
const int AMP_VOLUME_DOWN_PIN = 8;
const int AMP_VOLUME_UP_PIN = 9;
const int AMP_RESET_PIN = 10;

static Pam8803 *pam8803 = NULL;
static LaserGun *laserGun = NULL;
static LaserGunFactoryParameters laserGunFactoryParameters;

void setup() {
  pam8803 = new Pam8803(AMP_RESET_PIN, AMP_VOLUME_UP_PIN, AMP_VOLUME_DOWN_PIN);
  pam8803 -> reset();
  pam8803 -> setVolume(50);
  laserGunFactoryParameters.setWtvResetPin(WTV_RESET_PIN);
  laserGunFactoryParameters.setWtvClockPin(WTV_CLOCK_PIN);
  laserGunFactoryParameters.setWtvDataPin(WTV_DATA_PIN);
  laserGunFactoryParameters.setWtvBusyPin(WTV_BUSY_PIN);
  laserGunFactoryParameters.setAnalogLedPin(ANALOG_LED_PIN);
  laserGunFactoryParameters.setTriggerPin(TRIGGER_PIN);
  laserGunFactoryParameters.setFireModePin(FIRE_MODE_PIN);
  laserGunFactoryParameters.setLaserGunType(LASER_GUN_TYPE);
  laserGun = LaserGunFactory::getLaserGun(laserGunFactoryParameters);
}

void loop() {
  laserGun -> senseSwitches();
}

Attached the whole Sketch in this post. Enjoy.
30  Using Arduino / Audio / Re: cheap sound module: what version is this? on: November 26, 2012, 02:12:22 pm
There is a post about the quality of this audio module from a few month ago. Only suitable for voices or fx, no so much for music given the sampling allowed by this ad4 format.
Pages: 1 [2] 3 4 ... 11