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
Manager
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
Manager
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   >   >>


Most Recent Comments
todd_i
 
Measurement.Blues
 
Measurement.Blues
 
DrQuine
 
Measurement.Blues
 
joe.raffa
 
Measurement.Blues
 
jdesbonnet
 
DrQuine
Flash Poll
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Engineer's Bookshelf
Caleb Kraft

The Martian: A Delightful Exploration of Math, Mars & Feces
Caleb Kraft
3 comments
To say that Andy Weir's The Martian is an exploration of math, Mars, and feces is a slight simplification. I doubt that the author would have any complaints, though.

The Engineering Life - Around the Web
Caleb Kraft

Surprise TOQ Teardown at EELive!
Caleb Kraft
Post a comment
This year, for EELive! I had a little surprise that I was quite eager to share. Qualcomm had given us a TOQ smart watch in order to award someone a prize. We were given complete freedom to ...

Design Contests & Competitions
Caleb Kraft

Join The Balancing Act With April's Caption Contest
Caleb Kraft
56 comments
Sometimes it can feel like you're really performing in the big tent when presenting your hardware. This month's caption contest exemplifies this wonderfully.

Engineering Investigations
Caleb Kraft

Frankenstein's Fix: The Winners Announced!
Caleb Kraft
8 comments
The Frankenstein's Fix contest for the Tektronix Scope has finally officially come to an end. We had an incredibly amusing live chat earlier today to announce the winners. However, we ...

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)