Yuck...

Someone posted this as a comment on my blog as an example of a 'good’
way to debounce a rotary encoder:

http://www.circuitsathome.com/mcu/reading-rotary-encoder-on-arduino

Which triggered a slightly ranty in reply on my part :wink: I know you
hardware engineers always snigger at people doing switch debouncing in
software (Hi Alex :wink: but in this case I can fully see your point - the
superficial bit-twiddling cleverness masks a deep underlying dumbness -
mind you I have seen worse :slight_smile:

Perhaps we should have a competition to find the dumbest possible
software switch debounce algorithm? A 555 plus suitable caps, resistors
and diodes to the winner :slight_smile:

Alan Burlison

I really must learn to be more diplomatic! Even if I know I’m right :wink:

It could be diverting…I’m really poor at coding so I might have a chance
at winning…I am right in thinking that the poorest solution wins?

Alex

Someone posted this as a comment on my blog as an example of a 'good’
way to debounce a rotary encoder:

http://www.circuitsathome.com/mcu/reading-rotary-encoder-on-arduino

Which triggered a slightly ranty in reply on my part :wink: I know you
hardware engineers always snigger at people doing switch debouncing in
software (Hi Alex :wink: but in this case I can fully see your point - the
superficial bit-twiddling cleverness masks a deep underlying dumbness -
mind you I have seen worse :slight_smile:

Perhaps we should have a competition to find the dumbest possible
software switch debounce algorithm? A 555 plus suitable caps, resistors
and diodes to the winner :slight_smile:


Alan Burlison


You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.

I really must learn to be more diplomatic! Even if I know I’m right :wink:

:slight_smile:

It could be diverting…I’m really poor at coding so I might have a chance
at winning…I am right in thinking that the poorest solution wins?

Of course, and if you can find it via google you don’t even have to
actually write it :wink: Think of it as your chance to get back at all
those supercilious software engineers :-]

Alan Burlison

Actually this has set me thinking - perhaps we could do a couple of
talks/workshops called ‘Beyond Arduino’ where we go beyond the basic
Arduino stuff, on both the hardware and the software side? I’ve
appreciated the chance to ask dumb software engineer questions about
hardware, e.g. ‘What does a zero ohm resistor do?’ and I’d like to learn
more - about op-amps, 555s and how to determine component values without
the production of copious quantities of magic smoke :slight_smile: And I’d be
happy to explain why most C-level software that’s written for the
Arduino is a pile, and how to do it better :slight_smile: I’m not suggesting
anything formal, just the exchange of those handy tips and tricks you
wish someone had told you about.

Alan Burlison

Sounds good to me…as long as we can keep it light and interesting then it
should be good

Actually this has set me thinking - perhaps we could do a couple of
talks/workshops called ‘Beyond Arduino’ where we go beyond the basic
Arduino stuff, on both the hardware and the software side? I’ve
appreciated the chance to ask dumb software engineer questions about
hardware, e.g. ‘What does a zero ohm resistor do?’ and I’d like to learn
more - about op-amps, 555s and how to determine component values without
the production of copious quantities of magic smoke :slight_smile: And I’d be
happy to explain why most C-level software that’s written for the
Arduino is a pile, and how to do it better :slight_smile: I’m not suggesting
anything formal, just the exchange of those handy tips and tricks you
wish someone had told you about.


Alan Burlison


You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.

Sounds good to me…as long as we can keep it light and interesting then it
should be good

Yeah, I’m thinking 15 mins, 20 mins max.

Alan Burlison