Breaking News
Comments
Newest First | Oldest First | Threaded View
Page 1 / 3   >   >>
David Ashton
User Rank
Blogger
Re: LED vs. Potenitameter problem
David Ashton   3/3/2014 6:27:46 PM
NO RATINGS
@Templar nice ideas, there are all sorts of effects you could do along those lines.   Maybe when the pot position is changed (ie you detect a different level with the ADC) the leds could go wild for a while (rotating patterns etc) for a few seconds, then settle down to indicate the level.   The more complex the changes the better :-)

templar781
User Rank
Rookie
LED vs. Potenitameter problem
templar781   3/3/2014 5:21:35 PM
NO RATINGS
Looks like I'm late to the party but...

You stated in your article that the potentiameter that you're using only has 300 degrees of rotation.  The limited rotation would then prevent you from lighting 3 of the LEDs on the front panel.  Since the NeoPixel LEDs that you're going to be using are individually addressable would it make sense to equate the potentiameter position to the number of LEDs that would light up?


Using a ring of 20 LEDs and a 300 degree potentiameter one LED could be lit for every 15 degrees of pot rotation.  The trick here would be placing the output of the potentiameter on a ADC circuit (some examples can be found in the Rasberry Pi community) which in turn would feed the LED controller.  With that working not only would you be able to light all 20 LEDs, but you could also assign different effects to potentiameter position.  Say every 10% increase in pot rotation changes the brightness level, or above a certain pot range the LEDs begin a "breathing" routine.  One could even set the LEDs to "count" in binary.  With each LED representing a bit the ADC output could be used to light LEDs as follows:

 

With one equal to on - 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000...

Max The Magnificent
User Rank
Blogger
Re: Magic Eye Tubes
Max The Magnificent   1/30/2014 5:18:14 PM
NO RATINGS
@Stargze: I think I have one "somewhere in the basement."

Do you think it still works.....

Max The Magnificent
User Rank
Blogger
Re: Magic Eye Tubes
Max The Magnificent   1/30/2014 5:17:32 PM
NO RATINGS
@Stargzr: They were often used as a visual indicator of signal strength when tuning in a station on old radios.

They do look really tasty -- I don;t think I can add them to the main panel, because that's pretty much in the final stages of layout, and I don;t want to incure the "Wrath of Willy" (the guy who is kindly creating the 3D CAD drawings for me) ... but maybe for the Male Engine ... this could form the main display -- the big green dot in the lower-middle of the panel on the upper box (click here to see what I'm talking about).

Stargzer
User Rank
CEO
Re: Magic Eye Tubes
Stargzer   1/30/2014 5:10:10 PM
NO RATINGS
@Max:  "I'd never even heard of these before --"

Really?  Max, you're showing your youth!  I've only seen a couple in real life, but I think I have one "somewhere in the basement."  They were often used as a visual indicator of signal strength when tuning in a station on old radios.  Later we had meters, then bouncing Vacuum Fluorescent Displays, and now we have bouncing LEDs or LCDs. 

Sic transit gloria tubi vacui!

 

Max The Magnificent
User Rank
Blogger
Re: Another possibility
Max The Magnificent   1/30/2014 9:36:18 AM
NO RATINGS
@Samuel: As for the colors and effects, maybe you can use blinking at different speeds to further differentiate the states. So the LED blinks faster until your turn the pot enough to fully turn it on.

Good idea -- in fact I'm also going to do some of that with regard to the LEDs lighting the vacuum tubes -- there's going to be some sort of proximity sensing capability -- when someone approaches the engine, the LEDs will respond in some way -- possibly by cycling faster.

Max The Magnificent
User Rank
Blogger
Re: Another possibility
Max The Magnificent   1/30/2014 9:33:36 AM
NO RATINGS
@Samuel: I like the idea of it being slightly unpredictable, so why limit yourself to showing the status of the potentiometer itself?

I think I've got a bit of this in that -- once you've set up the initial conditions/values for your inamorata -- if she changes one of the motorized potentiometers -- after a few seconds the others will adjust their values to compensate. But I will ponde ryour ideas -- th egreat thing about thsi engine is that it's all under software control, so we can try a variety of different algorithms.

Max The Magnificent
User Rank
Blogger
Re: YAP
Max The Magnificent   1/30/2014 9:30:11 AM
NO RATINGS
@Stargzr: ...have you thought of putting in some Magic Eye tubes?

I'd never even heard of these before -- very tasty -- I just found this site

SamuelBoegli
User Rank
Rookie
Re: Another possibility
SamuelBoegli   1/30/2014 5:01:01 AM
NO RATINGS
I like the idea of it being slightly unpredictable, so why limit yourself to showing the status of the potentiometer itself? You could show the 'true' value of whatever you're adjusting instead. So for example when the 2nd potentiometer shows 3 green lights, the 1st works normal, but if it shows 4 or more then the true value of the 1st is multiplied by 1.5, but for every 3 LEDs you move it the 2nd potentiometer loses an LED (but doesn't move the pot, if it's 6+, then the pot gets moved but the LEDs stay the same). With the acceleration (or deceleration) effects you can also use the bottom 3. 

As for the colors and effects, maybe you can use blinking at different speeds to further differentiate the states. So the LED blinks faster until your turn the pot enough to fully turn it on. 

Stargzer
User Rank
CEO
YAP
Stargzer   1/24/2014 2:47:56 PM
NO RATINGS
@Max:

Yet Another Possibility:  have you thought of putting in some Magic Eye tubes?

 

  Magic Eye Tube

Page 1 / 3   >   >>


EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Synthesize Your Own RTOS for FREE!
Max Maxfield
6 comments
My chum Bob Zeidman, president of Zeidman Technologies, is always involved in something interesting. Some time ago, for example, he told me about SynthOS. This little scamp can ...

EDN Staff

11 Summer Vacation Spots for Engineers
EDN Staff
11 comments
This collection of places from technology history, museums, and modern marvels is a roadmap for an engineering adventure that will take you around the world. Here are just a few spots ...

Glen Chenier

Engineers Solve Analog/Digital Problem, Invent Creative Expletives
Glen Chenier
11 comments
- An analog engineer and a digital engineer join forces, use their respective skills, and pull a few bunnies out of a hat to troubleshoot a system with which they are completely ...

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
45 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)