Breaking News
Blog

Hallway Lighting Project: Controller & PSU

NO RATINGS
Page 1 / 2 Next >
View Comments: Newest First | Oldest First | Threaded View
<<   <   Page 2 / 4   >   >>
Max The Magnificent
User Rank
Blogger
Re: Bounce your way to enlightenment
Max The Magnificent   6/30/2014 5:00:06 PM
NO RATINGS
@Steve: ...it doesn't do White text on Blue background which I happen to like the most.

Damn LOL

Steve Manley
User Rank
Blogger
Re: Bounce your way to enlightenment
Steve Manley   6/30/2014 4:59:28 PM
NO RATINGS
@Crust1

>> Steve I am working on both rotary encoded swirches and PWM at the moment.

Definitely sounds like you and I should have a chat off line some time soon.

Steve Manley
User Rank
Blogger
Re: Bounce your way to enlightenment
Steve Manley   6/30/2014 4:56:10 PM
NO RATINGS
@Max

>> I do like the way you use this, but I think I'd be more tempted to use something like this RGB LCD Shield Kit w/ 16x2 Character Display from Adafruit -- note the buttons at the bottom -- you can use these as Up, Down, Left, Right, and Select/OK to implement a hierarchical menu system. It uses I2C you it only consumes 2 pins on your Arduino. I'm using one on myInamorata Prognostication Engine project

I do actually have one of those devices. but it doesn't do White text on Blue background which I happen to like the most.

 

Max The Magnificent
User Rank
Blogger
Re: Bounce your way to enlightenment
Max The Magnificent   6/30/2014 4:46:28 PM
NO RATINGS
@Crusty: I know the feeling Mrs Crusty is half Italian, marvelous cook and always wins the argument.

It's like they say -- the wife always gets the last word in an argument -- if the husband says anything after that, it's the start of a new argument LOL

Crusty1
User Rank
CEO
Re: Bounce your way to enlightenment
Crusty1   6/30/2014 4:43:27 PM
NO RATINGS
@Max: I know the feeling Mrs Crusty is half Italian, marvelous cook and always wins the argument.

Max The Magnificent
User Rank
Blogger
Re: Bounce your way to enlightenment
Max The Magnificent   6/30/2014 4:41:20 PM
NO RATINGS
@Steve: I do intend on using a rotary encoder on my current project

I do like the way you use this, but I think I'd be more tempted to use something like this RGB LCD Shield Kit w/ 16x2 Character Display from Adafruit -- note the buttons at the bottom -- you can use these as Up, Down, Left, Right, and Select/OK to implement a hierarchical menu system. It uses I2C you it only consumes 2 pins on your Arduino. I'm using one on my Inamorata Prognostication Engine project

 

Crusty1
User Rank
CEO
Re: Bounce your way to enlightenment
Crusty1   6/30/2014 4:41:06 PM
NO RATINGS
@Steve: I would be grateful for any advice you can give so I may just take you up on this offer. I do intend on using a rotary encoder on my current project (the 8x8x8 3D RGB LED Cube) but that implementation is some way off yet. I will need to tackle how I'm going to multiplex and implement software PWM on shift registers before I start working on different modes of operation.


Steve I am working on both rotary encoded swirches and PWM at the moment.

AKA the Crusty Reflow oven MK1. PWM up and running looking to hive off the rotary encoder to an Atmel ATTiny  8 pin foot print chip with one interrup and one direction signal for each change seen.

Max please forward my contact details to Steve when you have a spare minute.

Max The Magnificent
User Rank
Blogger
Re: Bounce your way to enlightenment
Max The Magnificent   6/30/2014 4:33:53 PM
NO RATINGS
@Crusty: Don't we all want to be the master.

I don't know -- I'm married -- I'm not allowed to make decisions on my own anymore :-)

Crusty1
User Rank
CEO
Re: Bounce your way to enlightenment
Crusty1   6/30/2014 4:25:53 PM
NO RATINGS
@Max: (usiually the Arduino wants to be the master). Don't we all want to be the master.

At he moment I have a OLED SDD1306 I2C display that works with my code in graphics and text mode and at another site works in graphics mode only with the same programme. If the other site use their code then the reverse happens here.  it's getting to the point where I will burn a chip and send to the remote site, to see if the dsplay they have is different.

Think calming thoughts, think calming thoughts!! AGHHHHH

Steve Manley
User Rank
Blogger
Re: Bounce your way to enlightenment
Steve Manley   6/30/2014 4:02:46 PM
NO RATINGS
@Max @Crusty1 @Adam @Steve - Thanks all for all your feedback and sound advice. I have to say I wasn't expecting such a response. The Arduino Workshop sounds like a good investment so I'll go look at that for starters.

 @Crusty1

>> As it is an Atmel chip are you using Pin Change interrupts? 

I'm not sure exactly what your asking, but I take the 2 outputs of the rotary encoder and after filtering with capacitors and pull up resistors on each output, I then feed them into the debounce chip and the outputs of the debounce chip into an AND gate. The output of the AND gate is used to trigger the interrupt. I stay in the interrupt until the encoder reaches a full detent (4 clicks in one direction or the other). This then counts as +1 or -1 to change the mode. I know staying the interrupt is bad practice and my next attempt will be better. 

>> Max can give you my contact info in England, if you want to discuss Atmel chips and software offline.

I would be grateful for any advice you can give so I may just take you up on this offer. I do intend on using a rotary encoder on my current project (the 8x8x8 3D RGB LED Cube) but that implementation is some way off yet. I will need to tackle how I'm going to multiplex and implement software PWM on shift registers before I start working on different modes of operation.

<<   <   Page 2 / 4   >   >>
August Cartoon Caption Winner!
August Cartoon Caption Winner!
"All the King's horses and all the KIng's men gave up on Humpty, so they handed the problem off to Engineering."
5 comments
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)
EE Times on Twitter
EE Times Twitter Feed
Flash Poll
Radio
NEXT UPCOMING BROADCAST
How to Cope with a Burpy Comet
October 17, 2pm EDT Friday
EE Times Editorial Director Karen Field interviews Andrea Accomazzo, Flight Director for the Rosetta Spacecraft.