Embedded Systems Conference
Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 3 / 4   >   >>
GSKrasle
User Rank
Author
Re: UI/Information Display
GSKrasle   4/18/2014 5:07:48 PM
NO RATINGS
Or you could simply use a 0Ω to tie them together after an input resistor/filter until you decide to implement the separate channel.

As far as displays, if you were to use R, G for R, L, then you could use the full vertical range for each like fig. d, but overlap would be yellow! Cool. I did this with LM3915's back in the day.

Or how about this: FFT to only four (2n, if you please) bins, and call them Bass (B), Low-Mid (L), High-Mid (H), Treble (T) and map them to R, B, G, and (dim) white, and display a scrolling bargraph....

Or, with the previous suggestions, B could implement an oscilloscope X vs Y of the R vs L (smoothed) amplitude, superimposed on the spectrum display, with a "tail"....

Ah, I love displays. And Excel.

 

 

Max The Magnificent
User Rank
Author
Re: You could be better off driving the display with FPGA
Max The Magnificent   4/18/2014 4:54:36 PM
NO RATINGS
@betajet: It might be possible to use a Cypress PSoC 5LP to do the whole job...

I'll still need my Arduino for driving my Adafruit LED strips, but like I say, there are two parts to the problem -- extracting the spectrum data from the analog input stream and then displaying the info.

So -- for this first instantiation -- I've decided to use my Arduino to display the info, but the Cypress PSoC is certainly a contended for the front end signal analysis part of the picture.

betajet
User Rank
Author
Re: You could be better off driving the display with FPGA
betajet   4/18/2014 4:48:27 PM
NO RATINGS
It might be possible to use a Cypress PSoC 5LP to do the whole job.  That chip has an ARM Cortex-M3, programmable analog with things like switched capacitor filters, DSP, and programmable digital logic for your LEDs and whatever else you need.


What I don't know is whether it has enough performance to do everything you need and how much learning curve you need to climb.  There are cheap dev boards available: the PSoC4 Pioneer Kit (US$25, including both a PSoC 5LP and a PSoC4 in case you need both) and the PSoC 5LP Schmartboard (US$35) which has more I/O and comes in a DIP with 0.1" spacing.

Max The Magnificent
User Rank
Author
Re: UI/Information Display
Max The Magnificent   4/18/2014 4:08:41 PM
NO RATINGS
@GSKrasle: Roughly, you have these dimensions available to manipulate in displaying data: X, Y, R, G, B. But your data, the output of the FFT, only has these instantaneous dimensions: f, A. How to map two variables onto five?

That's the big question -- and I think that's where the fun is really going to come in. Did you see that table display (the second video) in my BADASS Display, Part 1 blog? It starts off with f,A mapped to X,Y, with f/X also mapped to different RGB values ... but if you keep watching it switches into a completely different display more in which the colors/pixels "swirl around" to the music .... I'm still trying to wrap my brain aroudn the underlying algorithm.


Also check out the third video with the trailing/falling/fading mpst-significant pixel...

Max The Magnificent
User Rank
Author
Re: UI/Information Display
Max The Magnificent   4/18/2014 4:02:15 PM
NO RATINGS
@GSKrasle: ...consider some of the diagrams you have, in particular a, c, d: Like Space Invader, the colours are fixed: you might as well use single-colour LEDs or white ones behind a striped filter: the channel, the dimension, is wasted. It is degenerate. (What a cool term!)

I know ... I know ... but I was rushed for time, and it was easy to throw these together in Visio.


My plan is to play aroudn implementing lots of differet schemes and provide the ability to switch between them -- maybe at EE Live! 2015 I will do a presentation on the various design possibilities and choices, and then show all the different types of display and get the audience to rate them -- it might be interesting to see who likes what...

Max The Magnificent
User Rank
Author
Re: UI/Information Display
Max The Magnificent   4/18/2014 3:58:46 PM
NO RATINGS
@GSKrasle: And the typos are free!

Happy Dance!

Max The Magnificent
User Rank
Author
Re: UI/Information Display
Max The Magnificent   4/18/2014 3:58:08 PM
NO RATINGS
@GSKrasle: I recommend a proper analog anti-alias filter and D-A, providing for both channels of stereo (and maybe for the other 3.1); you don't have to use more than one initially, but it's easier to have and not need than the other way 'round.

