Show Posts
Pages: [1]
1  Using Arduino / Audio / Re: Need louder piezo sound on Arduino Pro Mini 3.3v on: April 08, 2013, 01:21:11 am
The problem is that I am using AltSoftSerial.h, so my pins 8,9,10 are not available. I am trying to find the write MOSFET for 3.7v but no success.

Thank's for your answer.

Razvan
2  Using Arduino / Audio / Need louder piezo sound on Arduino Pro Mini 3.3v on: April 06, 2013, 11:09:54 am
I am trying to amplify the volume for some piezo I have:

PKLCS1212E4001-R1: Buzzer SMD 4Khz or
KPEG006

I use tone() to generate different tones(from 500Hz to 2KHz) on D6 pin of Arduino Pro Mini 3.3v. My current system is running with a Lipo battery 3.7v, sometimes with charger.
The system is drawing 5mA current and I want to keep it down as possible, but the sound I need it louder, as I use it outside.
I tried with 74HC14 this:
http://hackerspace-ffm.de/wiki/index.php?title=Datei:PWM_8Bit_MonoAmplifier_Steckplatine.png

with a speaker but my Arduino is not responding when is connected to breadboard of 74HC14.

How can I amplify the sound to be louder, but to keep the current as down as possible(max 10mA). I would like to use the PKLCS1212E4001-R1 because of it's size.

Thank you.

P.S. I have for moment: LM386, 74HC14, max232, BC547B, BC8550, BC557C, 2N3904.

Razvan
3  Using Arduino / Project Guidance / Re: Arduino Pro Mini 3.3v RAW vs VCC on: January 29, 2013, 04:00:08 am
I need to change the battery to a Li-PO One, 3.7v, so in this case it will be a problem to put it straight to VCC, maybe I will recharge it directly through a Li-PO charger, when the battery is still connected to the system. There will be like 4V, which is not good for BMP085 Sensor or for the Ftdi chip with 3V3. Is write in this case?

Thank you,
Razvan
4  Using Arduino / Project Guidance / Re: Arduino Pro Mini 3.3v RAW vs VCC on: January 24, 2013, 04:26:55 am
Thank you Nick for you advice!
5  Using Arduino / Project Guidance / Arduino Pro Mini 3.3v RAW vs VCC on: January 23, 2013, 03:08:52 am
Hello.

1. If I am using this board with an BMP085(minimum 1.8v like atmega328P to maximum 3.6v) pressure sensor and CR2450 battery witch is 3v, should I connect the battery to VCC or RAW going in the voltage regulator. I want the battery to work as much as it can ....
2. How can I use a led on Arduino Pro Mini 3.3v to indicate low battery(so I can change it before it dies).

Thank You,
Razvan
6  Using Arduino / Audio / Re: Multiple tones, at multiple rates on: September 30, 2011, 05:21:14 am
I was thinking to generate tones(tone_v) with "map" where vario is vertical velocity in cm:


if (vario > 40)
        {
         tone_v = map(vario, 41, 1500, 2000, 4800); //between 41cm and 1500cm generate tone from 2000Hz to 4800Hz
        }
     else if ((vario >= -200) && (vario <= 40))
        {
          noTone(speakerPin); //no sound
        }
     else if (vario <= -400)
               {
                tone_v = 400; // low tone if sinking at -400cm
               }
     else if (vario <= -200)
          {
           tone_v = 600; // very low tone if sinking at  -600cm
          }

This calculations are made in the main loop. How can I play tone() with this results, in background?
7  Using Arduino / Installation & Troubleshooting / Re: Arduino Pro Mini 3V3 Voltage pins on: September 29, 2011, 04:31:44 pm
I connect the speaker and I play a continuous tone, for ex. 1500Hz with digitalwrite HIGH, and I Have 2v. I want to have a biger volume.
8  Using Arduino / Installation & Troubleshooting / Re: Arduino Pro Mini 3V3 Voltage pins on: September 27, 2011, 04:48:41 pm
I want to use the maximum voltage on pin 9(3.3V) so a high volume level will be on piezzospeaker, but there is something like 2V on the pin. Shouldn't be 3.3V?
9  Using Arduino / Installation & Troubleshooting / Re: Arduino Pro Mini 3V3 Voltage pins on: September 26, 2011, 04:43:20 pm
There is 3.2V on VCC. I have connected one piezzospeaker on pin 9 and one BMP085 pressure sensor on vcc and A4, A5.
Once the usb is connected shouldn't be 3.3V on all pins?

Thank you.
10  Using Arduino / Installation & Troubleshooting / Arduino Pro Mini 3V3 Voltage pins on: September 23, 2011, 09:04:54 am
Hello guys!

Why do I have around 2V on pin 9 when I call digitalWrite() or analogWrite(254), when pinMode(9, OUTPUT);
Shouldn't be 3V3?

My Arduino Pro Mini 3V3 is connected through FTDI on mini USB.

Thank's.
11  Using Arduino / Audio / Re: Multiple tones, at multiple rates on: September 19, 2011, 08:35:45 am
My system use an Arduino Pro Mini 3.3v(Atmega328p-au) with lipo battery, A piezzospeaker, and one Bosch Sensortec BMP085 (http://www.sparkfun.com/products/9694) witch I set it up at ultra high resolution mode(arround 35 samples/s) and can perform 128 sample/7s in standard mode.

I've heard some Varios with different rates and different tones too. I wold like to do one with this tone changing.

12  Using Arduino / Audio / Re: Multiple tones, at multiple rates on: September 19, 2011, 06:49:50 am
smiley I don,t like bombs. Sorry for my English first. It all about a acoustic variometer for paragliding.

Dif is the velocity speed. So in void loop(void) I measure the speed witch may results :

Dif = 0.5 m/s
Dif = 3 m/s
etc etc

How can I make a constant sound on digital pin 8 of PiezzoSpeaker with different sounds tones for each speed?

tone1 for 0 to o.5 speeds
tone2 for speeds between 0 and 1m/s
tone3 for speeds between 1m/s to 2m/s
tone4 for speeds between 2m/s to 3m/s

......
......
......
tonex for speeds between 9m/s to 10m/s
continuous tone for speeds over 10m/s
13  Using Arduino / Audio / Re: Multiple tones, at multiple rates on: September 19, 2011, 06:23:28 am
I forgot to say, that the delay of tones is bigger at the beginning, and shorter, proportional with Dif, until is playing continuous at comparator 10)


>Example:
it is like if Dif >20 then Bip Bip, Dif changes to > 60 and tone changes to Bip Bip Bip Bip Bip Bip, again Dif changes to > 90, tones goes biiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiip continuous , Dif changes to > 60 and again the tone Bip Bip Bip Bip Bip Bip

14  Using Arduino / Audio / Multiple tones, at multiple rates on: September 19, 2011, 06:14:43 am
Hello!

I have a long variable Dif = 0;

and more comparations like :

1)  if Dif > 0  -- play a tone1 with a delay of x(miliseconds) until Dif changes to other long variable
2)  if Dif > 10  -- play a tone23 with a delay of y(miliseconds) until Dif changes again
3)  if Dif > 20  -- play a tone31 with a delay of z(miliseconds) until Dif changes again maybe to 5 and need to go at comparation 1
..............
...............
..............
10) if Dif > 90 -- play a tone44 continuous  until Dif changes again ....



I have a PiezzoSpeaker on digital pin number 8.
Dif it is calculated in a function calculateDif();

Thank's for help

P.S. I am new in Arduino and programming

Pages: [1]