Show Posts
|
|
Pages: [1] 2 3
|
|
3
|
Using Arduino / Microcontrollers / Uploading with DIAMEX All-AVR programmer doesn't work
|
on: June 22, 2012, 06:27:14 am
|
|
HI, i bought a diamex All-AVR programmer flashed the latest firmware (V1.6) and connected it to an Arduino Uno (Rev 3). The Arduino is powered via the programmer and LED 13 of the Arduino is flashing which shows that the pre installed program and therefore the Atmega is working fine. I installed "AVRJungoUSB" and tried to upload a program with "AVRISP mkII" choosen as programmer and via "Upload with programmer". You can see the result in picture 1. Then I installed "libusb" (whereon the device driver entry, as can be seen in pic2, got an exclamation mark) and tried to upload again and the result can be seen in picture 2. I might add that I am working under a virtual Windows XP (on top of win7 64bit) and that I wasn't able to flash the programmer's bios from this virtual Windows, but only from win7! So could it be a problem of the virtual environment? I don't have problems uploading programs the usual way via direct usb connection of the Arduino! Thanks for the answers in advance! I am working with ARDUINO IDE V1.0.1.
|
|
|
|
|
4
|
International / Deutsch / Re: ARDUINO + 2 x TLC59116 + lm386 + Elektret-Mic; Probleme mit A/D-Werten
|
on: April 17, 2012, 12:48:27 pm
|
|
...anbei der Schaltplan des lm386 + micro. Ich habe den Schaltplan von irgendwoher übernommen und modifizierungen vorgenommen (s. durchgestrichene Werte/Bauteile). Ich habe es auch mit den original-Werten/der original Beschaltung versucht, das Ergebnis war aber schlechter. Ich habe jetzt festgestellt, dass wenn ich das Mikro abziehe und dann die Mittelspannung bei geringer LED-Helligkeit (PWM-Wert 50 und hoher Updatefrequenz) messe, diese bei 2,4V liegt. Wenn ich die Helligkeit aufs Höchste setzte (PWM-Wert 255, bei ebenfalls hoher Updatefrequenz) fällt der Wert auf 2,1V ab. Wenn ich nun auch noch den 100nF Kondensator (zwischen Mikro und lm386) abziehe, Pin 3 (audio-in) also keine Verbindung mehr zur Aussenwelt hat, dann liegt die Spannung sowohl bei PWM-Wert 50 als auch 255 konstant bei 2,4V. Es scheinen also Störungen über die Spannungversorgung des Elektret-Mikros durch den 100nF Kondensator in den audio-Eingang zu 'gelangen'!?
|
|
|
|
|
6
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 08:29:24 am
|
|
...I read the first sentences of the max263's datasheet (at the moment I don't have time to read more) and there is written that the IC has two filter sections! Does that mean that I could use a low-Pass and a high-pass filter at the same time?
|
|
|
|
|
7
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 07:53:35 am
|
|
Would the "max263" IC be a feasible solution for two band filtering? One could switch the cut-off frequency fast to get a two band filter out of a one band filter!?
|
|
|
|
|
8
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 06:23:48 am
|
|
What about the widths of the bands of the MSGEQ7. Are they all the same. That would result in little or no pass-band between 63Hz and 160Hz and much pass-band between 6.25kHz and 16kHz!?
|
|
|
|
|
9
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 05:54:33 am
|
|
Is there any IC that has a high order high- AND low pass filter with adjustable cut-off frequency? Alternatively I could use a FFT, but on an Atmega this is too slow!(?) But nevertheless, as the look, not the quantity, is most important, I will try the MSGEQ7 (maybe I will display more than two bands to get better results)!
|
|
|
|
|
10
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 04:39:32 am
|
|
...o.k., the separation-frequency with the above formulas wouldn't be 1kHz, as the named frequencies are the center frequencies of the bands, but something between 1Khz and 2.5kHz!
|
|
|
|
|
11
|
Using Arduino / Audio / Re: Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 03:46:00 am
|
|
...but to build a two band peak-meter with one band going from (roughly) "0 to 1kHz" and the other going from "1kHz to 16kHz" I could use this formulas: Band1: (peak_63Hz + peak_160Hz + peak_400Hz + peak_1kHz) / 4 Band2: (peak_2,5kHz + peak_6,25kHz + peak_16kHz) / 3
- right?
|
|
|
|
|
12
|
Using Arduino / Audio / Graphic equalizer IC "MSGEQ7"
|
on: April 17, 2012, 02:26:51 am
|
|
Hi, I have some questions regarding the graphic equalizer IC "MSGEQ7". I want to lead the output signal of an lm386 (connected to an electret-mic) to a MSGEQ7 and 'fetch' the band-peak-values via an ARDUINO and recalculate the 7 bands into two bands. I want to display the result via two LED lines driven by two TLC59116 (:=two band peak-meter).
My first question is: In the datasheet (s. picture) of the MSGEQ7 pin 8 is connected via a 200k resistor with VDD (+5V). As I don't have a 200k resistor I would like to use 3 x 68k (=204k + tolerances). I guess that this is o.k. for a qualitative peak-meter!?
Second question: There is a 22k resistor shown at pin 5 (audio in). I saw wiring schemes without this resistor. Do I need it?
Third question: I assume that the IC with VDD=+5V needs an audio-signal with a center voltage of 2,5V (as generated from the lm386), right?
Fourth question: I assume that the seven bands (63Hz, 160Hz, 400Hz, 1kHz, 2,5kHz, 6,25kHz und 16kHz) mean "0Hz-63Hz", "0Hz-160Hz", ... and not "0Hz-63Hz", "63Hz-160Hz", ..., right?
Thanks for the answers in advance!
|
|
|
|
|
13
|
International / Deutsch / Graphic equalizer IC MSGEQ7
|
on: April 16, 2012, 03:16:22 pm
|
|
Hallo, ich (Anfänger) habe einige Fragen zu dem graphic equalizer IC "MSGEQ7". Ich möchte das Signal eines lm386 (+ Elektret-Mikrfon) an einen MSGEQ7 weiterleiten und die Pegel-Daten der einzelnen Bänder dann mit einem ARDUINO "abholen" und in zwei Bänder umrechnen. Das Ergebnis möchte ich dann über in zwei Reihen angeordnete LEDs mit Hilfe von LED-Treibern (TLC59116) darstellen (Zwei Band Peak-Meter).
Meine erste Frage lautet: Im Schaltungsbeispiel des Datenblattes (s. Bild) ist Pin 8 über einen 200k Widerstand mit VDD (+5V) verbunden. Da ich keinen 200k Widerstand habe, würde ich gerne 3 x 68k (= 204k + Toleranzen) in Reihe schalten. Ich gehe davon aus, dass das für ein rein qualitatives Peak-Meter keine relevanten negativen Auswirkungen hat, oder?
Zweite Frage: Im Schaltbild ist am Eingang ein 22k Widerstand zu sehen. Ich habe aber eine Beispielschaltung ohne diesen Widerstand gefunden. Wofür ist der gut?
Dritte Frage: Ich gehe davon aus, dass der IC bei VDD=+5V eine Mittelspannung des Audiosignals von 2,5 Volt (wie vom lm386 erzeugt) erwartet, richtig?
Vierte Frage: Wie ist das mit den Bändern zu verstehen? Ich gehe davon aus, dass es sich bei den sieben angegebenen Bändern (63Hz, 160Hz, 400Hz, 1kHz, 2,5kHz, 6,25kHz und 16kHz) um die Bänder von "0Hz-63Hz","0Hz-160Hz", ... und nicht "0Hz-63Hz","63Hz-160Hz,... handelt, richtig?
Danke für die Antworten im Voraus!
|
|
|
|
|
14
|
International / Deutsch / Re: ARDUINO + 2 x TLC59116; Probleme mit A/D-Werten
|
on: April 15, 2012, 09:12:21 am
|
|
...hm, um zu testen, ob vielleicht der lm386 für die Probleme verantwortlich ist und nicht der A/D-Wandler, habe ich "A0" des ARDUINOS einfach anstelle mit dem audio-Ausgang des LM386 mit dem 3.3V Ausgang des ARDUINOS verbunden! Der dann angezeigte Wert ist unabhängig von der LED-Updatefrequenz und Helligkeit, konstant! Das Problem scheint also beim lm386 zu liegen!? Ich habe einmal die Mittelspannung (bei entferntem Mikro) gemessen, und musste feststellen, dass sich die Mittelspannung mit der LED-Updatefrequenz und Helligkeit ändert (zumindest ab bestimmer Größenordnung der Frequenz-Helligkeitskombination)! Woran kann das liegen?
|
|
|
|
|