After writing my blog I started to think this way -- as you say, it's better to have both channels available if I want them later -- if I decide to then start with mono, I guess the simplest way is to just add the outputs from the D/A converters and divide the result by 2.

GSKrasle
User Rank
Author
Re: UI/Information Display
GSKrasle   4/18/2014 3:55:59 PM
NO RATINGS
And the typos are free!

GSKrasle
User Rank
Author
UI/Information Display
GSKrasle   4/18/2014 3:52:25 PM
NO RATINGS
Max,

I have put a lot of thought into many projects involving the display of information. In particular, I have thought about this precise one. (You're not the only one who has built such a thing!)

But first, on Getting the Data: I recommend a proper analog anti-alias filter and D-A, providing for both channels of stereo (and maybe for the other 3.1); you don't have to use more than one initially, but it's easier to have and not need than the other way 'round. The AA filter is really not a super big deal if you can sample really really fast and then apply a multi-rate ("decimation") filter (from a library: the computation has been amazingly optimized). This allows you to reduce the data-rate to something manageable on-the-fly. Then you will probably want to use a FFT (function from the same library) to get the frequency-(phase)-amplitude-time data. Anyway, with proper AA and fs, you have all the available data and what to do with it becomes a software problem only.

But what to do with the data, how to present it? First-off consider some of the diagrams you have, in particular a, c, d: Like Space Invader, the colours are fixed: you might as well use single-colour LEDs or white ones behind a striped filter: the channel, the dimension, is wasted. It is degenerate. (What a cool term!)

Roughly, you have these dimensions available to manipulate in displaying data: X, Y, R, G, B. But your data, the output of the FFT, only has these instantaneous dimensions: f, A. How to map two variables onto five? A simple bar-graph or cartesian graph gets 2 => 2, {f,A} =>{X,Y} leaving the three colours to be usefully employed other than on/off.

How about adding a dimension? Do the FFT on both stereo channels, and now you can have f, AR, AL. Assign them to X, Y as above, but now R, G can be used to distinguish AR, AL.

Add TIME: have the display fade after a pixel has been "hit": that would allow the R, G dimensions to have more than single-bit resolution!

What about the B dimension, though? Maybe it could represent the instantaneous sum of R, G, so that signals in common would be white, with the tip of the bar's R or G hue indicating the differences.... But R+G already looks yellow.... And it would be NICE if there were some conceivable way to display pure B.... Maybe a "peak" indicator of longer persistence? A "halo" over the bars? A horizontal "peak of all" indicator (but that wastes X)?

Oh, well, I have never been able to think-up a way to use a full-colour display for information derived from stereo audio without some redundancy, some degeneracy. I guess all that is left is to add some "art" just to make it look good.

My two cents!

 

Max The Magnificent
User Rank
Author
Re: You could be better off driving the display with FPGA
Max The Magnificent   4/18/2014 10:59:19 AM
NO RATINGS
@B.V.Rao: Never could make out whether it is working.

LOL That sounds like a lot of my hobby projects :-)

<<   <   Page 3 / 4   >   >>


Radio
NEXT UPCOMING BROADCAST
In conjunction with unveiling of EE Times’ Silicon 60 list, journalist & Silicon 60 researcher Peter Clarke hosts a conversation on startups in the electronics industry. One of Silicon Valley's great contributions to the world has been the demonstration of how the application of entrepreneurship and venture capital to electronics and semiconductor hardware can create wealth with developments in semiconductors, displays, design automation, MEMS and across the breadth of hardware developments. But in recent years concerns have been raised that traditional venture capital has turned its back on hardware-related startups in favor of software and Internet applications and services. Panelists from incubators join Peter Clarke in debate.
Flash Poll
Top Comments of the Week
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Special Video Section
The LT®3042 is a high performance low dropout linear ...
Chwan-Jye Foo (C.J Foo), product marketing manager for ...
The LT®3752/LT3752-1 are current mode PWM controllers ...
LED lighting is an important feature in today’s and future ...
Active balancing of series connected battery stacks exists ...
After a four-year absence, Infineon returns to Mobile World ...
A laptop’s 65-watt adapter can be made 6 times smaller and ...
An industry network should have device and data security at ...
The LTC2975 is a four-channel PMBus Power System Manager ...
In this video, a new high speed CMOS output comparator ...
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...