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
Help vu-meter and spectrum analyzer
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Help vu-meter and spectrum analyzer
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 34
- Joined: Tue Jan 21, 2014 10:04 pm
- Has thanked: 7 times
- Been thanked: 1 time
- Contact:
Re: Help vu-meter and spectrum analyzer
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Help vu-meter and spectrum analyzer
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 34
- Joined: Tue Jan 21, 2014 10:04 pm
- Has thanked: 7 times
- Been thanked: 1 time
- Contact:
Re: Help vu-meter and spectrum analyzer
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?
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?
- Attachments
-
- INTERFATA AMPLIFICATOR.fcf
- (49.37 KiB) Downloaded 314 times
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: Help vu-meter and spectrum analyzer
have a look at this project may give you some idea's
http://www.elektor.com/magazines/2012/d ... 7139.lynkx
Steve
http://www.elektor.com/magazines/2012/d ... 7139.lynkx
Steve
Success always occurs in private and failure in full view.
-
- Posts: 34
- Joined: Tue Jan 21, 2014 10:04 pm
- Has thanked: 7 times
- Been thanked: 1 time
- Contact:
Re: Help vu-meter and spectrum analyzer
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.
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.