Page 1 of 1
Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 2:21 am
by sonic11
Hello.
I am a beginner in programming field.
I need help to realize a spectrum analyzer and a vu meter with LCD 20x2 and 20x4.
I need some examples of Flowcode.
I intend to use PIC16F887 and ADC ports.
Sorry for bad English spoken,use google translate.
thank you
Re: Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 9:56 am
by sonic11
No one knows?
Re: Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 10:34 am
by Benj
Hello,
A standard VU meter consists of a analogue moving needle type meter, not sure how you would pull this off using an LCD though I suppose you could just display the number.
As for the spectrum analyser what types of spectrum are you interested in? Not sure a microcontroller would really be up to the job unless your just using it to collect data and then passing it on to a computer for processing.
Re: Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 11:44 am
by sonic11
heloo Benj
For vu meter I use custom characters, to put on one of the lines and the characters custom lcd adc value to increment, decrement with adc value. (Like bargraph)
For spectrum analyzer want to do the same but increment, decrement on all lines and a single dot.
I want to use multiple ADC inputs to compose spectrum.
All solutions are welcome program implementation
Examples
http://www.radiolocman.com/shem/schemat ... ?di=134055
Re: Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 3:35 pm
by Benj
Hello,
What kind of spectrum analysis were you thinking? Audio would be possible using a dsPIC device. Currently working on a dsPIC version of ECIO with a lot of grunt for this type of application. AVR or Arduino would also probably be fine.
The LCD is quite a slow device so you would have to sample the audio at high speed and then wait a few hundred milliseconds to update the display and allow the update to be seen rather then just a blur. A gLCD such as the EBM001 may be far better as you can update this quickly and draw proper coloured graphs etc.
The hardware in the example looks fine, If you implement this then it should be possible to do the code in Flowcode.
Re: Help vu-meter and spectrum analyzer
Posted: Wed Jan 22, 2014 8:44 pm
by sonic11
Hello Benj
Here's what I tried to do, it works but it prints while the two bar graphs, the display is flashing
I want a solution that the two bar graphs to display while the two values ADC_stanga and ADC_dreapta
lcd :REC002004AYPP5N00000 ws0010 driver (oled)
What pic_ to use?
Re: Help vu-meter and spectrum analyzer
Posted: Thu Jan 23, 2014 8:42 am
by Steve001
have a look at this project may give you some idea's
http://www.elektor.com/magazines/2012/d ... 7139.lynkx
Steve
Re: Help vu-meter and spectrum analyzer
Posted: Thu Jan 23, 2014 4:00 pm
by sonic11
Heloo all
I do not want to use arduino, trying to make one with flowcodede program and your support.
This vu meter is part of a proect my audio amplifier and do not want to use modules purchased, I built it myself.
So what guidance or is welcome.
Can I use pic_ or atmel for this project.
Re: Help vu-meter and spectrum analyzer
Posted: Fri Jan 24, 2014 9:55 am
by sonic11
Although nobody knows the code sequence for a vu meter?