Feeds

Vanilla (0.9.3) is a product of Lussumo. More Information: Documentation, Community Support.
Bottom of Page
Makers and Making: Need Help! LM386 preamp with automatic gain from 20 to 200
  1.  
1 to 20 of 20
Nov 7th 2012
Hi

I'm looking to use the LM386amp with a sensitive mic with automatic gain
From 20 to 200. The output will need to have enough single for
the next stage,the HT9170 chip to pick-up the single.
Does anyone have a working schematic that i could use for my application.
With the LM386 amp.And how do i get a automatic gain from 20 to 200
with low noise.

kindly appreciate your help.
Nov 7th 2012
Will THIS do it for you?
Dec 5th 2012
Hi alankilian

I didn't use the circuit you posted. it looks to involved to make.
I used a simpler circuit with out the AGC on google images.HT9170.

It's the frist circuit. I didn't know how to post it here.Anyway.

I like to hook up the ouput to that circuit to a Bluetooth module
and send the numbers that are decoded on the output to another
dongle connected to my computer to see which numbers were
decoded.
Do you have any ideas how i could make this work. I do not know how to
program a micro or connect this to the ht9170.can you help me.
Dec 5th 2012
Bluetooth is very complicated to get working.

If that circuit was too complicated, it's going to be a tough road for you to get a bluetooth module running without programming.
Dec 6th 2012
alankilian

No the circuit wasn't complicated.I wanted a circuit that used less parts
for the audio circuit part of the pre-amp.I don't think I'll need a AGC.

The only hard part i is the programming.I thought i would get help on here.
with the programming part.How would i connect the micro to the ht9170 output
and the bluetooth module.I will be using 3.3V for my power supply.Sparkfun.com
sells bluetooth modules which one will work right for me.I was try to locate this bluetooth module AUBTM-20. But? Can't find to purchase it here in the USA. What is a compatible alternative module that sparkfun sells.
from sparkfun.
Dec 7th 2012
OK, since programming is not your specialty, I would recommend something like this bluetooth Arduino board

You can connect the ht9170's 4 digital outputs directly to the module and write a simple sketch to read them and send them to your phone.

What you do on the phone, I don't know. I've written an Android app, but it's far from easy.
Jan 3rd 2013
Alan

Can't find this Arduino bluetooth here in the states.And its expensive.About $120
Is there any other bluetooth i could get that will work for me.And less expensive.

Also? I been having no luck in calculating the Steering control circuit on
page 7 in the datasheet for the HT9170 decoder.There's a formula but
i don't understand it on page 6or9 figure 5 in the datasheet .
Can you or someone,who can explain as simple as possible for calculating the steering controlcircuit on pins 16.17.and 18. My power supply is 3.6VDC.
Link to Datasheet.

http://www.holtek.com/pdf/comm/9170v111.pdf

Thanks
Jan 3rd 2013
This module is $16 and you can get a 3.3 Volt Arduino board called the Arduino pro 328 for another $20.

Here's a link showing how someone got the bluetooth module connected to their phone.

You'd need to connect the bluetooth module's Tx, Rx and ground lines to the Arduino and then write some code on the Arduino so it reads the 5 digital lines from the HT9170 and sends a character to the bluetooth module every time the data-valid pin goes high.

I would just start with the example values of 300 K Ohm and 0.1 microfarad for the steering controls. That's a pretty specific part of the circuit for attempting to transmit data through tones as fast as possible, and you aren't trying to do that really.
Mar 12th 2013
I have the arduino pro mini from sparkfun.com

Link?
https://www.sparkfun.com/products/11114

I need to know what pins on the arduino pro mini 3.3v version do i connect the 5 output pins on the HT9170 are DVPIN15 D0,D1,D2,D3 where do i connect.
Mar 12th 2013
Do i need to connect resistors from the ht9170 DV DO,D1,D2,D3, Output Pins. To the arduino input pins. if i do what values do i need to use.
Mar 14th 2013
I cleaned up the SPAM.
Mar 14th 2013
You can run the HT9170 at 3.3 Volts and connect the outputs directly to the Arduino.

Connect the HT9170 D0,D1,D2 and D3 to the Arduino "pins" 2,3,4 and 5 like in
this tutorial

you don't need the pull-up resistor on the data outputs because the HT9170 has what are called "push-pull" drivers.
Mar 14th 2013
Thanks! for cleaning that spam.


Do i connect DV out pin on the the pro mini to pin6 or start from pin 2-5 on the
arduino pro mini.


What are the date output pins, to identify the tones.. is it 1,2,4,8
Mar 14th 2013
I would connect DV to pin 6
The HT9170 data output pins are 11,12,13 and 14
Connect them to the Arduino "Pins" 2,3,4 and 5
Then use the PinMode(2,INPUT) ( also 3,4 and 5)
Then use the DigitalRead(2) (also 3,4 and 5)
to read the four digital signals coming from the decoder.
Mar 17th 2013
1.) What do you mean? By this. Explain.Please.

Then use the PinMode(2,INPUT) ( also 3,4 and 5)
Then use the DigitalRead(2) (also 3,4 and 5)
to read the four digital signals coming from the decoder.


2.) How do i set the 9170 decoders output pins.From (DO- LSB)BIT TO
(D3- MSB)BIT
Mar 17th 2013
This website is not the best place to post code, but here's something to get you started.

I copied it out of the Arduino examples.

How many of the examples have you gotten working?
I would start with the blinking LED and then move on to the button press LED one next.

Then maybe move on to this.



void setup() {
// initialize some pins as an input:
pinMode(2, INPUT); //Data 0
pinMode(3, INPUT); //Data 1
pinMode(4, INPUT); //Data 2
pinMode(5, INPUT); //Data 3
pinMode(6, INPUT); // The data valid input
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}

void loop(){
// read the state of the data valid bit
dataValid= digitalRead(6);

if (dataValid== HIGH) {
data = 0;
data |= digitalRead(5);
data <<= 1;
data |= digitalRead(4);
data <<= 1;
data |= digitalRead(3);
data <<= 1;
data |= digitalRead(2);
Serial.println(data);

}
}
Apr 28th 2013
Hi Alan

I try what you stated in your last post. I've don't the Blink LED and The Press LED.
On my arduino pro mini.I upload the sketches and they both worked.The last code you suggested did not work at all.For some reason it didn't.
I can't figure out why it just didn't work.

Here what i want to do. As i been mentioning thoughout this thread.

1.Pick-up tones with my audio amp.
2.The 9170 Decoder Decoders these code.
3.On output of the 9170 chip those signals of the decoder is
decoder on the aduino pro mini.
4. Then a code sends these codes to an RN-41 bluetooth MODULE.
5 Bluetooth sends it to a phone where it could see this data on
a app called Blueterm.

But how do i do this with arduino sketch code. And make it work correctly.
Can you help with a code.
I do not know how to write a code for this.
5 The
May 2nd 2013 edited
i am nami,how are you?


http://www.buycheapgw2.com/
May 9th 2013
Alan hi.

Help!

Can you help with the sketch as stated in my last post.

Or is there some one else on this forum who can provide me with a
auduino sketch base on my requirements in my last post.

appreciate anyone who can provide me with this sketch.

Best Regards.
6 days ago
Still looking for that right arduino programmer to Help me.
  1.  
1 to 20 of 20
Top of PageBack to Discussions